diff --git a/stage0/stdlib/Lake/CLI/Translate/Lean.c b/stage0/stdlib/Lake/CLI/Translate/Lean.c index 254a95b5f2..0885d19eec 100644 --- a/stage0/stdlib/Lake/CLI/Translate/Lean.c +++ b/stage0/stdlib/Lake/CLI/Translate/Lean.c @@ -128,6 +128,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_addDeclFieldNotEmpty__ static lean_object* l_Lake_Dependency_mkSyntax___closed__15; LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_Dependency_mkSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_quoteLeanOption___closed__7; +static lean_object* l_Lake_mkDeclValWhere_x3f___closed__8; static lean_object* l_Lake_addDeclField___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake(lean_object*); LEAN_EXPORT lean_object* l_Lake_LeanExeConfig_mkSyntax___boxed(lean_object*, lean_object*); @@ -548,6 +549,7 @@ uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*); static lean_object* l_Lake_PackageConfig_mkSyntax___closed__110; static lean_object* l_Lake_LeanLibConfig_mkSyntax___closed__17; +static lean_object* l_Lake_mkDeclValWhere_x3f___closed__7; static lean_object* l_Lake_PackageConfig_mkSyntax___closed__25; static lean_object* l_Lean_RBNode_foldM___at_Lake_Dependency_mkSyntax___spec__1___closed__7; lean_object* l_Lean_Name_toStringWithSep(lean_object*, uint8_t, lean_object*, lean_object*); @@ -3430,13 +3432,33 @@ static lean_object* _init_l_Lake_mkDeclValWhere_x3f___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); +x_1 = lean_mk_string_unchecked("structInstFields", 16, 16); return x_1; } } static lean_object* _init_l_Lake_mkDeclValWhere_x3f___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_quoteLeanOption___closed__1; +x_2 = l_Lake_quoteLeanOption___closed__2; +x_3 = l_Lake_quoteLeanOption___closed__3; +x_4 = l_Lake_mkDeclValWhere_x3f___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_mkDeclValWhere_x3f___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_mkDeclValWhere_x3f___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; x_2 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; @@ -3455,8 +3477,8 @@ uint8_t x_2; x_2 = l_Array_isEmpty___rarg(x_1); if (x_2 == 0) { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_3 = l_Lake_mkDeclValWhere_x3f___closed__5; +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; +x_3 = l_Lake_mkDeclValWhere_x3f___closed__7; x_4 = l_Lean_Syntax_SepArray_ofElems(x_3, x_1); x_5 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; x_6 = l_Array_append___rarg(x_5, x_4); @@ -3467,19 +3489,21 @@ x_9 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); lean_ctor_set(x_9, 2, x_6); -x_10 = l_Lake_mkDeclValWhere_x3f___closed__2; -x_11 = l_Lake_mkDeclValWhere_x3f___closed__4; -x_12 = l_Lake_mkDeclValWhere_x3f___closed__6; -x_13 = l_Lean_Syntax_node3(x_7, x_10, x_11, x_9, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; +x_10 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_11 = l_Lean_Syntax_node1(x_7, x_10, x_9); +x_12 = l_Lake_mkDeclValWhere_x3f___closed__2; +x_13 = l_Lake_mkDeclValWhere_x3f___closed__4; +x_14 = l_Lake_mkDeclValWhere_x3f___closed__8; +x_15 = l_Lean_Syntax_node3(x_7, x_12, x_13, x_11, x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; } else { -lean_object* x_15; -x_15 = lean_box(0); -return x_15; +lean_object* x_17; +x_17 = lean_box(0); +return x_17; } } } @@ -4437,7 +4461,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lake_PackageConfig_mkSyntax___closed__23; -x_2 = l_Lake_mkDeclValWhere_x3f___closed__5; +x_2 = l_Lake_mkDeclValWhere_x3f___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -5276,7 +5300,7 @@ return x_3; LEAN_EXPORT lean_object* l_Lake_PackageConfig_mkSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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; lean_object* x_20; lean_object* x_21; uint8_t 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; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; uint8_t x_70; uint8_t x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; uint8_t 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_120; lean_object* x_129; lean_object* x_168; lean_object* x_181; lean_object* x_220; lean_object* x_221; lean_object* x_233; lean_object* x_247; lean_object* x_288; lean_object* x_327; lean_object* x_336; lean_object* x_345; +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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; lean_object* x_20; lean_object* x_21; uint8_t 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; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; uint8_t x_70; uint8_t x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; uint8_t 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_122; lean_object* x_131; lean_object* x_170; lean_object* x_183; lean_object* x_222; lean_object* x_223; lean_object* x_235; lean_object* x_249; lean_object* x_290; lean_object* x_329; lean_object* x_338; lean_object* x_347; x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); x_5 = lean_ctor_get(x_1, 0); @@ -5313,7 +5337,7 @@ x_22 = 0; x_23 = l_Lake_PackageConfig_mkSyntax___closed__37; lean_inc(x_21); x_24 = l_Lean_Name_toString(x_21, x_22, x_23); -x_25 = l_Lake_mkDeclValWhere_x3f___closed__5; +x_25 = l_Lake_mkDeclValWhere_x3f___closed__7; x_26 = lean_string_append(x_25, x_24); lean_dec(x_24); x_27 = l_Lake_PackageConfig_mkSyntax___closed__38; @@ -5401,22 +5425,22 @@ x_86 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___ x_87 = l_Lean_Syntax_node1(x_83, x_86, x_85); if (lean_obj_tag(x_20) == 0) { -lean_object* x_487; -x_487 = lean_ctor_get(x_1, 16); -lean_inc(x_487); -x_345 = x_487; -goto block_486; +lean_object* x_489; +x_489 = lean_ctor_get(x_1, 16); +lean_inc(x_489); +x_347 = x_489; +goto block_488; } else { -lean_object* x_488; -x_488 = lean_ctor_get(x_20, 0); -lean_inc(x_488); +lean_object* x_490; +x_490 = lean_ctor_get(x_20, 0); +lean_inc(x_490); lean_dec(x_20); -x_345 = x_488; -goto block_486; +x_347 = x_490; +goto block_488; } -block_119: +block_121: { lean_object* x_89; lean_object* x_90; uint8_t x_91; x_89 = l_Lake_WorkspaceConfig_addDeclFields(x_5, x_88); @@ -5424,7 +5448,7 @@ x_90 = l_Lake_LeanConfig_addDeclFields(x_4, x_89); x_91 = l_Array_isEmpty___rarg(x_90); if (x_91 == 0) { -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_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; x_92 = l_Lean_Syntax_SepArray_ofElems(x_25, x_90); lean_dec(x_90); x_93 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; @@ -5434,424 +5458,426 @@ x_95 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_95, 0, x_83); lean_ctor_set(x_95, 1, x_86); lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lake_mkDeclValWhere_x3f___closed__2; -x_97 = l_Lake_mkDeclValWhere_x3f___closed__4; -x_98 = l_Lake_PackageConfig_mkSyntax___closed__70; -x_99 = l_Lean_Syntax_node3(x_83, x_96, x_97, x_95, x_98); -x_100 = l_Array_mkArray1___rarg(x_99); -x_101 = l_Array_append___rarg(x_93, x_100); -lean_dec(x_100); -x_102 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_102, 0, x_83); -lean_ctor_set(x_102, 1, x_86); -lean_ctor_set(x_102, 2, x_101); -x_103 = l_Lake_PackageConfig_mkSyntax___closed__76; -x_104 = l_Lean_Syntax_node2(x_83, x_103, x_87, x_102); -x_105 = l_Lake_PackageConfig_mkSyntax___closed__74; -x_106 = l_Lean_Syntax_node1(x_83, x_105, x_104); -x_107 = l_Lake_PackageConfig_mkSyntax___closed__69; -x_108 = l_Lake_PackageConfig_mkSyntax___closed__72; -x_109 = l_Lean_Syntax_node4(x_83, x_107, x_98, x_98, x_108, x_106); -return x_109; +x_96 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_97 = l_Lean_Syntax_node1(x_83, x_96, x_95); +x_98 = l_Lake_mkDeclValWhere_x3f___closed__2; +x_99 = l_Lake_mkDeclValWhere_x3f___closed__4; +x_100 = l_Lake_PackageConfig_mkSyntax___closed__70; +x_101 = l_Lean_Syntax_node3(x_83, x_98, x_99, x_97, x_100); +x_102 = l_Array_mkArray1___rarg(x_101); +x_103 = l_Array_append___rarg(x_93, x_102); +lean_dec(x_102); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_83); +lean_ctor_set(x_104, 1, x_86); +lean_ctor_set(x_104, 2, x_103); +x_105 = l_Lake_PackageConfig_mkSyntax___closed__76; +x_106 = l_Lean_Syntax_node2(x_83, x_105, x_87, x_104); +x_107 = l_Lake_PackageConfig_mkSyntax___closed__74; +x_108 = l_Lean_Syntax_node1(x_83, x_107, x_106); +x_109 = l_Lake_PackageConfig_mkSyntax___closed__69; +x_110 = l_Lake_PackageConfig_mkSyntax___closed__72; +x_111 = l_Lean_Syntax_node4(x_83, x_109, x_100, x_100, x_110, x_108); +return x_111; } else { -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_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_dec(x_90); -x_110 = l_Lake_PackageConfig_mkSyntax___closed__76; -x_111 = l_Lake_PackageConfig_mkSyntax___closed__80; -x_112 = l_Lean_Syntax_node2(x_83, x_110, x_87, x_111); -x_113 = l_Lake_PackageConfig_mkSyntax___closed__74; -x_114 = l_Lean_Syntax_node1(x_83, x_113, x_112); -x_115 = l_Lake_PackageConfig_mkSyntax___closed__69; -x_116 = l_Lake_PackageConfig_mkSyntax___closed__70; -x_117 = l_Lake_PackageConfig_mkSyntax___closed__72; -x_118 = l_Lean_Syntax_node4(x_83, x_115, x_116, x_116, x_117, x_114); -return x_118; +x_112 = l_Lake_PackageConfig_mkSyntax___closed__76; +x_113 = l_Lake_PackageConfig_mkSyntax___closed__80; +x_114 = l_Lean_Syntax_node2(x_83, x_112, x_87, x_113); +x_115 = l_Lake_PackageConfig_mkSyntax___closed__74; +x_116 = l_Lean_Syntax_node1(x_83, x_115, x_114); +x_117 = l_Lake_PackageConfig_mkSyntax___closed__69; +x_118 = l_Lake_PackageConfig_mkSyntax___closed__70; +x_119 = l_Lake_PackageConfig_mkSyntax___closed__72; +x_120 = l_Lean_Syntax_node4(x_83, x_117, x_118, x_118, x_119, x_116); +return x_120; } } +block_130: +{ +uint8_t x_123; +if (x_6 == 0) +{ +x_123 = x_22; +goto block_128; +} +else +{ +uint8_t x_129; +x_129 = 1; +x_123 = x_129; +goto block_128; +} block_128: { -uint8_t x_121; -if (x_6 == 0) -{ -x_121 = x_22; -goto block_126; -} -else -{ -uint8_t x_127; -x_127 = 1; -x_121 = x_127; -goto block_126; -} -block_126: -{ -if (x_121 == 0) +if (x_123 == 0) { if (x_6 == 0) { -lean_object* x_122; lean_object* x_123; -x_122 = l_Lake_PackageConfig_mkSyntax___closed__82; -x_123 = lean_array_push(x_120, x_122); -x_88 = x_123; -goto block_119; -} -else -{ lean_object* x_124; lean_object* x_125; -x_124 = l_Lake_PackageConfig_mkSyntax___closed__83; -x_125 = lean_array_push(x_120, x_124); +x_124 = l_Lake_PackageConfig_mkSyntax___closed__82; +x_125 = lean_array_push(x_122, x_124); x_88 = x_125; -goto block_119; +goto block_121; +} +else +{ +lean_object* x_126; lean_object* x_127; +x_126 = l_Lake_PackageConfig_mkSyntax___closed__83; +x_127 = lean_array_push(x_122, x_126); +x_88 = x_127; +goto block_121; } } else { -x_88 = x_120; -goto block_119; +x_88 = x_122; +goto block_121; } } } -block_167: +block_169: { -lean_object* x_130; +lean_object* x_132; if (x_78 == 0) { -lean_object* x_156; +lean_object* x_158; lean_dec(x_76); lean_dec(x_1); -x_156 = lean_box(0); -x_130 = x_156; -goto block_155; +x_158 = lean_box(0); +x_132 = x_158; +goto block_157; } else { -lean_object* x_157; uint8_t x_158; -x_157 = l_Lake_PackageConfig_mkSyntax___closed__9; -x_158 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__2(x_1, lean_box(0), x_8, x_157, x_76, lean_box(0)); +lean_object* x_159; uint8_t x_160; +x_159 = l_Lake_PackageConfig_mkSyntax___closed__9; +x_160 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__2(x_1, lean_box(0), x_8, x_159, x_76, lean_box(0)); lean_dec(x_1); -if (x_158 == 0) +if (x_160 == 0) { -lean_object* x_159; -x_159 = lean_box(0); -x_130 = x_159; -goto block_155; +lean_object* x_161; +x_161 = lean_box(0); +x_132 = x_161; +goto block_157; } else { lean_dec(x_8); if (x_81 == 0) { -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; -x_160 = lean_box(2); -x_161 = l_Lean_Syntax_mkStrLit(x_7, x_160); +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_162 = lean_box(2); +x_163 = l_Lean_Syntax_mkStrLit(x_7, x_162); lean_dec(x_7); -x_162 = l_Lake_addDeclField___rarg___closed__4; -x_163 = l_Lake_PackageConfig_mkSyntax___closed__85; -x_164 = l_Lake_addDeclField___rarg___closed__6; -x_165 = l_Lean_Syntax_node3(x_83, x_162, x_163, x_164, x_161); -x_166 = lean_array_push(x_129, x_165); -x_120 = x_166; -goto block_128; +x_164 = l_Lake_addDeclField___rarg___closed__4; +x_165 = l_Lake_PackageConfig_mkSyntax___closed__85; +x_166 = l_Lake_addDeclField___rarg___closed__6; +x_167 = l_Lean_Syntax_node3(x_83, x_164, x_165, x_166, x_163); +x_168 = lean_array_push(x_131, x_167); +x_122 = x_168; +goto block_130; } else { lean_dec(x_7); -x_120 = x_129; -goto block_128; +x_122 = x_131; +goto block_130; } } } -block_155: +block_157: { -size_t x_131; size_t 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_dec(x_130); -x_131 = lean_array_size(x_8); -x_132 = 0; -x_133 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_134 = l_Lake_LeanConfig_addDeclFields___closed__4; -x_135 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__1(x_133, x_134, x_9, x_131, x_132, x_8); -x_136 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_137 = l_Lean_Syntax_SepArray_ofElems(x_136, x_135); -lean_dec(x_135); -x_138 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_139 = l_Array_append___rarg(x_138, x_137); +size_t x_133; size_t 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_dec(x_132); +x_133 = lean_array_size(x_8); +x_134 = 0; +x_135 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_136 = l_Lake_LeanConfig_addDeclFields___closed__4; +x_137 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__1(x_135, x_136, x_9, x_133, x_134, x_8); +x_138 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_139 = l_Lean_Syntax_SepArray_ofElems(x_138, x_137); lean_dec(x_137); -x_140 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_140, 0, x_83); -lean_ctor_set(x_140, 1, x_86); -lean_ctor_set(x_140, 2, x_139); -x_141 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_142 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_143 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_144 = l_Lean_Syntax_node3(x_83, x_141, x_142, x_140, x_143); -x_145 = l_Lake_addDeclField___rarg___closed__4; -x_146 = l_Lake_PackageConfig_mkSyntax___closed__84; -x_147 = l_Lake_addDeclField___rarg___closed__6; -x_148 = l_Lean_Syntax_node3(x_83, x_145, x_146, x_147, x_144); -x_149 = lean_array_push(x_129, x_148); +x_140 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_141 = l_Array_append___rarg(x_140, x_139); +lean_dec(x_139); +x_142 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_142, 0, x_83); +lean_ctor_set(x_142, 1, x_86); +lean_ctor_set(x_142, 2, x_141); +x_143 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_144 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_145 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_146 = l_Lean_Syntax_node3(x_83, x_143, x_144, x_142, x_145); +x_147 = l_Lake_addDeclField___rarg___closed__4; +x_148 = l_Lake_PackageConfig_mkSyntax___closed__84; +x_149 = l_Lake_addDeclField___rarg___closed__6; +x_150 = l_Lean_Syntax_node3(x_83, x_147, x_148, x_149, x_146); +x_151 = lean_array_push(x_131, x_150); if (x_81 == 0) { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_150 = lean_box(2); -x_151 = l_Lean_Syntax_mkStrLit(x_7, x_150); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_152 = lean_box(2); +x_153 = l_Lean_Syntax_mkStrLit(x_7, x_152); lean_dec(x_7); -x_152 = l_Lake_PackageConfig_mkSyntax___closed__85; -x_153 = l_Lean_Syntax_node3(x_83, x_145, x_152, x_147, x_151); -x_154 = lean_array_push(x_149, x_153); -x_120 = x_154; -goto block_128; +x_154 = l_Lake_PackageConfig_mkSyntax___closed__85; +x_155 = l_Lean_Syntax_node3(x_83, x_147, x_154, x_149, x_153); +x_156 = lean_array_push(x_151, x_155); +x_122 = x_156; +goto block_130; } else { lean_dec(x_7); -x_120 = x_149; -goto block_128; +x_122 = x_151; +goto block_130; } } } -block_180: +block_182: { -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_169 = lean_box(2); -x_170 = l_Lean_Syntax_mkStrLit(x_11, x_169); +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_171 = lean_box(2); +x_172 = l_Lean_Syntax_mkStrLit(x_11, x_171); lean_dec(x_11); -x_171 = l_Lake_addDeclField___rarg___closed__4; -x_172 = l_Lake_PackageConfig_mkSyntax___closed__86; -x_173 = l_Lake_addDeclField___rarg___closed__6; -x_174 = l_Lean_Syntax_node3(x_83, x_171, x_172, x_173, x_170); -x_175 = lean_array_push(x_168, x_174); +x_173 = l_Lake_addDeclField___rarg___closed__4; +x_174 = l_Lake_PackageConfig_mkSyntax___closed__86; +x_175 = l_Lake_addDeclField___rarg___closed__6; +x_176 = l_Lean_Syntax_node3(x_83, x_173, x_174, x_175, x_172); +x_177 = lean_array_push(x_170, x_176); if (x_75 == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_176 = l_Lean_Syntax_mkStrLit(x_10, x_169); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_178 = l_Lean_Syntax_mkStrLit(x_10, x_171); lean_dec(x_10); -x_177 = l_Lake_PackageConfig_mkSyntax___closed__87; -x_178 = l_Lean_Syntax_node3(x_83, x_171, x_177, x_173, x_176); -x_179 = lean_array_push(x_175, x_178); -x_129 = x_179; -goto block_167; +x_179 = l_Lake_PackageConfig_mkSyntax___closed__87; +x_180 = l_Lean_Syntax_node3(x_83, x_173, x_179, x_175, x_178); +x_181 = lean_array_push(x_177, x_180); +x_131 = x_181; +goto block_169; } else { lean_dec(x_10); -x_129 = x_175; -goto block_167; +x_131 = x_177; +goto block_169; } } -block_219: +block_221: { -lean_object* x_182; +lean_object* x_184; if (x_73 == 0) { -lean_object* x_208; +lean_object* x_210; lean_dec(x_72); -x_208 = lean_box(0); -x_182 = x_208; -goto block_207; +x_210 = lean_box(0); +x_184 = x_210; +goto block_209; } else { -lean_object* x_209; uint8_t x_210; -x_209 = l_Lake_PackageConfig_mkSyntax___closed__16; -x_210 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__4(x_1, lean_box(0), x_12, x_209, x_72, lean_box(0)); -if (x_210 == 0) +lean_object* x_211; uint8_t x_212; +x_211 = l_Lake_PackageConfig_mkSyntax___closed__16; +x_212 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__4(x_1, lean_box(0), x_12, x_211, x_72, lean_box(0)); +if (x_212 == 0) { -lean_object* x_211; -x_211 = lean_box(0); -x_182 = x_211; -goto block_207; +lean_object* x_213; +x_213 = lean_box(0); +x_184 = x_213; +goto block_209; } else { lean_dec(x_12); if (x_74 == 0) { -x_168 = x_181; -goto block_180; +x_170 = x_183; +goto block_182; } else { lean_dec(x_11); if (x_75 == 0) { -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; -x_212 = lean_box(2); -x_213 = l_Lean_Syntax_mkStrLit(x_10, x_212); +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; +x_214 = lean_box(2); +x_215 = l_Lean_Syntax_mkStrLit(x_10, x_214); lean_dec(x_10); -x_214 = l_Lake_addDeclField___rarg___closed__4; -x_215 = l_Lake_PackageConfig_mkSyntax___closed__87; -x_216 = l_Lake_addDeclField___rarg___closed__6; -x_217 = l_Lean_Syntax_node3(x_83, x_214, x_215, x_216, x_213); -x_218 = lean_array_push(x_181, x_217); -x_129 = x_218; -goto block_167; +x_216 = l_Lake_addDeclField___rarg___closed__4; +x_217 = l_Lake_PackageConfig_mkSyntax___closed__87; +x_218 = l_Lake_addDeclField___rarg___closed__6; +x_219 = l_Lean_Syntax_node3(x_83, x_216, x_217, x_218, x_215); +x_220 = lean_array_push(x_183, x_219); +x_131 = x_220; +goto block_169; } else { lean_dec(x_10); -x_129 = x_181; -goto block_167; +x_131 = x_183; +goto block_169; } } } } -block_207: +block_209: { -size_t x_183; size_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; 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_dec(x_182); -x_183 = lean_array_size(x_12); -x_184 = 0; -x_185 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_186 = l_Lake_LeanConfig_addDeclFields___closed__4; -x_187 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__3(x_185, x_186, x_9, x_183, x_184, x_12); -x_188 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_189 = l_Lean_Syntax_SepArray_ofElems(x_188, x_187); -lean_dec(x_187); -x_190 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_191 = l_Array_append___rarg(x_190, x_189); +size_t x_185; size_t 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; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_184); +x_185 = lean_array_size(x_12); +x_186 = 0; +x_187 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_188 = l_Lake_LeanConfig_addDeclFields___closed__4; +x_189 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__3(x_187, x_188, x_9, x_185, x_186, x_12); +x_190 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_191 = l_Lean_Syntax_SepArray_ofElems(x_190, x_189); lean_dec(x_189); -x_192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_192, 0, x_83); -lean_ctor_set(x_192, 1, x_86); -lean_ctor_set(x_192, 2, x_191); -x_193 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_194 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_195 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_196 = l_Lean_Syntax_node3(x_83, x_193, x_194, x_192, x_195); -x_197 = l_Lake_addDeclField___rarg___closed__4; -x_198 = l_Lake_PackageConfig_mkSyntax___closed__88; -x_199 = l_Lake_addDeclField___rarg___closed__6; -x_200 = l_Lean_Syntax_node3(x_83, x_197, x_198, x_199, x_196); -x_201 = lean_array_push(x_181, x_200); +x_192 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_193 = l_Array_append___rarg(x_192, x_191); +lean_dec(x_191); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_83); +lean_ctor_set(x_194, 1, x_86); +lean_ctor_set(x_194, 2, x_193); +x_195 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_196 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_197 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_198 = l_Lean_Syntax_node3(x_83, x_195, x_196, x_194, x_197); +x_199 = l_Lake_addDeclField___rarg___closed__4; +x_200 = l_Lake_PackageConfig_mkSyntax___closed__88; +x_201 = l_Lake_addDeclField___rarg___closed__6; +x_202 = l_Lean_Syntax_node3(x_83, x_199, x_200, x_201, x_198); +x_203 = lean_array_push(x_183, x_202); if (x_74 == 0) { -x_168 = x_201; -goto block_180; +x_170 = x_203; +goto block_182; } else { lean_dec(x_11); if (x_75 == 0) { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_202 = lean_box(2); -x_203 = l_Lean_Syntax_mkStrLit(x_10, x_202); +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_204 = lean_box(2); +x_205 = l_Lean_Syntax_mkStrLit(x_10, x_204); lean_dec(x_10); -x_204 = l_Lake_PackageConfig_mkSyntax___closed__87; -x_205 = l_Lean_Syntax_node3(x_83, x_197, x_204, x_199, x_203); -x_206 = lean_array_push(x_201, x_205); -x_129 = x_206; -goto block_167; +x_206 = l_Lake_PackageConfig_mkSyntax___closed__87; +x_207 = l_Lean_Syntax_node3(x_83, x_199, x_206, x_201, x_205); +x_208 = lean_array_push(x_203, x_207); +x_131 = x_208; +goto block_169; } else { lean_dec(x_10); -x_129 = x_201; -goto block_167; +x_131 = x_203; +goto block_169; } } } } -block_232: +block_234: { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_222 = l_Lake_addDeclField___rarg___closed__4; -x_223 = l_Lake_PackageConfig_mkSyntax___closed__89; -x_224 = l_Lake_addDeclField___rarg___closed__6; -x_225 = l_Lean_Syntax_node3(x_83, x_222, x_223, x_224, x_221); -x_226 = lean_array_push(x_220, x_225); +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_224 = l_Lake_addDeclField___rarg___closed__4; +x_225 = l_Lake_PackageConfig_mkSyntax___closed__89; +x_226 = l_Lake_addDeclField___rarg___closed__6; +x_227 = l_Lean_Syntax_node3(x_83, x_224, x_225, x_226, x_223); +x_228 = lean_array_push(x_222, x_227); if (x_71 == 0) { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_227 = lean_box(2); -x_228 = l_Lean_Syntax_mkStrLit(x_13, x_227); +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_229 = lean_box(2); +x_230 = l_Lean_Syntax_mkStrLit(x_13, x_229); lean_dec(x_13); -x_229 = l_Lake_PackageConfig_mkSyntax___closed__90; -x_230 = l_Lean_Syntax_node3(x_83, x_222, x_229, x_224, x_228); -x_231 = lean_array_push(x_226, x_230); -x_181 = x_231; -goto block_219; +x_231 = l_Lake_PackageConfig_mkSyntax___closed__90; +x_232 = l_Lean_Syntax_node3(x_83, x_224, x_231, x_226, x_230); +x_233 = lean_array_push(x_228, x_232); +x_183 = x_233; +goto block_221; } else { lean_dec(x_13); -x_181 = x_226; -goto block_219; +x_183 = x_228; +goto block_221; } } -block_246: +block_248: { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_234 = l_Lake_LeanVer_quote(x_16); -x_235 = l_Lake_addDeclField___rarg___closed__4; -x_236 = l_Lake_PackageConfig_mkSyntax___closed__91; -x_237 = l_Lake_addDeclField___rarg___closed__6; -x_238 = l_Lean_Syntax_node3(x_83, x_235, x_236, x_237, x_234); -x_239 = lean_array_push(x_233, x_238); +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_236 = l_Lake_LeanVer_quote(x_16); +x_237 = l_Lake_addDeclField___rarg___closed__4; +x_238 = l_Lake_PackageConfig_mkSyntax___closed__91; +x_239 = l_Lake_addDeclField___rarg___closed__6; +x_240 = l_Lean_Syntax_node3(x_83, x_237, x_238, x_239, x_236); +x_241 = lean_array_push(x_235, x_240); if (lean_obj_tag(x_15) == 0) { if (x_71 == 0) { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_240 = lean_box(2); -x_241 = l_Lean_Syntax_mkStrLit(x_13, x_240); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_242 = lean_box(2); +x_243 = l_Lean_Syntax_mkStrLit(x_13, x_242); lean_dec(x_13); -x_242 = l_Lake_PackageConfig_mkSyntax___closed__90; -x_243 = l_Lean_Syntax_node3(x_83, x_235, x_242, x_237, x_241); -x_244 = lean_array_push(x_239, x_243); -x_181 = x_244; -goto block_219; +x_244 = l_Lake_PackageConfig_mkSyntax___closed__90; +x_245 = l_Lean_Syntax_node3(x_83, x_237, x_244, x_239, x_243); +x_246 = lean_array_push(x_241, x_245); +x_183 = x_246; +goto block_221; } else { lean_dec(x_13); -x_181 = x_239; -goto block_219; +x_183 = x_241; +goto block_221; } } else { -lean_object* x_245; -x_245 = lean_ctor_get(x_15, 0); -lean_inc(x_245); +lean_object* x_247; +x_247 = lean_ctor_get(x_15, 0); +lean_inc(x_247); lean_dec(x_15); -x_220 = x_239; -x_221 = x_245; -goto block_232; +x_222 = x_241; +x_223 = x_247; +goto block_234; } } -block_287: +block_289: { -lean_object* x_248; +lean_object* x_250; if (x_68 == 0) { -lean_object* x_275; +lean_object* x_277; lean_dec(x_67); -x_275 = lean_box(0); -x_248 = x_275; -goto block_274; +x_277 = lean_box(0); +x_250 = x_277; +goto block_276; } else { -lean_object* x_276; uint8_t x_277; -x_276 = l_Lake_PackageConfig_mkSyntax___closed__16; -x_277 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__6(x_1, lean_box(0), x_17, x_276, x_67, lean_box(0)); -if (x_277 == 0) +lean_object* x_278; uint8_t x_279; +x_278 = l_Lake_PackageConfig_mkSyntax___closed__16; +x_279 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__6(x_1, lean_box(0), x_17, x_278, x_67, lean_box(0)); +if (x_279 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_248 = x_278; -goto block_274; +lean_object* x_280; +x_280 = lean_box(0); +x_250 = x_280; +goto block_276; } else { lean_dec(x_17); if (x_70 == 0) { -x_233 = x_247; -goto block_246; +x_235 = x_249; +goto block_248; } else { @@ -5860,70 +5886,70 @@ if (lean_obj_tag(x_15) == 0) { if (x_71 == 0) { -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_279 = lean_box(2); -x_280 = l_Lean_Syntax_mkStrLit(x_13, x_279); +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_281 = lean_box(2); +x_282 = l_Lean_Syntax_mkStrLit(x_13, x_281); lean_dec(x_13); -x_281 = l_Lake_addDeclField___rarg___closed__4; -x_282 = l_Lake_PackageConfig_mkSyntax___closed__90; -x_283 = l_Lake_addDeclField___rarg___closed__6; -x_284 = l_Lean_Syntax_node3(x_83, x_281, x_282, x_283, x_280); -x_285 = lean_array_push(x_247, x_284); -x_181 = x_285; -goto block_219; +x_283 = l_Lake_addDeclField___rarg___closed__4; +x_284 = l_Lake_PackageConfig_mkSyntax___closed__90; +x_285 = l_Lake_addDeclField___rarg___closed__6; +x_286 = l_Lean_Syntax_node3(x_83, x_283, x_284, x_285, x_282); +x_287 = lean_array_push(x_249, x_286); +x_183 = x_287; +goto block_221; } else { lean_dec(x_13); -x_181 = x_247; -goto block_219; +x_183 = x_249; +goto block_221; } } else { -lean_object* x_286; -x_286 = lean_ctor_get(x_15, 0); -lean_inc(x_286); +lean_object* x_288; +x_288 = lean_ctor_get(x_15, 0); +lean_inc(x_288); lean_dec(x_15); -x_220 = x_247; -x_221 = x_286; -goto block_232; +x_222 = x_249; +x_223 = x_288; +goto block_234; } } } } -block_274: +block_276: { -size_t x_249; size_t x_250; lean_object* x_251; lean_object* x_252; 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; lean_object* x_265; lean_object* x_266; lean_object* x_267; -lean_dec(x_248); -x_249 = lean_array_size(x_17); -x_250 = 0; -x_251 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_252 = l_Lake_LeanConfig_addDeclFields___closed__4; -x_253 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__5(x_251, x_252, x_9, x_249, x_250, x_17); -x_254 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_255 = l_Lean_Syntax_SepArray_ofElems(x_254, x_253); -lean_dec(x_253); -x_256 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_257 = l_Array_append___rarg(x_256, x_255); +size_t x_251; size_t x_252; 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; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +lean_dec(x_250); +x_251 = lean_array_size(x_17); +x_252 = 0; +x_253 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_254 = l_Lake_LeanConfig_addDeclFields___closed__4; +x_255 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__5(x_253, x_254, x_9, x_251, x_252, x_17); +x_256 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_257 = l_Lean_Syntax_SepArray_ofElems(x_256, x_255); lean_dec(x_255); -x_258 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_258, 0, x_83); -lean_ctor_set(x_258, 1, x_86); -lean_ctor_set(x_258, 2, x_257); -x_259 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_260 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_261 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_262 = l_Lean_Syntax_node3(x_83, x_259, x_260, x_258, x_261); -x_263 = l_Lake_addDeclField___rarg___closed__4; -x_264 = l_Lake_PackageConfig_mkSyntax___closed__92; -x_265 = l_Lake_addDeclField___rarg___closed__6; -x_266 = l_Lean_Syntax_node3(x_83, x_263, x_264, x_265, x_262); -x_267 = lean_array_push(x_247, x_266); +x_258 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_259 = l_Array_append___rarg(x_258, x_257); +lean_dec(x_257); +x_260 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_260, 0, x_83); +lean_ctor_set(x_260, 1, x_86); +lean_ctor_set(x_260, 2, x_259); +x_261 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_262 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_263 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_264 = l_Lean_Syntax_node3(x_83, x_261, x_262, x_260, x_263); +x_265 = l_Lake_addDeclField___rarg___closed__4; +x_266 = l_Lake_PackageConfig_mkSyntax___closed__92; +x_267 = l_Lake_addDeclField___rarg___closed__6; +x_268 = l_Lean_Syntax_node3(x_83, x_265, x_266, x_267, x_264); +x_269 = lean_array_push(x_249, x_268); if (x_70 == 0) { -x_233 = x_267; -goto block_246; +x_235 = x_269; +goto block_248; } else { @@ -5932,190 +5958,190 @@ if (lean_obj_tag(x_15) == 0) { if (x_71 == 0) { -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_268 = lean_box(2); -x_269 = l_Lean_Syntax_mkStrLit(x_13, x_268); +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_270 = lean_box(2); +x_271 = l_Lean_Syntax_mkStrLit(x_13, x_270); lean_dec(x_13); -x_270 = l_Lake_PackageConfig_mkSyntax___closed__90; -x_271 = l_Lean_Syntax_node3(x_83, x_263, x_270, x_265, x_269); -x_272 = lean_array_push(x_267, x_271); -x_181 = x_272; -goto block_219; +x_272 = l_Lake_PackageConfig_mkSyntax___closed__90; +x_273 = l_Lean_Syntax_node3(x_83, x_265, x_272, x_267, x_271); +x_274 = lean_array_push(x_269, x_273); +x_183 = x_274; +goto block_221; } else { lean_dec(x_13); -x_181 = x_267; -goto block_219; +x_183 = x_269; +goto block_221; } } else { -lean_object* x_273; -x_273 = lean_ctor_get(x_15, 0); -lean_inc(x_273); +lean_object* x_275; +x_275 = lean_ctor_get(x_15, 0); +lean_inc(x_275); lean_dec(x_15); -x_220 = x_267; -x_221 = x_273; -goto block_232; +x_222 = x_269; +x_223 = x_275; +goto block_234; } } } } -block_326: +block_328: { -lean_object* x_289; +lean_object* x_291; if (x_65 == 0) { -lean_object* x_315; +lean_object* x_317; lean_dec(x_64); -x_315 = lean_box(0); -x_289 = x_315; -goto block_314; +x_317 = lean_box(0); +x_291 = x_317; +goto block_316; } else { -lean_object* x_316; uint8_t x_317; -x_316 = l_Lake_PackageConfig_mkSyntax___closed__16; -x_317 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__8(x_1, lean_box(0), x_18, x_316, x_64, lean_box(0)); -if (x_317 == 0) +lean_object* x_318; uint8_t x_319; +x_318 = l_Lake_PackageConfig_mkSyntax___closed__16; +x_319 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__8(x_1, lean_box(0), x_18, x_318, x_64, lean_box(0)); +if (x_319 == 0) { -lean_object* x_318; -x_318 = lean_box(0); -x_289 = x_318; -goto block_314; +lean_object* x_320; +x_320 = lean_box(0); +x_291 = x_320; +goto block_316; } else { lean_dec(x_18); if (x_66 == 0) { -lean_object* 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; -x_319 = lean_box(2); -x_320 = l_Lean_Syntax_mkStrLit(x_3, x_319); -x_321 = l_Lake_addDeclField___rarg___closed__4; -x_322 = l_Lake_PackageConfig_mkSyntax___closed__94; -x_323 = l_Lake_addDeclField___rarg___closed__6; -x_324 = l_Lean_Syntax_node3(x_83, x_321, x_322, x_323, x_320); -x_325 = lean_array_push(x_288, x_324); -x_247 = x_325; -goto block_287; +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; +x_321 = lean_box(2); +x_322 = l_Lean_Syntax_mkStrLit(x_3, x_321); +x_323 = l_Lake_addDeclField___rarg___closed__4; +x_324 = l_Lake_PackageConfig_mkSyntax___closed__94; +x_325 = l_Lake_addDeclField___rarg___closed__6; +x_326 = l_Lean_Syntax_node3(x_83, x_323, x_324, x_325, x_322); +x_327 = lean_array_push(x_290, x_326); +x_249 = x_327; +goto block_289; } else { -x_247 = x_288; -goto block_287; +x_249 = x_290; +goto block_289; } } } -block_314: +block_316: { -size_t x_290; size_t 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; 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_dec(x_289); -x_290 = lean_array_size(x_18); -x_291 = 0; -x_292 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_293 = l_Lake_LeanConfig_addDeclFields___closed__4; -x_294 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__7(x_292, x_293, x_9, x_290, x_291, x_18); -x_295 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_296 = l_Lean_Syntax_SepArray_ofElems(x_295, x_294); -lean_dec(x_294); -x_297 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_298 = l_Array_append___rarg(x_297, x_296); +size_t x_292; size_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; lean_object* x_309; lean_object* x_310; +lean_dec(x_291); +x_292 = lean_array_size(x_18); +x_293 = 0; +x_294 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_295 = l_Lake_LeanConfig_addDeclFields___closed__4; +x_296 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__7(x_294, x_295, x_9, x_292, x_293, x_18); +x_297 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_298 = l_Lean_Syntax_SepArray_ofElems(x_297, x_296); lean_dec(x_296); -x_299 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_299, 0, x_83); -lean_ctor_set(x_299, 1, x_86); -lean_ctor_set(x_299, 2, x_298); -x_300 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_301 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_302 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_303 = l_Lean_Syntax_node3(x_83, x_300, x_301, x_299, x_302); -x_304 = l_Lake_addDeclField___rarg___closed__4; -x_305 = l_Lake_PackageConfig_mkSyntax___closed__93; -x_306 = l_Lake_addDeclField___rarg___closed__6; -x_307 = l_Lean_Syntax_node3(x_83, x_304, x_305, x_306, x_303); -x_308 = lean_array_push(x_288, x_307); +x_299 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_300 = l_Array_append___rarg(x_299, x_298); +lean_dec(x_298); +x_301 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_301, 0, x_83); +lean_ctor_set(x_301, 1, x_86); +lean_ctor_set(x_301, 2, x_300); +x_302 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_303 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_304 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_305 = l_Lean_Syntax_node3(x_83, x_302, x_303, x_301, x_304); +x_306 = l_Lake_addDeclField___rarg___closed__4; +x_307 = l_Lake_PackageConfig_mkSyntax___closed__93; +x_308 = l_Lake_addDeclField___rarg___closed__6; +x_309 = l_Lean_Syntax_node3(x_83, x_306, x_307, x_308, x_305); +x_310 = lean_array_push(x_290, x_309); if (x_66 == 0) { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -x_309 = lean_box(2); -x_310 = l_Lean_Syntax_mkStrLit(x_3, x_309); -x_311 = l_Lake_PackageConfig_mkSyntax___closed__94; -x_312 = l_Lean_Syntax_node3(x_83, x_304, x_311, x_306, x_310); -x_313 = lean_array_push(x_308, x_312); -x_247 = x_313; -goto block_287; +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +x_311 = lean_box(2); +x_312 = l_Lean_Syntax_mkStrLit(x_3, x_311); +x_313 = l_Lake_PackageConfig_mkSyntax___closed__94; +x_314 = l_Lean_Syntax_node3(x_83, x_306, x_313, x_308, x_312); +x_315 = lean_array_push(x_310, x_314); +x_249 = x_315; +goto block_289; } else { -x_247 = x_308; -goto block_287; +x_249 = x_310; +goto block_289; } } } -block_335: +block_337: { -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; -x_328 = lean_box(2); -x_329 = l_Lean_Syntax_mkStrLit(x_2, x_328); -x_330 = l_Lake_addDeclField___rarg___closed__4; -x_331 = l_Lake_PackageConfig_mkSyntax___closed__95; -x_332 = l_Lake_addDeclField___rarg___closed__6; -x_333 = l_Lean_Syntax_node3(x_83, x_330, x_331, x_332, x_329); -x_334 = lean_array_push(x_327, x_333); -x_288 = x_334; -goto block_326; +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; +x_330 = lean_box(2); +x_331 = l_Lean_Syntax_mkStrLit(x_2, x_330); +x_332 = l_Lake_addDeclField___rarg___closed__4; +x_333 = l_Lake_PackageConfig_mkSyntax___closed__95; +x_334 = l_Lake_addDeclField___rarg___closed__6; +x_335 = l_Lean_Syntax_node3(x_83, x_332, x_333, x_334, x_331); +x_336 = lean_array_push(x_329, x_335); +x_290 = x_336; +goto block_328; +} +block_346: +{ +uint8_t x_339; +if (x_19 == 0) +{ +uint8_t x_345; +x_345 = 1; +x_339 = x_345; +goto block_344; +} +else +{ +x_339 = x_22; +goto block_344; } block_344: { -uint8_t x_337; -if (x_19 == 0) -{ -uint8_t x_343; -x_343 = 1; -x_337 = x_343; -goto block_342; -} -else -{ -x_337 = x_22; -goto block_342; -} -block_342: -{ -if (x_337 == 0) +if (x_339 == 0) { if (x_19 == 0) { -lean_object* x_338; lean_object* x_339; -x_338 = l_Lake_PackageConfig_mkSyntax___closed__97; -x_339 = lean_array_push(x_336, x_338); -if (x_63 == 0) -{ -x_327 = x_339; -goto block_335; -} -else -{ -x_288 = x_339; -goto block_326; -} -} -else -{ lean_object* x_340; lean_object* x_341; -x_340 = l_Lake_PackageConfig_mkSyntax___closed__98; -x_341 = lean_array_push(x_336, x_340); +x_340 = l_Lake_PackageConfig_mkSyntax___closed__97; +x_341 = lean_array_push(x_338, x_340); if (x_63 == 0) { -x_327 = x_341; -goto block_335; +x_329 = x_341; +goto block_337; } else { -x_288 = x_341; -goto block_326; +x_290 = x_341; +goto block_328; +} +} +else +{ +lean_object* x_342; lean_object* x_343; +x_342 = l_Lake_PackageConfig_mkSyntax___closed__98; +x_343 = lean_array_push(x_338, x_342); +if (x_63 == 0) +{ +x_329 = x_343; +goto block_337; +} +else +{ +x_290 = x_343; +goto block_328; } } } @@ -6123,331 +6149,331 @@ else { if (x_63 == 0) { -x_327 = x_336; -goto block_335; +x_329 = x_338; +goto block_337; } else { -x_288 = x_336; -goto block_326; +x_290 = x_338; +goto block_328; } } } } -block_486: +block_488: { -uint8_t x_346; lean_object* x_347; lean_object* x_348; lean_object* x_361; -x_346 = lean_string_dec_eq(x_345, x_32); +uint8_t x_348; lean_object* x_349; lean_object* x_350; lean_object* x_363; +x_348 = lean_string_dec_eq(x_347, x_32); lean_dec(x_32); if (lean_obj_tag(x_33) == 0) { -lean_object* x_482; -x_482 = lean_ctor_get(x_1, 13); -lean_inc(x_482); -x_361 = x_482; -goto block_481; -} -else -{ -uint8_t x_483; -x_483 = !lean_is_exclusive(x_33); -if (x_483 == 0) -{ -x_361 = x_33; -goto block_481; -} -else -{ -lean_object* x_484; lean_object* x_485; -x_484 = lean_ctor_get(x_33, 0); +lean_object* x_484; +x_484 = lean_ctor_get(x_1, 13); lean_inc(x_484); -lean_dec(x_33); -x_485 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_485, 0, x_484); -x_361 = x_485; -goto block_481; -} -} -block_360: -{ -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; -x_349 = lean_box(2); -x_350 = l_Lean_Syntax_mkStrLit(x_348, x_349); -lean_dec(x_348); -x_351 = l_Lake_addDeclField___rarg___closed__4; -x_352 = l_Lake_PackageConfig_mkSyntax___closed__99; -x_353 = l_Lake_addDeclField___rarg___closed__6; -x_354 = l_Lean_Syntax_node3(x_83, x_351, x_352, x_353, x_350); -x_355 = lean_array_push(x_347, x_354); -if (x_346 == 0) -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_356 = l_Lean_Syntax_mkStrLit(x_345, x_349); -lean_dec(x_345); -x_357 = l_Lake_PackageConfig_mkSyntax___closed__100; -x_358 = l_Lean_Syntax_node3(x_83, x_351, x_357, x_353, x_356); -x_359 = lean_array_push(x_355, x_358); -x_336 = x_359; -goto block_344; +x_363 = x_484; +goto block_483; } else { -lean_dec(x_345); -x_336 = x_355; -goto block_344; -} -} -block_481: +uint8_t x_485; +x_485 = !lean_is_exclusive(x_33); +if (x_485 == 0) { -lean_object* x_362; lean_object* x_376; lean_object* x_390; lean_object* x_404; lean_object* x_414; lean_object* x_427; lean_object* x_436; uint8_t x_475; +x_363 = x_33; +goto block_483; +} +else +{ +lean_object* x_486; lean_object* x_487; +x_486 = lean_ctor_get(x_33, 0); +lean_inc(x_486); +lean_dec(x_33); +x_487 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_487, 0, x_486); +x_363 = x_487; +goto block_483; +} +} +block_362: +{ +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +x_351 = lean_box(2); +x_352 = l_Lean_Syntax_mkStrLit(x_350, x_351); +lean_dec(x_350); +x_353 = l_Lake_addDeclField___rarg___closed__4; +x_354 = l_Lake_PackageConfig_mkSyntax___closed__99; +x_355 = l_Lake_addDeclField___rarg___closed__6; +x_356 = l_Lean_Syntax_node3(x_83, x_353, x_354, x_355, x_352); +x_357 = lean_array_push(x_349, x_356); +if (x_348 == 0) +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; +x_358 = l_Lean_Syntax_mkStrLit(x_347, x_351); +lean_dec(x_347); +x_359 = l_Lake_PackageConfig_mkSyntax___closed__100; +x_360 = l_Lean_Syntax_node3(x_83, x_353, x_359, x_355, x_358); +x_361 = lean_array_push(x_357, x_360); +x_338 = x_361; +goto block_346; +} +else +{ +lean_dec(x_347); +x_338 = x_357; +goto block_346; +} +} +block_483: +{ +lean_object* x_364; lean_object* x_378; lean_object* x_392; lean_object* x_406; lean_object* x_416; lean_object* x_429; lean_object* x_438; uint8_t x_477; if (x_41 == 0) { -uint8_t x_480; -x_480 = 1; -x_475 = x_480; -goto block_479; +uint8_t x_482; +x_482 = 1; +x_477 = x_482; +goto block_481; } else { -x_475 = x_22; -goto block_479; +x_477 = x_22; +goto block_481; } -block_375: +block_377: { -lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; -x_363 = lean_box(2); -x_364 = l_Lean_Syntax_mkStrLit(x_34, x_363); +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +x_365 = lean_box(2); +x_366 = l_Lean_Syntax_mkStrLit(x_34, x_365); lean_dec(x_34); -x_365 = l_Lake_addDeclField___rarg___closed__4; -x_366 = l_Lake_PackageConfig_mkSyntax___closed__101; -x_367 = l_Lake_addDeclField___rarg___closed__6; -x_368 = l_Lean_Syntax_node3(x_83, x_365, x_366, x_367, x_364); -x_369 = lean_array_push(x_362, x_368); -if (lean_obj_tag(x_361) == 0) +x_367 = l_Lake_addDeclField___rarg___closed__4; +x_368 = l_Lake_PackageConfig_mkSyntax___closed__101; +x_369 = l_Lake_addDeclField___rarg___closed__6; +x_370 = l_Lean_Syntax_node3(x_83, x_367, x_368, x_369, x_366); +x_371 = lean_array_push(x_364, x_370); +if (lean_obj_tag(x_363) == 0) { -if (x_346 == 0) +if (x_348 == 0) { -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -x_370 = l_Lean_Syntax_mkStrLit(x_345, x_363); -lean_dec(x_345); -x_371 = l_Lake_PackageConfig_mkSyntax___closed__100; -x_372 = l_Lean_Syntax_node3(x_83, x_365, x_371, x_367, x_370); -x_373 = lean_array_push(x_369, x_372); -x_336 = x_373; -goto block_344; +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_372 = l_Lean_Syntax_mkStrLit(x_347, x_365); +lean_dec(x_347); +x_373 = l_Lake_PackageConfig_mkSyntax___closed__100; +x_374 = l_Lean_Syntax_node3(x_83, x_367, x_373, x_369, x_372); +x_375 = lean_array_push(x_371, x_374); +x_338 = x_375; +goto block_346; } else { -lean_dec(x_345); -x_336 = x_369; -goto block_344; +lean_dec(x_347); +x_338 = x_371; +goto block_346; } } else { -lean_object* x_374; -x_374 = lean_ctor_get(x_361, 0); -lean_inc(x_374); -lean_dec(x_361); -x_347 = x_369; -x_348 = x_374; -goto block_360; +lean_object* x_376; +x_376 = lean_ctor_get(x_363, 0); +lean_inc(x_376); +lean_dec(x_363); +x_349 = x_371; +x_350 = x_376; +goto block_362; } } -block_389: +block_391: { -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_377 = lean_box(2); -x_378 = l_Lean_Syntax_mkStrLit(x_35, x_377); +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; +x_379 = lean_box(2); +x_380 = l_Lean_Syntax_mkStrLit(x_35, x_379); lean_dec(x_35); -x_379 = l_Lake_addDeclField___rarg___closed__4; -x_380 = l_Lake_PackageConfig_mkSyntax___closed__102; -x_381 = l_Lake_addDeclField___rarg___closed__6; -x_382 = l_Lean_Syntax_node3(x_83, x_379, x_380, x_381, x_378); -x_383 = lean_array_push(x_376, x_382); +x_381 = l_Lake_addDeclField___rarg___closed__4; +x_382 = l_Lake_PackageConfig_mkSyntax___closed__102; +x_383 = l_Lake_addDeclField___rarg___closed__6; +x_384 = l_Lean_Syntax_node3(x_83, x_381, x_382, x_383, x_380); +x_385 = lean_array_push(x_378, x_384); if (x_62 == 0) { -x_362 = x_383; -goto block_375; +x_364 = x_385; +goto block_377; } else { lean_dec(x_34); -if (lean_obj_tag(x_361) == 0) +if (lean_obj_tag(x_363) == 0) { -if (x_346 == 0) +if (x_348 == 0) { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; -x_384 = l_Lean_Syntax_mkStrLit(x_345, x_377); -lean_dec(x_345); -x_385 = l_Lake_PackageConfig_mkSyntax___closed__100; -x_386 = l_Lean_Syntax_node3(x_83, x_379, x_385, x_381, x_384); -x_387 = lean_array_push(x_383, x_386); -x_336 = x_387; -goto block_344; +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_386 = l_Lean_Syntax_mkStrLit(x_347, x_379); +lean_dec(x_347); +x_387 = l_Lake_PackageConfig_mkSyntax___closed__100; +x_388 = l_Lean_Syntax_node3(x_83, x_381, x_387, x_383, x_386); +x_389 = lean_array_push(x_385, x_388); +x_338 = x_389; +goto block_346; } else { -lean_dec(x_345); -x_336 = x_383; -goto block_344; +lean_dec(x_347); +x_338 = x_385; +goto block_346; } } else { -lean_object* x_388; -x_388 = lean_ctor_get(x_361, 0); -lean_inc(x_388); -lean_dec(x_361); -x_347 = x_383; -x_348 = x_388; -goto block_360; +lean_object* x_390; +x_390 = lean_ctor_get(x_363, 0); +lean_inc(x_390); +lean_dec(x_363); +x_349 = x_385; +x_350 = x_390; +goto block_362; } } } -block_403: +block_405: { -lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; -x_391 = lean_box(2); -x_392 = l_Lean_Syntax_mkStrLit(x_36, x_391); +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_393 = lean_box(2); +x_394 = l_Lean_Syntax_mkStrLit(x_36, x_393); lean_dec(x_36); -x_393 = l_Lake_addDeclField___rarg___closed__4; -x_394 = l_Lake_PackageConfig_mkSyntax___closed__103; -x_395 = l_Lake_addDeclField___rarg___closed__6; -x_396 = l_Lean_Syntax_node3(x_83, x_393, x_394, x_395, x_392); -x_397 = lean_array_push(x_390, x_396); +x_395 = l_Lake_addDeclField___rarg___closed__4; +x_396 = l_Lake_PackageConfig_mkSyntax___closed__103; +x_397 = l_Lake_addDeclField___rarg___closed__6; +x_398 = l_Lean_Syntax_node3(x_83, x_395, x_396, x_397, x_394); +x_399 = lean_array_push(x_392, x_398); if (x_59 == 0) { -x_376 = x_397; -goto block_389; +x_378 = x_399; +goto block_391; } else { lean_dec(x_35); if (x_62 == 0) { -x_362 = x_397; -goto block_375; +x_364 = x_399; +goto block_377; } else { lean_dec(x_34); -if (lean_obj_tag(x_361) == 0) +if (lean_obj_tag(x_363) == 0) { -if (x_346 == 0) +if (x_348 == 0) { -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -x_398 = l_Lean_Syntax_mkStrLit(x_345, x_391); -lean_dec(x_345); -x_399 = l_Lake_PackageConfig_mkSyntax___closed__100; -x_400 = l_Lean_Syntax_node3(x_83, x_393, x_399, x_395, x_398); -x_401 = lean_array_push(x_397, x_400); -x_336 = x_401; -goto block_344; +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; +x_400 = l_Lean_Syntax_mkStrLit(x_347, x_393); +lean_dec(x_347); +x_401 = l_Lake_PackageConfig_mkSyntax___closed__100; +x_402 = l_Lean_Syntax_node3(x_83, x_395, x_401, x_397, x_400); +x_403 = lean_array_push(x_399, x_402); +x_338 = x_403; +goto block_346; } else { -lean_dec(x_345); -x_336 = x_397; -goto block_344; +lean_dec(x_347); +x_338 = x_399; +goto block_346; } } else { -lean_object* x_402; -x_402 = lean_ctor_get(x_361, 0); -lean_inc(x_402); -lean_dec(x_361); -x_347 = x_397; -x_348 = x_402; -goto block_360; +lean_object* x_404; +x_404 = lean_ctor_get(x_363, 0); +lean_inc(x_404); +lean_dec(x_363); +x_349 = x_399; +x_350 = x_404; +goto block_362; } } } } -block_413: +block_415: { if (x_59 == 0) { -x_376 = x_404; -goto block_389; +x_378 = x_406; +goto block_391; } else { lean_dec(x_35); if (x_62 == 0) { -x_362 = x_404; -goto block_375; +x_364 = x_406; +goto block_377; } else { lean_dec(x_34); -if (lean_obj_tag(x_361) == 0) +if (lean_obj_tag(x_363) == 0) { -if (x_346 == 0) +if (x_348 == 0) { -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; -x_405 = lean_box(2); -x_406 = l_Lean_Syntax_mkStrLit(x_345, x_405); -lean_dec(x_345); -x_407 = l_Lake_addDeclField___rarg___closed__4; -x_408 = l_Lake_PackageConfig_mkSyntax___closed__100; -x_409 = l_Lake_addDeclField___rarg___closed__6; -x_410 = l_Lean_Syntax_node3(x_83, x_407, x_408, x_409, x_406); -x_411 = lean_array_push(x_404, x_410); -x_336 = x_411; -goto block_344; +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; +x_407 = lean_box(2); +x_408 = l_Lean_Syntax_mkStrLit(x_347, x_407); +lean_dec(x_347); +x_409 = l_Lake_addDeclField___rarg___closed__4; +x_410 = l_Lake_PackageConfig_mkSyntax___closed__100; +x_411 = l_Lake_addDeclField___rarg___closed__6; +x_412 = l_Lean_Syntax_node3(x_83, x_409, x_410, x_411, x_408); +x_413 = lean_array_push(x_406, x_412); +x_338 = x_413; +goto block_346; } else { -lean_dec(x_345); -x_336 = x_404; -goto block_344; +lean_dec(x_347); +x_338 = x_406; +goto block_346; } } else { -lean_object* x_412; -x_412 = lean_ctor_get(x_361, 0); -lean_inc(x_412); -lean_dec(x_361); -x_347 = x_404; -x_348 = x_412; -goto block_360; +lean_object* x_414; +x_414 = lean_ctor_get(x_363, 0); +lean_inc(x_414); +lean_dec(x_363); +x_349 = x_406; +x_350 = x_414; +goto block_362; } } } } -block_426: +block_428: { -lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; -x_415 = lean_box(2); -x_416 = l_Lean_Syntax_mkStrLit(x_38, x_415); +lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_417 = lean_box(2); +x_418 = l_Lean_Syntax_mkStrLit(x_38, x_417); lean_dec(x_38); -x_417 = l_Lake_addDeclField___rarg___closed__4; -x_418 = l_Lake_PackageConfig_mkSyntax___closed__104; -x_419 = l_Lake_addDeclField___rarg___closed__6; -x_420 = l_Lean_Syntax_node3(x_83, x_417, x_418, x_419, x_416); -x_421 = lean_array_push(x_414, x_420); +x_419 = l_Lake_addDeclField___rarg___closed__4; +x_420 = l_Lake_PackageConfig_mkSyntax___closed__104; +x_421 = l_Lake_addDeclField___rarg___closed__6; +x_422 = l_Lean_Syntax_node3(x_83, x_419, x_420, x_421, x_418); +x_423 = lean_array_push(x_416, x_422); if (x_53 == 0) { -lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_422 = l_Lean_Syntax_mkStrLit(x_37, x_415); +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; +x_424 = l_Lean_Syntax_mkStrLit(x_37, x_417); lean_dec(x_37); -x_423 = l_Lake_PackageConfig_mkSyntax___closed__105; -x_424 = l_Lean_Syntax_node3(x_83, x_417, x_423, x_419, x_422); -x_425 = lean_array_push(x_421, x_424); +x_425 = l_Lake_PackageConfig_mkSyntax___closed__105; +x_426 = l_Lean_Syntax_node3(x_83, x_419, x_425, x_421, x_424); +x_427 = lean_array_push(x_423, x_426); if (x_56 == 0) { -x_390 = x_425; -goto block_403; +x_392 = x_427; +goto block_405; } else { lean_dec(x_36); -x_404 = x_425; -goto block_413; +x_406 = x_427; +goto block_415; } } else @@ -6455,40 +6481,40 @@ else lean_dec(x_37); if (x_56 == 0) { -x_390 = x_421; -goto block_403; +x_392 = x_423; +goto block_405; } else { lean_dec(x_36); -x_404 = x_421; -goto block_413; +x_406 = x_423; +goto block_415; } } } -block_435: +block_437: { if (x_53 == 0) { -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -x_428 = lean_box(2); -x_429 = l_Lean_Syntax_mkStrLit(x_37, x_428); +lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +x_430 = lean_box(2); +x_431 = l_Lean_Syntax_mkStrLit(x_37, x_430); lean_dec(x_37); -x_430 = l_Lake_addDeclField___rarg___closed__4; -x_431 = l_Lake_PackageConfig_mkSyntax___closed__105; -x_432 = l_Lake_addDeclField___rarg___closed__6; -x_433 = l_Lean_Syntax_node3(x_83, x_430, x_431, x_432, x_429); -x_434 = lean_array_push(x_427, x_433); +x_432 = l_Lake_addDeclField___rarg___closed__4; +x_433 = l_Lake_PackageConfig_mkSyntax___closed__105; +x_434 = l_Lake_addDeclField___rarg___closed__6; +x_435 = l_Lean_Syntax_node3(x_83, x_432, x_433, x_434, x_431); +x_436 = lean_array_push(x_429, x_435); if (x_56 == 0) { -x_390 = x_434; -goto block_403; +x_392 = x_436; +goto block_405; } else { lean_dec(x_36); -x_404 = x_434; -goto block_413; +x_406 = x_436; +goto block_415; } } else @@ -6496,64 +6522,64 @@ else lean_dec(x_37); if (x_56 == 0) { -x_390 = x_427; -goto block_403; +x_392 = x_429; +goto block_405; } else { lean_dec(x_36); -x_404 = x_427; -goto block_413; +x_406 = x_429; +goto block_415; } } } -block_474: +block_476: { -lean_object* x_437; +lean_object* x_439; if (x_44 == 0) { -lean_object* x_463; +lean_object* x_465; lean_dec(x_42); -x_463 = lean_box(0); -x_437 = x_463; -goto block_462; +x_465 = lean_box(0); +x_439 = x_465; +goto block_464; } else { -lean_object* x_464; uint8_t x_465; -x_464 = l_Lake_PackageConfig_mkSyntax___closed__16; -x_465 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__10(x_1, lean_box(0), x_40, x_464, x_42, lean_box(0)); -if (x_465 == 0) +lean_object* x_466; uint8_t x_467; +x_466 = l_Lake_PackageConfig_mkSyntax___closed__16; +x_467 = l_Array_isEqvAux___at_Lake_PackageConfig_mkSyntax___spec__10(x_1, lean_box(0), x_40, x_466, x_42, lean_box(0)); +if (x_467 == 0) { -lean_object* x_466; -x_466 = lean_box(0); -x_437 = x_466; -goto block_462; +lean_object* x_468; +x_468 = lean_box(0); +x_439 = x_468; +goto block_464; } else { lean_dec(x_40); if (x_47 == 0) { -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -x_467 = lean_box(2); -x_468 = l_Lean_Syntax_mkStrLit(x_39, x_467); +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_469 = lean_box(2); +x_470 = l_Lean_Syntax_mkStrLit(x_39, x_469); lean_dec(x_39); -x_469 = l_Lake_addDeclField___rarg___closed__4; -x_470 = l_Lake_PackageConfig_mkSyntax___closed__107; -x_471 = l_Lake_addDeclField___rarg___closed__6; -x_472 = l_Lean_Syntax_node3(x_83, x_469, x_470, x_471, x_468); -x_473 = lean_array_push(x_436, x_472); +x_471 = l_Lake_addDeclField___rarg___closed__4; +x_472 = l_Lake_PackageConfig_mkSyntax___closed__107; +x_473 = l_Lake_addDeclField___rarg___closed__6; +x_474 = l_Lean_Syntax_node3(x_83, x_471, x_472, x_473, x_470); +x_475 = lean_array_push(x_438, x_474); if (x_50 == 0) { -x_414 = x_473; -goto block_426; +x_416 = x_475; +goto block_428; } else { lean_dec(x_38); -x_427 = x_473; -goto block_435; +x_429 = x_475; +goto block_437; } } else @@ -6561,65 +6587,65 @@ else lean_dec(x_39); if (x_50 == 0) { -x_414 = x_436; -goto block_426; +x_416 = x_438; +goto block_428; } else { lean_dec(x_38); -x_427 = x_436; -goto block_435; +x_429 = x_438; +goto block_437; } } } } -block_462: +block_464: { -size_t x_438; size_t x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; 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; lean_object* x_455; lean_object* x_456; -lean_dec(x_437); -x_438 = lean_array_size(x_40); -x_439 = 0; -x_440 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_441 = l_Lake_LeanConfig_addDeclFields___closed__4; -x_442 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__9(x_440, x_441, x_9, x_438, x_439, x_40); -x_443 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_444 = l_Lean_Syntax_SepArray_ofElems(x_443, x_442); -lean_dec(x_442); -x_445 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_446 = l_Array_append___rarg(x_445, x_444); +size_t x_440; size_t x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; 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; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; +lean_dec(x_439); +x_440 = lean_array_size(x_40); +x_441 = 0; +x_442 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_443 = l_Lake_LeanConfig_addDeclFields___closed__4; +x_444 = l_Array_mapMUnsafe_map___at_Lake_PackageConfig_mkSyntax___spec__9(x_442, x_443, x_9, x_440, x_441, x_40); +x_445 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_446 = l_Lean_Syntax_SepArray_ofElems(x_445, x_444); lean_dec(x_444); -x_447 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_447, 0, x_83); -lean_ctor_set(x_447, 1, x_86); -lean_ctor_set(x_447, 2, x_446); -x_448 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_449 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_450 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_451 = l_Lean_Syntax_node3(x_83, x_448, x_449, x_447, x_450); -x_452 = l_Lake_addDeclField___rarg___closed__4; -x_453 = l_Lake_PackageConfig_mkSyntax___closed__106; -x_454 = l_Lake_addDeclField___rarg___closed__6; -x_455 = l_Lean_Syntax_node3(x_83, x_452, x_453, x_454, x_451); -x_456 = lean_array_push(x_436, x_455); +x_447 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_448 = l_Array_append___rarg(x_447, x_446); +lean_dec(x_446); +x_449 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_449, 0, x_83); +lean_ctor_set(x_449, 1, x_86); +lean_ctor_set(x_449, 2, x_448); +x_450 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_451 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_452 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_453 = l_Lean_Syntax_node3(x_83, x_450, x_451, x_449, x_452); +x_454 = l_Lake_addDeclField___rarg___closed__4; +x_455 = l_Lake_PackageConfig_mkSyntax___closed__106; +x_456 = l_Lake_addDeclField___rarg___closed__6; +x_457 = l_Lean_Syntax_node3(x_83, x_454, x_455, x_456, x_453); +x_458 = lean_array_push(x_438, x_457); if (x_47 == 0) { -lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; -x_457 = lean_box(2); -x_458 = l_Lean_Syntax_mkStrLit(x_39, x_457); +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_459 = lean_box(2); +x_460 = l_Lean_Syntax_mkStrLit(x_39, x_459); lean_dec(x_39); -x_459 = l_Lake_PackageConfig_mkSyntax___closed__107; -x_460 = l_Lean_Syntax_node3(x_83, x_452, x_459, x_454, x_458); -x_461 = lean_array_push(x_456, x_460); +x_461 = l_Lake_PackageConfig_mkSyntax___closed__107; +x_462 = l_Lean_Syntax_node3(x_83, x_454, x_461, x_456, x_460); +x_463 = lean_array_push(x_458, x_462); if (x_50 == 0) { -x_414 = x_461; -goto block_426; +x_416 = x_463; +goto block_428; } else { lean_dec(x_38); -x_427 = x_461; -goto block_435; +x_429 = x_463; +goto block_437; } } else @@ -6627,43 +6653,43 @@ else lean_dec(x_39); if (x_50 == 0) { -x_414 = x_456; -goto block_426; +x_416 = x_458; +goto block_428; } else { lean_dec(x_38); -x_427 = x_456; -goto block_435; +x_429 = x_458; +goto block_437; } } } } -block_479: +block_481: { -if (x_475 == 0) +if (x_477 == 0) { if (x_41 == 0) { -lean_object* x_476; -x_476 = l_Lake_PackageConfig_mkSyntax___closed__110; -x_436 = x_476; -goto block_474; -} -else -{ -lean_object* x_477; -x_477 = l_Lake_PackageConfig_mkSyntax___closed__112; -x_436 = x_477; -goto block_474; -} -} -else -{ lean_object* x_478; -x_478 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_436 = x_478; -goto block_474; +x_478 = l_Lake_PackageConfig_mkSyntax___closed__110; +x_438 = x_478; +goto block_476; +} +else +{ +lean_object* x_479; +x_479 = l_Lake_PackageConfig_mkSyntax___closed__112; +x_438 = x_479; +goto block_476; +} +} +else +{ +lean_object* x_480; +x_480 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_438 = x_480; +goto block_476; } } } @@ -8162,7 +8188,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lake_LeanLibConfig_mkSyntax(lean_object* x_1, uint8_t x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t 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; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_47; lean_object* x_64; lean_object* x_91; lean_object* x_100; lean_object* x_138; +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t 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; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_47; lean_object* x_66; lean_object* x_93; lean_object* x_102; lean_object* x_140; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 7); @@ -8212,27 +8238,27 @@ x_31 = l_Lake_LeanLibConfig_mkSyntax___closed__13; x_32 = lean_nat_dec_eq(x_30, x_31); if (x_22 == 0) { -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; -x_163 = lean_box(2); -x_164 = l_Lean_Syntax_mkStrLit(x_19, x_163); +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; +x_165 = lean_box(2); +x_166 = l_Lean_Syntax_mkStrLit(x_19, x_165); lean_dec(x_19); -x_165 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_166 = l_Lake_addDeclField___rarg___closed__4; -x_167 = l_Lake_PackageConfig_mkSyntax___closed__107; -x_168 = l_Lake_addDeclField___rarg___closed__6; -x_169 = l_Lean_Syntax_node3(x_165, x_166, x_167, x_168, x_164); -x_170 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_171 = lean_array_push(x_170, x_169); -x_138 = x_171; -goto block_162; +x_167 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_168 = l_Lake_addDeclField___rarg___closed__4; +x_169 = l_Lake_PackageConfig_mkSyntax___closed__107; +x_170 = l_Lake_addDeclField___rarg___closed__6; +x_171 = l_Lean_Syntax_node3(x_167, x_168, x_169, x_170, x_166); +x_172 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_173 = lean_array_push(x_172, x_171); +x_140 = x_173; +goto block_164; } else { -lean_object* x_172; +lean_object* x_174; lean_dec(x_19); -x_172 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_138 = x_172; -goto block_162; +x_174 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_140 = x_174; +goto block_164; } block_46: { @@ -8263,15 +8289,15 @@ lean_dec(x_44); return x_45; } } -block_63: +block_65: { lean_object* x_48; uint8_t x_49; x_48 = l_Lake_LeanConfig_addDeclFields(x_3, x_47); x_49 = l_Array_isEmpty___rarg(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; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_50 = l_Lake_mkDeclValWhere_x3f___closed__5; +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; +x_50 = l_Lake_mkDeclValWhere_x3f___closed__7; x_51 = l_Lean_Syntax_SepArray_ofElems(x_50, x_48); lean_dec(x_48); x_52 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; @@ -8283,288 +8309,290 @@ x_56 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_53); -x_57 = l_Lake_mkDeclValWhere_x3f___closed__2; -x_58 = l_Lake_mkDeclValWhere_x3f___closed__4; -x_59 = l_Lake_PackageConfig_mkSyntax___closed__70; -x_60 = l_Lean_Syntax_node3(x_54, x_57, x_58, x_56, x_59); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_33 = x_61; +x_57 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_58 = l_Lean_Syntax_node1(x_54, x_57, x_56); +x_59 = l_Lake_mkDeclValWhere_x3f___closed__2; +x_60 = l_Lake_mkDeclValWhere_x3f___closed__4; +x_61 = l_Lake_PackageConfig_mkSyntax___closed__70; +x_62 = l_Lean_Syntax_node3(x_54, x_59, x_60, x_58, x_61); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_33 = x_63; goto block_46; } else { -lean_object* x_62; +lean_object* x_64; lean_dec(x_48); -x_62 = lean_box(0); -x_33 = x_62; +x_64 = lean_box(0); +x_33 = x_64; goto block_46; } } -block_90: +block_92: { -lean_object* x_65; +lean_object* x_67; if (x_32 == 0) { -lean_object* x_86; +lean_object* x_88; lean_dec(x_30); lean_dec(x_1); -x_86 = lean_box(0); -x_65 = x_86; -goto block_85; +x_88 = lean_box(0); +x_67 = x_88; +goto block_87; } else { -lean_object* x_87; uint8_t x_88; -x_87 = l_Lake_LeanLibConfig_mkSyntax___closed__6; -x_88 = l_Array_isEqvAux___at_Lake_LeanLibConfig_mkSyntax___spec__2(x_1, lean_box(0), x_4, x_87, x_30, lean_box(0)); +lean_object* x_89; uint8_t x_90; +x_89 = l_Lake_LeanLibConfig_mkSyntax___closed__6; +x_90 = l_Array_isEqvAux___at_Lake_LeanLibConfig_mkSyntax___spec__2(x_1, lean_box(0), x_4, x_89, x_30, lean_box(0)); lean_dec(x_1); -if (x_88 == 0) +if (x_90 == 0) { -lean_object* x_89; -x_89 = lean_box(0); -x_65 = x_89; -goto block_85; +lean_object* x_91; +x_91 = lean_box(0); +x_67 = x_91; +goto block_87; } else { lean_dec(x_4); -x_47 = x_64; -goto block_63; +x_47 = x_66; +goto block_65; } } -block_85: +block_87: { -size_t 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_dec(x_65); -x_66 = lean_array_size(x_4); -x_67 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_68 = l_Array_mapMUnsafe_map___at_Lake_LeanLibConfig_mkSyntax___spec__1(x_5, x_67, x_66, x_15, x_4); -x_69 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_70 = l_Lean_Syntax_SepArray_ofElems(x_69, x_68); -lean_dec(x_68); -x_71 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_72 = l_Array_append___rarg(x_71, x_70); +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; 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_dec(x_67); +x_68 = lean_array_size(x_4); +x_69 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_70 = l_Array_mapMUnsafe_map___at_Lake_LeanLibConfig_mkSyntax___spec__1(x_5, x_69, x_68, x_15, x_4); +x_71 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_72 = l_Lean_Syntax_SepArray_ofElems(x_71, x_70); lean_dec(x_70); -x_73 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_74 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_72); -x_76 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_77 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_78 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_79 = l_Lean_Syntax_node3(x_73, x_76, x_77, x_75, x_78); -x_80 = l_Lake_addDeclField___rarg___closed__4; -x_81 = l_Lake_LeanLibConfig_mkSyntax___closed__40; -x_82 = l_Lake_addDeclField___rarg___closed__6; -x_83 = l_Lean_Syntax_node3(x_73, x_80, x_81, x_82, x_79); -x_84 = lean_array_push(x_64, x_83); -x_47 = x_84; -goto block_63; +x_73 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_74 = l_Array_append___rarg(x_73, x_72); +lean_dec(x_72); +x_75 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_76 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +lean_ctor_set(x_77, 2, x_74); +x_78 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_79 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_80 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_81 = l_Lean_Syntax_node3(x_75, x_78, x_79, x_77, x_80); +x_82 = l_Lake_addDeclField___rarg___closed__4; +x_83 = l_Lake_LeanLibConfig_mkSyntax___closed__40; +x_84 = l_Lake_addDeclField___rarg___closed__6; +x_85 = l_Lean_Syntax_node3(x_75, x_82, x_83, x_84, x_81); +x_86 = lean_array_push(x_66, x_85); +x_47 = x_86; +goto block_65; } } +block_101: +{ +uint8_t x_94; +if (x_6 == 0) +{ +uint8_t x_100; +x_100 = 1; +x_94 = x_100; +goto block_99; +} +else +{ +x_94 = x_9; +goto block_99; +} block_99: { -uint8_t x_92; -if (x_6 == 0) -{ -uint8_t x_98; -x_98 = 1; -x_92 = x_98; -goto block_97; -} -else -{ -x_92 = x_9; -goto block_97; -} -block_97: -{ -if (x_92 == 0) +if (x_94 == 0) { if (x_6 == 0) { -lean_object* x_93; lean_object* x_94; -x_93 = l_Lake_PackageConfig_mkSyntax___closed__109; -x_94 = lean_array_push(x_91, x_93); -x_64 = x_94; -goto block_90; -} -else -{ lean_object* x_95; lean_object* x_96; -x_95 = l_Lake_PackageConfig_mkSyntax___closed__111; -x_96 = lean_array_push(x_91, x_95); -x_64 = x_96; -goto block_90; +x_95 = l_Lake_PackageConfig_mkSyntax___closed__109; +x_96 = lean_array_push(x_93, x_95); +x_66 = x_96; +goto block_92; +} +else +{ +lean_object* x_97; lean_object* x_98; +x_97 = l_Lake_PackageConfig_mkSyntax___closed__111; +x_98 = lean_array_push(x_93, x_97); +x_66 = x_98; +goto block_92; } } else { -x_64 = x_91; -goto block_90; +x_66 = x_93; +goto block_92; } } } -block_137: +block_139: { -lean_object* x_101; +lean_object* x_103; if (x_28 == 0) { -lean_object* x_126; +lean_object* x_128; lean_dec(x_26); lean_dec(x_16); -x_126 = lean_box(0); -x_101 = x_126; -goto block_125; +x_128 = lean_box(0); +x_103 = x_128; +goto block_127; } else { -uint8_t x_127; -x_127 = l_Array_isEqvAux___at_Lake_LeanLibConfig_mkSyntax___spec__4(x_1, lean_box(0), x_12, x_16, x_26, lean_box(0)); +uint8_t x_129; +x_129 = l_Array_isEqvAux___at_Lake_LeanLibConfig_mkSyntax___spec__4(x_1, lean_box(0), x_12, x_16, x_26, lean_box(0)); lean_dec(x_16); -if (x_127 == 0) +if (x_129 == 0) { -lean_object* x_128; -x_128 = lean_box(0); -x_101 = x_128; -goto block_125; +lean_object* x_130; +x_130 = lean_box(0); +x_103 = x_130; +goto block_127; } else { lean_dec(x_12); if (x_29 == 0) { -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; -x_129 = lean_box(2); -x_130 = l_Lean_Syntax_mkStrLit(x_7, x_129); +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; +x_131 = lean_box(2); +x_132 = l_Lean_Syntax_mkStrLit(x_7, x_131); lean_dec(x_7); -x_131 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_132 = l_Lake_addDeclField___rarg___closed__4; -x_133 = l_Lake_LeanLibConfig_mkSyntax___closed__42; -x_134 = l_Lake_addDeclField___rarg___closed__6; -x_135 = l_Lean_Syntax_node3(x_131, x_132, x_133, x_134, x_130); -x_136 = lean_array_push(x_100, x_135); -x_91 = x_136; -goto block_99; +x_133 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_134 = l_Lake_addDeclField___rarg___closed__4; +x_135 = l_Lake_LeanLibConfig_mkSyntax___closed__42; +x_136 = l_Lake_addDeclField___rarg___closed__6; +x_137 = l_Lean_Syntax_node3(x_133, x_134, x_135, x_136, x_132); +x_138 = lean_array_push(x_102, x_137); +x_93 = x_138; +goto block_101; } else { lean_dec(x_7); -x_91 = x_100; -goto block_99; +x_93 = x_102; +goto block_101; } } } -block_125: +block_127: { -size_t 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_dec(x_101); -x_102 = lean_array_size(x_12); -x_103 = l_Array_mapMUnsafe_map___at_Lake_LeanLibConfig_mkSyntax___spec__3(x_102, x_15, x_12); -x_104 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_105 = l_Lean_Syntax_SepArray_ofElems(x_104, x_103); +size_t 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_dec(x_103); -x_106 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_107 = l_Array_append___rarg(x_106, x_105); +x_104 = lean_array_size(x_12); +x_105 = l_Array_mapMUnsafe_map___at_Lake_LeanLibConfig_mkSyntax___spec__3(x_104, x_15, x_12); +x_106 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_107 = l_Lean_Syntax_SepArray_ofElems(x_106, x_105); lean_dec(x_105); -x_108 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_109 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; -x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_107); -x_111 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_112 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_113 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_114 = l_Lean_Syntax_node3(x_108, x_111, x_112, x_110, x_113); -x_115 = l_Lake_addDeclField___rarg___closed__4; -x_116 = l_Lake_LeanLibConfig_mkSyntax___closed__41; -x_117 = l_Lake_addDeclField___rarg___closed__6; -x_118 = l_Lean_Syntax_node3(x_108, x_115, x_116, x_117, x_114); -x_119 = lean_array_push(x_100, x_118); +x_108 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_109 = l_Array_append___rarg(x_108, x_107); +lean_dec(x_107); +x_110 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_111 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_109); +x_113 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_114 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_115 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_116 = l_Lean_Syntax_node3(x_110, x_113, x_114, x_112, x_115); +x_117 = l_Lake_addDeclField___rarg___closed__4; +x_118 = l_Lake_LeanLibConfig_mkSyntax___closed__41; +x_119 = l_Lake_addDeclField___rarg___closed__6; +x_120 = l_Lean_Syntax_node3(x_110, x_117, x_118, x_119, x_116); +x_121 = lean_array_push(x_102, x_120); if (x_29 == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_120 = lean_box(2); -x_121 = l_Lean_Syntax_mkStrLit(x_7, x_120); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_122 = lean_box(2); +x_123 = l_Lean_Syntax_mkStrLit(x_7, x_122); lean_dec(x_7); -x_122 = l_Lake_LeanLibConfig_mkSyntax___closed__42; -x_123 = l_Lean_Syntax_node3(x_108, x_115, x_122, x_117, x_121); -x_124 = lean_array_push(x_119, x_123); -x_91 = x_124; -goto block_99; +x_124 = l_Lake_LeanLibConfig_mkSyntax___closed__42; +x_125 = l_Lean_Syntax_node3(x_110, x_117, x_124, x_119, x_123); +x_126 = lean_array_push(x_121, x_125); +x_93 = x_126; +goto block_101; } else { lean_dec(x_7); -x_91 = x_119; -goto block_99; +x_93 = x_121; +goto block_101; } } } -block_162: +block_164: { -lean_object* x_139; +lean_object* x_141; if (x_25 == 0) { -lean_object* x_159; +lean_object* x_161; lean_dec(x_23); lean_dec(x_18); -x_159 = lean_box(0); -x_139 = x_159; -goto block_158; +x_161 = lean_box(0); +x_141 = x_161; +goto block_160; } else { -uint8_t x_160; -x_160 = l_Array_isEqvAux___at_Lake_LeanLibConfig_mkSyntax___spec__6(x_1, lean_box(0), x_13, x_18, x_23, lean_box(0)); +uint8_t x_162; +x_162 = l_Array_isEqvAux___at_Lake_LeanLibConfig_mkSyntax___spec__6(x_1, lean_box(0), x_13, x_18, x_23, lean_box(0)); lean_dec(x_18); -if (x_160 == 0) +if (x_162 == 0) { -lean_object* x_161; -x_161 = lean_box(0); -x_139 = x_161; -goto block_158; +lean_object* x_163; +x_163 = lean_box(0); +x_141 = x_163; +goto block_160; } else { lean_dec(x_13); -x_100 = x_138; -goto block_137; +x_102 = x_140; +goto block_139; } } -block_158: +block_160: { -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_dec(x_139); -x_140 = l_Lake_LeanConfig_addDeclFields___closed__2; -x_141 = l_Array_mapMUnsafe_map___at_Lake_LeanLibConfig_mkSyntax___spec__5(x_5, x_140, x_14, x_15, x_13); -x_142 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; -x_143 = l_Lean_Syntax_SepArray_ofElems(x_142, 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_dec(x_141); -x_144 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_145 = l_Array_append___rarg(x_144, x_143); +x_142 = l_Lake_LeanConfig_addDeclFields___closed__2; +x_143 = l_Array_mapMUnsafe_map___at_Lake_LeanLibConfig_mkSyntax___spec__5(x_5, x_142, x_14, x_15, x_13); +x_144 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__9; +x_145 = l_Lean_Syntax_SepArray_ofElems(x_144, x_143); lean_dec(x_143); -x_146 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_147 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; -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___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; -x_150 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; -x_151 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; -x_152 = l_Lean_Syntax_node3(x_146, x_149, x_150, x_148, x_151); -x_153 = l_Lake_addDeclField___rarg___closed__4; -x_154 = l_Lake_LeanLibConfig_mkSyntax___closed__43; -x_155 = l_Lake_addDeclField___rarg___closed__6; -x_156 = l_Lean_Syntax_node3(x_146, x_153, x_154, x_155, x_152); -x_157 = lean_array_push(x_138, x_156); -x_100 = x_157; -goto block_137; +x_146 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_147 = l_Array_append___rarg(x_146, x_145); +lean_dec(x_145); +x_148 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_149 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__7; +x_150 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +lean_ctor_set(x_150, 2, x_147); +x_151 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__3; +x_152 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__5; +x_153 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__11; +x_154 = l_Lean_Syntax_node3(x_148, x_151, x_152, x_150, x_153); +x_155 = l_Lake_addDeclField___rarg___closed__4; +x_156 = l_Lake_LeanLibConfig_mkSyntax___closed__43; +x_157 = l_Lake_addDeclField___rarg___closed__6; +x_158 = l_Lean_Syntax_node3(x_148, x_155, x_156, x_157, x_154); +x_159 = lean_array_push(x_140, x_158); +x_102 = x_159; +goto block_139; } } } @@ -9025,7 +9053,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lake_LeanExeConfig_mkSyntax(lean_object* x_1, uint8_t x_2) { _start: { -lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_58; lean_object* x_68; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_32; lean_object* x_51; lean_object* x_60; lean_object* x_70; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); @@ -9053,35 +9081,35 @@ x_17 = lean_string_dec_eq(x_5, x_10); lean_dec(x_10); if (x_15 == 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; -x_96 = lean_box(2); -x_97 = l_Lean_Syntax_mkStrLit(x_12, x_96); +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_98 = lean_box(2); +x_99 = l_Lean_Syntax_mkStrLit(x_12, x_98); lean_dec(x_12); -x_98 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_99 = l_Lake_addDeclField___rarg___closed__4; -x_100 = l_Lake_PackageConfig_mkSyntax___closed__107; -x_101 = l_Lake_addDeclField___rarg___closed__6; -x_102 = l_Lean_Syntax_node3(x_98, x_99, x_100, x_101, x_97); -x_103 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_104 = lean_array_push(x_103, x_102); +x_100 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_101 = l_Lake_addDeclField___rarg___closed__4; +x_102 = l_Lake_PackageConfig_mkSyntax___closed__107; +x_103 = l_Lake_addDeclField___rarg___closed__6; +x_104 = l_Lean_Syntax_node3(x_100, x_101, x_102, x_103, x_99); +x_105 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_106 = lean_array_push(x_105, x_104); if (x_16 == 0) { -x_68 = x_104; -goto block_95; +x_70 = x_106; +goto block_97; } else { lean_dec(x_11); if (x_17 == 0) { -x_58 = x_104; -goto block_67; +x_60 = x_106; +goto block_69; } else { lean_dec(x_5); -x_49 = x_104; -goto block_57; +x_51 = x_106; +goto block_59; } } } @@ -9090,28 +9118,28 @@ else lean_dec(x_12); if (x_16 == 0) { -lean_object* x_105; -x_105 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_68 = x_105; -goto block_95; -} -else -{ -lean_dec(x_11); -if (x_17 == 0) -{ -lean_object* x_106; -x_106 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_58 = x_106; -goto block_67; -} -else -{ lean_object* x_107; -lean_dec(x_5); x_107 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; -x_49 = x_107; -goto block_57; +x_70 = x_107; +goto block_97; +} +else +{ +lean_dec(x_11); +if (x_17 == 0) +{ +lean_object* x_108; +x_108 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_60 = x_108; +goto block_69; +} +else +{ +lean_object* x_109; +lean_dec(x_5); +x_109 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; +x_51 = x_109; +goto block_59; } } } @@ -9144,15 +9172,15 @@ lean_dec(x_29); return x_30; } } -block_48: +block_50: { lean_object* x_33; uint8_t x_34; x_33 = l_Lake_LeanConfig_addDeclFields(x_3, x_32); x_34 = l_Array_isEmpty___rarg(x_33); if (x_34 == 0) { -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; -x_35 = l_Lake_mkDeclValWhere_x3f___closed__5; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_35 = l_Lake_mkDeclValWhere_x3f___closed__7; x_36 = l_Lean_Syntax_SepArray_ofElems(x_35, x_33); lean_dec(x_33); x_37 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__8; @@ -9164,149 +9192,151 @@ x_41 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); lean_ctor_set(x_41, 2, x_38); -x_42 = l_Lake_mkDeclValWhere_x3f___closed__2; -x_43 = l_Lake_mkDeclValWhere_x3f___closed__4; -x_44 = l_Lake_PackageConfig_mkSyntax___closed__70; -x_45 = l_Lean_Syntax_node3(x_39, x_42, x_43, x_41, x_44); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -x_18 = x_46; +x_42 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_43 = l_Lean_Syntax_node1(x_39, x_42, x_41); +x_44 = l_Lake_mkDeclValWhere_x3f___closed__2; +x_45 = l_Lake_mkDeclValWhere_x3f___closed__4; +x_46 = l_Lake_PackageConfig_mkSyntax___closed__70; +x_47 = l_Lean_Syntax_node3(x_39, x_44, x_45, x_43, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_18 = x_48; goto block_31; } else { -lean_object* x_47; +lean_object* x_49; lean_dec(x_33); -x_47 = lean_box(0); -x_18 = x_47; +x_49 = lean_box(0); +x_18 = x_49; goto block_31; } } +block_59: +{ +uint8_t x_52; +if (x_4 == 0) +{ +uint8_t x_58; +x_58 = 1; +x_52 = x_58; +goto block_57; +} +else +{ +x_52 = x_8; +goto block_57; +} block_57: { -uint8_t x_50; -if (x_4 == 0) -{ -uint8_t x_56; -x_56 = 1; -x_50 = x_56; -goto block_55; -} -else -{ -x_50 = x_8; -goto block_55; -} -block_55: -{ -if (x_50 == 0) +if (x_52 == 0) { if (x_4 == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = l_Lake_LeanExeConfig_mkSyntax___closed__14; -x_52 = lean_array_push(x_49, x_51); -x_32 = x_52; -goto block_48; -} -else -{ lean_object* x_53; lean_object* x_54; -x_53 = l_Lake_LeanExeConfig_mkSyntax___closed__15; -x_54 = lean_array_push(x_49, x_53); +x_53 = l_Lake_LeanExeConfig_mkSyntax___closed__14; +x_54 = lean_array_push(x_51, x_53); x_32 = x_54; -goto block_48; +goto block_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = l_Lake_LeanExeConfig_mkSyntax___closed__15; +x_56 = lean_array_push(x_51, x_55); +x_32 = x_56; +goto block_50; } } else { -x_32 = x_49; -goto block_48; +x_32 = x_51; +goto block_50; } } } -block_67: +block_69: { -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; -x_59 = lean_box(2); -x_60 = l_Lean_Syntax_mkStrLit(x_5, x_59); +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_61 = lean_box(2); +x_62 = l_Lean_Syntax_mkStrLit(x_5, x_61); lean_dec(x_5); -x_61 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_62 = l_Lake_addDeclField___rarg___closed__4; -x_63 = l_Lake_LeanExeConfig_mkSyntax___closed__16; -x_64 = l_Lake_addDeclField___rarg___closed__6; -x_65 = l_Lean_Syntax_node3(x_61, x_62, x_63, x_64, x_60); -x_66 = lean_array_push(x_58, x_65); -x_49 = x_66; -goto block_57; +x_63 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_64 = l_Lake_addDeclField___rarg___closed__4; +x_65 = l_Lake_LeanExeConfig_mkSyntax___closed__16; +x_66 = l_Lake_addDeclField___rarg___closed__6; +x_67 = l_Lean_Syntax_node3(x_63, x_64, x_65, x_66, x_62); +x_68 = lean_array_push(x_60, x_67); +x_51 = x_68; +goto block_59; } -block_95: +block_97: { -lean_object* x_69; lean_object* x_70; -x_69 = lean_box(0); +lean_object* x_71; lean_object* x_72; +x_71 = lean_box(0); lean_inc(x_11); -x_70 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_69, x_11); -if (lean_obj_tag(x_70) == 0) +x_72 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_71, x_11); +if (lean_obj_tag(x_72) == 0) { -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_71 = l_Lean_quoteNameMk(x_11); -x_72 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_73 = l_Lake_addDeclField___rarg___closed__4; -x_74 = l_Lake_LeanExeConfig_mkSyntax___closed__17; -x_75 = l_Lake_addDeclField___rarg___closed__6; -x_76 = l_Lean_Syntax_node3(x_72, x_73, x_74, x_75, x_71); -x_77 = lean_array_push(x_68, x_76); +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_73 = l_Lean_quoteNameMk(x_11); +x_74 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_75 = l_Lake_addDeclField___rarg___closed__4; +x_76 = l_Lake_LeanExeConfig_mkSyntax___closed__17; +x_77 = l_Lake_addDeclField___rarg___closed__6; +x_78 = l_Lean_Syntax_node3(x_74, x_75, x_76, x_77, x_73); +x_79 = lean_array_push(x_70, x_78); if (x_17 == 0) { -x_58 = x_77; -goto block_67; +x_60 = x_79; +goto block_69; } else { lean_dec(x_5); -x_49 = x_77; -goto block_57; +x_51 = x_79; +goto block_59; } } else { -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; 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_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_dec(x_11); -x_78 = lean_ctor_get(x_70, 0); -lean_inc(x_78); -lean_dec(x_70); -x_79 = l_Lake_quoteLeanOption___closed__13; -x_80 = l_String_intercalate(x_79, x_78); -x_81 = l_Lake_quoteLeanOption___closed__14; -x_82 = lean_string_append(x_81, x_80); -lean_dec(x_80); -x_83 = lean_box(2); -x_84 = l_Lean_Syntax_mkNameLit(x_82, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_69); -x_86 = lean_array_mk(x_85); -x_87 = l_Lake_quoteLeanOption___closed__12; -x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_83); -lean_ctor_set(x_88, 1, x_87); -lean_ctor_set(x_88, 2, x_86); -x_89 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; -x_90 = l_Lake_addDeclField___rarg___closed__4; -x_91 = l_Lake_LeanExeConfig_mkSyntax___closed__17; -x_92 = l_Lake_addDeclField___rarg___closed__6; -x_93 = l_Lean_Syntax_node3(x_89, x_90, x_91, x_92, x_88); -x_94 = lean_array_push(x_68, x_93); +x_80 = lean_ctor_get(x_72, 0); +lean_inc(x_80); +lean_dec(x_72); +x_81 = l_Lake_quoteLeanOption___closed__13; +x_82 = l_String_intercalate(x_81, x_80); +x_83 = l_Lake_quoteLeanOption___closed__14; +x_84 = lean_string_append(x_83, x_82); +lean_dec(x_82); +x_85 = lean_box(2); +x_86 = l_Lean_Syntax_mkNameLit(x_84, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_71); +x_88 = lean_array_mk(x_87); +x_89 = l_Lake_quoteLeanOption___closed__12; +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set(x_90, 2, x_88); +x_91 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; +x_92 = l_Lake_addDeclField___rarg___closed__4; +x_93 = l_Lake_LeanExeConfig_mkSyntax___closed__17; +x_94 = l_Lake_addDeclField___rarg___closed__6; +x_95 = l_Lean_Syntax_node3(x_91, x_92, x_93, x_94, x_90); +x_96 = lean_array_push(x_70, x_95); if (x_17 == 0) { -x_58 = x_94; -goto block_67; +x_60 = x_96; +goto block_69; } else { lean_dec(x_5); -x_49 = x_94; -goto block_57; +x_51 = x_96; +goto block_59; } } } @@ -10471,7 +10501,7 @@ x_22 = l_Lean_Syntax_mkStrLit(x_11, x_21); lean_dec(x_11); x_23 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; x_24 = l_Lake_Dependency_mkSyntax___closed__6; -x_25 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_25 = l_Lake_mkDeclValWhere_x3f___closed__8; x_26 = l_Lean_Syntax_node2(x_23, x_24, x_25, x_22); lean_ctor_set(x_5, 0, x_26); x_27 = l_Lake_LeanLibConfig_mkSyntax___closed__14; @@ -10544,7 +10574,7 @@ x_54 = l_Lean_Syntax_mkStrLit(x_43, x_53); lean_dec(x_43); x_55 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; x_56 = l_Lake_Dependency_mkSyntax___closed__6; -x_57 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_57 = l_Lake_mkDeclValWhere_x3f___closed__8; x_58 = l_Lean_Syntax_node2(x_55, x_56, x_57, x_54); x_59 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_59, 0, x_58); @@ -10819,7 +10849,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; x_2 = l_Lake_Package_mkLeanConfig___closed__7; x_3 = l_Lake_Package_mkLeanConfig___closed__8; -x_4 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_4 = l_Lake_mkDeclValWhere_x3f___closed__8; x_5 = l_Lake_Package_mkLeanConfig___closed__10; x_6 = l_Lean_Syntax_node4(x_1, x_2, x_3, x_4, x_5, x_4); return x_6; @@ -10842,7 +10872,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___private_Lake_CLI_Translate_Lean_0__Lake_instQuoteArrayMkStr1__lake___rarg___closed__1; x_2 = l_Lake_Package_mkLeanConfig___closed__5; -x_3 = l_Lake_mkDeclValWhere_x3f___closed__6; +x_3 = l_Lake_mkDeclValWhere_x3f___closed__8; x_4 = l_Lake_Package_mkLeanConfig___closed__12; x_5 = l_Lean_Syntax_node2(x_1, x_2, x_3, x_4); return x_5; @@ -11417,6 +11447,10 @@ l_Lake_mkDeclValWhere_x3f___closed__5 = _init_l_Lake_mkDeclValWhere_x3f___closed lean_mark_persistent(l_Lake_mkDeclValWhere_x3f___closed__5); l_Lake_mkDeclValWhere_x3f___closed__6 = _init_l_Lake_mkDeclValWhere_x3f___closed__6(); lean_mark_persistent(l_Lake_mkDeclValWhere_x3f___closed__6); +l_Lake_mkDeclValWhere_x3f___closed__7 = _init_l_Lake_mkDeclValWhere_x3f___closed__7(); +lean_mark_persistent(l_Lake_mkDeclValWhere_x3f___closed__7); +l_Lake_mkDeclValWhere_x3f___closed__8 = _init_l_Lake_mkDeclValWhere_x3f___closed__8(); +lean_mark_persistent(l_Lake_mkDeclValWhere_x3f___closed__8); l_Lake_PackageConfig_mkSyntax_quoteVerTags_x3f___closed__1 = _init_l_Lake_PackageConfig_mkSyntax_quoteVerTags_x3f___closed__1(); lean_mark_persistent(l_Lake_PackageConfig_mkSyntax_quoteVerTags_x3f___closed__1); l_Lake_PackageConfig_mkSyntax_quoteVerTags_x3f___closed__2 = _init_l_Lake_PackageConfig_mkSyntax_quoteVerTags_x3f___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/DeclUtil.c b/stage0/stdlib/Lake/DSL/DeclUtil.c index e79ea614b5..492639e02a 100644 --- a/stage0/stdlib/Lake/DSL/DeclUtil.c +++ b/stage0/stdlib/Lake/DSL/DeclUtil.c @@ -15,43 +15,35 @@ extern "C" { #endif static lean_object* l_Lake_DSL_declField___closed__8; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__7; -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_simpleDeclSig; static lean_object* l_Lake_DSL_declValWhere___closed__7; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__13; lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_withSetOptionIn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__8; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__4___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__12(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lake_DSL_declValWhere___closed__10; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__1___closed__2; static lean_object* l_Lake_DSL_simpleBinder___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_declValStruct; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__23; static lean_object* l_Lake_DSL_simpleDeclSig___closed__8; static lean_object* l_Lake_DSL_declValDo___closed__8; +static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_structDeclSig___closed__6; static lean_object* l_Lake_DSL_identOrStr___closed__9; static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__3; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); static lean_object* l_Lake_DSL_expandAttrs___closed__6; -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lake_DSL_identOrStr___closed__1; static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_simpleBinder___closed__4; static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1; lean_object* l_Lean_TSyntax_getString(lean_object*); static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__12; -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__14; static lean_object* l_Lake_DSL_identOrStr___closed__3; @@ -61,9 +53,6 @@ static lean_object* l_Lake_DSL_elabConfigDecl___lambda__1___closed__1; lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__10___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_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_declValStruct___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_simpleBinder; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__13; @@ -72,13 +61,13 @@ static lean_object* l_Lake_DSL_structDeclSig___closed__7; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__9; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__7(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_elabConfigDecl___lambda__7(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_elabConfigDecl___lambda__3___closed__3; +static lean_object* l_Lake_DSL_structDeclSig___closed__11; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_structDeclSig___closed__2; static lean_object* l_Lake_DSL_declValDo___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_identOrStr___closed__5; -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); static lean_object* l_Lake_DSL_expandAttrs___closed__3; static lean_object* l_Lake_DSL_structVal___closed__4; @@ -99,27 +88,25 @@ lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__12; static lean_object* l_Lake_DSL_structVal___closed__7; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__6; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__9(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_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_structVal___closed__16; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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*); static lean_object* l_Lake_DSL_declValStruct___closed__5; 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_elabConfigDecl___lambda__2___closed__12; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__14___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_elabConfigDecl___lambda__2___closed__5; +static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__9; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3(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*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lake_DSL_elabConfigDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_structVal___closed__11; static lean_object* l_Lake_DSL_simpleDeclSig___closed__4; static lean_object* l_Lake_DSL_expandAttrs___closed__2; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_declField___closed__4; static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; LEAN_EXPORT lean_object* l_Lake_DSL_bracketedSimpleBinder; @@ -129,49 +116,39 @@ static lean_object* l_Lake_DSL_identOrStr___closed__8; static lean_object* l_Lake_DSL_declValStruct___closed__1; static lean_object* l_Lake_DSL_declValDo___closed__2; static lean_object* l_Lake_DSL_simpleDeclSig___closed__10; -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; static lean_object* l_Lake_DSL_structVal___closed__6; static lean_object* l_Lake_DSL_structVal___closed__13; -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; static lean_object* l_Lake_DSL_declValWhere___closed__4; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__2; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__11; static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; static lean_object* l_Lake_DSL_identOrStr___closed__13; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_identOrStr___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_identOrStr___closed__6; -static lean_object* l_Lake_DSL_structVal___closed__18; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; static lean_object* l_Lake_DSL_simpleBinder___closed__2; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__7___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_structVal___closed__21; +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_structDeclSig; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__8___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_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_structVal___closed__17; static lean_object* l_Lake_DSL_declField___closed__7; -static lean_object* l_Lake_DSL_declValWhere___closed__9; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); static lean_object* l_Lake_DSL_declValWhere___closed__6; +static lean_object* l_Lake_DSL_declValDo___closed__17; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; static lean_object* l_Lake_DSL_simpleBinder___closed__3; lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__10(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_simpleDeclSig___closed__3; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__5; static lean_object* l_Lake_DSL_declValDo___closed__14; @@ -179,21 +156,22 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; static lean_object* l_Lake_DSL_simpleDeclSig___closed__11; +static lean_object* l_Lake_DSL_structDeclSig___closed__10; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkOptionalNode(lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; static lean_object* l_Lake_DSL_identOrStr___closed__11; static lean_object* l_Lake_DSL_declValDo___closed__1; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__20; static lean_object* l_Lake_DSL_structDeclSig___closed__4; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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_object*, lean_object*); static lean_object* l_Lake_DSL_structVal___closed__9; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lake_DSL_elabConfigDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_declValDo___closed__15; static lean_object* l_Lake_DSL_declValDo___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_expandIdentOrStrAsIdent(lean_object*); +static lean_object* l_Lake_DSL_elabConfigDecl___lambda__7___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_structVal; static lean_object* l_Lake_DSL_structDeclSig___closed__9; static lean_object* l_Lake_DSL_structVal___closed__10; @@ -203,11 +181,10 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_declValDo; static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; static lean_object* l_Lake_DSL_simpleDeclSig___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_declValWhere___closed__8; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; static lean_object* l_Lake_DSL_declField___closed__12; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_structDeclSig___closed__1; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_simpleDeclSig___closed__7; @@ -223,32 +200,28 @@ static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; static lean_object* l_Lake_DSL_identOrStr___closed__14; static lean_object* l_Lake_DSL_declValDo___closed__9; static lean_object* l_Lake_DSL_simpleDeclSig___closed__12; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__13(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lake_DSL_structVal___closed__12; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_declField___closed__9; -static lean_object* l_Lake_DSL_structVal___closed__20; LEAN_EXPORT lean_object* l_Lake_DSL_declField; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___boxed(lean_object**); static lean_object* l_Lake_DSL_structDeclSig___closed__8; LEAN_EXPORT lean_object* l_Lake_DSL_expandAttrs(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__10; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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_elabConfigDecl___lambda__2___closed__6; static lean_object* l_Lake_DSL_structVal___closed__5; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lake_DSL_elabConfigDecl___lambda__7___closed__2; static lean_object* l_Lake_DSL_declValWhere___closed__1; -static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__1; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__1; lean_object* l_Array_mkArray1___rarg(lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__9; static lean_object* l_Lake_DSL_declValStruct___closed__3; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lake_DSL_declValWhere___closed__3; @@ -257,34 +230,31 @@ static lean_object* l_Lake_DSL_declValDo___closed__7; static lean_object* l_Lake_DSL_simpleDeclSig___closed__5; static lean_object* l_Lake_DSL_declValWhere___closed__2; static lean_object* l_Lake_DSL_identOrStr___closed__7; -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); static lean_object* l_Lake_DSL_declField___closed__1; static lean_object* l_Lake_DSL_expandAttrs___closed__4; static lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__9___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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__10; size_t lean_usize_add(size_t, size_t); static lean_object* l_Lake_DSL_structVal___closed__14; static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__5; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__10; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__6(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_elabConfigDecl___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_identOrStr___closed__4; -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; static lean_object* l_Lake_DSL_declField___closed__6; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lake_DSL_declValDo___closed__5; size_t lean_array_size(lean_object*); static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__8; static lean_object* l_Lake_DSL_declValDo___closed__11; +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_declField___closed__3; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__11; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__7; @@ -295,8 +265,8 @@ static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__17; static lean_object* l_Lake_DSL_identOrStr___closed__2; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__3___closed__2; static lean_object* l_Lake_DSL_declValDo___closed__10; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__11(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_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__3; static lean_object* l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__3; static lean_object* l_Lake_DSL_declValWhere___closed__5; @@ -304,27 +274,27 @@ static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_structDeclSig___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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*); static lean_object* l_Lake_DSL_declField___closed__10; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__6; static lean_object* l_Lake_DSL_structVal___closed__3; static lean_object* l_Lake_DSL_structDeclSig___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_elabConfigDecl___lambda__2___closed__25; -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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*); +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__5; -lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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*); +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l_Lake_DSL_declValStruct___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_Lake_DSL_elabConfigDecl___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_declValDo___closed__16; static lean_object* l_Lake_DSL_declValDo___closed__13; lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*); static lean_object* l_Lake_DSL_identOrStr___closed__10; -static lean_object* l_Lake_DSL_structVal___closed__19; static lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__2; static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__14; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___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_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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_object*); static lean_object* _init_l_Lake_DSL_expandAttrs___closed__1() { _start: { @@ -794,7 +764,7 @@ static lean_object* _init_l_Lake_DSL_structVal___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("manyIndent", 10, 10); +x_1 = lean_mk_string_unchecked("structInstFields", 16, 16); return x_1; } } @@ -812,7 +782,7 @@ static lean_object* _init_l_Lake_DSL_structVal___closed__7() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("group", 5, 5); +x_1 = lean_mk_string_unchecked("sepByIndentSemicolon", 20, 20); return x_1; } } @@ -829,49 +799,57 @@ return x_3; static lean_object* _init_l_Lake_DSL_structVal___closed__9() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_structVal___closed__8; +x_2 = l_Lake_DSL_declField; +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_structVal___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lake_DSL_structVal___closed__6; x_2 = l_Lake_DSL_structVal___closed__9; -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_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } static lean_object* _init_l_Lake_DSL_structVal___closed__11() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked(", ", 2, 2); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_declField___closed__4; +x_2 = l_Lake_DSL_structVal___closed__4; +x_3 = l_Lake_DSL_structVal___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_structVal___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_structVal___closed__11; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("}", 1, 1); +return x_1; } } static lean_object* _init_l_Lake_DSL_structVal___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__10; -x_2 = l_Lake_DSL_structVal___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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_structVal___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_structVal___closed__14() { @@ -879,7 +857,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_declField___closed__4; -x_2 = l_Lake_DSL_declField; +x_2 = l_Lake_DSL_structVal___closed__11; x_3 = l_Lake_DSL_structVal___closed__13; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -891,80 +869,10 @@ return x_4; static lean_object* _init_l_Lake_DSL_structVal___closed__15() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__8; -x_2 = l_Lake_DSL_structVal___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_structVal___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__6; -x_2 = l_Lake_DSL_structVal___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_structVal___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_declField___closed__4; -x_2 = l_Lake_DSL_structVal___closed__4; -x_3 = l_Lake_DSL_structVal___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_structVal___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("}", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_structVal___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_structVal___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_structVal___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_declField___closed__4; -x_2 = l_Lake_DSL_structVal___closed__17; -x_3 = l_Lake_DSL_structVal___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_structVal___closed__21() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_structVal___closed__1; x_2 = l_Lake_DSL_structVal___closed__2; -x_3 = l_Lake_DSL_structVal___closed__20; +x_3 = l_Lake_DSL_structVal___closed__14; x_4 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -976,7 +884,7 @@ static lean_object* _init_l_Lake_DSL_structVal() { _start: { lean_object* x_1; -x_1 = l_Lake_DSL_structVal___closed__21; +x_1 = l_Lake_DSL_structVal___closed__15; return x_1; } } @@ -1075,51 +983,69 @@ static lean_object* _init_l_Lake_DSL_declValDo___closed__10() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("whereDecls", 10, 10); +x_1 = lean_mk_string_unchecked("optional", 8, 8); return x_1; } } static lean_object* _init_l_Lake_DSL_declValDo___closed__11() { _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_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lake_DSL_declValDo___closed__10; -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 = lean_box(0); +x_2 = l_Lake_DSL_declValDo___closed__10; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lake_DSL_declValDo___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_declValDo___closed__11; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("whereDecls", 10, 10); +return x_1; } } static lean_object* _init_l_Lake_DSL_declValDo___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_expandAttrs___closed__2; +x_2 = l_Lake_DSL_expandAttrs___closed__3; +x_3 = l_Lake_DSL_expandAttrs___closed__4; +x_4 = l_Lake_DSL_declValDo___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_declValDo___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_declValDo___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_declValDo___closed__15() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__10; -x_2 = l_Lake_DSL_declValDo___closed__12; +x_1 = l_Lake_DSL_declValDo___closed__11; +x_2 = l_Lake_DSL_declValDo___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_declValDo___closed__14() { +static lean_object* _init_l_Lake_DSL_declValDo___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_declField___closed__4; x_2 = l_Lake_DSL_declValDo___closed__9; -x_3 = l_Lake_DSL_declValDo___closed__13; +x_3 = l_Lake_DSL_declValDo___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); @@ -1127,13 +1053,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_declValDo___closed__15() { +static lean_object* _init_l_Lake_DSL_declValDo___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_declValDo___closed__1; x_2 = l_Lake_DSL_declValDo___closed__2; -x_3 = l_Lake_DSL_declValDo___closed__14; +x_3 = l_Lake_DSL_declValDo___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); @@ -1145,7 +1071,7 @@ static lean_object* _init_l_Lake_DSL_declValDo() { _start: { lean_object* x_1; -x_1 = l_Lake_DSL_declValDo___closed__15; +x_1 = l_Lake_DSL_declValDo___closed__17; return x_1; } } @@ -1188,7 +1114,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_declField___closed__4; x_2 = l_Lake_DSL_declValStruct___closed__3; -x_3 = l_Lake_DSL_declValDo___closed__13; +x_3 = l_Lake_DSL_declValDo___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); @@ -1258,68 +1184,38 @@ return x_2; static lean_object* _init_l_Lake_DSL_declValWhere___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("sepByIndentSemicolon", 20, 20); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_declField___closed__4; +x_2 = l_Lake_DSL_declValWhere___closed__4; +x_3 = l_Lake_DSL_structVal___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_declValWhere___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_declField___closed__4; x_2 = l_Lake_DSL_declValWhere___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +x_3 = l_Lake_DSL_declValDo___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_declValWhere___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_declValWhere___closed__6; -x_2 = l_Lake_DSL_declField; -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_declValWhere___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_declField___closed__4; -x_2 = l_Lake_DSL_declValWhere___closed__4; -x_3 = l_Lake_DSL_declValWhere___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_declValWhere___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_declField___closed__4; -x_2 = l_Lake_DSL_declValWhere___closed__8; -x_3 = l_Lake_DSL_declValDo___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_declValWhere___closed__10() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_declValWhere___closed__1; x_2 = l_Lake_DSL_declValWhere___closed__2; -x_3 = l_Lake_DSL_declValWhere___closed__9; +x_3 = l_Lake_DSL_declValWhere___closed__6; x_4 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1331,7 +1227,7 @@ static lean_object* _init_l_Lake_DSL_declValWhere() { _start: { lean_object* x_1; -x_1 = l_Lake_DSL_declValWhere___closed__10; +x_1 = l_Lake_DSL_declValWhere___closed__7; return x_1; } } @@ -1494,8 +1390,26 @@ return x_4; static lean_object* _init_l_Lake_DSL_structDeclSig___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_structDeclSig___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__10; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_structDeclSig___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_structDeclSig___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_declValDo___closed__11; x_2 = l_Lake_DSL_identOrStr; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1503,7 +1417,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_structDeclSig___closed__4() { +static lean_object* _init_l_Lake_DSL_structDeclSig___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -1517,37 +1431,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_structDeclSig___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__10; -x_2 = l_Lake_DSL_structDeclSig___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_structDeclSig___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_declField___closed__4; -x_2 = l_Lake_DSL_structDeclSig___closed__3; -x_3 = l_Lake_DSL_structDeclSig___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_structDeclSig___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__8; +x_1 = l_Lake_DSL_declValDo___closed__11; x_2 = l_Lake_DSL_structDeclSig___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1559,9 +1447,9 @@ static lean_object* _init_l_Lake_DSL_structDeclSig___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_identOrStr___closed__6; -x_2 = l_Lake_DSL_structDeclSig___closed__7; -x_3 = l_Lake_DSL_identOrStr; +x_1 = l_Lake_DSL_declField___closed__4; +x_2 = l_Lake_DSL_structDeclSig___closed__5; +x_3 = l_Lake_DSL_structDeclSig___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); @@ -1572,10 +1460,36 @@ return x_4; static lean_object* _init_l_Lake_DSL_structDeclSig___closed__9() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_structDeclSig___closed__4; +x_2 = l_Lake_DSL_structDeclSig___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_structDeclSig___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_identOrStr___closed__6; +x_2 = l_Lake_DSL_structDeclSig___closed__9; +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_structDeclSig___closed__11() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_DSL_structDeclSig___closed__1; x_2 = l_Lake_DSL_structDeclSig___closed__2; -x_3 = l_Lake_DSL_structDeclSig___closed__8; +x_3 = l_Lake_DSL_structDeclSig___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); @@ -1587,7 +1501,7 @@ static lean_object* _init_l_Lake_DSL_structDeclSig() { _start: { lean_object* x_1; -x_1 = l_Lake_DSL_structDeclSig___closed__9; +x_1 = l_Lake_DSL_structDeclSig___closed__11; return x_1; } } @@ -1678,7 +1592,7 @@ static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_structVal___closed__10; +x_1 = l_Lake_DSL_declValDo___closed__11; x_2 = l_Lake_DSL_bracketedSimpleBinder___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2535,773 +2449,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3(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, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_6, x_5); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec(x_8); -lean_dec(x_1); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_7); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_21; uint8_t x_22; -x_13 = lean_array_uget(x_4, x_6); -x_21 = l_Lake_DSL_declField___closed__2; -lean_inc(x_13); -x_22 = l_Lean_Syntax_isOfKind(x_13, x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_dec(x_7); -lean_dec(x_1); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__2; -x_24 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfigDecl___spec__1(x_13, x_23, x_8, x_9, x_10); -lean_dec(x_13); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -return x_24; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_24); -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; -} -} -else -{ -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; uint8_t x_38; -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_Lean_Syntax_getArg(x_13, x_29); -x_31 = lean_unsigned_to_nat(2u); -x_32 = l_Lean_Syntax_getArg(x_13, x_31); -x_33 = l_Lean_Syntax_getId(x_30); -lean_inc(x_33); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__8; -lean_inc(x_1); -x_36 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_36, 0, x_13); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 2, x_35); -lean_ctor_set(x_36, 3, x_1); -x_37 = l_Lean_Elab_addCompletionInfo___at_Lean_withSetOptionIn___spec__2(x_36, x_8, x_9, x_10); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_39 = lean_ctor_get(x_37, 1); -x_40 = lean_ctor_get(x_37, 0); -lean_dec(x_40); -x_41 = lean_st_ref_get(x_9, x_39); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_41, 0); -x_44 = lean_ctor_get(x_41, 1); -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -lean_dec(x_43); -lean_inc(x_1); -x_46 = l_Lean_findField_x3f(x_45, x_1, x_33); -if (lean_obj_tag(x_46) == 0) -{ -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; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_32); -x_47 = 0; -lean_inc(x_1); -x_48 = l_Lean_MessageData_ofConstName(x_1, x_47); -x_49 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__10; -lean_ctor_set_tag(x_41, 7); -lean_ctor_set(x_41, 1, x_48); -lean_ctor_set(x_41, 0, x_49); -x_50 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__12; -lean_ctor_set_tag(x_37, 7); -lean_ctor_set(x_37, 1, x_50); -lean_ctor_set(x_37, 0, x_41); -x_51 = l_Lean_MessageData_ofName(x_33); -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_37); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__14; -x_54 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = 1; -lean_inc(x_8); -x_56 = l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2(x_30, x_54, x_55, x_47, x_8, x_9, x_44); -lean_dec(x_30); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_7); -x_14 = x_58; -x_15 = x_57; -goto block_20; -} -else -{ -uint8_t x_59; -lean_free_object(x_37); -x_59 = !lean_is_exclusive(x_46); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_46, 0); -lean_dec(x_60); -lean_ctor_set(x_41, 1, x_32); -lean_ctor_set(x_41, 0, x_30); -x_61 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_33, x_41); -lean_ctor_set(x_46, 0, x_61); -x_14 = x_46; -x_15 = x_44; -goto block_20; -} -else -{ -lean_object* x_62; lean_object* x_63; -lean_dec(x_46); -lean_ctor_set(x_41, 1, x_32); -lean_ctor_set(x_41, 0, x_30); -x_62 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_33, x_41); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_14 = x_63; -x_15 = x_44; -goto block_20; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_64 = lean_ctor_get(x_41, 0); -x_65 = lean_ctor_get(x_41, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_41); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -lean_inc(x_1); -x_67 = l_Lean_findField_x3f(x_66, x_1, x_33); -if (lean_obj_tag(x_67) == 0) -{ -uint8_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; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_32); -x_68 = 0; -lean_inc(x_1); -x_69 = l_Lean_MessageData_ofConstName(x_1, x_68); -x_70 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__10; -x_71 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__12; -lean_ctor_set_tag(x_37, 7); -lean_ctor_set(x_37, 1, x_72); -lean_ctor_set(x_37, 0, x_71); -x_73 = l_Lean_MessageData_ofName(x_33); -x_74 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_74, 0, x_37); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__14; -x_76 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = 1; -lean_inc(x_8); -x_78 = l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2(x_30, x_76, x_77, x_68, x_8, x_9, x_65); -lean_dec(x_30); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_7); -x_14 = x_80; -x_15 = x_79; -goto block_20; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_free_object(x_37); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - x_81 = x_67; -} else { - lean_dec_ref(x_67); - x_81 = lean_box(0); -} -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_30); -lean_ctor_set(x_82, 1, x_32); -x_83 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_33, x_82); -if (lean_is_scalar(x_81)) { - x_84 = lean_alloc_ctor(1, 1, 0); -} else { - x_84 = x_81; -} -lean_ctor_set(x_84, 0, x_83); -x_14 = x_84; -x_15 = x_65; -goto block_20; -} -} -} -else -{ -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_85 = lean_ctor_get(x_37, 1); -lean_inc(x_85); -lean_dec(x_37); -x_86 = lean_st_ref_get(x_9, x_85); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_89 = x_86; -} else { - lean_dec_ref(x_86); - x_89 = lean_box(0); -} -x_90 = lean_ctor_get(x_87, 0); -lean_inc(x_90); -lean_dec(x_87); -lean_inc(x_1); -x_91 = l_Lean_findField_x3f(x_90, x_1, x_33); -if (lean_obj_tag(x_91) == 0) -{ -uint8_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; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_32); -x_92 = 0; -lean_inc(x_1); -x_93 = l_Lean_MessageData_ofConstName(x_1, x_92); -x_94 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__10; -if (lean_is_scalar(x_89)) { - x_95 = lean_alloc_ctor(7, 2, 0); -} else { - x_95 = x_89; - lean_ctor_set_tag(x_95, 7); -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__12; -x_97 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lean_MessageData_ofName(x_33); -x_99 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3___closed__14; -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 = 1; -lean_inc(x_8); -x_103 = l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2(x_30, x_101, x_102, x_92, x_8, x_9, x_88); -lean_dec(x_30); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_7); -x_14 = x_105; -x_15 = x_104; -goto block_20; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - x_106 = x_91; -} else { - lean_dec_ref(x_91); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_89)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_89; -} -lean_ctor_set(x_107, 0, x_30); -lean_ctor_set(x_107, 1, x_32); -x_108 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_33, x_107); -if (lean_is_scalar(x_106)) { - x_109 = lean_alloc_ctor(1, 1, 0); -} else { - x_109 = x_106; -} -lean_ctor_set(x_109, 0, x_108); -x_14 = x_109; -x_15 = x_88; -goto block_20; -} -} -} -block_20: -{ -lean_object* x_16; size_t x_17; size_t x_18; -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = 1; -x_18 = lean_usize_add(x_6, x_17); -x_6 = x_18; -x_7 = x_16; -x_10 = x_15; -goto _start; -} -} -} -} -static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("structInstField", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lake_DSL_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("structInstLVal", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__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_Lake_DSL_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("structInstFieldDef", 18, 18); -return x_1; -} -} -static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(":=", 2, 2); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(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_2) == 0) -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_5); -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; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t 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; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_2, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_2, 2); -lean_inc(x_9); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_dec(x_2); -x_11 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(x_1, x_7, x_3, x_4, x_5); -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_ctor_get(x_9, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_dec(x_9); -x_16 = l_Lean_Elab_Command_getRef(x_3, x_4, x_13); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_replaceRef(x_14, x_17); -lean_dec(x_17); -lean_dec(x_14); -x_20 = lean_ctor_get(x_3, 0); -x_21 = lean_ctor_get(x_3, 1); -x_22 = lean_ctor_get(x_3, 2); -x_23 = lean_ctor_get(x_3, 3); -x_24 = lean_ctor_get(x_3, 4); -x_25 = lean_ctor_get(x_3, 5); -x_26 = lean_ctor_get(x_3, 7); -x_27 = lean_ctor_get(x_3, 8); -x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*9); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -x_29 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_29, 0, x_20); -lean_ctor_set(x_29, 1, x_21); -lean_ctor_set(x_29, 2, x_22); -lean_ctor_set(x_29, 3, x_23); -lean_ctor_set(x_29, 4, x_24); -lean_ctor_set(x_29, 5, x_25); -lean_ctor_set(x_29, 6, x_19); -lean_ctor_set(x_29, 7, x_26); -lean_ctor_set(x_29, 8, x_27); -lean_ctor_set_uint8(x_29, sizeof(void*)*9, x_28); -x_30 = 1; -x_31 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_8, x_30, x_29, x_4, x_18); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Command_getRef(x_29, x_4, x_33); -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 = 0; -x_38 = l_Lean_SourceInfo_fromRef(x_35, x_37); -lean_dec(x_35); -x_39 = l_Lean_Elab_Command_getCurrMacroScope(x_29, x_4, x_36); -lean_dec(x_29); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_40); -x_42 = !lean_is_exclusive(x_41); -if (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; lean_object* x_56; -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_expandOptSimpleBinder___lambda__1___closed__8; -x_46 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_38); -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_38); -lean_ctor_set(x_47, 1, x_45); -lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -lean_inc(x_47); -lean_inc(x_38); -x_49 = l_Lean_Syntax_node2(x_38, x_48, x_32, x_47); -x_50 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_38); -lean_ctor_set_tag(x_41, 2); -lean_ctor_set(x_41, 1, x_50); -lean_ctor_set(x_41, 0, x_38); -x_51 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -lean_inc(x_38); -x_52 = l_Lean_Syntax_node2(x_38, x_51, x_41, x_15); -lean_inc(x_47); -lean_inc(x_38); -x_53 = l_Lean_Syntax_node3(x_38, x_45, x_47, x_47, x_52); -x_54 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; -x_55 = l_Lean_Syntax_node2(x_38, x_54, x_49, x_53); -x_56 = lean_array_push(x_12, x_55); -x_1 = x_56; -x_2 = x_10; -x_5 = x_43; -goto _start; -} -else -{ -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; -x_58 = lean_ctor_get(x_41, 1); -lean_inc(x_58); -lean_dec(x_41); -x_59 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_60 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_38); -x_61 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_61, 0, x_38); -lean_ctor_set(x_61, 1, x_59); -lean_ctor_set(x_61, 2, x_60); -x_62 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -lean_inc(x_61); -lean_inc(x_38); -x_63 = l_Lean_Syntax_node2(x_38, x_62, x_32, x_61); -x_64 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_38); -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_38); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -lean_inc(x_38); -x_67 = l_Lean_Syntax_node2(x_38, x_66, x_65, x_15); -lean_inc(x_61); -lean_inc(x_38); -x_68 = l_Lean_Syntax_node3(x_38, x_59, x_61, x_61, x_67); -x_69 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; -x_70 = l_Lean_Syntax_node2(x_38, x_69, x_63, x_68); -x_71 = lean_array_push(x_12, x_70); -x_1 = x_71; -x_2 = x_10; -x_5 = x_58; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___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; size_t x_8; size_t x_9; lean_object* x_10; -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 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___lambda__1(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; uint8_t x_9; -x_5 = l_Lean_Elab_Command_getMainModule___rarg(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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_addMacroScope(x_6, x_1, x_10); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -x_14 = l_Lean_addMacroScope(x_6, x_1, x_12); -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; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("x", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___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_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__2; -x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___lambda__1___boxed), 4, 1); -lean_closure_set(x_5, 0, x_4); -x_6 = l_Lean_Elab_Command_withFreshMacroScope___rarg(x_5, x_1, x_2, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(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; -x_6 = l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7(x_3, x_4, 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; lean_object* x_9; -x_8 = lean_ctor_get(x_6, 0); -x_9 = l_Lean_mkIdentFrom(x_1, x_8, x_2); -lean_ctor_set(x_6, 0, x_9); -return x_6; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_6, 0); -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_12 = l_Lean_mkIdentFrom(x_1, x_10, x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_6); -if (x_14 == 0) -{ -return x_6; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_6); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(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; uint8_t x_7; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_6, 0); -x_9 = l_Lean_mkIdentFrom(x_8, x_1, x_2); -lean_dec(x_8); -lean_ctor_set(x_6, 0, x_9); -return x_6; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_6, 0); -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_12 = l_Lean_mkIdentFrom(x_10, x_1, x_2); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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, 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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -3643,7 +2791,120 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___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) { +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = 0; +x_3 = l_Lean_SourceInfo_fromRef(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("structInstField", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_Lake_DSL_expandAttrs___closed__2; +x_2 = l_Lake_DSL_expandAttrs___closed__3; +x_3 = l_Lake_DSL_expandAttrs___closed__4; +x_4 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("structInstLVal", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___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; +x_1 = l_Lake_DSL_expandAttrs___closed__2; +x_2 = l_Lake_DSL_expandAttrs___closed__3; +x_3 = l_Lake_DSL_expandAttrs___closed__4; +x_4 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1; +x_2 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +x_3 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +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_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("structInstFieldDef", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_expandAttrs___closed__2; +x_2 = l_Lake_DSL_expandAttrs___closed__3; +x_3 = l_Lake_DSL_expandAttrs___closed__4; +x_4 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(":=", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1; +x_2 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__10; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___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) { _start: { if (lean_obj_tag(x_3) == 0) @@ -3656,7 +2917,7 @@ return x_7; } else { -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; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_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; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +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; uint8_t 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; x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_3, 1); @@ -3666,7 +2927,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_3, 3); lean_inc(x_11); lean_dec(x_3); -x_12 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__10(x_1, x_2, x_8, x_4, x_5, x_6); +x_12 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(x_1, x_2, x_8, x_4, x_5, x_6); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -3677,373 +2938,150 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_10, 1); lean_inc(x_16); lean_dec(x_10); -x_17 = l_Lean_Elab_Command_getRef(x_4, x_5, x_14); -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_replaceRef(x_15, x_18); -lean_dec(x_18); +x_17 = 1; +x_18 = l_Lean_mkIdentFrom(x_15, x_9, x_17); lean_dec(x_15); -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -x_24 = lean_ctor_get(x_4, 3); -x_25 = lean_ctor_get(x_4, 4); -x_26 = lean_ctor_get(x_4, 5); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get(x_4, 8); -x_29 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -x_30 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_30, 0, x_21); -lean_ctor_set(x_30, 1, x_22); -lean_ctor_set(x_30, 2, x_23); -lean_ctor_set(x_30, 3, x_24); -lean_ctor_set(x_30, 4, x_25); -lean_ctor_set(x_30, 5, x_26); -lean_ctor_set(x_30, 6, x_20); -lean_ctor_set(x_30, 7, x_27); -lean_ctor_set(x_30, 8, x_28); -lean_ctor_set_uint8(x_30, sizeof(void*)*9, x_29); -x_31 = 1; -x_32 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_9, x_31, x_30, x_5, x_19); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Command_getRef(x_30, x_5, x_34); -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 = 0; -x_39 = l_Lean_SourceInfo_fromRef(x_36, x_38); -lean_dec(x_36); -x_40 = l_Lean_Elab_Command_getCurrMacroScope(x_30, x_5, x_37); -lean_dec(x_30); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Lean_Elab_Command_getMainModule___rarg(x_5, x_41); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_44 = lean_ctor_get(x_42, 1); -x_45 = lean_ctor_get(x_42, 0); -lean_dec(x_45); -x_46 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_47 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_39); -x_48 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_48, 0, x_39); -lean_ctor_set(x_48, 1, x_46); -lean_ctor_set(x_48, 2, x_47); -x_49 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -lean_inc(x_48); -lean_inc(x_39); -x_50 = l_Lean_Syntax_node2(x_39, x_49, x_33, x_48); -x_51 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_39); -lean_ctor_set_tag(x_42, 2); -lean_ctor_set(x_42, 1, x_51); -lean_ctor_set(x_42, 0, x_39); -x_52 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -lean_inc(x_39); -x_53 = l_Lean_Syntax_node2(x_39, x_52, x_42, x_16); -lean_inc(x_48); -lean_inc(x_39); -x_54 = l_Lean_Syntax_node3(x_39, x_46, x_48, x_48, x_53); -x_55 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; -x_56 = l_Lean_Syntax_node2(x_39, x_55, x_50, x_54); -x_57 = lean_array_push(x_13, x_56); -x_2 = x_57; +x_19 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1; +x_20 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; +x_21 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; +x_22 = l_Lean_Syntax_node2(x_19, x_20, x_18, x_21); +x_23 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__9; +x_24 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11; +x_25 = l_Lean_Syntax_node2(x_19, x_23, x_24, x_16); +x_26 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +x_27 = l_Lean_Syntax_node3(x_19, x_26, x_21, x_21, x_25); +x_28 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__3; +x_29 = l_Lean_Syntax_node2(x_19, x_28, x_22, x_27); +x_30 = lean_array_push(x_13, x_29); +x_2 = x_30; x_3 = x_11; -x_6 = x_44; +x_6 = x_14; goto _start; } +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___lambda__1(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; uint8_t x_9; +x_5 = l_Lean_Elab_Command_getMainModule___rarg(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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_addMacroScope(x_6, x_1, x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} else { -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; -x_59 = lean_ctor_get(x_42, 1); -lean_inc(x_59); -lean_dec(x_42); -x_60 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_61 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_39); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_39); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_61); -x_63 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -lean_inc(x_62); -lean_inc(x_39); -x_64 = l_Lean_Syntax_node2(x_39, x_63, x_33, x_62); -x_65 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_39); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_39); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -lean_inc(x_39); -x_68 = l_Lean_Syntax_node2(x_39, x_67, x_66, x_16); -lean_inc(x_62); -lean_inc(x_39); -x_69 = l_Lean_Syntax_node3(x_39, x_60, x_62, x_62, x_68); -x_70 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; -x_71 = l_Lean_Syntax_node2(x_39, x_70, x_64, x_69); -x_72 = lean_array_push(x_13, x_71); -x_2 = x_72; -x_3 = x_11; -x_6 = x_59; -goto _start; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = l_Lean_addMacroScope(x_6, x_1, x_12); +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; } } } -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___lambda__1(lean_object* x_1, lean_object* x_2) { +static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__1() { _start: { -lean_object* x_3; -x_3 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_3, 0, x_1); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("x", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___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_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__2; +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___lambda__1___boxed), 4, 1); +lean_closure_set(x_5, 0, x_4); +x_6 = l_Lean_Elab_Command_withFreshMacroScope___rarg(x_5, x_1, x_2, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__5(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; -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_4); +x_6 = l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6(x_3, x_4, 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; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = l_Lean_mkIdentFrom(x_1, x_8, x_2); +lean_ctor_set(x_6, 0, x_9); return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_array_uget(x_4, x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_4, x_3, x_8); -lean_inc(x_7); -x_10 = l_Lean_Syntax_isOfKind(x_7, x_1); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_9); -lean_dec(x_7); -x_11 = lean_box(0); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Syntax_getArg(x_7, x_8); -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_7, x_13); -lean_dec(x_7); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -uint8_t x_16; -x_16 = l_Lean_Syntax_matchesNull(x_14, x_13); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_9); -x_17 = lean_box(0); -return x_17; -} -else -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = 1; -x_19 = lean_usize_add(x_3, x_18); -x_20 = lean_array_uset(x_9, x_3, x_12); -x_3 = x_19; -x_4 = x_20; -goto _start; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = l_Lean_mkIdentFrom(x_1, x_10, x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } } else { -size_t x_22; size_t x_23; lean_object* x_24; -lean_dec(x_14); -x_22 = 1; -x_23 = lean_usize_add(x_3, x_22); -x_24 = lean_array_uset(x_9, x_3, x_12); -x_3 = x_23; -x_4 = x_24; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: +uint8_t x_14; +x_14 = !lean_is_exclusive(x_6); +if (x_14 == 0) { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_4); return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_array_uget(x_4, x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_4, x_3, x_8); -lean_inc(x_7); -x_10 = l_Lean_Syntax_isOfKind(x_7, x_1); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_9); -lean_dec(x_7); -x_11 = lean_box(0); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Syntax_getArg(x_7, x_8); -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_7, x_13); -lean_dec(x_7); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -uint8_t x_16; -x_16 = l_Lean_Syntax_matchesNull(x_14, x_13); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_9); -x_17 = lean_box(0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_6, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_6); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); return x_17; } -else -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = 1; -x_19 = lean_usize_add(x_3, x_18); -x_20 = lean_array_uset(x_9, x_3, x_12); -x_3 = x_19; -x_4 = x_20; -goto _start; -} -} -else -{ -size_t x_22; size_t x_23; lean_object* x_24; -lean_dec(x_14); -x_22 = 1; -x_23 = lean_usize_add(x_3, x_22); -x_24 = lean_array_uset(x_9, x_3, x_12); -x_3 = x_23; -x_4 = x_24; -goto _start; } } } -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___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_lt(x_3, x_2); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_array_uget(x_4, x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_4, x_3, x_8); -lean_inc(x_7); -x_10 = l_Lean_Syntax_isOfKind(x_7, x_1); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_9); -lean_dec(x_7); -x_11 = lean_box(0); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Syntax_getArg(x_7, x_8); -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_7, x_13); -lean_dec(x_7); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -uint8_t x_16; -x_16 = l_Lean_Syntax_matchesNull(x_14, x_13); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_9); -x_17 = lean_box(0); -return x_17; -} -else -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = 1; -x_19 = lean_usize_add(x_3, x_18); -x_20 = lean_array_uset(x_9, x_3, x_12); -x_3 = x_19; -x_4 = x_20; -goto _start; -} -} -else -{ -size_t x_22; size_t x_23; lean_object* x_24; -lean_dec(x_14); -x_22 = 1; -x_23 = lean_usize_add(x_3, x_22); -x_24 = lean_array_uset(x_9, x_3, x_12); -x_3 = x_23; -x_4 = x_24; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__14(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_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__7(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_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4386,7 +3424,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15(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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___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) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4399,7 +3437,7 @@ return x_7; } else { -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; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_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; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +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; uint8_t 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; x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_3, 1); @@ -4409,7 +3447,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_3, 3); lean_inc(x_11); lean_dec(x_3); -x_12 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15(x_1, x_2, x_8, x_4, x_5, x_6); +x_12 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__8(x_1, x_2, x_8, x_4, x_5, x_6); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -4420,139 +3458,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_10, 1); lean_inc(x_16); lean_dec(x_10); -x_17 = l_Lean_Elab_Command_getRef(x_4, x_5, x_14); -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_replaceRef(x_15, x_18); -lean_dec(x_18); +x_17 = 1; +x_18 = l_Lean_mkIdentFrom(x_15, x_9, x_17); lean_dec(x_15); -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -x_24 = lean_ctor_get(x_4, 3); -x_25 = lean_ctor_get(x_4, 4); -x_26 = lean_ctor_get(x_4, 5); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get(x_4, 8); -x_29 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -x_30 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_30, 0, x_21); -lean_ctor_set(x_30, 1, x_22); -lean_ctor_set(x_30, 2, x_23); -lean_ctor_set(x_30, 3, x_24); -lean_ctor_set(x_30, 4, x_25); -lean_ctor_set(x_30, 5, x_26); -lean_ctor_set(x_30, 6, x_20); -lean_ctor_set(x_30, 7, x_27); -lean_ctor_set(x_30, 8, x_28); -lean_ctor_set_uint8(x_30, sizeof(void*)*9, x_29); -x_31 = 1; -x_32 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_9, x_31, x_30, x_5, x_19); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Command_getRef(x_30, x_5, x_34); -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 = 0; -x_39 = l_Lean_SourceInfo_fromRef(x_36, x_38); -lean_dec(x_36); -x_40 = l_Lean_Elab_Command_getCurrMacroScope(x_30, x_5, x_37); -lean_dec(x_30); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Lean_Elab_Command_getMainModule___rarg(x_5, x_41); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_44 = lean_ctor_get(x_42, 1); -x_45 = lean_ctor_get(x_42, 0); -lean_dec(x_45); -x_46 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_47 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_39); -x_48 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_48, 0, x_39); -lean_ctor_set(x_48, 1, x_46); -lean_ctor_set(x_48, 2, x_47); -x_49 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -lean_inc(x_48); -lean_inc(x_39); -x_50 = l_Lean_Syntax_node2(x_39, x_49, x_33, x_48); -x_51 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_39); -lean_ctor_set_tag(x_42, 2); -lean_ctor_set(x_42, 1, x_51); -lean_ctor_set(x_42, 0, x_39); -x_52 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -lean_inc(x_39); -x_53 = l_Lean_Syntax_node2(x_39, x_52, x_42, x_16); -lean_inc(x_48); -lean_inc(x_39); -x_54 = l_Lean_Syntax_node3(x_39, x_46, x_48, x_48, x_53); -x_55 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; -x_56 = l_Lean_Syntax_node2(x_39, x_55, x_50, x_54); -x_57 = lean_array_push(x_13, x_56); -x_2 = x_57; +x_19 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__1; +x_20 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; +x_21 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; +x_22 = l_Lean_Syntax_node2(x_19, x_20, x_18, x_21); +x_23 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__9; +x_24 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11; +x_25 = l_Lean_Syntax_node2(x_19, x_23, x_24, x_16); +x_26 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +x_27 = l_Lean_Syntax_node3(x_19, x_26, x_21, x_21, x_25); +x_28 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__3; +x_29 = l_Lean_Syntax_node2(x_19, x_28, x_22, x_27); +x_30 = lean_array_push(x_13, x_29); +x_2 = x_30; x_3 = x_11; -x_6 = x_44; +x_6 = x_14; goto _start; } -else -{ -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; -x_59 = lean_ctor_get(x_42, 1); -lean_inc(x_59); -lean_dec(x_42); -x_60 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_61 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_39); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_39); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_61); -x_63 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__4; -lean_inc(x_62); -lean_inc(x_39); -x_64 = l_Lean_Syntax_node2(x_39, x_63, x_33, x_62); -x_65 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_39); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_39); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7; -lean_inc(x_39); -x_68 = l_Lean_Syntax_node2(x_39, x_67, x_66, x_16); -lean_inc(x_62); -lean_inc(x_39); -x_69 = l_Lean_Syntax_node3(x_39, x_60, x_62, x_62, x_68); -x_70 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__2; -x_71 = l_Lean_Syntax_node2(x_39, x_70, x_64, x_69); -x_72 = lean_array_push(x_13, x_71); -x_2 = x_72; -x_3 = x_11; -x_6 = x_59; -goto _start; -} -} } } static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__1___closed__1() { @@ -4585,7 +3510,7 @@ static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("structInst", 10, 10); +x_1 = lean_mk_string_unchecked("where", 5, 5); return x_1; } } @@ -4596,7 +3521,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lake_DSL_expandAttrs___closed__2; x_2 = l_Lake_DSL_expandAttrs___closed__3; x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__1; +x_4 = l_Lake_DSL_structVal___closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -4604,64 +3529,38 @@ return x_5; static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("structInstFields", 16, 16); -return x_1; +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_expandOptSimpleBinder___lambda__1___closed__8; +x_3 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +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_elabConfigDecl___lambda__2___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_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___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("whereStructInst", 15, 15); +return x_1; } } static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(2); -x_2 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_3 = lean_alloc_ctor(2, 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_elabConfigDecl___lambda__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optEllipsis", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_elabConfigDecl___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_expandAttrs___closed__2; x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_expandAttrs___closed__4; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_3 = l_Lake_DSL_simpleDeclSig___closed__7; +x_4 = l_Lake_DSL_elabConfigDecl___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_elabConfigDecl___lambda__2___closed__9() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__6() { _start: { lean_object* x_1; @@ -4669,19 +3568,19 @@ x_1 = lean_mk_string_unchecked("declaration", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__10() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_expandAttrs___closed__2; x_2 = l_Lake_DSL_expandAttrs___closed__3; x_3 = l_Lake_DSL_simpleDeclSig___closed__7; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__11() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__8() { _start: { lean_object* x_1; @@ -4689,19 +3588,19 @@ x_1 = lean_mk_string_unchecked("declModifiers", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__12() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_expandAttrs___closed__2; x_2 = l_Lake_DSL_expandAttrs___closed__3; x_3 = l_Lake_DSL_simpleDeclSig___closed__7; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__13() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__10() { _start: { lean_object* x_1; @@ -4709,7 +3608,15 @@ x_1 = lean_mk_string_unchecked("@[", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__14() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__12() { _start: { lean_object* x_1; @@ -4717,7 +3624,7 @@ x_1 = lean_mk_string_unchecked("]", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__15() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__13() { _start: { lean_object* x_1; @@ -4725,6 +3632,26 @@ x_1 = lean_mk_string_unchecked("abbrev", 6, 6); return x_1; } } +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_expandAttrs___closed__2; +x_2 = l_Lake_DSL_expandAttrs___closed__3; +x_3 = l_Lake_DSL_simpleDeclSig___closed__7; +x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("declId", 6, 6); +return x_1; +} +} static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__16() { _start: { @@ -4760,2836 +3687,13 @@ return x_5; static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__19() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Termination", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("suffix", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__22() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; +x_1 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("declId", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__2___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_expandAttrs___closed__2; -x_2 = l_Lake_DSL_expandAttrs___closed__3; -x_3 = l_Lake_DSL_simpleDeclSig___closed__7; -x_4 = l_Lake_DSL_elabConfigDecl___lambda__2___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_elabConfigDecl___lambda__2___closed__25() { -_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_expandOptSimpleBinder___lambda__1___closed__8; -x_3 = l_Lake_DSL_expandAttrs___closed__1; -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_elabConfigDecl___lambda__2___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__25; -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_elabConfigDecl___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) { -_start: -{ -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_box(0); -x_16 = lean_array_size(x_1); -x_17 = 0; -lean_inc(x_12); -lean_inc(x_2); -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3(x_2, x_1, x_15, x_1, x_16, x_17, x_10, x_12, x_13, x_14); -if (lean_obj_tag(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_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_Lake_DSL_expandAttrs___closed__1; -x_22 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(x_21, x_19, x_12, x_13, x_20); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Command_getRef(x_12, x_13, x_24); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -x_29 = 0; -x_30 = l_Lean_mkCIdentFrom(x_27, x_2, x_29); -lean_dec(x_27); -if (lean_obj_tag(x_8) == 0) -{ -lean_free_object(x_25); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_684; uint8_t x_685; -x_684 = l_Lean_Elab_Command_getRef(x_12, x_13, x_28); -x_685 = !lean_is_exclusive(x_684); -if (x_685 == 0) -{ -lean_object* x_686; lean_object* x_687; lean_object* x_688; -x_686 = lean_ctor_get(x_684, 0); -x_687 = lean_ctor_get(x_684, 1); -lean_inc(x_13); -lean_inc(x_12); -x_688 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_686, x_29, x_12, x_13, x_687); -lean_dec(x_686); -if (lean_obj_tag(x_688) == 0) -{ -lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_689 = lean_ctor_get(x_688, 0); -lean_inc(x_689); -x_690 = lean_ctor_get(x_688, 1); -lean_inc(x_690); -lean_dec(x_688); -x_691 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -lean_ctor_set_tag(x_684, 1); -lean_ctor_set(x_684, 1, x_691); -lean_ctor_set(x_684, 0, x_689); -x_692 = lean_array_mk(x_684); -x_693 = lean_box(2); -x_694 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_695 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_695, 0, x_693); -lean_ctor_set(x_695, 1, x_694); -lean_ctor_set(x_695, 2, x_692); -x_31 = x_695; -x_32 = x_690; -goto block_683; -} -else -{ -uint8_t x_696; -lean_free_object(x_684); -lean_dec(x_30); -lean_dec(x_23); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_696 = !lean_is_exclusive(x_688); -if (x_696 == 0) -{ -return x_688; -} -else -{ -lean_object* x_697; lean_object* x_698; lean_object* x_699; -x_697 = lean_ctor_get(x_688, 0); -x_698 = lean_ctor_get(x_688, 1); -lean_inc(x_698); -lean_inc(x_697); -lean_dec(x_688); -x_699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_699, 0, x_697); -lean_ctor_set(x_699, 1, x_698); -return x_699; -} -} -} -else -{ -lean_object* x_700; lean_object* x_701; lean_object* x_702; -x_700 = lean_ctor_get(x_684, 0); -x_701 = lean_ctor_get(x_684, 1); -lean_inc(x_701); -lean_inc(x_700); -lean_dec(x_684); -lean_inc(x_13); -lean_inc(x_12); -x_702 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_700, x_29, x_12, x_13, x_701); -lean_dec(x_700); -if (lean_obj_tag(x_702) == 0) -{ -lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; -x_703 = lean_ctor_get(x_702, 0); -lean_inc(x_703); -x_704 = lean_ctor_get(x_702, 1); -lean_inc(x_704); -lean_dec(x_702); -x_705 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_703); -lean_ctor_set(x_706, 1, x_705); -x_707 = lean_array_mk(x_706); -x_708 = lean_box(2); -x_709 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_710 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_710, 0, x_708); -lean_ctor_set(x_710, 1, x_709); -lean_ctor_set(x_710, 2, x_707); -x_31 = x_710; -x_32 = x_704; -goto block_683; -} -else -{ -lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; -lean_dec(x_30); -lean_dec(x_23); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_711 = lean_ctor_get(x_702, 0); -lean_inc(x_711); -x_712 = lean_ctor_get(x_702, 1); -lean_inc(x_712); -if (lean_is_exclusive(x_702)) { - lean_ctor_release(x_702, 0); - lean_ctor_release(x_702, 1); - x_713 = x_702; -} else { - lean_dec_ref(x_702); - x_713 = lean_box(0); -} -if (lean_is_scalar(x_713)) { - x_714 = lean_alloc_ctor(1, 2, 0); -} else { - x_714 = x_713; -} -lean_ctor_set(x_714, 0, x_711); -lean_ctor_set(x_714, 1, x_712); -return x_714; -} -} -} -else -{ -lean_object* x_715; lean_object* x_716; uint8_t x_717; -x_715 = lean_ctor_get(x_9, 0); -lean_inc(x_715); -lean_dec(x_9); -x_716 = l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(x_715, x_29, x_12, x_13, x_28); -x_717 = !lean_is_exclusive(x_716); -if (x_717 == 0) -{ -lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; -x_718 = lean_ctor_get(x_716, 1); -x_719 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -lean_ctor_set_tag(x_716, 1); -lean_ctor_set(x_716, 1, x_719); -x_720 = lean_array_mk(x_716); -x_721 = lean_box(2); -x_722 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_723 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_723, 0, x_721); -lean_ctor_set(x_723, 1, x_722); -lean_ctor_set(x_723, 2, x_720); -x_31 = x_723; -x_32 = x_718; -goto block_683; -} -else -{ -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; -x_724 = lean_ctor_get(x_716, 0); -x_725 = lean_ctor_get(x_716, 1); -lean_inc(x_725); -lean_inc(x_724); -lean_dec(x_716); -x_726 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -x_727 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_727, 0, x_724); -lean_ctor_set(x_727, 1, x_726); -x_728 = lean_array_mk(x_727); -x_729 = lean_box(2); -x_730 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_731 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_731, 0, x_729); -lean_ctor_set(x_731, 1, x_730); -lean_ctor_set(x_731, 2, x_728); -x_31 = x_731; -x_32 = x_725; -goto block_683; -} -} -} -else -{ -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_732 = lean_ctor_get(x_8, 0); -x_733 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -lean_inc(x_732); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_733); -lean_ctor_set(x_25, 0, x_732); -x_734 = lean_array_mk(x_25); -x_735 = lean_box(2); -x_736 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_737 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_737, 0, x_735); -lean_ctor_set(x_737, 1, x_736); -lean_ctor_set(x_737, 2, x_734); -x_31 = x_737; -x_32 = x_28; -goto block_683; -} -else -{ -lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; -x_738 = lean_ctor_get(x_8, 0); -x_739 = lean_ctor_get(x_9, 0); -lean_inc(x_739); -lean_dec(x_9); -x_740 = l_Lean_mkIdentFrom(x_738, x_739, x_29); -x_741 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_741); -lean_ctor_set(x_25, 0, x_740); -x_742 = lean_array_mk(x_25); -x_743 = lean_box(2); -x_744 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_745 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_745, 0, x_743); -lean_ctor_set(x_745, 1, x_744); -lean_ctor_set(x_745, 2, x_742); -x_31 = x_745; -x_32 = x_28; -goto block_683; -} -} -block_683: -{ -lean_object* x_33; uint8_t x_34; -x_33 = l_Lean_Elab_Command_getRef(x_12, x_13, x_32); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -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; uint8_t x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -x_37 = l_Lean_replaceRef(x_3, x_35); -lean_dec(x_35); -x_38 = lean_ctor_get(x_12, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_12, 2); -lean_inc(x_40); -x_41 = lean_ctor_get(x_12, 3); -lean_inc(x_41); -x_42 = lean_ctor_get(x_12, 4); -lean_inc(x_42); -x_43 = lean_ctor_get(x_12, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_12, 7); -lean_inc(x_44); -x_45 = lean_ctor_get(x_12, 8); -lean_inc(x_45); -x_46 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_47 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_47, 0, x_38); -lean_ctor_set(x_47, 1, x_39); -lean_ctor_set(x_47, 2, x_40); -lean_ctor_set(x_47, 3, x_41); -lean_ctor_set(x_47, 4, x_42); -lean_ctor_set(x_47, 5, x_43); -lean_ctor_set(x_47, 6, x_37); -lean_ctor_set(x_47, 7, x_44); -lean_ctor_set(x_47, 8, x_45); -lean_ctor_set_uint8(x_47, sizeof(void*)*9, x_46); -x_48 = l_Lean_Elab_Command_getRef(x_47, x_13, x_36); -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; uint8_t x_54; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_ctor_get(x_48, 1); -x_52 = l_Lean_SourceInfo_fromRef(x_50, x_29); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getCurrMacroScope(x_47, x_13, x_51); -lean_dec(x_47); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_55 = lean_ctor_get(x_53, 1); -x_56 = lean_ctor_get(x_53, 0); -lean_dec(x_56); -x_57 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_55); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 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; size_t 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; uint8_t x_79; -x_59 = lean_ctor_get(x_57, 1); -x_60 = lean_ctor_get(x_57, 0); -lean_dec(x_60); -x_61 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_52); -lean_ctor_set_tag(x_57, 2); -lean_ctor_set(x_57, 1, x_61); -lean_ctor_set(x_57, 0, x_52); -x_62 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_63 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_52); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_52); -lean_ctor_set(x_64, 1, x_62); -lean_ctor_set(x_64, 2, x_63); -x_65 = lean_array_size(x_23); -x_66 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_65, x_17, x_23); -x_67 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_68 = l_Lean_mkSepArray(x_66, x_67); -lean_dec(x_66); -x_69 = l_Array_append___rarg(x_63, x_68); -lean_dec(x_68); -lean_inc(x_52); -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_52); -lean_ctor_set(x_70, 1, x_62); -lean_ctor_set(x_70, 2, x_69); -x_71 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_52); -x_72 = l_Lean_Syntax_node1(x_52, x_71, x_70); -x_73 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_64); -lean_inc(x_52); -x_74 = l_Lean_Syntax_node1(x_52, x_73, x_64); -x_75 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_52); -lean_ctor_set_tag(x_53, 2); -lean_ctor_set(x_53, 1, x_75); -lean_ctor_set(x_53, 0, x_52); -x_76 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_64); -x_77 = l_Lean_Syntax_node6(x_52, x_76, x_57, x_64, x_72, x_74, x_64, x_53); -x_78 = l_Lean_Elab_Command_getRef(x_12, x_13, x_59); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_ctor_get(x_78, 1); -x_82 = l_Lean_SourceInfo_fromRef(x_80, x_29); -lean_dec(x_80); -x_83 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_81); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_85 = lean_ctor_get(x_83, 1); -x_86 = lean_ctor_get(x_83, 0); -lean_dec(x_86); -x_87 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_85); -x_88 = !lean_is_exclusive(x_87); -if (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; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_89 = lean_ctor_get(x_87, 1); -x_90 = lean_ctor_get(x_87, 0); -lean_dec(x_90); -x_91 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_82); -lean_ctor_set_tag(x_87, 2); -lean_ctor_set(x_87, 1, x_91); -lean_ctor_set(x_87, 0, x_82); -x_92 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_93 = l_Lean_Syntax_SepArray_ofElems(x_92, x_4); -x_94 = l_Array_append___rarg(x_63, x_93); -lean_dec(x_93); -lean_inc(x_82); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_82); -lean_ctor_set(x_95, 1, x_62); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_82); -lean_ctor_set_tag(x_83, 2); -lean_ctor_set(x_83, 1, x_96); -lean_ctor_set(x_83, 0, x_82); -x_97 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_82); -x_98 = l_Lean_Syntax_node3(x_82, x_97, x_87, x_95, x_83); -lean_inc(x_82); -x_99 = l_Lean_Syntax_node1(x_82, x_62, x_98); -lean_inc(x_82); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_82); -lean_ctor_set(x_100, 1, x_62); -lean_ctor_set(x_100, 2, x_63); -x_101 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_82); -lean_ctor_set_tag(x_78, 2); -lean_ctor_set(x_78, 1, x_101); -lean_ctor_set(x_78, 0, x_82); -x_102 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_82); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_102); -lean_ctor_set(x_48, 0, x_82); -x_103 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_82); -x_104 = l_Lean_Syntax_node2(x_82, x_103, x_48, x_30); -lean_inc(x_82); -x_105 = l_Lean_Syntax_node1(x_82, x_62, x_104); -x_106 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_100); -lean_inc(x_82); -x_107 = l_Lean_Syntax_node2(x_82, x_106, x_100, x_105); -x_108 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_82); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_108); -lean_ctor_set(x_33, 0, x_82); -x_109 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_100, 2); -lean_inc(x_82); -x_110 = l_Lean_Syntax_node2(x_82, x_109, x_100, x_100); -if (lean_obj_tag(x_7) == 0) -{ -x_111 = x_63; -goto block_138; -} -else -{ -lean_object* x_139; lean_object* x_140; -x_139 = lean_ctor_get(x_7, 0); -lean_inc(x_139); -lean_dec(x_7); -x_140 = l_Array_mkArray1___rarg(x_139); -x_111 = x_140; -goto block_138; -} -block_138: -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_112 = l_Array_append___rarg(x_63, x_111); -lean_dec(x_111); -lean_inc(x_82); -x_113 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_113, 0, x_82); -lean_ctor_set(x_113, 1, x_62); -lean_ctor_set(x_113, 2, x_112); -x_114 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_100, 3); -lean_inc(x_82); -x_115 = l_Lean_Syntax_node6(x_82, x_114, x_113, x_99, x_100, x_100, x_100, x_100); -if (lean_obj_tag(x_5) == 0) -{ -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; -x_116 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_82); -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_82); -lean_ctor_set(x_117, 1, x_62); -lean_ctor_set(x_117, 2, x_116); -x_118 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_82); -x_119 = l_Lean_Syntax_node4(x_82, x_118, x_33, x_77, x_110, x_117); -x_120 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_121 = l_Lean_Syntax_node4(x_82, x_120, x_78, x_31, x_107, x_119); -x_122 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_123 = l_Lean_Syntax_node2(x_82, x_122, x_115, x_121); -lean_inc(x_123); -x_124 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_124, 0, x_123); -x_125 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_123, x_124, x_12, x_13, x_89); -return x_125; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_126 = lean_ctor_get(x_5, 0); -lean_inc(x_126); -lean_dec(x_5); -x_127 = l_Array_mkArray1___rarg(x_126); -x_128 = l_Array_append___rarg(x_63, x_127); -lean_dec(x_127); -lean_inc(x_82); -x_129 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_129, 0, x_82); -lean_ctor_set(x_129, 1, x_62); -lean_ctor_set(x_129, 2, x_128); -x_130 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_82); -x_131 = l_Lean_Syntax_node4(x_82, x_130, x_33, x_77, x_110, x_129); -x_132 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_133 = l_Lean_Syntax_node4(x_82, x_132, x_78, x_31, x_107, x_131); -x_134 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_135 = l_Lean_Syntax_node2(x_82, x_134, x_115, x_133); -lean_inc(x_135); -x_136 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_136, 0, x_135); -x_137 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_135, x_136, x_12, x_13, x_89); -return x_137; -} -} -} -else -{ -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; -x_141 = lean_ctor_get(x_87, 1); -lean_inc(x_141); -lean_dec(x_87); -x_142 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_82); -x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_82); -lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_145 = l_Lean_Syntax_SepArray_ofElems(x_144, x_4); -x_146 = l_Array_append___rarg(x_63, x_145); -lean_dec(x_145); -lean_inc(x_82); -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_82); -lean_ctor_set(x_147, 1, x_62); -lean_ctor_set(x_147, 2, x_146); -x_148 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_82); -lean_ctor_set_tag(x_83, 2); -lean_ctor_set(x_83, 1, x_148); -lean_ctor_set(x_83, 0, x_82); -x_149 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_82); -x_150 = l_Lean_Syntax_node3(x_82, x_149, x_143, x_147, x_83); -lean_inc(x_82); -x_151 = l_Lean_Syntax_node1(x_82, x_62, x_150); -lean_inc(x_82); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_82); -lean_ctor_set(x_152, 1, x_62); -lean_ctor_set(x_152, 2, x_63); -x_153 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_82); -lean_ctor_set_tag(x_78, 2); -lean_ctor_set(x_78, 1, x_153); -lean_ctor_set(x_78, 0, x_82); -x_154 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_82); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_154); -lean_ctor_set(x_48, 0, x_82); -x_155 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_82); -x_156 = l_Lean_Syntax_node2(x_82, x_155, x_48, x_30); -lean_inc(x_82); -x_157 = l_Lean_Syntax_node1(x_82, x_62, x_156); -x_158 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_152); -lean_inc(x_82); -x_159 = l_Lean_Syntax_node2(x_82, x_158, x_152, x_157); -x_160 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_82); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_160); -lean_ctor_set(x_33, 0, x_82); -x_161 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_152, 2); -lean_inc(x_82); -x_162 = l_Lean_Syntax_node2(x_82, x_161, x_152, x_152); -if (lean_obj_tag(x_7) == 0) -{ -x_163 = x_63; -goto block_190; -} -else -{ -lean_object* x_191; lean_object* x_192; -x_191 = lean_ctor_get(x_7, 0); -lean_inc(x_191); -lean_dec(x_7); -x_192 = l_Array_mkArray1___rarg(x_191); -x_163 = x_192; -goto block_190; -} -block_190: -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_164 = l_Array_append___rarg(x_63, x_163); -lean_dec(x_163); -lean_inc(x_82); -x_165 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_165, 0, x_82); -lean_ctor_set(x_165, 1, x_62); -lean_ctor_set(x_165, 2, x_164); -x_166 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_152, 3); -lean_inc(x_82); -x_167 = l_Lean_Syntax_node6(x_82, x_166, x_165, x_151, x_152, x_152, x_152, x_152); -if (lean_obj_tag(x_5) == 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; lean_object* x_177; -x_168 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_82); -x_169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_169, 0, x_82); -lean_ctor_set(x_169, 1, x_62); -lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_82); -x_171 = l_Lean_Syntax_node4(x_82, x_170, x_33, x_77, x_162, x_169); -x_172 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_173 = l_Lean_Syntax_node4(x_82, x_172, x_78, x_31, x_159, x_171); -x_174 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_175 = l_Lean_Syntax_node2(x_82, x_174, x_167, x_173); -lean_inc(x_175); -x_176 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_176, 0, x_175); -x_177 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_175, x_176, x_12, x_13, x_141); -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; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_178 = lean_ctor_get(x_5, 0); -lean_inc(x_178); -lean_dec(x_5); -x_179 = l_Array_mkArray1___rarg(x_178); -x_180 = l_Array_append___rarg(x_63, x_179); -lean_dec(x_179); -lean_inc(x_82); -x_181 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_181, 0, x_82); -lean_ctor_set(x_181, 1, x_62); -lean_ctor_set(x_181, 2, x_180); -x_182 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_82); -x_183 = l_Lean_Syntax_node4(x_82, x_182, x_33, x_77, x_162, x_181); -x_184 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_185 = l_Lean_Syntax_node4(x_82, x_184, x_78, x_31, x_159, x_183); -x_186 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_187 = l_Lean_Syntax_node2(x_82, x_186, x_167, x_185); -lean_inc(x_187); -x_188 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_188, 0, x_187); -x_189 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_187, x_188, x_12, x_13, x_141); -return x_189; -} -} -} -} -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; 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; -x_193 = lean_ctor_get(x_83, 1); -lean_inc(x_193); -lean_dec(x_83); -x_194 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_193); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_196 = x_194; -} else { - lean_dec_ref(x_194); - x_196 = lean_box(0); -} -x_197 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_82); -if (lean_is_scalar(x_196)) { - x_198 = lean_alloc_ctor(2, 2, 0); -} else { - x_198 = x_196; - lean_ctor_set_tag(x_198, 2); -} -lean_ctor_set(x_198, 0, x_82); -lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_200 = l_Lean_Syntax_SepArray_ofElems(x_199, x_4); -x_201 = l_Array_append___rarg(x_63, x_200); -lean_dec(x_200); -lean_inc(x_82); -x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_82); -lean_ctor_set(x_202, 1, x_62); -lean_ctor_set(x_202, 2, x_201); -x_203 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_82); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_82); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_82); -x_206 = l_Lean_Syntax_node3(x_82, x_205, x_198, x_202, x_204); -lean_inc(x_82); -x_207 = l_Lean_Syntax_node1(x_82, x_62, x_206); -lean_inc(x_82); -x_208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_208, 0, x_82); -lean_ctor_set(x_208, 1, x_62); -lean_ctor_set(x_208, 2, x_63); -x_209 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_82); -lean_ctor_set_tag(x_78, 2); -lean_ctor_set(x_78, 1, x_209); -lean_ctor_set(x_78, 0, x_82); -x_210 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_82); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_210); -lean_ctor_set(x_48, 0, x_82); -x_211 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_82); -x_212 = l_Lean_Syntax_node2(x_82, x_211, x_48, x_30); -lean_inc(x_82); -x_213 = l_Lean_Syntax_node1(x_82, x_62, x_212); -x_214 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_208); -lean_inc(x_82); -x_215 = l_Lean_Syntax_node2(x_82, x_214, x_208, x_213); -x_216 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_82); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_216); -lean_ctor_set(x_33, 0, x_82); -x_217 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_208, 2); -lean_inc(x_82); -x_218 = l_Lean_Syntax_node2(x_82, x_217, x_208, x_208); -if (lean_obj_tag(x_7) == 0) -{ -x_219 = x_63; -goto block_246; -} -else -{ -lean_object* x_247; lean_object* x_248; -x_247 = lean_ctor_get(x_7, 0); -lean_inc(x_247); -lean_dec(x_7); -x_248 = l_Array_mkArray1___rarg(x_247); -x_219 = x_248; -goto block_246; -} -block_246: -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_220 = l_Array_append___rarg(x_63, x_219); -lean_dec(x_219); -lean_inc(x_82); -x_221 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_221, 0, x_82); -lean_ctor_set(x_221, 1, x_62); -lean_ctor_set(x_221, 2, x_220); -x_222 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_208, 3); -lean_inc(x_82); -x_223 = l_Lean_Syntax_node6(x_82, x_222, x_221, x_207, x_208, x_208, x_208, x_208); -if (lean_obj_tag(x_5) == 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; lean_object* x_232; lean_object* x_233; -x_224 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_82); -x_225 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_225, 0, x_82); -lean_ctor_set(x_225, 1, x_62); -lean_ctor_set(x_225, 2, x_224); -x_226 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_82); -x_227 = l_Lean_Syntax_node4(x_82, x_226, x_33, x_77, x_218, x_225); -x_228 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_229 = l_Lean_Syntax_node4(x_82, x_228, x_78, x_31, x_215, x_227); -x_230 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_231 = l_Lean_Syntax_node2(x_82, x_230, x_223, x_229); -lean_inc(x_231); -x_232 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_232, 0, x_231); -x_233 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_231, x_232, x_12, x_13, x_195); -return x_233; -} -else -{ -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; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_234 = lean_ctor_get(x_5, 0); -lean_inc(x_234); -lean_dec(x_5); -x_235 = l_Array_mkArray1___rarg(x_234); -x_236 = l_Array_append___rarg(x_63, x_235); -lean_dec(x_235); -lean_inc(x_82); -x_237 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_237, 0, x_82); -lean_ctor_set(x_237, 1, x_62); -lean_ctor_set(x_237, 2, x_236); -x_238 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_82); -x_239 = l_Lean_Syntax_node4(x_82, x_238, x_33, x_77, x_218, x_237); -x_240 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_241 = l_Lean_Syntax_node4(x_82, x_240, x_78, x_31, x_215, x_239); -x_242 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_243 = l_Lean_Syntax_node2(x_82, x_242, x_223, x_241); -lean_inc(x_243); -x_244 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_244, 0, x_243); -x_245 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_243, x_244, x_12, x_13, x_195); -return x_245; -} -} -} -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; 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; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; 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; -x_249 = lean_ctor_get(x_78, 0); -x_250 = lean_ctor_get(x_78, 1); -lean_inc(x_250); -lean_inc(x_249); -lean_dec(x_78); -x_251 = l_Lean_SourceInfo_fromRef(x_249, x_29); -lean_dec(x_249); -x_252 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_250); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -if (lean_is_exclusive(x_252)) { - lean_ctor_release(x_252, 0); - lean_ctor_release(x_252, 1); - x_254 = x_252; -} else { - lean_dec_ref(x_252); - x_254 = lean_box(0); -} -x_255 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_253); -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_257 = x_255; -} else { - lean_dec_ref(x_255); - x_257 = lean_box(0); -} -x_258 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_251); -if (lean_is_scalar(x_257)) { - x_259 = lean_alloc_ctor(2, 2, 0); -} else { - x_259 = x_257; - lean_ctor_set_tag(x_259, 2); -} -lean_ctor_set(x_259, 0, x_251); -lean_ctor_set(x_259, 1, x_258); -x_260 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_261 = l_Lean_Syntax_SepArray_ofElems(x_260, x_4); -x_262 = l_Array_append___rarg(x_63, x_261); -lean_dec(x_261); -lean_inc(x_251); -x_263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_263, 0, x_251); -lean_ctor_set(x_263, 1, x_62); -lean_ctor_set(x_263, 2, x_262); -x_264 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_251); -if (lean_is_scalar(x_254)) { - x_265 = lean_alloc_ctor(2, 2, 0); -} else { - x_265 = x_254; - lean_ctor_set_tag(x_265, 2); -} -lean_ctor_set(x_265, 0, x_251); -lean_ctor_set(x_265, 1, x_264); -x_266 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_251); -x_267 = l_Lean_Syntax_node3(x_251, x_266, x_259, x_263, x_265); -lean_inc(x_251); -x_268 = l_Lean_Syntax_node1(x_251, x_62, x_267); -lean_inc(x_251); -x_269 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_269, 0, x_251); -lean_ctor_set(x_269, 1, x_62); -lean_ctor_set(x_269, 2, x_63); -x_270 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_251); -x_271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_271, 0, x_251); -lean_ctor_set(x_271, 1, x_270); -x_272 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_251); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_272); -lean_ctor_set(x_48, 0, x_251); -x_273 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_251); -x_274 = l_Lean_Syntax_node2(x_251, x_273, x_48, x_30); -lean_inc(x_251); -x_275 = l_Lean_Syntax_node1(x_251, x_62, x_274); -x_276 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_269); -lean_inc(x_251); -x_277 = l_Lean_Syntax_node2(x_251, x_276, x_269, x_275); -x_278 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_251); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_278); -lean_ctor_set(x_33, 0, x_251); -x_279 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_269, 2); -lean_inc(x_251); -x_280 = l_Lean_Syntax_node2(x_251, x_279, x_269, x_269); -if (lean_obj_tag(x_7) == 0) -{ -x_281 = x_63; -goto block_308; -} -else -{ -lean_object* x_309; lean_object* x_310; -x_309 = lean_ctor_get(x_7, 0); -lean_inc(x_309); -lean_dec(x_7); -x_310 = l_Array_mkArray1___rarg(x_309); -x_281 = x_310; -goto block_308; -} -block_308: -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_282 = l_Array_append___rarg(x_63, x_281); -lean_dec(x_281); -lean_inc(x_251); -x_283 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_283, 0, x_251); -lean_ctor_set(x_283, 1, x_62); -lean_ctor_set(x_283, 2, x_282); -x_284 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_269, 3); -lean_inc(x_251); -x_285 = l_Lean_Syntax_node6(x_251, x_284, x_283, x_268, x_269, x_269, x_269, x_269); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_286 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_251); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_251); -lean_ctor_set(x_287, 1, x_62); -lean_ctor_set(x_287, 2, x_286); -x_288 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_251); -x_289 = l_Lean_Syntax_node4(x_251, x_288, x_33, x_77, x_280, x_287); -x_290 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_251); -x_291 = l_Lean_Syntax_node4(x_251, x_290, x_271, x_31, x_277, x_289); -x_292 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_293 = l_Lean_Syntax_node2(x_251, x_292, x_285, x_291); -lean_inc(x_293); -x_294 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_294, 0, x_293); -x_295 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_293, x_294, x_12, x_13, x_256); -return x_295; -} -else -{ -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; -x_296 = lean_ctor_get(x_5, 0); -lean_inc(x_296); -lean_dec(x_5); -x_297 = l_Array_mkArray1___rarg(x_296); -x_298 = l_Array_append___rarg(x_63, x_297); -lean_dec(x_297); -lean_inc(x_251); -x_299 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_299, 0, x_251); -lean_ctor_set(x_299, 1, x_62); -lean_ctor_set(x_299, 2, x_298); -x_300 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_251); -x_301 = l_Lean_Syntax_node4(x_251, x_300, x_33, x_77, x_280, x_299); -x_302 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_251); -x_303 = l_Lean_Syntax_node4(x_251, x_302, x_271, x_31, x_277, x_301); -x_304 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_305 = l_Lean_Syntax_node2(x_251, x_304, x_285, x_303); -lean_inc(x_305); -x_306 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_306, 0, x_305); -x_307 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_305, x_306, x_12, x_13, x_256); -return x_307; -} -} -} -} -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; size_t 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; 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; 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; lean_object* x_343; lean_object* x_344; lean_object* x_345; 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; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; 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; -x_311 = lean_ctor_get(x_57, 1); -lean_inc(x_311); -lean_dec(x_57); -x_312 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_52); -x_313 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_313, 0, x_52); -lean_ctor_set(x_313, 1, x_312); -x_314 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_315 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_52); -x_316 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_316, 0, x_52); -lean_ctor_set(x_316, 1, x_314); -lean_ctor_set(x_316, 2, x_315); -x_317 = lean_array_size(x_23); -x_318 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_317, x_17, x_23); -x_319 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_320 = l_Lean_mkSepArray(x_318, x_319); -lean_dec(x_318); -x_321 = l_Array_append___rarg(x_315, x_320); -lean_dec(x_320); -lean_inc(x_52); -x_322 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_322, 0, x_52); -lean_ctor_set(x_322, 1, x_314); -lean_ctor_set(x_322, 2, x_321); -x_323 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_52); -x_324 = l_Lean_Syntax_node1(x_52, x_323, x_322); -x_325 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_316); -lean_inc(x_52); -x_326 = l_Lean_Syntax_node1(x_52, x_325, x_316); -x_327 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_52); -lean_ctor_set_tag(x_53, 2); -lean_ctor_set(x_53, 1, x_327); -lean_ctor_set(x_53, 0, x_52); -x_328 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_316); -x_329 = l_Lean_Syntax_node6(x_52, x_328, x_313, x_316, x_324, x_326, x_316, x_53); -x_330 = l_Lean_Elab_Command_getRef(x_12, x_13, x_311); -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -if (lean_is_exclusive(x_330)) { - lean_ctor_release(x_330, 0); - lean_ctor_release(x_330, 1); - x_333 = x_330; -} else { - lean_dec_ref(x_330); - x_333 = lean_box(0); -} -x_334 = l_Lean_SourceInfo_fromRef(x_331, x_29); -lean_dec(x_331); -x_335 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_332); -x_336 = lean_ctor_get(x_335, 1); -lean_inc(x_336); -if (lean_is_exclusive(x_335)) { - lean_ctor_release(x_335, 0); - lean_ctor_release(x_335, 1); - x_337 = x_335; -} else { - lean_dec_ref(x_335); - x_337 = lean_box(0); -} -x_338 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_336); -x_339 = lean_ctor_get(x_338, 1); -lean_inc(x_339); -if (lean_is_exclusive(x_338)) { - lean_ctor_release(x_338, 0); - lean_ctor_release(x_338, 1); - x_340 = x_338; -} else { - lean_dec_ref(x_338); - x_340 = lean_box(0); -} -x_341 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_334); -if (lean_is_scalar(x_340)) { - x_342 = lean_alloc_ctor(2, 2, 0); -} else { - x_342 = x_340; - lean_ctor_set_tag(x_342, 2); -} -lean_ctor_set(x_342, 0, x_334); -lean_ctor_set(x_342, 1, x_341); -x_343 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_344 = l_Lean_Syntax_SepArray_ofElems(x_343, x_4); -x_345 = l_Array_append___rarg(x_315, x_344); -lean_dec(x_344); -lean_inc(x_334); -x_346 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_346, 0, x_334); -lean_ctor_set(x_346, 1, x_314); -lean_ctor_set(x_346, 2, x_345); -x_347 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_334); -if (lean_is_scalar(x_337)) { - x_348 = lean_alloc_ctor(2, 2, 0); -} else { - x_348 = x_337; - lean_ctor_set_tag(x_348, 2); -} -lean_ctor_set(x_348, 0, x_334); -lean_ctor_set(x_348, 1, x_347); -x_349 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_334); -x_350 = l_Lean_Syntax_node3(x_334, x_349, x_342, x_346, x_348); -lean_inc(x_334); -x_351 = l_Lean_Syntax_node1(x_334, x_314, x_350); -lean_inc(x_334); -x_352 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_352, 0, x_334); -lean_ctor_set(x_352, 1, x_314); -lean_ctor_set(x_352, 2, x_315); -x_353 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_334); -if (lean_is_scalar(x_333)) { - x_354 = lean_alloc_ctor(2, 2, 0); -} else { - x_354 = x_333; - lean_ctor_set_tag(x_354, 2); -} -lean_ctor_set(x_354, 0, x_334); -lean_ctor_set(x_354, 1, x_353); -x_355 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_334); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_355); -lean_ctor_set(x_48, 0, x_334); -x_356 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_334); -x_357 = l_Lean_Syntax_node2(x_334, x_356, x_48, x_30); -lean_inc(x_334); -x_358 = l_Lean_Syntax_node1(x_334, x_314, x_357); -x_359 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_352); -lean_inc(x_334); -x_360 = l_Lean_Syntax_node2(x_334, x_359, x_352, x_358); -x_361 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_334); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_361); -lean_ctor_set(x_33, 0, x_334); -x_362 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_352, 2); -lean_inc(x_334); -x_363 = l_Lean_Syntax_node2(x_334, x_362, x_352, x_352); -if (lean_obj_tag(x_7) == 0) -{ -x_364 = x_315; -goto block_391; -} -else -{ -lean_object* x_392; lean_object* x_393; -x_392 = lean_ctor_get(x_7, 0); -lean_inc(x_392); -lean_dec(x_7); -x_393 = l_Array_mkArray1___rarg(x_392); -x_364 = x_393; -goto block_391; -} -block_391: -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_365 = l_Array_append___rarg(x_315, x_364); -lean_dec(x_364); -lean_inc(x_334); -x_366 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_366, 0, x_334); -lean_ctor_set(x_366, 1, x_314); -lean_ctor_set(x_366, 2, x_365); -x_367 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_352, 3); -lean_inc(x_334); -x_368 = l_Lean_Syntax_node6(x_334, x_367, x_366, x_351, x_352, x_352, x_352, x_352); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; -x_369 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_334); -x_370 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_370, 0, x_334); -lean_ctor_set(x_370, 1, x_314); -lean_ctor_set(x_370, 2, x_369); -x_371 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_334); -x_372 = l_Lean_Syntax_node4(x_334, x_371, x_33, x_329, x_363, x_370); -x_373 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_334); -x_374 = l_Lean_Syntax_node4(x_334, x_373, x_354, x_31, x_360, x_372); -x_375 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_376 = l_Lean_Syntax_node2(x_334, x_375, x_368, x_374); -lean_inc(x_376); -x_377 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_377, 0, x_376); -x_378 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_376, x_377, x_12, x_13, x_339); -return x_378; -} -else -{ -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; -x_379 = lean_ctor_get(x_5, 0); -lean_inc(x_379); -lean_dec(x_5); -x_380 = l_Array_mkArray1___rarg(x_379); -x_381 = l_Array_append___rarg(x_315, x_380); -lean_dec(x_380); -lean_inc(x_334); -x_382 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_382, 0, x_334); -lean_ctor_set(x_382, 1, x_314); -lean_ctor_set(x_382, 2, x_381); -x_383 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_334); -x_384 = l_Lean_Syntax_node4(x_334, x_383, x_33, x_329, x_363, x_382); -x_385 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_334); -x_386 = l_Lean_Syntax_node4(x_334, x_385, x_354, x_31, x_360, x_384); -x_387 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_388 = l_Lean_Syntax_node2(x_334, x_387, x_368, x_386); -lean_inc(x_388); -x_389 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_389, 0, x_388); -x_390 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_388, x_389, x_12, x_13, x_339); -return x_390; -} -} -} -} -else -{ -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; lean_object* x_402; size_t 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; 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; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; 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; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; -x_394 = lean_ctor_get(x_53, 1); -lean_inc(x_394); -lean_dec(x_53); -x_395 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_394); -x_396 = lean_ctor_get(x_395, 1); -lean_inc(x_396); -if (lean_is_exclusive(x_395)) { - lean_ctor_release(x_395, 0); - lean_ctor_release(x_395, 1); - x_397 = x_395; -} else { - lean_dec_ref(x_395); - x_397 = lean_box(0); -} -x_398 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_52); -if (lean_is_scalar(x_397)) { - x_399 = lean_alloc_ctor(2, 2, 0); -} else { - x_399 = x_397; - lean_ctor_set_tag(x_399, 2); -} -lean_ctor_set(x_399, 0, x_52); -lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_401 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_52); -x_402 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_402, 0, x_52); -lean_ctor_set(x_402, 1, x_400); -lean_ctor_set(x_402, 2, x_401); -x_403 = lean_array_size(x_23); -x_404 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_403, x_17, x_23); -x_405 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_406 = l_Lean_mkSepArray(x_404, x_405); -lean_dec(x_404); -x_407 = l_Array_append___rarg(x_401, x_406); -lean_dec(x_406); -lean_inc(x_52); -x_408 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_408, 0, x_52); -lean_ctor_set(x_408, 1, x_400); -lean_ctor_set(x_408, 2, x_407); -x_409 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_52); -x_410 = l_Lean_Syntax_node1(x_52, x_409, x_408); -x_411 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_402); -lean_inc(x_52); -x_412 = l_Lean_Syntax_node1(x_52, x_411, x_402); -x_413 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_52); -x_414 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_414, 0, x_52); -lean_ctor_set(x_414, 1, x_413); -x_415 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_402); -x_416 = l_Lean_Syntax_node6(x_52, x_415, x_399, x_402, x_410, x_412, x_402, x_414); -x_417 = l_Lean_Elab_Command_getRef(x_12, x_13, x_396); -x_418 = lean_ctor_get(x_417, 0); -lean_inc(x_418); -x_419 = lean_ctor_get(x_417, 1); -lean_inc(x_419); -if (lean_is_exclusive(x_417)) { - lean_ctor_release(x_417, 0); - lean_ctor_release(x_417, 1); - x_420 = x_417; -} else { - lean_dec_ref(x_417); - x_420 = lean_box(0); -} -x_421 = l_Lean_SourceInfo_fromRef(x_418, x_29); -lean_dec(x_418); -x_422 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_419); -x_423 = lean_ctor_get(x_422, 1); -lean_inc(x_423); -if (lean_is_exclusive(x_422)) { - lean_ctor_release(x_422, 0); - lean_ctor_release(x_422, 1); - x_424 = x_422; -} else { - lean_dec_ref(x_422); - x_424 = lean_box(0); -} -x_425 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_423); -x_426 = lean_ctor_get(x_425, 1); -lean_inc(x_426); -if (lean_is_exclusive(x_425)) { - lean_ctor_release(x_425, 0); - lean_ctor_release(x_425, 1); - x_427 = x_425; -} else { - lean_dec_ref(x_425); - x_427 = lean_box(0); -} -x_428 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_421); -if (lean_is_scalar(x_427)) { - x_429 = lean_alloc_ctor(2, 2, 0); -} else { - x_429 = x_427; - lean_ctor_set_tag(x_429, 2); -} -lean_ctor_set(x_429, 0, x_421); -lean_ctor_set(x_429, 1, x_428); -x_430 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_431 = l_Lean_Syntax_SepArray_ofElems(x_430, x_4); -x_432 = l_Array_append___rarg(x_401, x_431); -lean_dec(x_431); -lean_inc(x_421); -x_433 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_433, 0, x_421); -lean_ctor_set(x_433, 1, x_400); -lean_ctor_set(x_433, 2, x_432); -x_434 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_421); -if (lean_is_scalar(x_424)) { - x_435 = lean_alloc_ctor(2, 2, 0); -} else { - x_435 = x_424; - lean_ctor_set_tag(x_435, 2); -} -lean_ctor_set(x_435, 0, x_421); -lean_ctor_set(x_435, 1, x_434); -x_436 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_421); -x_437 = l_Lean_Syntax_node3(x_421, x_436, x_429, x_433, x_435); -lean_inc(x_421); -x_438 = l_Lean_Syntax_node1(x_421, x_400, x_437); -lean_inc(x_421); -x_439 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_439, 0, x_421); -lean_ctor_set(x_439, 1, x_400); -lean_ctor_set(x_439, 2, x_401); -x_440 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_421); -if (lean_is_scalar(x_420)) { - x_441 = lean_alloc_ctor(2, 2, 0); -} else { - x_441 = x_420; - lean_ctor_set_tag(x_441, 2); -} -lean_ctor_set(x_441, 0, x_421); -lean_ctor_set(x_441, 1, x_440); -x_442 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_421); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_442); -lean_ctor_set(x_48, 0, x_421); -x_443 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_421); -x_444 = l_Lean_Syntax_node2(x_421, x_443, x_48, x_30); -lean_inc(x_421); -x_445 = l_Lean_Syntax_node1(x_421, x_400, x_444); -x_446 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_439); -lean_inc(x_421); -x_447 = l_Lean_Syntax_node2(x_421, x_446, x_439, x_445); -x_448 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_421); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_448); -lean_ctor_set(x_33, 0, x_421); -x_449 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_439, 2); -lean_inc(x_421); -x_450 = l_Lean_Syntax_node2(x_421, x_449, x_439, x_439); -if (lean_obj_tag(x_7) == 0) -{ -x_451 = x_401; -goto block_478; -} -else -{ -lean_object* x_479; lean_object* x_480; -x_479 = lean_ctor_get(x_7, 0); -lean_inc(x_479); -lean_dec(x_7); -x_480 = l_Array_mkArray1___rarg(x_479); -x_451 = x_480; -goto block_478; -} -block_478: -{ -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_452 = l_Array_append___rarg(x_401, x_451); -lean_dec(x_451); -lean_inc(x_421); -x_453 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_453, 0, x_421); -lean_ctor_set(x_453, 1, x_400); -lean_ctor_set(x_453, 2, x_452); -x_454 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_439, 3); -lean_inc(x_421); -x_455 = l_Lean_Syntax_node6(x_421, x_454, x_453, x_438, x_439, x_439, x_439, x_439); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_456 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_421); -x_457 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_457, 0, x_421); -lean_ctor_set(x_457, 1, x_400); -lean_ctor_set(x_457, 2, x_456); -x_458 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_421); -x_459 = l_Lean_Syntax_node4(x_421, x_458, x_33, x_416, x_450, x_457); -x_460 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_421); -x_461 = l_Lean_Syntax_node4(x_421, x_460, x_441, x_31, x_447, x_459); -x_462 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_463 = l_Lean_Syntax_node2(x_421, x_462, x_455, x_461); -lean_inc(x_463); -x_464 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_464, 0, x_463); -x_465 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_463, x_464, x_12, x_13, x_426); -return x_465; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; 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; -x_466 = lean_ctor_get(x_5, 0); -lean_inc(x_466); -lean_dec(x_5); -x_467 = l_Array_mkArray1___rarg(x_466); -x_468 = l_Array_append___rarg(x_401, x_467); -lean_dec(x_467); -lean_inc(x_421); -x_469 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_469, 0, x_421); -lean_ctor_set(x_469, 1, x_400); -lean_ctor_set(x_469, 2, x_468); -x_470 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_421); -x_471 = l_Lean_Syntax_node4(x_421, x_470, x_33, x_416, x_450, x_469); -x_472 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_421); -x_473 = l_Lean_Syntax_node4(x_421, x_472, x_441, x_31, x_447, x_471); -x_474 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_475 = l_Lean_Syntax_node2(x_421, x_474, x_455, x_473); -lean_inc(x_475); -x_476 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_476, 0, x_475); -x_477 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_475, x_476, x_12, x_13, x_426); -return x_477; -} -} -} -} -else -{ -lean_object* x_481; 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; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; size_t 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; 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; 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; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* 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; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_481 = lean_ctor_get(x_48, 0); -x_482 = lean_ctor_get(x_48, 1); -lean_inc(x_482); -lean_inc(x_481); -lean_dec(x_48); -x_483 = l_Lean_SourceInfo_fromRef(x_481, x_29); -lean_dec(x_481); -x_484 = l_Lean_Elab_Command_getCurrMacroScope(x_47, x_13, x_482); -lean_dec(x_47); -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_Lean_Elab_Command_getMainModule___rarg(x_13, x_485); -x_488 = lean_ctor_get(x_487, 1); -lean_inc(x_488); -if (lean_is_exclusive(x_487)) { - lean_ctor_release(x_487, 0); - lean_ctor_release(x_487, 1); - x_489 = x_487; -} else { - lean_dec_ref(x_487); - x_489 = lean_box(0); -} -x_490 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_483); -if (lean_is_scalar(x_489)) { - x_491 = lean_alloc_ctor(2, 2, 0); -} else { - x_491 = x_489; - lean_ctor_set_tag(x_491, 2); -} -lean_ctor_set(x_491, 0, x_483); -lean_ctor_set(x_491, 1, x_490); -x_492 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_493 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_483); -x_494 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_494, 0, x_483); -lean_ctor_set(x_494, 1, x_492); -lean_ctor_set(x_494, 2, x_493); -x_495 = lean_array_size(x_23); -x_496 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_495, x_17, x_23); -x_497 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_498 = l_Lean_mkSepArray(x_496, x_497); -lean_dec(x_496); -x_499 = l_Array_append___rarg(x_493, x_498); -lean_dec(x_498); -lean_inc(x_483); -x_500 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_500, 0, x_483); -lean_ctor_set(x_500, 1, x_492); -lean_ctor_set(x_500, 2, x_499); -x_501 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_483); -x_502 = l_Lean_Syntax_node1(x_483, x_501, x_500); -x_503 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_494); -lean_inc(x_483); -x_504 = l_Lean_Syntax_node1(x_483, x_503, x_494); -x_505 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_483); -if (lean_is_scalar(x_486)) { - x_506 = lean_alloc_ctor(2, 2, 0); -} else { - x_506 = x_486; - lean_ctor_set_tag(x_506, 2); -} -lean_ctor_set(x_506, 0, x_483); -lean_ctor_set(x_506, 1, x_505); -x_507 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_494); -x_508 = l_Lean_Syntax_node6(x_483, x_507, x_491, x_494, x_502, x_504, x_494, x_506); -x_509 = l_Lean_Elab_Command_getRef(x_12, x_13, x_488); -x_510 = lean_ctor_get(x_509, 0); -lean_inc(x_510); -x_511 = lean_ctor_get(x_509, 1); -lean_inc(x_511); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - x_512 = x_509; -} else { - lean_dec_ref(x_509); - x_512 = lean_box(0); -} -x_513 = l_Lean_SourceInfo_fromRef(x_510, x_29); -lean_dec(x_510); -x_514 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_511); -x_515 = lean_ctor_get(x_514, 1); -lean_inc(x_515); -if (lean_is_exclusive(x_514)) { - lean_ctor_release(x_514, 0); - lean_ctor_release(x_514, 1); - x_516 = x_514; -} else { - lean_dec_ref(x_514); - x_516 = lean_box(0); -} -x_517 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_515); -x_518 = lean_ctor_get(x_517, 1); -lean_inc(x_518); -if (lean_is_exclusive(x_517)) { - lean_ctor_release(x_517, 0); - lean_ctor_release(x_517, 1); - x_519 = x_517; -} else { - lean_dec_ref(x_517); - x_519 = lean_box(0); -} -x_520 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_513); -if (lean_is_scalar(x_519)) { - x_521 = lean_alloc_ctor(2, 2, 0); -} else { - x_521 = x_519; - lean_ctor_set_tag(x_521, 2); -} -lean_ctor_set(x_521, 0, x_513); -lean_ctor_set(x_521, 1, x_520); -x_522 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_523 = l_Lean_Syntax_SepArray_ofElems(x_522, x_4); -x_524 = l_Array_append___rarg(x_493, x_523); -lean_dec(x_523); -lean_inc(x_513); -x_525 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_525, 0, x_513); -lean_ctor_set(x_525, 1, x_492); -lean_ctor_set(x_525, 2, x_524); -x_526 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_513); -if (lean_is_scalar(x_516)) { - x_527 = lean_alloc_ctor(2, 2, 0); -} else { - x_527 = x_516; - lean_ctor_set_tag(x_527, 2); -} -lean_ctor_set(x_527, 0, x_513); -lean_ctor_set(x_527, 1, x_526); -x_528 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_513); -x_529 = l_Lean_Syntax_node3(x_513, x_528, x_521, x_525, x_527); -lean_inc(x_513); -x_530 = l_Lean_Syntax_node1(x_513, x_492, x_529); -lean_inc(x_513); -x_531 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_531, 0, x_513); -lean_ctor_set(x_531, 1, x_492); -lean_ctor_set(x_531, 2, x_493); -x_532 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_513); -if (lean_is_scalar(x_512)) { - x_533 = lean_alloc_ctor(2, 2, 0); -} else { - x_533 = x_512; - lean_ctor_set_tag(x_533, 2); -} -lean_ctor_set(x_533, 0, x_513); -lean_ctor_set(x_533, 1, x_532); -x_534 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_513); -x_535 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_535, 0, x_513); -lean_ctor_set(x_535, 1, x_534); -x_536 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_513); -x_537 = l_Lean_Syntax_node2(x_513, x_536, x_535, x_30); -lean_inc(x_513); -x_538 = l_Lean_Syntax_node1(x_513, x_492, x_537); -x_539 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_531); -lean_inc(x_513); -x_540 = l_Lean_Syntax_node2(x_513, x_539, x_531, x_538); -x_541 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_513); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_541); -lean_ctor_set(x_33, 0, x_513); -x_542 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_531, 2); -lean_inc(x_513); -x_543 = l_Lean_Syntax_node2(x_513, x_542, x_531, x_531); -if (lean_obj_tag(x_7) == 0) -{ -x_544 = x_493; -goto block_571; -} -else -{ -lean_object* x_572; lean_object* x_573; -x_572 = lean_ctor_get(x_7, 0); -lean_inc(x_572); -lean_dec(x_7); -x_573 = l_Array_mkArray1___rarg(x_572); -x_544 = x_573; -goto block_571; -} -block_571: -{ -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_545 = l_Array_append___rarg(x_493, x_544); -lean_dec(x_544); -lean_inc(x_513); -x_546 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_546, 0, x_513); -lean_ctor_set(x_546, 1, x_492); -lean_ctor_set(x_546, 2, x_545); -x_547 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_531, 3); -lean_inc(x_513); -x_548 = l_Lean_Syntax_node6(x_513, x_547, x_546, x_530, x_531, x_531, x_531, x_531); -if (lean_obj_tag(x_5) == 0) -{ -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; -x_549 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_513); -x_550 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_550, 0, x_513); -lean_ctor_set(x_550, 1, x_492); -lean_ctor_set(x_550, 2, x_549); -x_551 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_513); -x_552 = l_Lean_Syntax_node4(x_513, x_551, x_33, x_508, x_543, x_550); -x_553 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_513); -x_554 = l_Lean_Syntax_node4(x_513, x_553, x_533, x_31, x_540, x_552); -x_555 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_556 = l_Lean_Syntax_node2(x_513, x_555, x_548, x_554); -lean_inc(x_556); -x_557 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_557, 0, x_556); -x_558 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_556, x_557, x_12, x_13, x_518); -return x_558; -} -else -{ -lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* 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; -x_559 = lean_ctor_get(x_5, 0); -lean_inc(x_559); -lean_dec(x_5); -x_560 = l_Array_mkArray1___rarg(x_559); -x_561 = l_Array_append___rarg(x_493, x_560); -lean_dec(x_560); -lean_inc(x_513); -x_562 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_562, 0, x_513); -lean_ctor_set(x_562, 1, x_492); -lean_ctor_set(x_562, 2, x_561); -x_563 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_513); -x_564 = l_Lean_Syntax_node4(x_513, x_563, x_33, x_508, x_543, x_562); -x_565 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_513); -x_566 = l_Lean_Syntax_node4(x_513, x_565, x_533, x_31, x_540, x_564); -x_567 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_568 = l_Lean_Syntax_node2(x_513, x_567, x_548, x_566); -lean_inc(x_568); -x_569 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_569, 0, x_568); -x_570 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_568, x_569, x_12, x_13, x_518); -return x_570; -} -} -} -} -else -{ -lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; uint8_t 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; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; size_t 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; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; -x_574 = lean_ctor_get(x_33, 0); -x_575 = lean_ctor_get(x_33, 1); -lean_inc(x_575); -lean_inc(x_574); -lean_dec(x_33); -x_576 = l_Lean_replaceRef(x_3, x_574); -lean_dec(x_574); -x_577 = lean_ctor_get(x_12, 0); -lean_inc(x_577); -x_578 = lean_ctor_get(x_12, 1); -lean_inc(x_578); -x_579 = lean_ctor_get(x_12, 2); -lean_inc(x_579); -x_580 = lean_ctor_get(x_12, 3); -lean_inc(x_580); -x_581 = lean_ctor_get(x_12, 4); -lean_inc(x_581); -x_582 = lean_ctor_get(x_12, 5); -lean_inc(x_582); -x_583 = lean_ctor_get(x_12, 7); -lean_inc(x_583); -x_584 = lean_ctor_get(x_12, 8); -lean_inc(x_584); -x_585 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_586 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_586, 0, x_577); -lean_ctor_set(x_586, 1, x_578); -lean_ctor_set(x_586, 2, x_579); -lean_ctor_set(x_586, 3, x_580); -lean_ctor_set(x_586, 4, x_581); -lean_ctor_set(x_586, 5, x_582); -lean_ctor_set(x_586, 6, x_576); -lean_ctor_set(x_586, 7, x_583); -lean_ctor_set(x_586, 8, x_584); -lean_ctor_set_uint8(x_586, sizeof(void*)*9, x_585); -x_587 = l_Lean_Elab_Command_getRef(x_586, x_13, x_575); -x_588 = lean_ctor_get(x_587, 0); -lean_inc(x_588); -x_589 = lean_ctor_get(x_587, 1); -lean_inc(x_589); -if (lean_is_exclusive(x_587)) { - lean_ctor_release(x_587, 0); - lean_ctor_release(x_587, 1); - x_590 = x_587; -} else { - lean_dec_ref(x_587); - x_590 = lean_box(0); -} -x_591 = l_Lean_SourceInfo_fromRef(x_588, x_29); -lean_dec(x_588); -x_592 = l_Lean_Elab_Command_getCurrMacroScope(x_586, x_13, x_589); -lean_dec(x_586); -x_593 = lean_ctor_get(x_592, 1); -lean_inc(x_593); -if (lean_is_exclusive(x_592)) { - lean_ctor_release(x_592, 0); - lean_ctor_release(x_592, 1); - x_594 = x_592; -} else { - lean_dec_ref(x_592); - x_594 = lean_box(0); -} -x_595 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_593); -x_596 = lean_ctor_get(x_595, 1); -lean_inc(x_596); -if (lean_is_exclusive(x_595)) { - lean_ctor_release(x_595, 0); - lean_ctor_release(x_595, 1); - x_597 = x_595; -} else { - lean_dec_ref(x_595); - x_597 = lean_box(0); -} -x_598 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_591); -if (lean_is_scalar(x_597)) { - x_599 = lean_alloc_ctor(2, 2, 0); -} else { - x_599 = x_597; - lean_ctor_set_tag(x_599, 2); -} -lean_ctor_set(x_599, 0, x_591); -lean_ctor_set(x_599, 1, x_598); -x_600 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_601 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_591); -x_602 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_602, 0, x_591); -lean_ctor_set(x_602, 1, x_600); -lean_ctor_set(x_602, 2, x_601); -x_603 = lean_array_size(x_23); -x_604 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_603, x_17, x_23); -x_605 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_606 = l_Lean_mkSepArray(x_604, x_605); -lean_dec(x_604); -x_607 = l_Array_append___rarg(x_601, x_606); -lean_dec(x_606); -lean_inc(x_591); -x_608 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_608, 0, x_591); -lean_ctor_set(x_608, 1, x_600); -lean_ctor_set(x_608, 2, x_607); -x_609 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_591); -x_610 = l_Lean_Syntax_node1(x_591, x_609, x_608); -x_611 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_602); -lean_inc(x_591); -x_612 = l_Lean_Syntax_node1(x_591, x_611, x_602); -x_613 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_591); -if (lean_is_scalar(x_594)) { - x_614 = lean_alloc_ctor(2, 2, 0); -} else { - x_614 = x_594; - lean_ctor_set_tag(x_614, 2); -} -lean_ctor_set(x_614, 0, x_591); -lean_ctor_set(x_614, 1, x_613); -x_615 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_602); -x_616 = l_Lean_Syntax_node6(x_591, x_615, x_599, x_602, x_610, x_612, x_602, x_614); -x_617 = l_Lean_Elab_Command_getRef(x_12, x_13, x_596); -x_618 = lean_ctor_get(x_617, 0); -lean_inc(x_618); -x_619 = lean_ctor_get(x_617, 1); -lean_inc(x_619); -if (lean_is_exclusive(x_617)) { - lean_ctor_release(x_617, 0); - lean_ctor_release(x_617, 1); - x_620 = x_617; -} else { - lean_dec_ref(x_617); - x_620 = lean_box(0); -} -x_621 = l_Lean_SourceInfo_fromRef(x_618, x_29); -lean_dec(x_618); -x_622 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_619); -x_623 = lean_ctor_get(x_622, 1); -lean_inc(x_623); -if (lean_is_exclusive(x_622)) { - lean_ctor_release(x_622, 0); - lean_ctor_release(x_622, 1); - x_624 = x_622; -} else { - lean_dec_ref(x_622); - x_624 = lean_box(0); -} -x_625 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_623); -x_626 = lean_ctor_get(x_625, 1); -lean_inc(x_626); -if (lean_is_exclusive(x_625)) { - lean_ctor_release(x_625, 0); - lean_ctor_release(x_625, 1); - x_627 = x_625; -} else { - lean_dec_ref(x_625); - x_627 = lean_box(0); -} -x_628 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_621); -if (lean_is_scalar(x_627)) { - x_629 = lean_alloc_ctor(2, 2, 0); -} else { - x_629 = x_627; - lean_ctor_set_tag(x_629, 2); -} -lean_ctor_set(x_629, 0, x_621); -lean_ctor_set(x_629, 1, x_628); -x_630 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_631 = l_Lean_Syntax_SepArray_ofElems(x_630, x_4); -x_632 = l_Array_append___rarg(x_601, x_631); -lean_dec(x_631); -lean_inc(x_621); -x_633 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_633, 0, x_621); -lean_ctor_set(x_633, 1, x_600); -lean_ctor_set(x_633, 2, x_632); -x_634 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_621); -if (lean_is_scalar(x_624)) { - x_635 = lean_alloc_ctor(2, 2, 0); -} else { - x_635 = x_624; - lean_ctor_set_tag(x_635, 2); -} -lean_ctor_set(x_635, 0, x_621); -lean_ctor_set(x_635, 1, x_634); -x_636 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_621); -x_637 = l_Lean_Syntax_node3(x_621, x_636, x_629, x_633, x_635); -lean_inc(x_621); -x_638 = l_Lean_Syntax_node1(x_621, x_600, x_637); -lean_inc(x_621); -x_639 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_639, 0, x_621); -lean_ctor_set(x_639, 1, x_600); -lean_ctor_set(x_639, 2, x_601); -x_640 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_621); -if (lean_is_scalar(x_620)) { - x_641 = lean_alloc_ctor(2, 2, 0); -} else { - x_641 = x_620; - lean_ctor_set_tag(x_641, 2); -} -lean_ctor_set(x_641, 0, x_621); -lean_ctor_set(x_641, 1, x_640); -x_642 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_621); -if (lean_is_scalar(x_590)) { - x_643 = lean_alloc_ctor(2, 2, 0); -} else { - x_643 = x_590; - lean_ctor_set_tag(x_643, 2); -} -lean_ctor_set(x_643, 0, x_621); -lean_ctor_set(x_643, 1, x_642); -x_644 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_621); -x_645 = l_Lean_Syntax_node2(x_621, x_644, x_643, x_30); -lean_inc(x_621); -x_646 = l_Lean_Syntax_node1(x_621, x_600, x_645); -x_647 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_639); -lean_inc(x_621); -x_648 = l_Lean_Syntax_node2(x_621, x_647, x_639, x_646); -x_649 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_621); -x_650 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_650, 0, x_621); -lean_ctor_set(x_650, 1, x_649); -x_651 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_639, 2); -lean_inc(x_621); -x_652 = l_Lean_Syntax_node2(x_621, x_651, x_639, x_639); -if (lean_obj_tag(x_7) == 0) -{ -x_653 = x_601; -goto block_680; -} -else -{ -lean_object* x_681; lean_object* x_682; -x_681 = lean_ctor_get(x_7, 0); -lean_inc(x_681); -lean_dec(x_7); -x_682 = l_Array_mkArray1___rarg(x_681); -x_653 = x_682; -goto block_680; -} -block_680: -{ -lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_654 = l_Array_append___rarg(x_601, x_653); -lean_dec(x_653); -lean_inc(x_621); -x_655 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_655, 0, x_621); -lean_ctor_set(x_655, 1, x_600); -lean_ctor_set(x_655, 2, x_654); -x_656 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_639, 3); -lean_inc(x_621); -x_657 = l_Lean_Syntax_node6(x_621, x_656, x_655, x_638, x_639, x_639, x_639, x_639); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; -x_658 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_621); -x_659 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_659, 0, x_621); -lean_ctor_set(x_659, 1, x_600); -lean_ctor_set(x_659, 2, x_658); -x_660 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_621); -x_661 = l_Lean_Syntax_node4(x_621, x_660, x_650, x_616, x_652, x_659); -x_662 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_621); -x_663 = l_Lean_Syntax_node4(x_621, x_662, x_641, x_31, x_648, x_661); -x_664 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_665 = l_Lean_Syntax_node2(x_621, x_664, x_657, x_663); -lean_inc(x_665); -x_666 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_666, 0, x_665); -x_667 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_665, x_666, x_12, x_13, x_626); -return x_667; -} -else -{ -lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; -x_668 = lean_ctor_get(x_5, 0); -lean_inc(x_668); -lean_dec(x_5); -x_669 = l_Array_mkArray1___rarg(x_668); -x_670 = l_Array_append___rarg(x_601, x_669); -lean_dec(x_669); -lean_inc(x_621); -x_671 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_671, 0, x_621); -lean_ctor_set(x_671, 1, x_600); -lean_ctor_set(x_671, 2, x_670); -x_672 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_621); -x_673 = l_Lean_Syntax_node4(x_621, x_672, x_650, x_616, x_652, x_671); -x_674 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_621); -x_675 = l_Lean_Syntax_node4(x_621, x_674, x_641, x_31, x_648, x_673); -x_676 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_677 = l_Lean_Syntax_node2(x_621, x_676, x_657, x_675); -lean_inc(x_677); -x_678 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_678, 0, x_677); -x_679 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_677, x_678, x_12, x_13, x_626); -return x_679; -} -} -} -} -} -else -{ -lean_object* x_746; lean_object* x_747; uint8_t x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; -x_746 = lean_ctor_get(x_25, 0); -x_747 = lean_ctor_get(x_25, 1); -lean_inc(x_747); -lean_inc(x_746); -lean_dec(x_25); -x_748 = 0; -x_749 = l_Lean_mkCIdentFrom(x_746, x_2, x_748); -lean_dec(x_746); -if (lean_obj_tag(x_8) == 0) -{ -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; -x_864 = l_Lean_Elab_Command_getRef(x_12, x_13, x_747); -x_865 = lean_ctor_get(x_864, 0); -lean_inc(x_865); -x_866 = lean_ctor_get(x_864, 1); -lean_inc(x_866); -if (lean_is_exclusive(x_864)) { - lean_ctor_release(x_864, 0); - lean_ctor_release(x_864, 1); - x_867 = x_864; -} else { - lean_dec_ref(x_864); - x_867 = lean_box(0); -} -lean_inc(x_13); -lean_inc(x_12); -x_868 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_865, x_748, x_12, x_13, x_866); -lean_dec(x_865); -if (lean_obj_tag(x_868) == 0) -{ -lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; -x_869 = lean_ctor_get(x_868, 0); -lean_inc(x_869); -x_870 = lean_ctor_get(x_868, 1); -lean_inc(x_870); -lean_dec(x_868); -x_871 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -if (lean_is_scalar(x_867)) { - x_872 = lean_alloc_ctor(1, 2, 0); -} else { - x_872 = x_867; - lean_ctor_set_tag(x_872, 1); -} -lean_ctor_set(x_872, 0, x_869); -lean_ctor_set(x_872, 1, x_871); -x_873 = lean_array_mk(x_872); -x_874 = lean_box(2); -x_875 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_876 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_876, 0, x_874); -lean_ctor_set(x_876, 1, x_875); -lean_ctor_set(x_876, 2, x_873); -x_750 = x_876; -x_751 = x_870; -goto block_863; -} -else -{ -lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; -lean_dec(x_867); -lean_dec(x_749); -lean_dec(x_23); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_877 = lean_ctor_get(x_868, 0); -lean_inc(x_877); -x_878 = lean_ctor_get(x_868, 1); -lean_inc(x_878); -if (lean_is_exclusive(x_868)) { - lean_ctor_release(x_868, 0); - lean_ctor_release(x_868, 1); - x_879 = x_868; -} else { - lean_dec_ref(x_868); - x_879 = lean_box(0); -} -if (lean_is_scalar(x_879)) { - x_880 = lean_alloc_ctor(1, 2, 0); -} else { - x_880 = x_879; -} -lean_ctor_set(x_880, 0, x_877); -lean_ctor_set(x_880, 1, x_878); -return x_880; -} -} -else -{ -lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; -x_881 = lean_ctor_get(x_9, 0); -lean_inc(x_881); -lean_dec(x_9); -x_882 = l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(x_881, x_748, x_12, x_13, x_747); -x_883 = lean_ctor_get(x_882, 0); -lean_inc(x_883); -x_884 = lean_ctor_get(x_882, 1); -lean_inc(x_884); -if (lean_is_exclusive(x_882)) { - lean_ctor_release(x_882, 0); - lean_ctor_release(x_882, 1); - x_885 = x_882; -} else { - lean_dec_ref(x_882); - x_885 = lean_box(0); -} -x_886 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -if (lean_is_scalar(x_885)) { - x_887 = lean_alloc_ctor(1, 2, 0); -} else { - x_887 = x_885; - lean_ctor_set_tag(x_887, 1); -} -lean_ctor_set(x_887, 0, x_883); -lean_ctor_set(x_887, 1, x_886); -x_888 = lean_array_mk(x_887); -x_889 = lean_box(2); -x_890 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_891 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_891, 0, x_889); -lean_ctor_set(x_891, 1, x_890); -lean_ctor_set(x_891, 2, x_888); -x_750 = x_891; -x_751 = x_884; -goto block_863; -} -} -else -{ -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; -x_892 = lean_ctor_get(x_8, 0); -x_893 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -lean_inc(x_892); -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_892); -lean_ctor_set(x_894, 1, x_893); -x_895 = lean_array_mk(x_894); -x_896 = lean_box(2); -x_897 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_898 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_898, 0, x_896); -lean_ctor_set(x_898, 1, x_897); -lean_ctor_set(x_898, 2, x_895); -x_750 = x_898; -x_751 = x_747; -goto block_863; -} -else -{ -lean_object* x_899; lean_object* x_900; lean_object* x_901; 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_899 = lean_ctor_get(x_8, 0); -x_900 = lean_ctor_get(x_9, 0); -lean_inc(x_900); -lean_dec(x_9); -x_901 = l_Lean_mkIdentFrom(x_899, x_900, x_748); -x_902 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__26; -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_901); -lean_ctor_set(x_903, 1, x_902); -x_904 = lean_array_mk(x_903); -x_905 = lean_box(2); -x_906 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_907 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_907, 0, x_905); -lean_ctor_set(x_907, 1, x_906); -lean_ctor_set(x_907, 2, x_904); -x_750 = x_907; -x_751 = x_747; -goto block_863; -} -} -block_863: -{ -lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; uint8_t x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; size_t x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; 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; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; -x_752 = l_Lean_Elab_Command_getRef(x_12, x_13, x_751); -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_752, 1); -lean_inc(x_754); -if (lean_is_exclusive(x_752)) { - lean_ctor_release(x_752, 0); - lean_ctor_release(x_752, 1); - x_755 = x_752; -} else { - lean_dec_ref(x_752); - x_755 = lean_box(0); -} -x_756 = l_Lean_replaceRef(x_3, x_753); -lean_dec(x_753); -x_757 = lean_ctor_get(x_12, 0); -lean_inc(x_757); -x_758 = lean_ctor_get(x_12, 1); -lean_inc(x_758); -x_759 = lean_ctor_get(x_12, 2); -lean_inc(x_759); -x_760 = lean_ctor_get(x_12, 3); -lean_inc(x_760); -x_761 = lean_ctor_get(x_12, 4); -lean_inc(x_761); -x_762 = lean_ctor_get(x_12, 5); -lean_inc(x_762); -x_763 = lean_ctor_get(x_12, 7); -lean_inc(x_763); -x_764 = lean_ctor_get(x_12, 8); -lean_inc(x_764); -x_765 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_766 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_766, 0, x_757); -lean_ctor_set(x_766, 1, x_758); -lean_ctor_set(x_766, 2, x_759); -lean_ctor_set(x_766, 3, x_760); -lean_ctor_set(x_766, 4, x_761); -lean_ctor_set(x_766, 5, x_762); -lean_ctor_set(x_766, 6, x_756); -lean_ctor_set(x_766, 7, x_763); -lean_ctor_set(x_766, 8, x_764); -lean_ctor_set_uint8(x_766, sizeof(void*)*9, x_765); -x_767 = l_Lean_Elab_Command_getRef(x_766, x_13, x_754); -x_768 = lean_ctor_get(x_767, 0); -lean_inc(x_768); -x_769 = lean_ctor_get(x_767, 1); -lean_inc(x_769); -if (lean_is_exclusive(x_767)) { - lean_ctor_release(x_767, 0); - lean_ctor_release(x_767, 1); - x_770 = x_767; -} else { - lean_dec_ref(x_767); - x_770 = lean_box(0); -} -x_771 = l_Lean_SourceInfo_fromRef(x_768, x_748); -lean_dec(x_768); -x_772 = l_Lean_Elab_Command_getCurrMacroScope(x_766, x_13, x_769); -lean_dec(x_766); -x_773 = lean_ctor_get(x_772, 1); -lean_inc(x_773); -if (lean_is_exclusive(x_772)) { - lean_ctor_release(x_772, 0); - lean_ctor_release(x_772, 1); - x_774 = x_772; -} else { - lean_dec_ref(x_772); - x_774 = lean_box(0); -} -x_775 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_773); -x_776 = lean_ctor_get(x_775, 1); -lean_inc(x_776); -if (lean_is_exclusive(x_775)) { - lean_ctor_release(x_775, 0); - lean_ctor_release(x_775, 1); - x_777 = x_775; -} else { - lean_dec_ref(x_775); - x_777 = lean_box(0); -} -x_778 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_771); -if (lean_is_scalar(x_777)) { - x_779 = lean_alloc_ctor(2, 2, 0); -} else { - x_779 = x_777; - lean_ctor_set_tag(x_779, 2); -} -lean_ctor_set(x_779, 0, x_771); -lean_ctor_set(x_779, 1, x_778); -x_780 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_781 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_771); -x_782 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_782, 0, x_771); -lean_ctor_set(x_782, 1, x_780); -lean_ctor_set(x_782, 2, x_781); -x_783 = lean_array_size(x_23); -x_784 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_783, x_17, x_23); -x_785 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_786 = l_Lean_mkSepArray(x_784, x_785); -lean_dec(x_784); -x_787 = l_Array_append___rarg(x_781, x_786); -lean_dec(x_786); -lean_inc(x_771); -x_788 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_788, 0, x_771); -lean_ctor_set(x_788, 1, x_780); -lean_ctor_set(x_788, 2, x_787); -x_789 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_771); -x_790 = l_Lean_Syntax_node1(x_771, x_789, x_788); -x_791 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_782); -lean_inc(x_771); -x_792 = l_Lean_Syntax_node1(x_771, x_791, x_782); -x_793 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_771); -if (lean_is_scalar(x_774)) { - x_794 = lean_alloc_ctor(2, 2, 0); -} else { - x_794 = x_774; - lean_ctor_set_tag(x_794, 2); -} -lean_ctor_set(x_794, 0, x_771); -lean_ctor_set(x_794, 1, x_793); -x_795 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_782); -x_796 = l_Lean_Syntax_node6(x_771, x_795, x_779, x_782, x_790, x_792, x_782, x_794); -x_797 = l_Lean_Elab_Command_getRef(x_12, x_13, x_776); -x_798 = lean_ctor_get(x_797, 0); -lean_inc(x_798); -x_799 = lean_ctor_get(x_797, 1); -lean_inc(x_799); -if (lean_is_exclusive(x_797)) { - lean_ctor_release(x_797, 0); - lean_ctor_release(x_797, 1); - x_800 = x_797; -} else { - lean_dec_ref(x_797); - x_800 = lean_box(0); -} -x_801 = l_Lean_SourceInfo_fromRef(x_798, x_748); -lean_dec(x_798); -x_802 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_799); -x_803 = lean_ctor_get(x_802, 1); -lean_inc(x_803); -if (lean_is_exclusive(x_802)) { - lean_ctor_release(x_802, 0); - lean_ctor_release(x_802, 1); - x_804 = x_802; -} else { - lean_dec_ref(x_802); - x_804 = lean_box(0); -} -x_805 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_803); -x_806 = lean_ctor_get(x_805, 1); -lean_inc(x_806); -if (lean_is_exclusive(x_805)) { - lean_ctor_release(x_805, 0); - lean_ctor_release(x_805, 1); - x_807 = x_805; -} else { - lean_dec_ref(x_805); - x_807 = lean_box(0); -} -x_808 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_801); -if (lean_is_scalar(x_807)) { - x_809 = lean_alloc_ctor(2, 2, 0); -} else { - x_809 = x_807; - lean_ctor_set_tag(x_809, 2); -} -lean_ctor_set(x_809, 0, x_801); -lean_ctor_set(x_809, 1, x_808); -x_810 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_811 = l_Lean_Syntax_SepArray_ofElems(x_810, x_4); -x_812 = l_Array_append___rarg(x_781, x_811); -lean_dec(x_811); -lean_inc(x_801); -x_813 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_813, 0, x_801); -lean_ctor_set(x_813, 1, x_780); -lean_ctor_set(x_813, 2, x_812); -x_814 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_801); -if (lean_is_scalar(x_804)) { - x_815 = lean_alloc_ctor(2, 2, 0); -} else { - x_815 = x_804; - lean_ctor_set_tag(x_815, 2); -} -lean_ctor_set(x_815, 0, x_801); -lean_ctor_set(x_815, 1, x_814); -x_816 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_801); -x_817 = l_Lean_Syntax_node3(x_801, x_816, x_809, x_813, x_815); -lean_inc(x_801); -x_818 = l_Lean_Syntax_node1(x_801, x_780, x_817); -lean_inc(x_801); -x_819 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_819, 0, x_801); -lean_ctor_set(x_819, 1, x_780); -lean_ctor_set(x_819, 2, x_781); -x_820 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_801); -if (lean_is_scalar(x_800)) { - x_821 = lean_alloc_ctor(2, 2, 0); -} else { - x_821 = x_800; - lean_ctor_set_tag(x_821, 2); -} -lean_ctor_set(x_821, 0, x_801); -lean_ctor_set(x_821, 1, x_820); -x_822 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_801); -if (lean_is_scalar(x_770)) { - x_823 = lean_alloc_ctor(2, 2, 0); -} else { - x_823 = x_770; - lean_ctor_set_tag(x_823, 2); -} -lean_ctor_set(x_823, 0, x_801); -lean_ctor_set(x_823, 1, x_822); -x_824 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_801); -x_825 = l_Lean_Syntax_node2(x_801, x_824, x_823, x_749); -lean_inc(x_801); -x_826 = l_Lean_Syntax_node1(x_801, x_780, x_825); -x_827 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_819); -lean_inc(x_801); -x_828 = l_Lean_Syntax_node2(x_801, x_827, x_819, x_826); -x_829 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_801); -if (lean_is_scalar(x_755)) { - x_830 = lean_alloc_ctor(2, 2, 0); -} else { - x_830 = x_755; - lean_ctor_set_tag(x_830, 2); -} -lean_ctor_set(x_830, 0, x_801); -lean_ctor_set(x_830, 1, x_829); -x_831 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_819, 2); -lean_inc(x_801); -x_832 = l_Lean_Syntax_node2(x_801, x_831, x_819, x_819); -if (lean_obj_tag(x_7) == 0) -{ -x_833 = x_781; -goto block_860; -} -else -{ -lean_object* x_861; lean_object* x_862; -x_861 = lean_ctor_get(x_7, 0); -lean_inc(x_861); -lean_dec(x_7); -x_862 = l_Array_mkArray1___rarg(x_861); -x_833 = x_862; -goto block_860; -} -block_860: -{ -lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; -x_834 = l_Array_append___rarg(x_781, x_833); -lean_dec(x_833); -lean_inc(x_801); -x_835 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_835, 0, x_801); -lean_ctor_set(x_835, 1, x_780); -lean_ctor_set(x_835, 2, x_834); -x_836 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_819, 3); -lean_inc(x_801); -x_837 = l_Lean_Syntax_node6(x_801, x_836, x_835, x_818, x_819, x_819, x_819, x_819); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; -x_838 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_801); -x_839 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_839, 0, x_801); -lean_ctor_set(x_839, 1, x_780); -lean_ctor_set(x_839, 2, x_838); -x_840 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_801); -x_841 = l_Lean_Syntax_node4(x_801, x_840, x_830, x_796, x_832, x_839); -x_842 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_801); -x_843 = l_Lean_Syntax_node4(x_801, x_842, x_821, x_750, x_828, x_841); -x_844 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_845 = l_Lean_Syntax_node2(x_801, x_844, x_837, x_843); -lean_inc(x_845); -x_846 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_846, 0, x_845); -x_847 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_845, x_846, x_12, x_13, x_806); -return x_847; -} -else -{ -lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; -x_848 = lean_ctor_get(x_5, 0); -lean_inc(x_848); -lean_dec(x_5); -x_849 = l_Array_mkArray1___rarg(x_848); -x_850 = l_Array_append___rarg(x_781, x_849); -lean_dec(x_849); -lean_inc(x_801); -x_851 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_851, 0, x_801); -lean_ctor_set(x_851, 1, x_780); -lean_ctor_set(x_851, 2, x_850); -x_852 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_801); -x_853 = l_Lean_Syntax_node4(x_801, x_852, x_830, x_796, x_832, x_851); -x_854 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_801); -x_855 = l_Lean_Syntax_node4(x_801, x_854, x_821, x_750, x_828, x_853); -x_856 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_857 = l_Lean_Syntax_node2(x_801, x_856, x_837, x_855); -lean_inc(x_857); -x_858 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_858, 0, x_857); -x_859 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_857, x_858, x_12, x_13, x_806); -return x_859; -} -} -} -} -} -else -{ -uint8_t x_908; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_908 = !lean_is_exclusive(x_18); -if (x_908 == 0) -{ -return x_18; -} -else -{ -lean_object* x_909; lean_object* x_910; lean_object* x_911; -x_909 = lean_ctor_get(x_18, 0); -x_910 = lean_ctor_get(x_18, 1); -lean_inc(x_910); -lean_inc(x_909); -lean_dec(x_18); -x_911 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_911, 0, x_909); -lean_ctor_set(x_911, 1, x_910); -return x_911; -} -} -} -} -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("name", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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; -x_13 = lean_box(0); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_26; -x_26 = lean_box(0); -x_14 = x_26; -goto block_25; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_6); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_6, 0); -x_29 = l_Lake_DSL_expandIdentOrStrAsIdent(x_28); -lean_ctor_set(x_6, 0, x_29); -x_14 = x_6; -goto block_25; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_6, 0); -lean_inc(x_30); -lean_dec(x_6); -x_31 = l_Lake_DSL_expandIdentOrStrAsIdent(x_30); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_14 = x_32; -goto block_25; -} -} -block_25: -{ -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Lake_DSL_elabConfigDecl___lambda__2(x_7, x_1, x_8, x_2, x_9, x_3, x_4, x_14, x_5, x_13, x_15, x_10, x_11, x_12); -return x_16; -} -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; lean_object* x_23; lean_object* x_24; -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -x_18 = l_Lean_Syntax_getId(x_17); -x_19 = l_Lake_Name_quoteFrom(x_17, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__2; -x_22 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_13, x_21, x_20); -x_23 = lean_box(0); -x_24 = l_Lake_DSL_elabConfigDecl___lambda__2(x_7, x_1, x_8, x_2, x_9, x_3, x_4, x_14, x_5, x_22, x_23, x_10, x_11, x_12); -lean_dec(x_14); -return x_24; -} -} -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { _start: { lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; @@ -7598,10 +3702,10 @@ x_19 = lean_array_size(x_1); x_20 = 0; lean_inc(x_15); lean_inc(x_2); -x_21 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__9(x_2, x_3, x_4, x_5, x_1, x_18, x_1, x_19, x_20, x_13, x_15, x_16, x_17); +x_21 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3(x_2, x_3, x_4, x_5, x_1, x_18, x_1, x_19, x_20, x_13, x_15, x_16, x_17); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +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; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -7610,2150 +3714,803 @@ lean_dec(x_21); lean_inc(x_4); x_24 = lean_array_mk(x_4); lean_inc(x_24); -x_25 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__10(x_4, x_24, x_22, x_15, x_16, x_23); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -x_29 = l_Lean_Elab_Command_getRef(x_15, x_16, x_28); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); +x_25 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(x_4, x_24, x_22, x_15, x_16, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = l_Lean_Elab_Command_getRef(x_15, x_16, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} x_33 = 0; -x_34 = l_Lean_mkCIdentFrom(x_31, x_2, x_33); -lean_dec(x_31); +x_34 = l_Lean_mkCIdentFrom(x_30, x_2, x_33); +lean_dec(x_30); if (lean_obj_tag(x_11) == 0) { -lean_free_object(x_25); if (lean_obj_tag(x_12) == 0) { -lean_object* x_688; uint8_t x_689; -x_688 = l_Lean_Elab_Command_getRef(x_15, x_16, x_32); -x_689 = !lean_is_exclusive(x_688); -if (x_689 == 0) -{ -lean_object* x_690; lean_object* x_691; lean_object* x_692; -x_690 = lean_ctor_get(x_688, 0); -x_691 = lean_ctor_get(x_688, 1); -lean_inc(x_16); -lean_inc(x_15); -x_692 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_690, x_33, x_15, x_16, x_691); -lean_dec(x_690); -if (lean_obj_tag(x_692) == 0) -{ -lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; -x_693 = lean_ctor_get(x_692, 0); -lean_inc(x_693); -x_694 = lean_ctor_get(x_692, 1); -lean_inc(x_694); -lean_dec(x_692); -x_695 = lean_box(2); -x_696 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_697 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_697, 0, x_695); -lean_ctor_set(x_697, 1, x_696); -lean_ctor_set(x_697, 2, x_24); -lean_ctor_set_tag(x_688, 1); -lean_ctor_set(x_688, 1, x_4); -lean_ctor_set(x_688, 0, x_697); -lean_ctor_set_tag(x_29, 1); -lean_ctor_set(x_29, 1, x_688); -lean_ctor_set(x_29, 0, x_693); -x_698 = lean_array_mk(x_29); -x_699 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_700 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_700, 0, x_695); -lean_ctor_set(x_700, 1, x_699); -lean_ctor_set(x_700, 2, x_698); -x_35 = x_700; -x_36 = x_694; -goto block_687; -} -else -{ -uint8_t x_701; -lean_free_object(x_688); -lean_dec(x_34); -lean_free_object(x_29); -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_701 = !lean_is_exclusive(x_692); -if (x_701 == 0) -{ -return x_692; -} -else -{ -lean_object* x_702; lean_object* x_703; lean_object* x_704; -x_702 = lean_ctor_get(x_692, 0); -x_703 = lean_ctor_get(x_692, 1); -lean_inc(x_703); -lean_inc(x_702); -lean_dec(x_692); -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_702); -lean_ctor_set(x_704, 1, x_703); -return x_704; -} -} -} -else -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_705 = lean_ctor_get(x_688, 0); -x_706 = lean_ctor_get(x_688, 1); -lean_inc(x_706); -lean_inc(x_705); -lean_dec(x_688); -lean_inc(x_16); -lean_inc(x_15); -x_707 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_705, x_33, x_15, x_16, x_706); -lean_dec(x_705); -if (lean_obj_tag(x_707) == 0) -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; -x_708 = lean_ctor_get(x_707, 0); -lean_inc(x_708); -x_709 = lean_ctor_get(x_707, 1); -lean_inc(x_709); -lean_dec(x_707); -x_710 = lean_box(2); -x_711 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_712 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_712, 0, x_710); -lean_ctor_set(x_712, 1, x_711); -lean_ctor_set(x_712, 2, x_24); -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_4); -lean_ctor_set_tag(x_29, 1); -lean_ctor_set(x_29, 1, x_713); -lean_ctor_set(x_29, 0, x_708); -x_714 = lean_array_mk(x_29); -x_715 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_716 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_716, 0, x_710); -lean_ctor_set(x_716, 1, x_715); -lean_ctor_set(x_716, 2, x_714); -x_35 = x_716; -x_36 = x_709; -goto block_687; -} -else -{ -lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; -lean_dec(x_34); -lean_free_object(x_29); -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_717 = lean_ctor_get(x_707, 0); -lean_inc(x_717); -x_718 = lean_ctor_get(x_707, 1); -lean_inc(x_718); -if (lean_is_exclusive(x_707)) { - lean_ctor_release(x_707, 0); - lean_ctor_release(x_707, 1); - x_719 = x_707; -} else { - lean_dec_ref(x_707); - x_719 = lean_box(0); -} -if (lean_is_scalar(x_719)) { - x_720 = lean_alloc_ctor(1, 2, 0); -} else { - x_720 = x_719; -} -lean_ctor_set(x_720, 0, x_717); -lean_ctor_set(x_720, 1, x_718); -return x_720; -} -} -} -else -{ -lean_object* x_721; lean_object* x_722; uint8_t x_723; -x_721 = lean_ctor_get(x_12, 0); -lean_inc(x_721); -lean_dec(x_12); -x_722 = l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(x_721, x_33, x_15, x_16, x_32); -x_723 = !lean_is_exclusive(x_722); -if (x_723 == 0) -{ -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; -x_724 = lean_ctor_get(x_722, 0); -x_725 = lean_ctor_get(x_722, 1); -x_726 = lean_box(2); -x_727 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_728 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_728, 0, x_726); -lean_ctor_set(x_728, 1, x_727); -lean_ctor_set(x_728, 2, x_24); -lean_ctor_set_tag(x_722, 1); -lean_ctor_set(x_722, 1, x_4); -lean_ctor_set(x_722, 0, x_728); -lean_ctor_set_tag(x_29, 1); -lean_ctor_set(x_29, 1, x_722); -lean_ctor_set(x_29, 0, x_724); -x_729 = lean_array_mk(x_29); -x_730 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_731 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_731, 0, x_726); -lean_ctor_set(x_731, 1, x_730); -lean_ctor_set(x_731, 2, x_729); -x_35 = x_731; -x_36 = x_725; -goto block_687; -} -else -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; -x_732 = lean_ctor_get(x_722, 0); -x_733 = lean_ctor_get(x_722, 1); -lean_inc(x_733); -lean_inc(x_732); -lean_dec(x_722); -x_734 = lean_box(2); -x_735 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_736 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_736, 0, x_734); -lean_ctor_set(x_736, 1, x_735); -lean_ctor_set(x_736, 2, x_24); -x_737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_4); -lean_ctor_set_tag(x_29, 1); -lean_ctor_set(x_29, 1, x_737); -lean_ctor_set(x_29, 0, x_732); -x_738 = lean_array_mk(x_29); -x_739 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_740 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_740, 0, x_734); -lean_ctor_set(x_740, 1, x_739); -lean_ctor_set(x_740, 2, x_738); -x_35 = x_740; -x_36 = x_733; -goto block_687; -} -} -} -else -{ -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; -x_741 = lean_ctor_get(x_11, 0); -x_742 = lean_box(2); -x_743 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_744 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_744, 0, x_742); -lean_ctor_set(x_744, 1, x_743); -lean_ctor_set(x_744, 2, x_24); -lean_ctor_set_tag(x_29, 1); -lean_ctor_set(x_29, 1, x_4); -lean_ctor_set(x_29, 0, x_744); -lean_inc(x_741); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_29); -lean_ctor_set(x_25, 0, x_741); -x_745 = lean_array_mk(x_25); -x_746 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_747 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_747, 0, x_742); -lean_ctor_set(x_747, 1, x_746); -lean_ctor_set(x_747, 2, x_745); -x_35 = x_747; -x_36 = x_32; -goto block_687; -} -else -{ -lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; -x_748 = lean_ctor_get(x_11, 0); -x_749 = lean_ctor_get(x_12, 0); -lean_inc(x_749); -lean_dec(x_12); -x_750 = l_Lean_mkIdentFrom(x_748, x_749, x_33); -x_751 = lean_box(2); -x_752 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_753 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_753, 0, x_751); -lean_ctor_set(x_753, 1, x_752); -lean_ctor_set(x_753, 2, x_24); -lean_ctor_set_tag(x_29, 1); -lean_ctor_set(x_29, 1, x_4); -lean_ctor_set(x_29, 0, x_753); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_29); -lean_ctor_set(x_25, 0, x_750); -x_754 = lean_array_mk(x_25); -x_755 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_756 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_756, 0, x_751); -lean_ctor_set(x_756, 1, x_755); -lean_ctor_set(x_756, 2, x_754); -x_35 = x_756; -x_36 = x_32; -goto block_687; -} -} -block_687: -{ -lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Elab_Command_getRef(x_15, x_16, x_36); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_ctor_get(x_37, 1); -x_41 = l_Lean_replaceRef(x_6, x_39); -lean_dec(x_39); -x_42 = lean_ctor_get(x_15, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_15, 1); -lean_inc(x_43); -x_44 = lean_ctor_get(x_15, 2); -lean_inc(x_44); -x_45 = lean_ctor_get(x_15, 3); -lean_inc(x_45); -x_46 = lean_ctor_get(x_15, 4); -lean_inc(x_46); -x_47 = lean_ctor_get(x_15, 5); -lean_inc(x_47); -x_48 = lean_ctor_get(x_15, 7); -lean_inc(x_48); -x_49 = lean_ctor_get(x_15, 8); -lean_inc(x_49); -x_50 = lean_ctor_get_uint8(x_15, sizeof(void*)*9); -x_51 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_51, 0, x_42); -lean_ctor_set(x_51, 1, x_43); -lean_ctor_set(x_51, 2, x_44); -lean_ctor_set(x_51, 3, x_45); -lean_ctor_set(x_51, 4, x_46); -lean_ctor_set(x_51, 5, x_47); -lean_ctor_set(x_51, 6, x_41); -lean_ctor_set(x_51, 7, x_48); -lean_ctor_set(x_51, 8, x_49); -lean_ctor_set_uint8(x_51, sizeof(void*)*9, x_50); -x_52 = l_Lean_Elab_Command_getRef(x_51, x_16, x_40); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_ctor_get(x_52, 1); -x_56 = l_Lean_SourceInfo_fromRef(x_54, x_33); -lean_dec(x_54); -x_57 = l_Lean_Elab_Command_getCurrMacroScope(x_51, x_16, x_55); -lean_dec(x_51); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_59 = lean_ctor_get(x_57, 1); -x_60 = lean_ctor_get(x_57, 0); -lean_dec(x_60); -x_61 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_59); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; size_t 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_63 = lean_ctor_get(x_61, 1); -x_64 = lean_ctor_get(x_61, 0); -lean_dec(x_64); -x_65 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_56); -lean_ctor_set_tag(x_61, 2); -lean_ctor_set(x_61, 1, x_65); -lean_ctor_set(x_61, 0, x_56); -x_66 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_67 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_56); -x_68 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_68, 0, x_56); -lean_ctor_set(x_68, 1, x_66); -lean_ctor_set(x_68, 2, x_67); -x_69 = lean_array_size(x_27); -x_70 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_69, x_20, x_27); -x_71 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_72 = l_Lean_mkSepArray(x_70, x_71); -lean_dec(x_70); -x_73 = l_Array_append___rarg(x_67, x_72); -lean_dec(x_72); -lean_inc(x_56); -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_56); -lean_ctor_set(x_74, 1, x_66); -lean_ctor_set(x_74, 2, x_73); -x_75 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_56); -x_76 = l_Lean_Syntax_node1(x_56, x_75, x_74); -x_77 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_68); -lean_inc(x_56); -x_78 = l_Lean_Syntax_node1(x_56, x_77, x_68); -x_79 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_56); -lean_ctor_set_tag(x_57, 2); -lean_ctor_set(x_57, 1, x_79); -lean_ctor_set(x_57, 0, x_56); -x_80 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_68); -x_81 = l_Lean_Syntax_node6(x_56, x_80, x_61, x_68, x_76, x_78, x_68, x_57); -x_82 = l_Lean_Elab_Command_getRef(x_15, x_16, x_63); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_84 = lean_ctor_get(x_82, 0); -x_85 = lean_ctor_get(x_82, 1); -x_86 = l_Lean_SourceInfo_fromRef(x_84, x_33); -lean_dec(x_84); -x_87 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_85); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_89 = lean_ctor_get(x_87, 1); -x_90 = lean_ctor_get(x_87, 0); -lean_dec(x_90); -x_91 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_89); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) -{ -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; -x_93 = lean_ctor_get(x_91, 1); -x_94 = lean_ctor_get(x_91, 0); -lean_dec(x_94); -x_95 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_86); -lean_ctor_set_tag(x_91, 2); -lean_ctor_set(x_91, 1, x_95); -lean_ctor_set(x_91, 0, x_86); -x_96 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_97 = l_Lean_Syntax_SepArray_ofElems(x_96, x_7); -x_98 = l_Array_append___rarg(x_67, x_97); -lean_dec(x_97); -lean_inc(x_86); -x_99 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_99, 0, x_86); -lean_ctor_set(x_99, 1, x_66); -lean_ctor_set(x_99, 2, x_98); -x_100 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_86); -lean_ctor_set_tag(x_87, 2); -lean_ctor_set(x_87, 1, x_100); -lean_ctor_set(x_87, 0, x_86); -x_101 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_86); -x_102 = l_Lean_Syntax_node3(x_86, x_101, x_91, x_99, x_87); -lean_inc(x_86); -x_103 = l_Lean_Syntax_node1(x_86, x_66, x_102); -lean_inc(x_86); -x_104 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_104, 0, x_86); -lean_ctor_set(x_104, 1, x_66); -lean_ctor_set(x_104, 2, x_67); -x_105 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_86); -lean_ctor_set_tag(x_82, 2); -lean_ctor_set(x_82, 1, x_105); -lean_ctor_set(x_82, 0, x_86); -x_106 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_86); -lean_ctor_set_tag(x_52, 2); -lean_ctor_set(x_52, 1, x_106); -lean_ctor_set(x_52, 0, x_86); -x_107 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_86); -x_108 = l_Lean_Syntax_node2(x_86, x_107, x_52, x_34); -lean_inc(x_86); -x_109 = l_Lean_Syntax_node1(x_86, x_66, x_108); -x_110 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_104); -lean_inc(x_86); -x_111 = l_Lean_Syntax_node2(x_86, x_110, x_104, x_109); -x_112 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_86); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_112); -lean_ctor_set(x_37, 0, x_86); -x_113 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_104, 2); -lean_inc(x_86); -x_114 = l_Lean_Syntax_node2(x_86, x_113, x_104, x_104); -if (lean_obj_tag(x_10) == 0) -{ -x_115 = x_67; -goto block_142; -} -else -{ -lean_object* x_143; lean_object* x_144; -x_143 = lean_ctor_get(x_10, 0); -lean_inc(x_143); -lean_dec(x_10); -x_144 = l_Array_mkArray1___rarg(x_143); -x_115 = x_144; -goto block_142; -} -block_142: -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_116 = l_Array_append___rarg(x_67, x_115); -lean_dec(x_115); -lean_inc(x_86); -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_86); -lean_ctor_set(x_117, 1, x_66); -lean_ctor_set(x_117, 2, x_116); -x_118 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_104, 3); -lean_inc(x_86); -x_119 = l_Lean_Syntax_node6(x_86, x_118, x_117, x_103, x_104, x_104, x_104, x_104); -if (lean_obj_tag(x_8) == 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 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_86); -x_121 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_121, 0, x_86); -lean_ctor_set(x_121, 1, x_66); -lean_ctor_set(x_121, 2, x_120); -x_122 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_86); -x_123 = l_Lean_Syntax_node4(x_86, x_122, x_37, x_81, x_114, x_121); -x_124 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_86); -x_125 = l_Lean_Syntax_node4(x_86, x_124, x_82, x_35, x_111, x_123); -x_126 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_127 = l_Lean_Syntax_node2(x_86, x_126, x_119, x_125); -lean_inc(x_127); -x_128 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_128, 0, x_127); -x_129 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_127, x_128, x_15, x_16, x_93); -return x_129; -} -else -{ -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; -x_130 = lean_ctor_get(x_8, 0); -lean_inc(x_130); -lean_dec(x_8); -x_131 = l_Array_mkArray1___rarg(x_130); -x_132 = l_Array_append___rarg(x_67, x_131); -lean_dec(x_131); -lean_inc(x_86); -x_133 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_133, 0, x_86); -lean_ctor_set(x_133, 1, x_66); -lean_ctor_set(x_133, 2, x_132); -x_134 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_86); -x_135 = l_Lean_Syntax_node4(x_86, x_134, x_37, x_81, x_114, x_133); -x_136 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_86); -x_137 = l_Lean_Syntax_node4(x_86, x_136, x_82, x_35, x_111, x_135); -x_138 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_139 = l_Lean_Syntax_node2(x_86, x_138, x_119, x_137); -lean_inc(x_139); -x_140 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_140, 0, x_139); -x_141 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_139, x_140, x_15, x_16, x_93); -return x_141; -} -} -} -else -{ -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; -x_145 = lean_ctor_get(x_91, 1); -lean_inc(x_145); -lean_dec(x_91); -x_146 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_86); -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_86); -lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_149 = l_Lean_Syntax_SepArray_ofElems(x_148, x_7); -x_150 = l_Array_append___rarg(x_67, x_149); -lean_dec(x_149); -lean_inc(x_86); -x_151 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_151, 0, x_86); -lean_ctor_set(x_151, 1, x_66); -lean_ctor_set(x_151, 2, x_150); -x_152 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_86); -lean_ctor_set_tag(x_87, 2); -lean_ctor_set(x_87, 1, x_152); -lean_ctor_set(x_87, 0, x_86); -x_153 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_86); -x_154 = l_Lean_Syntax_node3(x_86, x_153, x_147, x_151, x_87); -lean_inc(x_86); -x_155 = l_Lean_Syntax_node1(x_86, x_66, x_154); -lean_inc(x_86); -x_156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_156, 0, x_86); -lean_ctor_set(x_156, 1, x_66); -lean_ctor_set(x_156, 2, x_67); -x_157 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_86); -lean_ctor_set_tag(x_82, 2); -lean_ctor_set(x_82, 1, x_157); -lean_ctor_set(x_82, 0, x_86); -x_158 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_86); -lean_ctor_set_tag(x_52, 2); -lean_ctor_set(x_52, 1, x_158); -lean_ctor_set(x_52, 0, x_86); -x_159 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_86); -x_160 = l_Lean_Syntax_node2(x_86, x_159, x_52, x_34); -lean_inc(x_86); -x_161 = l_Lean_Syntax_node1(x_86, x_66, x_160); -x_162 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_156); -lean_inc(x_86); -x_163 = l_Lean_Syntax_node2(x_86, x_162, x_156, x_161); -x_164 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_86); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_164); -lean_ctor_set(x_37, 0, x_86); -x_165 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_156, 2); -lean_inc(x_86); -x_166 = l_Lean_Syntax_node2(x_86, x_165, x_156, x_156); -if (lean_obj_tag(x_10) == 0) -{ -x_167 = x_67; -goto block_194; -} -else -{ -lean_object* x_195; lean_object* x_196; -x_195 = lean_ctor_get(x_10, 0); -lean_inc(x_195); -lean_dec(x_10); -x_196 = l_Array_mkArray1___rarg(x_195); -x_167 = x_196; -goto block_194; -} -block_194: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_168 = l_Array_append___rarg(x_67, x_167); -lean_dec(x_167); -lean_inc(x_86); -x_169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_169, 0, x_86); -lean_ctor_set(x_169, 1, x_66); -lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_156, 3); -lean_inc(x_86); -x_171 = l_Lean_Syntax_node6(x_86, x_170, x_169, x_155, x_156, x_156, x_156, x_156); -if (lean_obj_tag(x_8) == 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 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_86); -x_173 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_173, 0, x_86); -lean_ctor_set(x_173, 1, x_66); -lean_ctor_set(x_173, 2, x_172); -x_174 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_86); -x_175 = l_Lean_Syntax_node4(x_86, x_174, x_37, x_81, x_166, x_173); -x_176 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_86); -x_177 = l_Lean_Syntax_node4(x_86, x_176, x_82, x_35, x_163, x_175); -x_178 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_179 = l_Lean_Syntax_node2(x_86, x_178, x_171, x_177); -lean_inc(x_179); -x_180 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_180, 0, x_179); -x_181 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_179, x_180, x_15, x_16, x_145); -return x_181; -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_182 = lean_ctor_get(x_8, 0); -lean_inc(x_182); -lean_dec(x_8); -x_183 = l_Array_mkArray1___rarg(x_182); -x_184 = l_Array_append___rarg(x_67, x_183); -lean_dec(x_183); -lean_inc(x_86); -x_185 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_185, 0, x_86); -lean_ctor_set(x_185, 1, x_66); -lean_ctor_set(x_185, 2, x_184); -x_186 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_86); -x_187 = l_Lean_Syntax_node4(x_86, x_186, x_37, x_81, x_166, x_185); -x_188 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_86); -x_189 = l_Lean_Syntax_node4(x_86, x_188, x_82, x_35, x_163, x_187); -x_190 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_191 = l_Lean_Syntax_node2(x_86, x_190, x_171, x_189); -lean_inc(x_191); -x_192 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_192, 0, x_191); -x_193 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_191, x_192, x_15, x_16, x_145); -return x_193; -} -} -} -} -else -{ -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; -x_197 = lean_ctor_get(x_87, 1); -lean_inc(x_197); -lean_dec(x_87); -x_198 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_197); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_200 = x_198; -} else { - lean_dec_ref(x_198); - x_200 = lean_box(0); -} -x_201 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_86); -if (lean_is_scalar(x_200)) { - x_202 = lean_alloc_ctor(2, 2, 0); -} else { - x_202 = x_200; - lean_ctor_set_tag(x_202, 2); -} -lean_ctor_set(x_202, 0, x_86); -lean_ctor_set(x_202, 1, x_201); -x_203 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_204 = l_Lean_Syntax_SepArray_ofElems(x_203, x_7); -x_205 = l_Array_append___rarg(x_67, x_204); -lean_dec(x_204); -lean_inc(x_86); -x_206 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_206, 0, x_86); -lean_ctor_set(x_206, 1, x_66); -lean_ctor_set(x_206, 2, x_205); -x_207 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_86); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_86); -lean_ctor_set(x_208, 1, x_207); -x_209 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_86); -x_210 = l_Lean_Syntax_node3(x_86, x_209, x_202, x_206, x_208); -lean_inc(x_86); -x_211 = l_Lean_Syntax_node1(x_86, x_66, x_210); -lean_inc(x_86); -x_212 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_212, 0, x_86); -lean_ctor_set(x_212, 1, x_66); -lean_ctor_set(x_212, 2, x_67); -x_213 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_86); -lean_ctor_set_tag(x_82, 2); -lean_ctor_set(x_82, 1, x_213); -lean_ctor_set(x_82, 0, x_86); -x_214 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_86); -lean_ctor_set_tag(x_52, 2); -lean_ctor_set(x_52, 1, x_214); -lean_ctor_set(x_52, 0, x_86); -x_215 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_86); -x_216 = l_Lean_Syntax_node2(x_86, x_215, x_52, x_34); -lean_inc(x_86); -x_217 = l_Lean_Syntax_node1(x_86, x_66, x_216); -x_218 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_212); -lean_inc(x_86); -x_219 = l_Lean_Syntax_node2(x_86, x_218, x_212, x_217); -x_220 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_86); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_220); -lean_ctor_set(x_37, 0, x_86); -x_221 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_212, 2); -lean_inc(x_86); -x_222 = l_Lean_Syntax_node2(x_86, x_221, x_212, x_212); -if (lean_obj_tag(x_10) == 0) -{ -x_223 = x_67; -goto block_250; -} -else -{ -lean_object* x_251; lean_object* x_252; -x_251 = lean_ctor_get(x_10, 0); -lean_inc(x_251); -lean_dec(x_10); -x_252 = l_Array_mkArray1___rarg(x_251); -x_223 = x_252; -goto block_250; -} -block_250: -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_224 = l_Array_append___rarg(x_67, x_223); -lean_dec(x_223); -lean_inc(x_86); -x_225 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_225, 0, x_86); -lean_ctor_set(x_225, 1, x_66); -lean_ctor_set(x_225, 2, x_224); -x_226 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_212, 3); -lean_inc(x_86); -x_227 = l_Lean_Syntax_node6(x_86, x_226, x_225, x_211, x_212, x_212, x_212, x_212); -if (lean_obj_tag(x_8) == 0) -{ -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; -x_228 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_86); -x_229 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_229, 0, x_86); -lean_ctor_set(x_229, 1, x_66); -lean_ctor_set(x_229, 2, x_228); -x_230 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_86); -x_231 = l_Lean_Syntax_node4(x_86, x_230, x_37, x_81, x_222, x_229); -x_232 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_86); -x_233 = l_Lean_Syntax_node4(x_86, x_232, x_82, x_35, x_219, x_231); -x_234 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_235 = l_Lean_Syntax_node2(x_86, x_234, x_227, x_233); -lean_inc(x_235); -x_236 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_236, 0, x_235); -x_237 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_235, x_236, x_15, x_16, x_199); -return x_237; -} -else -{ -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; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_238 = lean_ctor_get(x_8, 0); -lean_inc(x_238); -lean_dec(x_8); -x_239 = l_Array_mkArray1___rarg(x_238); -x_240 = l_Array_append___rarg(x_67, x_239); -lean_dec(x_239); -lean_inc(x_86); -x_241 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_241, 0, x_86); -lean_ctor_set(x_241, 1, x_66); -lean_ctor_set(x_241, 2, x_240); -x_242 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_86); -x_243 = l_Lean_Syntax_node4(x_86, x_242, x_37, x_81, x_222, x_241); -x_244 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_86); -x_245 = l_Lean_Syntax_node4(x_86, x_244, x_82, x_35, x_219, x_243); -x_246 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_247 = l_Lean_Syntax_node2(x_86, x_246, x_227, x_245); -lean_inc(x_247); -x_248 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_248, 0, x_247); -x_249 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_247, x_248, x_15, x_16, x_199); -return x_249; -} -} -} -} -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; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; 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; lean_object* x_284; lean_object* x_285; -x_253 = lean_ctor_get(x_82, 0); -x_254 = lean_ctor_get(x_82, 1); -lean_inc(x_254); -lean_inc(x_253); -lean_dec(x_82); -x_255 = l_Lean_SourceInfo_fromRef(x_253, x_33); -lean_dec(x_253); -x_256 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_254); -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_258 = x_256; -} else { - lean_dec_ref(x_256); - x_258 = lean_box(0); -} -x_259 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_257); -x_260 = lean_ctor_get(x_259, 1); -lean_inc(x_260); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - x_261 = x_259; -} else { - lean_dec_ref(x_259); - x_261 = lean_box(0); -} -x_262 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_255); -if (lean_is_scalar(x_261)) { - x_263 = lean_alloc_ctor(2, 2, 0); -} else { - x_263 = x_261; - lean_ctor_set_tag(x_263, 2); -} -lean_ctor_set(x_263, 0, x_255); -lean_ctor_set(x_263, 1, x_262); -x_264 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_265 = l_Lean_Syntax_SepArray_ofElems(x_264, x_7); -x_266 = l_Array_append___rarg(x_67, x_265); -lean_dec(x_265); -lean_inc(x_255); -x_267 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_267, 0, x_255); -lean_ctor_set(x_267, 1, x_66); -lean_ctor_set(x_267, 2, x_266); -x_268 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_255); -if (lean_is_scalar(x_258)) { - x_269 = lean_alloc_ctor(2, 2, 0); -} else { - x_269 = x_258; - lean_ctor_set_tag(x_269, 2); -} -lean_ctor_set(x_269, 0, x_255); -lean_ctor_set(x_269, 1, x_268); -x_270 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_255); -x_271 = l_Lean_Syntax_node3(x_255, x_270, x_263, x_267, x_269); -lean_inc(x_255); -x_272 = l_Lean_Syntax_node1(x_255, x_66, x_271); -lean_inc(x_255); -x_273 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_273, 0, x_255); -lean_ctor_set(x_273, 1, x_66); -lean_ctor_set(x_273, 2, x_67); -x_274 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_255); -x_275 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_275, 0, x_255); -lean_ctor_set(x_275, 1, x_274); -x_276 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_255); -lean_ctor_set_tag(x_52, 2); -lean_ctor_set(x_52, 1, x_276); -lean_ctor_set(x_52, 0, x_255); -x_277 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_255); -x_278 = l_Lean_Syntax_node2(x_255, x_277, x_52, x_34); -lean_inc(x_255); -x_279 = l_Lean_Syntax_node1(x_255, x_66, x_278); -x_280 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_273); -lean_inc(x_255); -x_281 = l_Lean_Syntax_node2(x_255, x_280, x_273, x_279); -x_282 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_255); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_282); -lean_ctor_set(x_37, 0, x_255); -x_283 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_273, 2); -lean_inc(x_255); -x_284 = l_Lean_Syntax_node2(x_255, x_283, x_273, x_273); -if (lean_obj_tag(x_10) == 0) -{ -x_285 = x_67; -goto block_312; -} -else -{ -lean_object* x_313; lean_object* x_314; -x_313 = lean_ctor_get(x_10, 0); -lean_inc(x_313); -lean_dec(x_10); -x_314 = l_Array_mkArray1___rarg(x_313); -x_285 = x_314; -goto block_312; -} -block_312: -{ lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_286 = l_Array_append___rarg(x_67, x_285); -lean_dec(x_285); -lean_inc(x_255); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_255); -lean_ctor_set(x_287, 1, x_66); -lean_ctor_set(x_287, 2, x_286); -x_288 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_273, 3); -lean_inc(x_255); -x_289 = l_Lean_Syntax_node6(x_255, x_288, x_287, x_272, x_273, x_273, x_273, x_273); -if (lean_obj_tag(x_8) == 0) +x_286 = l_Lean_Elab_Command_getRef(x_15, x_16, x_31); +x_287 = lean_ctor_get(x_286, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_286, 1); +lean_inc(x_288); +lean_dec(x_286); +lean_inc(x_16); +lean_inc(x_15); +x_289 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__5(x_287, x_33, x_15, x_16, x_288); +lean_dec(x_287); +if (lean_obj_tag(x_289) == 0) { -lean_object* x_290; 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; -x_290 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_255); -x_291 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_291, 0, x_255); -lean_ctor_set(x_291, 1, x_66); -lean_ctor_set(x_291, 2, x_290); -x_292 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_255); -x_293 = l_Lean_Syntax_node4(x_255, x_292, x_37, x_81, x_284, x_291); -x_294 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_255); -x_295 = l_Lean_Syntax_node4(x_255, x_294, x_275, x_35, x_281, x_293); -x_296 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_297 = l_Lean_Syntax_node2(x_255, x_296, x_289, x_295); -lean_inc(x_297); -x_298 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_298, 0, x_297); -x_299 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_297, x_298, x_15, x_16, x_260); -return x_299; +lean_object* x_290; lean_object* x_291; +x_290 = lean_ctor_get(x_289, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_289, 1); +lean_inc(x_291); +lean_dec(x_289); +x_35 = x_290; +x_36 = x_291; +goto block_285; } else { -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; lean_object* x_310; lean_object* x_311; -x_300 = lean_ctor_get(x_8, 0); +uint8_t x_292; +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_24); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +x_292 = !lean_is_exclusive(x_289); +if (x_292 == 0) +{ +return x_289; +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_293 = lean_ctor_get(x_289, 0); +x_294 = lean_ctor_get(x_289, 1); +lean_inc(x_294); +lean_inc(x_293); +lean_dec(x_289); +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_293); +lean_ctor_set(x_295, 1, x_294); +return x_295; +} +} +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_296 = lean_ctor_get(x_12, 0); +lean_inc(x_296); +lean_dec(x_12); +x_297 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_296, x_33, x_15, x_16, x_31); +x_298 = lean_ctor_get(x_297, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_297, 1); +lean_inc(x_299); +lean_dec(x_297); +x_35 = x_298; +x_36 = x_299; +goto block_285; +} +} +else +{ +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_300; +x_300 = lean_ctor_get(x_11, 0); lean_inc(x_300); -lean_dec(x_8); -x_301 = l_Array_mkArray1___rarg(x_300); -x_302 = l_Array_append___rarg(x_67, x_301); +lean_dec(x_11); +x_35 = x_300; +x_36 = x_31; +goto block_285; +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_11, 0); +lean_inc(x_301); +lean_dec(x_11); +x_302 = lean_ctor_get(x_12, 0); +lean_inc(x_302); +lean_dec(x_12); +x_303 = l_Lean_mkIdentFrom(x_301, x_302, x_33); lean_dec(x_301); -lean_inc(x_255); -x_303 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_303, 0, x_255); -lean_ctor_set(x_303, 1, x_66); -lean_ctor_set(x_303, 2, x_302); -x_304 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_255); -x_305 = l_Lean_Syntax_node4(x_255, x_304, x_37, x_81, x_284, x_303); -x_306 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_255); -x_307 = l_Lean_Syntax_node4(x_255, x_306, x_275, x_35, x_281, x_305); -x_308 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_309 = l_Lean_Syntax_node2(x_255, x_308, x_289, x_307); -lean_inc(x_309); -x_310 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_310, 0, x_309); -x_311 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_309, x_310, x_15, x_16, x_260); -return x_311; +x_35 = x_303; +x_36 = x_31; +goto block_285; } } +block_285: +{ +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; +x_37 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__1; +if (lean_is_scalar(x_32)) { + x_38 = lean_alloc_ctor(2, 2, 0); +} else { + x_38 = x_32; + lean_ctor_set_tag(x_38, 2); } +lean_ctor_set(x_38, 0, x_6); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__3; +x_40 = l_Lean_Syntax_mkSep(x_26, x_39); +lean_dec(x_26); +lean_inc(x_4); +if (lean_is_scalar(x_28)) { + x_41 = lean_alloc_ctor(1, 2, 0); +} else { + x_41 = x_28; + lean_ctor_set_tag(x_41, 1); +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_4); +x_42 = lean_array_mk(x_41); +x_43 = lean_box(2); +x_44 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_42); +x_46 = l_Lean_Elab_Command_getRef(x_15, x_16, x_36); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_281; +x_281 = lean_box(0); +x_47 = x_281; +goto block_280; } else { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; size_t 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; 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; lean_object* x_343; lean_object* x_344; lean_object* x_345; 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; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; 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; lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_315 = lean_ctor_get(x_61, 1); -lean_inc(x_315); +uint8_t x_282; +x_282 = !lean_is_exclusive(x_10); +if (x_282 == 0) +{ +x_47 = x_10; +goto block_280; +} +else +{ +lean_object* x_283; lean_object* x_284; +x_283 = lean_ctor_get(x_10, 0); +lean_inc(x_283); +lean_dec(x_10); +x_284 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_284, 0, x_283); +x_47 = x_284; +goto block_280; +} +} +block_280: +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_46); +if (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; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_49 = lean_ctor_get(x_46, 0); +x_50 = lean_ctor_get(x_46, 1); +x_51 = l_Lean_mkOptionalNode(x_47); +lean_dec(x_47); +lean_inc(x_4); +lean_ctor_set_tag(x_46, 1); +lean_ctor_set(x_46, 1, x_4); +lean_ctor_set(x_46, 0, x_51); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_45); +lean_ctor_set(x_52, 1, x_46); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_38); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_array_mk(x_53); +x_55 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_43); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = l_Lean_SourceInfo_fromRef(x_49, x_33); +lean_dec(x_49); +x_58 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_50); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_58, 1); +x_61 = lean_ctor_get(x_58, 0); lean_dec(x_61); -x_316 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_56); -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_56); -lean_ctor_set(x_317, 1, x_316); -x_318 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_319 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_56); -x_320 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_320, 0, x_56); -lean_ctor_set(x_320, 1, x_318); -lean_ctor_set(x_320, 2, x_319); -x_321 = lean_array_size(x_27); -x_322 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_321, x_20, x_27); -x_323 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_324 = l_Lean_mkSepArray(x_322, x_323); -lean_dec(x_322); -x_325 = l_Array_append___rarg(x_319, x_324); -lean_dec(x_324); -lean_inc(x_56); -x_326 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_326, 0, x_56); -lean_ctor_set(x_326, 1, x_318); -lean_ctor_set(x_326, 2, x_325); -x_327 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_56); -x_328 = l_Lean_Syntax_node1(x_56, x_327, x_326); -x_329 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_320); -lean_inc(x_56); -x_330 = l_Lean_Syntax_node1(x_56, x_329, x_320); -x_331 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_56); -lean_ctor_set_tag(x_57, 2); -lean_ctor_set(x_57, 1, x_331); -lean_ctor_set(x_57, 0, x_56); -x_332 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_320); -x_333 = l_Lean_Syntax_node6(x_56, x_332, x_317, x_320, x_328, x_330, x_320, x_57); -x_334 = l_Lean_Elab_Command_getRef(x_15, x_16, x_315); -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_337 = x_334; -} else { - lean_dec_ref(x_334); - x_337 = lean_box(0); -} -x_338 = l_Lean_SourceInfo_fromRef(x_335, x_33); -lean_dec(x_335); -x_339 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_336); -x_340 = lean_ctor_get(x_339, 1); -lean_inc(x_340); -if (lean_is_exclusive(x_339)) { - lean_ctor_release(x_339, 0); - lean_ctor_release(x_339, 1); - x_341 = x_339; -} else { - lean_dec_ref(x_339); - x_341 = lean_box(0); -} -x_342 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_340); -x_343 = lean_ctor_get(x_342, 1); -lean_inc(x_343); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_344 = x_342; -} else { - lean_dec_ref(x_342); - x_344 = lean_box(0); -} -x_345 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_338); -if (lean_is_scalar(x_344)) { - x_346 = lean_alloc_ctor(2, 2, 0); -} else { - x_346 = x_344; - lean_ctor_set_tag(x_346, 2); -} -lean_ctor_set(x_346, 0, x_338); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_348 = l_Lean_Syntax_SepArray_ofElems(x_347, x_7); -x_349 = l_Array_append___rarg(x_319, x_348); -lean_dec(x_348); -lean_inc(x_338); -x_350 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_350, 0, x_338); -lean_ctor_set(x_350, 1, x_318); -lean_ctor_set(x_350, 2, x_349); -x_351 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_338); -if (lean_is_scalar(x_341)) { - x_352 = lean_alloc_ctor(2, 2, 0); -} else { - x_352 = x_341; - lean_ctor_set_tag(x_352, 2); -} -lean_ctor_set(x_352, 0, x_338); -lean_ctor_set(x_352, 1, x_351); -x_353 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_338); -x_354 = l_Lean_Syntax_node3(x_338, x_353, x_346, x_350, x_352); -lean_inc(x_338); -x_355 = l_Lean_Syntax_node1(x_338, x_318, x_354); -lean_inc(x_338); -x_356 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_356, 0, x_338); -lean_ctor_set(x_356, 1, x_318); -lean_ctor_set(x_356, 2, x_319); -x_357 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_338); -if (lean_is_scalar(x_337)) { - x_358 = lean_alloc_ctor(2, 2, 0); -} else { - x_358 = x_337; - lean_ctor_set_tag(x_358, 2); -} -lean_ctor_set(x_358, 0, x_338); -lean_ctor_set(x_358, 1, x_357); -x_359 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_338); -lean_ctor_set_tag(x_52, 2); -lean_ctor_set(x_52, 1, x_359); -lean_ctor_set(x_52, 0, x_338); -x_360 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_338); -x_361 = l_Lean_Syntax_node2(x_338, x_360, x_52, x_34); -lean_inc(x_338); -x_362 = l_Lean_Syntax_node1(x_338, x_318, x_361); -x_363 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_356); -lean_inc(x_338); -x_364 = l_Lean_Syntax_node2(x_338, x_363, x_356, x_362); -x_365 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_338); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_365); -lean_ctor_set(x_37, 0, x_338); -x_366 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_356, 2); -lean_inc(x_338); -x_367 = l_Lean_Syntax_node2(x_338, x_366, x_356, x_356); -if (lean_obj_tag(x_10) == 0) +x_62 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_60); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -x_368 = x_319; -goto block_395; -} -else -{ -lean_object* x_396; lean_object* x_397; -x_396 = lean_ctor_get(x_10, 0); -lean_inc(x_396); -lean_dec(x_10); -x_397 = l_Array_mkArray1___rarg(x_396); -x_368 = x_397; -goto block_395; -} -block_395: -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_369 = l_Array_append___rarg(x_319, x_368); -lean_dec(x_368); -lean_inc(x_338); -x_370 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_370, 0, x_338); -lean_ctor_set(x_370, 1, x_318); -lean_ctor_set(x_370, 2, x_369); -x_371 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_356, 3); -lean_inc(x_338); -x_372 = l_Lean_Syntax_node6(x_338, x_371, x_370, x_355, x_356, x_356, x_356, x_356); +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; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_64 = lean_ctor_get(x_62, 1); +x_65 = lean_ctor_get(x_62, 0); +lean_dec(x_65); +x_66 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_57); +lean_ctor_set_tag(x_62, 2); +lean_ctor_set(x_62, 1, x_66); +lean_ctor_set(x_62, 0, x_57); +x_67 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_68 = l_Lean_Syntax_SepArray_ofElems(x_67, x_7); +x_69 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_70 = l_Array_append___rarg(x_69, x_68); +lean_dec(x_68); +x_71 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_57); +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_57); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_70); +x_73 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_57); +lean_ctor_set_tag(x_58, 2); +lean_ctor_set(x_58, 1, x_73); +lean_ctor_set(x_58, 0, x_57); +x_74 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_57); +x_75 = l_Lean_Syntax_node3(x_57, x_74, x_62, x_72, x_58); +lean_inc(x_57); +x_76 = l_Lean_Syntax_node1(x_57, x_71, x_75); +lean_inc(x_57); +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_57); +lean_ctor_set(x_77, 1, x_71); +lean_ctor_set(x_77, 2, x_69); +x_78 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_57); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_57); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_43); +lean_ctor_set(x_80, 1, x_71); +lean_ctor_set(x_80, 2, x_24); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_4); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_35); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_array_mk(x_82); +x_84 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_43); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_83); +x_86 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_57); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_57); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_57); +x_89 = l_Lean_Syntax_node2(x_57, x_88, x_87, x_34); +lean_inc(x_57); +x_90 = l_Lean_Syntax_node1(x_57, x_71, x_89); +x_91 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_77); +lean_inc(x_57); +x_92 = l_Lean_Syntax_node2(x_57, x_91, x_77, x_90); +x_93 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_57); +x_94 = l_Lean_Syntax_node4(x_57, x_93, x_79, x_85, x_92, x_56); if (lean_obj_tag(x_8) == 0) { -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; -x_373 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_338); -x_374 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_374, 0, x_338); -lean_ctor_set(x_374, 1, x_318); -lean_ctor_set(x_374, 2, x_373); -x_375 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_338); -x_376 = l_Lean_Syntax_node4(x_338, x_375, x_37, x_333, x_367, x_374); -x_377 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_338); -x_378 = l_Lean_Syntax_node4(x_338, x_377, x_358, x_35, x_364, x_376); -x_379 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_380 = l_Lean_Syntax_node2(x_338, x_379, x_372, x_378); -lean_inc(x_380); -x_381 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_381, 0, x_380); -x_382 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_380, x_381, x_15, x_16, x_343); -return x_382; +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; +x_95 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_57); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_57); +lean_ctor_set(x_96, 1, x_71); +lean_ctor_set(x_96, 2, x_95); +x_97 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_77, 3); +lean_inc(x_57); +x_98 = l_Lean_Syntax_node6(x_57, x_97, x_96, x_76, x_77, x_77, x_77, x_77); +x_99 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_100 = l_Lean_Syntax_node2(x_57, x_99, x_98, x_94); +lean_inc(x_100); +x_101 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_101, 0, x_100); +x_102 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_100, x_101, x_15, x_16, x_64); +return x_102; } else { -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; lean_object* x_394; -x_383 = lean_ctor_get(x_8, 0); -lean_inc(x_383); +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_103 = lean_ctor_get(x_8, 0); +lean_inc(x_103); lean_dec(x_8); -x_384 = l_Array_mkArray1___rarg(x_383); -x_385 = l_Array_append___rarg(x_319, x_384); -lean_dec(x_384); -lean_inc(x_338); -x_386 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_386, 0, x_338); -lean_ctor_set(x_386, 1, x_318); -lean_ctor_set(x_386, 2, x_385); -x_387 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_338); -x_388 = l_Lean_Syntax_node4(x_338, x_387, x_37, x_333, x_367, x_386); -x_389 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_338); -x_390 = l_Lean_Syntax_node4(x_338, x_389, x_358, x_35, x_364, x_388); -x_391 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_392 = l_Lean_Syntax_node2(x_338, x_391, x_372, x_390); -lean_inc(x_392); -x_393 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_393, 0, x_392); -x_394 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_392, x_393, x_15, x_16, x_343); -return x_394; -} -} +x_104 = l_Array_mkArray1___rarg(x_103); +x_105 = l_Array_append___rarg(x_69, x_104); +lean_dec(x_104); +lean_inc(x_57); +x_106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_106, 0, x_57); +lean_ctor_set(x_106, 1, x_71); +lean_ctor_set(x_106, 2, x_105); +x_107 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_77, 3); +lean_inc(x_57); +x_108 = l_Lean_Syntax_node6(x_57, x_107, x_106, x_76, x_77, x_77, x_77, x_77); +x_109 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_110 = l_Lean_Syntax_node2(x_57, x_109, x_108, x_94); +lean_inc(x_110); +x_111 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_111, 0, x_110); +x_112 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_110, x_111, x_15, x_16, x_64); +return x_112; } } else { -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; size_t 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; 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; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; 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; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; 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; lean_object* x_455; -x_398 = lean_ctor_get(x_57, 1); -lean_inc(x_398); -lean_dec(x_57); -x_399 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_398); -x_400 = lean_ctor_get(x_399, 1); -lean_inc(x_400); -if (lean_is_exclusive(x_399)) { - lean_ctor_release(x_399, 0); - lean_ctor_release(x_399, 1); - x_401 = x_399; -} else { - lean_dec_ref(x_399); - x_401 = lean_box(0); -} -x_402 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_56); -if (lean_is_scalar(x_401)) { - x_403 = lean_alloc_ctor(2, 2, 0); -} else { - x_403 = x_401; - lean_ctor_set_tag(x_403, 2); -} -lean_ctor_set(x_403, 0, x_56); -lean_ctor_set(x_403, 1, x_402); -x_404 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_405 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_56); -x_406 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_406, 0, x_56); -lean_ctor_set(x_406, 1, x_404); -lean_ctor_set(x_406, 2, x_405); -x_407 = lean_array_size(x_27); -x_408 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_407, x_20, x_27); -x_409 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_410 = l_Lean_mkSepArray(x_408, x_409); -lean_dec(x_408); -x_411 = l_Array_append___rarg(x_405, x_410); -lean_dec(x_410); -lean_inc(x_56); -x_412 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_412, 0, x_56); -lean_ctor_set(x_412, 1, x_404); -lean_ctor_set(x_412, 2, x_411); -x_413 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_56); -x_414 = l_Lean_Syntax_node1(x_56, x_413, x_412); -x_415 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_406); -lean_inc(x_56); -x_416 = l_Lean_Syntax_node1(x_56, x_415, x_406); -x_417 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_56); -x_418 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_418, 0, x_56); -lean_ctor_set(x_418, 1, x_417); -x_419 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_406); -x_420 = l_Lean_Syntax_node6(x_56, x_419, x_403, x_406, x_414, x_416, x_406, x_418); -x_421 = l_Lean_Elab_Command_getRef(x_15, x_16, x_400); -x_422 = lean_ctor_get(x_421, 0); -lean_inc(x_422); -x_423 = lean_ctor_get(x_421, 1); -lean_inc(x_423); -if (lean_is_exclusive(x_421)) { - lean_ctor_release(x_421, 0); - lean_ctor_release(x_421, 1); - x_424 = x_421; -} else { - lean_dec_ref(x_421); - x_424 = lean_box(0); -} -x_425 = l_Lean_SourceInfo_fromRef(x_422, x_33); -lean_dec(x_422); -x_426 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_423); -x_427 = lean_ctor_get(x_426, 1); -lean_inc(x_427); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - x_428 = x_426; -} else { - lean_dec_ref(x_426); - x_428 = lean_box(0); -} -x_429 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_427); -x_430 = lean_ctor_get(x_429, 1); -lean_inc(x_430); -if (lean_is_exclusive(x_429)) { - lean_ctor_release(x_429, 0); - lean_ctor_release(x_429, 1); - x_431 = x_429; -} else { - lean_dec_ref(x_429); - x_431 = lean_box(0); -} -x_432 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_425); -if (lean_is_scalar(x_431)) { - x_433 = lean_alloc_ctor(2, 2, 0); -} else { - x_433 = x_431; - lean_ctor_set_tag(x_433, 2); -} -lean_ctor_set(x_433, 0, x_425); -lean_ctor_set(x_433, 1, x_432); -x_434 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_435 = l_Lean_Syntax_SepArray_ofElems(x_434, x_7); -x_436 = l_Array_append___rarg(x_405, x_435); -lean_dec(x_435); -lean_inc(x_425); -x_437 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_437, 0, x_425); -lean_ctor_set(x_437, 1, x_404); -lean_ctor_set(x_437, 2, x_436); -x_438 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_425); -if (lean_is_scalar(x_428)) { - x_439 = lean_alloc_ctor(2, 2, 0); -} else { - x_439 = x_428; - lean_ctor_set_tag(x_439, 2); -} -lean_ctor_set(x_439, 0, x_425); -lean_ctor_set(x_439, 1, x_438); -x_440 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_425); -x_441 = l_Lean_Syntax_node3(x_425, x_440, x_433, x_437, x_439); -lean_inc(x_425); -x_442 = l_Lean_Syntax_node1(x_425, x_404, x_441); -lean_inc(x_425); -x_443 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_443, 0, x_425); -lean_ctor_set(x_443, 1, x_404); -lean_ctor_set(x_443, 2, x_405); -x_444 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_425); -if (lean_is_scalar(x_424)) { - x_445 = lean_alloc_ctor(2, 2, 0); -} else { - x_445 = x_424; - lean_ctor_set_tag(x_445, 2); -} -lean_ctor_set(x_445, 0, x_425); -lean_ctor_set(x_445, 1, x_444); -x_446 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_425); -lean_ctor_set_tag(x_52, 2); -lean_ctor_set(x_52, 1, x_446); -lean_ctor_set(x_52, 0, x_425); -x_447 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_425); -x_448 = l_Lean_Syntax_node2(x_425, x_447, x_52, x_34); -lean_inc(x_425); -x_449 = l_Lean_Syntax_node1(x_425, x_404, x_448); -x_450 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_443); -lean_inc(x_425); -x_451 = l_Lean_Syntax_node2(x_425, x_450, x_443, x_449); -x_452 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_425); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_452); -lean_ctor_set(x_37, 0, x_425); -x_453 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_443, 2); -lean_inc(x_425); -x_454 = l_Lean_Syntax_node2(x_425, x_453, x_443, x_443); -if (lean_obj_tag(x_10) == 0) -{ -x_455 = x_405; -goto block_482; -} -else -{ -lean_object* x_483; lean_object* x_484; -x_483 = lean_ctor_get(x_10, 0); -lean_inc(x_483); -lean_dec(x_10); -x_484 = l_Array_mkArray1___rarg(x_483); -x_455 = x_484; -goto block_482; -} -block_482: -{ -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_456 = l_Array_append___rarg(x_405, x_455); -lean_dec(x_455); -lean_inc(x_425); -x_457 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_457, 0, x_425); -lean_ctor_set(x_457, 1, x_404); -lean_ctor_set(x_457, 2, x_456); -x_458 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_443, 3); -lean_inc(x_425); -x_459 = l_Lean_Syntax_node6(x_425, x_458, x_457, x_442, x_443, x_443, x_443, x_443); +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; 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; +x_113 = lean_ctor_get(x_62, 1); +lean_inc(x_113); +lean_dec(x_62); +x_114 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_57); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_57); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_117 = l_Lean_Syntax_SepArray_ofElems(x_116, x_7); +x_118 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_119 = l_Array_append___rarg(x_118, x_117); +lean_dec(x_117); +x_120 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_57); +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_57); +lean_ctor_set(x_121, 1, x_120); +lean_ctor_set(x_121, 2, x_119); +x_122 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_57); +lean_ctor_set_tag(x_58, 2); +lean_ctor_set(x_58, 1, x_122); +lean_ctor_set(x_58, 0, x_57); +x_123 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_57); +x_124 = l_Lean_Syntax_node3(x_57, x_123, x_115, x_121, x_58); +lean_inc(x_57); +x_125 = l_Lean_Syntax_node1(x_57, x_120, x_124); +lean_inc(x_57); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_57); +lean_ctor_set(x_126, 1, x_120); +lean_ctor_set(x_126, 2, x_118); +x_127 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_57); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_57); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_129, 0, x_43); +lean_ctor_set(x_129, 1, x_120); +lean_ctor_set(x_129, 2, x_24); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_4); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_35); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_array_mk(x_131); +x_133 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_43); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +x_135 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_57); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_57); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_57); +x_138 = l_Lean_Syntax_node2(x_57, x_137, x_136, x_34); +lean_inc(x_57); +x_139 = l_Lean_Syntax_node1(x_57, x_120, x_138); +x_140 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_126); +lean_inc(x_57); +x_141 = l_Lean_Syntax_node2(x_57, x_140, x_126, x_139); +x_142 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_57); +x_143 = l_Lean_Syntax_node4(x_57, x_142, x_128, x_134, x_141, x_56); if (lean_obj_tag(x_8) == 0) { -lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_460 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_425); -x_461 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_461, 0, x_425); -lean_ctor_set(x_461, 1, x_404); -lean_ctor_set(x_461, 2, x_460); -x_462 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_425); -x_463 = l_Lean_Syntax_node4(x_425, x_462, x_37, x_420, x_454, x_461); -x_464 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_425); -x_465 = l_Lean_Syntax_node4(x_425, x_464, x_445, x_35, x_451, x_463); -x_466 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_467 = l_Lean_Syntax_node2(x_425, x_466, x_459, x_465); -lean_inc(x_467); -x_468 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_468, 0, x_467); -x_469 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_467, x_468, x_15, x_16, x_430); -return x_469; +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; +x_144 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_57); +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_57); +lean_ctor_set(x_145, 1, x_120); +lean_ctor_set(x_145, 2, x_144); +x_146 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_126, 3); +lean_inc(x_57); +x_147 = l_Lean_Syntax_node6(x_57, x_146, x_145, x_125, x_126, x_126, x_126, x_126); +x_148 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_149 = l_Lean_Syntax_node2(x_57, x_148, x_147, x_143); +lean_inc(x_149); +x_150 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_150, 0, x_149); +x_151 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_149, x_150, x_15, x_16, x_113); +return x_151; } else { -lean_object* x_470; 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; lean_object* x_479; lean_object* x_480; lean_object* x_481; -x_470 = lean_ctor_get(x_8, 0); -lean_inc(x_470); +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; +x_152 = lean_ctor_get(x_8, 0); +lean_inc(x_152); lean_dec(x_8); -x_471 = l_Array_mkArray1___rarg(x_470); -x_472 = l_Array_append___rarg(x_405, x_471); -lean_dec(x_471); -lean_inc(x_425); -x_473 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_473, 0, x_425); -lean_ctor_set(x_473, 1, x_404); -lean_ctor_set(x_473, 2, x_472); -x_474 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_425); -x_475 = l_Lean_Syntax_node4(x_425, x_474, x_37, x_420, x_454, x_473); -x_476 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_425); -x_477 = l_Lean_Syntax_node4(x_425, x_476, x_445, x_35, x_451, x_475); -x_478 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_479 = l_Lean_Syntax_node2(x_425, x_478, x_459, x_477); -lean_inc(x_479); -x_480 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_480, 0, x_479); -x_481 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_479, x_480, x_15, x_16, x_430); -return x_481; -} +x_153 = l_Array_mkArray1___rarg(x_152); +x_154 = l_Array_append___rarg(x_118, x_153); +lean_dec(x_153); +lean_inc(x_57); +x_155 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_155, 0, x_57); +lean_ctor_set(x_155, 1, x_120); +lean_ctor_set(x_155, 2, x_154); +x_156 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_126, 3); +lean_inc(x_57); +x_157 = l_Lean_Syntax_node6(x_57, x_156, x_155, x_125, x_126, x_126, x_126, x_126); +x_158 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_159 = l_Lean_Syntax_node2(x_57, x_158, x_157, x_143); +lean_inc(x_159); +x_160 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_160, 0, x_159); +x_161 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_159, x_160, x_15, x_16, x_113); +return x_161; } } } 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; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; size_t x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; 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; 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; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* 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; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; 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; lean_object* x_547; lean_object* x_548; -x_485 = lean_ctor_get(x_52, 0); -x_486 = lean_ctor_get(x_52, 1); -lean_inc(x_486); -lean_inc(x_485); -lean_dec(x_52); -x_487 = l_Lean_SourceInfo_fromRef(x_485, x_33); -lean_dec(x_485); -x_488 = l_Lean_Elab_Command_getCurrMacroScope(x_51, x_16, x_486); -lean_dec(x_51); -x_489 = lean_ctor_get(x_488, 1); -lean_inc(x_489); -if (lean_is_exclusive(x_488)) { - lean_ctor_release(x_488, 0); - lean_ctor_release(x_488, 1); - x_490 = x_488; +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; 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; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_162 = lean_ctor_get(x_58, 1); +lean_inc(x_162); +lean_dec(x_58); +x_163 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_162); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; } else { - lean_dec_ref(x_488); - x_490 = lean_box(0); + lean_dec_ref(x_163); + x_165 = lean_box(0); } -x_491 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_489); -x_492 = lean_ctor_get(x_491, 1); -lean_inc(x_492); -if (lean_is_exclusive(x_491)) { - lean_ctor_release(x_491, 0); - lean_ctor_release(x_491, 1); - x_493 = x_491; +x_166 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_57); +if (lean_is_scalar(x_165)) { + x_167 = lean_alloc_ctor(2, 2, 0); } else { - lean_dec_ref(x_491); - x_493 = lean_box(0); + x_167 = x_165; + lean_ctor_set_tag(x_167, 2); } -x_494 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_487); -if (lean_is_scalar(x_493)) { - x_495 = lean_alloc_ctor(2, 2, 0); -} else { - x_495 = x_493; - lean_ctor_set_tag(x_495, 2); -} -lean_ctor_set(x_495, 0, x_487); -lean_ctor_set(x_495, 1, x_494); -x_496 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_497 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_487); -x_498 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_498, 0, x_487); -lean_ctor_set(x_498, 1, x_496); -lean_ctor_set(x_498, 2, x_497); -x_499 = lean_array_size(x_27); -x_500 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_499, x_20, x_27); -x_501 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_502 = l_Lean_mkSepArray(x_500, x_501); -lean_dec(x_500); -x_503 = l_Array_append___rarg(x_497, x_502); -lean_dec(x_502); -lean_inc(x_487); -x_504 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_504, 0, x_487); -lean_ctor_set(x_504, 1, x_496); -lean_ctor_set(x_504, 2, x_503); -x_505 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_487); -x_506 = l_Lean_Syntax_node1(x_487, x_505, x_504); -x_507 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_498); -lean_inc(x_487); -x_508 = l_Lean_Syntax_node1(x_487, x_507, x_498); -x_509 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_487); -if (lean_is_scalar(x_490)) { - x_510 = lean_alloc_ctor(2, 2, 0); -} else { - x_510 = x_490; - lean_ctor_set_tag(x_510, 2); -} -lean_ctor_set(x_510, 0, x_487); -lean_ctor_set(x_510, 1, x_509); -x_511 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_498); -x_512 = l_Lean_Syntax_node6(x_487, x_511, x_495, x_498, x_506, x_508, x_498, x_510); -x_513 = l_Lean_Elab_Command_getRef(x_15, x_16, x_492); -x_514 = lean_ctor_get(x_513, 0); -lean_inc(x_514); -x_515 = lean_ctor_get(x_513, 1); -lean_inc(x_515); -if (lean_is_exclusive(x_513)) { - lean_ctor_release(x_513, 0); - lean_ctor_release(x_513, 1); - x_516 = x_513; -} else { - lean_dec_ref(x_513); - x_516 = lean_box(0); -} -x_517 = l_Lean_SourceInfo_fromRef(x_514, x_33); -lean_dec(x_514); -x_518 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_515); -x_519 = lean_ctor_get(x_518, 1); -lean_inc(x_519); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_520 = x_518; -} else { - lean_dec_ref(x_518); - x_520 = lean_box(0); -} -x_521 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_519); -x_522 = lean_ctor_get(x_521, 1); -lean_inc(x_522); -if (lean_is_exclusive(x_521)) { - lean_ctor_release(x_521, 0); - lean_ctor_release(x_521, 1); - x_523 = x_521; -} else { - lean_dec_ref(x_521); - x_523 = lean_box(0); -} -x_524 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_517); -if (lean_is_scalar(x_523)) { - x_525 = lean_alloc_ctor(2, 2, 0); -} else { - x_525 = x_523; - lean_ctor_set_tag(x_525, 2); -} -lean_ctor_set(x_525, 0, x_517); -lean_ctor_set(x_525, 1, x_524); -x_526 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_527 = l_Lean_Syntax_SepArray_ofElems(x_526, x_7); -x_528 = l_Array_append___rarg(x_497, x_527); -lean_dec(x_527); -lean_inc(x_517); -x_529 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_529, 0, x_517); -lean_ctor_set(x_529, 1, x_496); -lean_ctor_set(x_529, 2, x_528); -x_530 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_517); -if (lean_is_scalar(x_520)) { - x_531 = lean_alloc_ctor(2, 2, 0); -} else { - x_531 = x_520; - lean_ctor_set_tag(x_531, 2); -} -lean_ctor_set(x_531, 0, x_517); -lean_ctor_set(x_531, 1, x_530); -x_532 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_517); -x_533 = l_Lean_Syntax_node3(x_517, x_532, x_525, x_529, x_531); -lean_inc(x_517); -x_534 = l_Lean_Syntax_node1(x_517, x_496, x_533); -lean_inc(x_517); -x_535 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_535, 0, x_517); -lean_ctor_set(x_535, 1, x_496); -lean_ctor_set(x_535, 2, x_497); -x_536 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_517); -if (lean_is_scalar(x_516)) { - x_537 = lean_alloc_ctor(2, 2, 0); -} else { - x_537 = x_516; - lean_ctor_set_tag(x_537, 2); -} -lean_ctor_set(x_537, 0, x_517); -lean_ctor_set(x_537, 1, x_536); -x_538 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_517); -x_539 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_539, 0, x_517); -lean_ctor_set(x_539, 1, x_538); -x_540 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_517); -x_541 = l_Lean_Syntax_node2(x_517, x_540, x_539, x_34); -lean_inc(x_517); -x_542 = l_Lean_Syntax_node1(x_517, x_496, x_541); -x_543 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_535); -lean_inc(x_517); -x_544 = l_Lean_Syntax_node2(x_517, x_543, x_535, x_542); -x_545 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_517); -lean_ctor_set_tag(x_37, 2); -lean_ctor_set(x_37, 1, x_545); -lean_ctor_set(x_37, 0, x_517); -x_546 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_535, 2); -lean_inc(x_517); -x_547 = l_Lean_Syntax_node2(x_517, x_546, x_535, x_535); -if (lean_obj_tag(x_10) == 0) -{ -x_548 = x_497; -goto block_575; -} -else -{ -lean_object* x_576; lean_object* x_577; -x_576 = lean_ctor_get(x_10, 0); -lean_inc(x_576); -lean_dec(x_10); -x_577 = l_Array_mkArray1___rarg(x_576); -x_548 = x_577; -goto block_575; -} -block_575: -{ -lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_549 = l_Array_append___rarg(x_497, x_548); -lean_dec(x_548); -lean_inc(x_517); -x_550 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_550, 0, x_517); -lean_ctor_set(x_550, 1, x_496); -lean_ctor_set(x_550, 2, x_549); -x_551 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_535, 3); -lean_inc(x_517); -x_552 = l_Lean_Syntax_node6(x_517, x_551, x_550, x_534, x_535, x_535, x_535, x_535); +lean_ctor_set(x_167, 0, x_57); +lean_ctor_set(x_167, 1, x_166); +x_168 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_169 = l_Lean_Syntax_SepArray_ofElems(x_168, x_7); +x_170 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_171 = l_Array_append___rarg(x_170, x_169); +lean_dec(x_169); +x_172 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_57); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_57); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_171); +x_174 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_57); +x_175 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_175, 0, x_57); +lean_ctor_set(x_175, 1, x_174); +x_176 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_57); +x_177 = l_Lean_Syntax_node3(x_57, x_176, x_167, x_173, x_175); +lean_inc(x_57); +x_178 = l_Lean_Syntax_node1(x_57, x_172, x_177); +lean_inc(x_57); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_57); +lean_ctor_set(x_179, 1, x_172); +lean_ctor_set(x_179, 2, x_170); +x_180 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_57); +x_181 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_181, 0, x_57); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_43); +lean_ctor_set(x_182, 1, x_172); +lean_ctor_set(x_182, 2, x_24); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_4); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_35); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_mk(x_184); +x_186 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_187, 0, x_43); +lean_ctor_set(x_187, 1, x_186); +lean_ctor_set(x_187, 2, x_185); +x_188 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_57); +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_57); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_57); +x_191 = l_Lean_Syntax_node2(x_57, x_190, x_189, x_34); +lean_inc(x_57); +x_192 = l_Lean_Syntax_node1(x_57, x_172, x_191); +x_193 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_179); +lean_inc(x_57); +x_194 = l_Lean_Syntax_node2(x_57, x_193, x_179, x_192); +x_195 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_57); +x_196 = l_Lean_Syntax_node4(x_57, x_195, x_181, x_187, x_194, x_56); if (lean_obj_tag(x_8) == 0) { -lean_object* x_553; 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; -x_553 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_517); -x_554 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_554, 0, x_517); -lean_ctor_set(x_554, 1, x_496); -lean_ctor_set(x_554, 2, x_553); -x_555 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_517); -x_556 = l_Lean_Syntax_node4(x_517, x_555, x_37, x_512, x_547, x_554); -x_557 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_517); -x_558 = l_Lean_Syntax_node4(x_517, x_557, x_537, x_35, x_544, x_556); -x_559 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_560 = l_Lean_Syntax_node2(x_517, x_559, x_552, x_558); -lean_inc(x_560); -x_561 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_561, 0, x_560); -x_562 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_560, x_561, x_15, x_16, x_522); -return x_562; +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_197 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_57); +x_198 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_198, 0, x_57); +lean_ctor_set(x_198, 1, x_172); +lean_ctor_set(x_198, 2, x_197); +x_199 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_179, 3); +lean_inc(x_57); +x_200 = l_Lean_Syntax_node6(x_57, x_199, x_198, x_178, x_179, x_179, x_179, x_179); +x_201 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_202 = l_Lean_Syntax_node2(x_57, x_201, x_200, x_196); +lean_inc(x_202); +x_203 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_203, 0, x_202); +x_204 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_202, x_203, x_15, x_16, x_164); +return x_204; } else { -lean_object* 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; lean_object* x_572; lean_object* x_573; lean_object* x_574; -x_563 = lean_ctor_get(x_8, 0); -lean_inc(x_563); +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; +x_205 = lean_ctor_get(x_8, 0); +lean_inc(x_205); lean_dec(x_8); -x_564 = l_Array_mkArray1___rarg(x_563); -x_565 = l_Array_append___rarg(x_497, x_564); -lean_dec(x_564); -lean_inc(x_517); -x_566 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_566, 0, x_517); -lean_ctor_set(x_566, 1, x_496); -lean_ctor_set(x_566, 2, x_565); -x_567 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_517); -x_568 = l_Lean_Syntax_node4(x_517, x_567, x_37, x_512, x_547, x_566); -x_569 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_517); -x_570 = l_Lean_Syntax_node4(x_517, x_569, x_537, x_35, x_544, x_568); -x_571 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_572 = l_Lean_Syntax_node2(x_517, x_571, x_552, x_570); -lean_inc(x_572); -x_573 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_573, 0, x_572); -x_574 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_572, x_573, x_15, x_16, x_522); -return x_574; -} +x_206 = l_Array_mkArray1___rarg(x_205); +x_207 = l_Array_append___rarg(x_170, x_206); +lean_dec(x_206); +lean_inc(x_57); +x_208 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_208, 0, x_57); +lean_ctor_set(x_208, 1, x_172); +lean_ctor_set(x_208, 2, x_207); +x_209 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_179, 3); +lean_inc(x_57); +x_210 = l_Lean_Syntax_node6(x_57, x_209, x_208, x_178, x_179, x_179, x_179, x_179); +x_211 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_212 = l_Lean_Syntax_node2(x_57, x_211, x_210, x_196); +lean_inc(x_212); +x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_213, 0, x_212); +x_214 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_212, x_213, x_15, x_16, x_164); +return x_214; } } } else { -lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* 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; uint8_t 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; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; size_t 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; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_578 = lean_ctor_get(x_37, 0); -x_579 = lean_ctor_get(x_37, 1); -lean_inc(x_579); -lean_inc(x_578); -lean_dec(x_37); -x_580 = l_Lean_replaceRef(x_6, x_578); -lean_dec(x_578); -x_581 = lean_ctor_get(x_15, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_15, 1); -lean_inc(x_582); -x_583 = lean_ctor_get(x_15, 2); -lean_inc(x_583); -x_584 = lean_ctor_get(x_15, 3); -lean_inc(x_584); -x_585 = lean_ctor_get(x_15, 4); -lean_inc(x_585); -x_586 = lean_ctor_get(x_15, 5); -lean_inc(x_586); -x_587 = lean_ctor_get(x_15, 7); -lean_inc(x_587); -x_588 = lean_ctor_get(x_15, 8); -lean_inc(x_588); -x_589 = lean_ctor_get_uint8(x_15, sizeof(void*)*9); -x_590 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_590, 0, x_581); -lean_ctor_set(x_590, 1, x_582); -lean_ctor_set(x_590, 2, x_583); -lean_ctor_set(x_590, 3, x_584); -lean_ctor_set(x_590, 4, x_585); -lean_ctor_set(x_590, 5, x_586); -lean_ctor_set(x_590, 6, x_580); -lean_ctor_set(x_590, 7, x_587); -lean_ctor_set(x_590, 8, x_588); -lean_ctor_set_uint8(x_590, sizeof(void*)*9, x_589); -x_591 = l_Lean_Elab_Command_getRef(x_590, x_16, x_579); -x_592 = lean_ctor_get(x_591, 0); -lean_inc(x_592); -x_593 = lean_ctor_get(x_591, 1); -lean_inc(x_593); -if (lean_is_exclusive(x_591)) { - lean_ctor_release(x_591, 0); - lean_ctor_release(x_591, 1); - x_594 = x_591; +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; 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; 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; +x_215 = lean_ctor_get(x_46, 0); +x_216 = lean_ctor_get(x_46, 1); +lean_inc(x_216); +lean_inc(x_215); +lean_dec(x_46); +x_217 = l_Lean_mkOptionalNode(x_47); +lean_dec(x_47); +lean_inc(x_4); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_4); +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_45); +lean_ctor_set(x_219, 1, x_218); +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_38); +lean_ctor_set(x_220, 1, x_219); +x_221 = lean_array_mk(x_220); +x_222 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; +x_223 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_223, 0, x_43); +lean_ctor_set(x_223, 1, x_222); +lean_ctor_set(x_223, 2, x_221); +x_224 = l_Lean_SourceInfo_fromRef(x_215, x_33); +lean_dec(x_215); +x_225 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_216); +x_226 = lean_ctor_get(x_225, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_227 = x_225; } else { - lean_dec_ref(x_591); - x_594 = lean_box(0); + lean_dec_ref(x_225); + x_227 = lean_box(0); } -x_595 = l_Lean_SourceInfo_fromRef(x_592, x_33); -lean_dec(x_592); -x_596 = l_Lean_Elab_Command_getCurrMacroScope(x_590, x_16, x_593); -lean_dec(x_590); -x_597 = lean_ctor_get(x_596, 1); -lean_inc(x_597); -if (lean_is_exclusive(x_596)) { - lean_ctor_release(x_596, 0); - lean_ctor_release(x_596, 1); - x_598 = x_596; +x_228 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_226); +x_229 = lean_ctor_get(x_228, 1); +lean_inc(x_229); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_230 = x_228; } else { - lean_dec_ref(x_596); - x_598 = lean_box(0); + lean_dec_ref(x_228); + x_230 = lean_box(0); } -x_599 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_597); -x_600 = lean_ctor_get(x_599, 1); -lean_inc(x_600); -if (lean_is_exclusive(x_599)) { - lean_ctor_release(x_599, 0); - lean_ctor_release(x_599, 1); - x_601 = x_599; +x_231 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_224); +if (lean_is_scalar(x_230)) { + x_232 = lean_alloc_ctor(2, 2, 0); } else { - lean_dec_ref(x_599); - x_601 = lean_box(0); + x_232 = x_230; + lean_ctor_set_tag(x_232, 2); } -x_602 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_595); -if (lean_is_scalar(x_601)) { - x_603 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_232, 0, x_224); +lean_ctor_set(x_232, 1, x_231); +x_233 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_234 = l_Lean_Syntax_SepArray_ofElems(x_233, x_7); +x_235 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_236 = l_Array_append___rarg(x_235, x_234); +lean_dec(x_234); +x_237 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_224); +x_238 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_238, 0, x_224); +lean_ctor_set(x_238, 1, x_237); +lean_ctor_set(x_238, 2, x_236); +x_239 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_224); +if (lean_is_scalar(x_227)) { + x_240 = lean_alloc_ctor(2, 2, 0); } else { - x_603 = x_601; - lean_ctor_set_tag(x_603, 2); + x_240 = x_227; + lean_ctor_set_tag(x_240, 2); } -lean_ctor_set(x_603, 0, x_595); -lean_ctor_set(x_603, 1, x_602); -x_604 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_605 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_595); -x_606 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_606, 0, x_595); -lean_ctor_set(x_606, 1, x_604); -lean_ctor_set(x_606, 2, x_605); -x_607 = lean_array_size(x_27); -x_608 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_607, x_20, x_27); -x_609 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_610 = l_Lean_mkSepArray(x_608, x_609); -lean_dec(x_608); -x_611 = l_Array_append___rarg(x_605, x_610); -lean_dec(x_610); -lean_inc(x_595); -x_612 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_612, 0, x_595); -lean_ctor_set(x_612, 1, x_604); -lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_595); -x_614 = l_Lean_Syntax_node1(x_595, x_613, x_612); -x_615 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_606); -lean_inc(x_595); -x_616 = l_Lean_Syntax_node1(x_595, x_615, x_606); -x_617 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_595); -if (lean_is_scalar(x_598)) { - x_618 = lean_alloc_ctor(2, 2, 0); -} else { - x_618 = x_598; - lean_ctor_set_tag(x_618, 2); -} -lean_ctor_set(x_618, 0, x_595); -lean_ctor_set(x_618, 1, x_617); -x_619 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_606); -x_620 = l_Lean_Syntax_node6(x_595, x_619, x_603, x_606, x_614, x_616, x_606, x_618); -x_621 = l_Lean_Elab_Command_getRef(x_15, x_16, x_600); -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -x_623 = lean_ctor_get(x_621, 1); -lean_inc(x_623); -if (lean_is_exclusive(x_621)) { - lean_ctor_release(x_621, 0); - lean_ctor_release(x_621, 1); - x_624 = x_621; -} else { - lean_dec_ref(x_621); - x_624 = lean_box(0); -} -x_625 = l_Lean_SourceInfo_fromRef(x_622, x_33); -lean_dec(x_622); -x_626 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_623); -x_627 = lean_ctor_get(x_626, 1); -lean_inc(x_627); -if (lean_is_exclusive(x_626)) { - lean_ctor_release(x_626, 0); - lean_ctor_release(x_626, 1); - x_628 = x_626; -} else { - lean_dec_ref(x_626); - x_628 = lean_box(0); -} -x_629 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_627); -x_630 = lean_ctor_get(x_629, 1); -lean_inc(x_630); -if (lean_is_exclusive(x_629)) { - lean_ctor_release(x_629, 0); - lean_ctor_release(x_629, 1); - x_631 = x_629; -} else { - lean_dec_ref(x_629); - x_631 = lean_box(0); -} -x_632 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_625); -if (lean_is_scalar(x_631)) { - x_633 = lean_alloc_ctor(2, 2, 0); -} else { - x_633 = x_631; - lean_ctor_set_tag(x_633, 2); -} -lean_ctor_set(x_633, 0, x_625); -lean_ctor_set(x_633, 1, x_632); -x_634 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_635 = l_Lean_Syntax_SepArray_ofElems(x_634, x_7); -x_636 = l_Array_append___rarg(x_605, x_635); -lean_dec(x_635); -lean_inc(x_625); -x_637 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_637, 0, x_625); -lean_ctor_set(x_637, 1, x_604); -lean_ctor_set(x_637, 2, x_636); -x_638 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_625); -if (lean_is_scalar(x_628)) { - x_639 = lean_alloc_ctor(2, 2, 0); -} else { - x_639 = x_628; - lean_ctor_set_tag(x_639, 2); -} -lean_ctor_set(x_639, 0, x_625); -lean_ctor_set(x_639, 1, x_638); -x_640 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_625); -x_641 = l_Lean_Syntax_node3(x_625, x_640, x_633, x_637, x_639); -lean_inc(x_625); -x_642 = l_Lean_Syntax_node1(x_625, x_604, x_641); -lean_inc(x_625); -x_643 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_643, 0, x_625); -lean_ctor_set(x_643, 1, x_604); -lean_ctor_set(x_643, 2, x_605); -x_644 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_625); -if (lean_is_scalar(x_624)) { - x_645 = lean_alloc_ctor(2, 2, 0); -} else { - x_645 = x_624; - lean_ctor_set_tag(x_645, 2); -} -lean_ctor_set(x_645, 0, x_625); -lean_ctor_set(x_645, 1, x_644); -x_646 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_625); -if (lean_is_scalar(x_594)) { - x_647 = lean_alloc_ctor(2, 2, 0); -} else { - x_647 = x_594; - lean_ctor_set_tag(x_647, 2); -} -lean_ctor_set(x_647, 0, x_625); -lean_ctor_set(x_647, 1, x_646); -x_648 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_625); -x_649 = l_Lean_Syntax_node2(x_625, x_648, x_647, x_34); -lean_inc(x_625); -x_650 = l_Lean_Syntax_node1(x_625, x_604, x_649); -x_651 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_643); -lean_inc(x_625); -x_652 = l_Lean_Syntax_node2(x_625, x_651, x_643, x_650); -x_653 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_625); -x_654 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_654, 0, x_625); -lean_ctor_set(x_654, 1, x_653); -x_655 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_643, 2); -lean_inc(x_625); -x_656 = l_Lean_Syntax_node2(x_625, x_655, x_643, x_643); -if (lean_obj_tag(x_10) == 0) -{ -x_657 = x_605; -goto block_684; -} -else -{ -lean_object* x_685; lean_object* x_686; -x_685 = lean_ctor_get(x_10, 0); -lean_inc(x_685); -lean_dec(x_10); -x_686 = l_Array_mkArray1___rarg(x_685); -x_657 = x_686; -goto block_684; -} -block_684: -{ -lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; -x_658 = l_Array_append___rarg(x_605, x_657); -lean_dec(x_657); -lean_inc(x_625); -x_659 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_659, 0, x_625); -lean_ctor_set(x_659, 1, x_604); -lean_ctor_set(x_659, 2, x_658); -x_660 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_643, 3); -lean_inc(x_625); -x_661 = l_Lean_Syntax_node6(x_625, x_660, x_659, x_642, x_643, x_643, x_643, x_643); +lean_ctor_set(x_240, 0, x_224); +lean_ctor_set(x_240, 1, x_239); +x_241 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_224); +x_242 = l_Lean_Syntax_node3(x_224, x_241, x_232, x_238, x_240); +lean_inc(x_224); +x_243 = l_Lean_Syntax_node1(x_224, x_237, x_242); +lean_inc(x_224); +x_244 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_244, 0, x_224); +lean_ctor_set(x_244, 1, x_237); +lean_ctor_set(x_244, 2, x_235); +x_245 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_224); +x_246 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_246, 0, x_224); +lean_ctor_set(x_246, 1, x_245); +x_247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_247, 0, x_43); +lean_ctor_set(x_247, 1, x_237); +lean_ctor_set(x_247, 2, x_24); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_4); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_35); +lean_ctor_set(x_249, 1, x_248); +x_250 = lean_array_mk(x_249); +x_251 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_252 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_252, 0, x_43); +lean_ctor_set(x_252, 1, x_251); +lean_ctor_set(x_252, 2, x_250); +x_253 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_224); +x_254 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_254, 0, x_224); +lean_ctor_set(x_254, 1, x_253); +x_255 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_224); +x_256 = l_Lean_Syntax_node2(x_224, x_255, x_254, x_34); +lean_inc(x_224); +x_257 = l_Lean_Syntax_node1(x_224, x_237, x_256); +x_258 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_244); +lean_inc(x_224); +x_259 = l_Lean_Syntax_node2(x_224, x_258, x_244, x_257); +x_260 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_224); +x_261 = l_Lean_Syntax_node4(x_224, x_260, x_246, x_252, x_259, x_223); if (lean_obj_tag(x_8) == 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; lean_object* x_670; lean_object* x_671; -x_662 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_625); -x_663 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_663, 0, x_625); -lean_ctor_set(x_663, 1, x_604); -lean_ctor_set(x_663, 2, x_662); -x_664 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_625); -x_665 = l_Lean_Syntax_node4(x_625, x_664, x_654, x_620, x_656, x_663); -x_666 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_625); -x_667 = l_Lean_Syntax_node4(x_625, x_666, x_645, x_35, x_652, x_665); -x_668 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_669 = l_Lean_Syntax_node2(x_625, x_668, x_661, x_667); -lean_inc(x_669); -x_670 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_670, 0, x_669); -x_671 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_669, x_670, x_15, x_16, x_630); -return x_671; +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_262 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_224); +x_263 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_263, 0, x_224); +lean_ctor_set(x_263, 1, x_237); +lean_ctor_set(x_263, 2, x_262); +x_264 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_244, 3); +lean_inc(x_224); +x_265 = l_Lean_Syntax_node6(x_224, x_264, x_263, x_243, x_244, x_244, x_244, x_244); +x_266 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_267 = l_Lean_Syntax_node2(x_224, x_266, x_265, x_261); +lean_inc(x_267); +x_268 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_268, 0, x_267); +x_269 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_267, x_268, x_15, x_16, x_229); +return x_269; } else { -lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; -x_672 = lean_ctor_get(x_8, 0); -lean_inc(x_672); +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_270 = lean_ctor_get(x_8, 0); +lean_inc(x_270); lean_dec(x_8); -x_673 = l_Array_mkArray1___rarg(x_672); -x_674 = l_Array_append___rarg(x_605, x_673); -lean_dec(x_673); -lean_inc(x_625); -x_675 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_675, 0, x_625); -lean_ctor_set(x_675, 1, x_604); -lean_ctor_set(x_675, 2, x_674); -x_676 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_625); -x_677 = l_Lean_Syntax_node4(x_625, x_676, x_654, x_620, x_656, x_675); -x_678 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_625); -x_679 = l_Lean_Syntax_node4(x_625, x_678, x_645, x_35, x_652, x_677); -x_680 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_681 = l_Lean_Syntax_node2(x_625, x_680, x_661, x_679); -lean_inc(x_681); -x_682 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_682, 0, x_681); -x_683 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_681, x_682, x_15, x_16, x_630); -return x_683; +x_271 = l_Array_mkArray1___rarg(x_270); +x_272 = l_Array_append___rarg(x_235, x_271); +lean_dec(x_271); +lean_inc(x_224); +x_273 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_273, 0, x_224); +lean_ctor_set(x_273, 1, x_237); +lean_ctor_set(x_273, 2, x_272); +x_274 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_244, 3); +lean_inc(x_224); +x_275 = l_Lean_Syntax_node6(x_224, x_274, x_273, x_243, x_244, x_244, x_244, x_244); +x_276 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_277 = l_Lean_Syntax_node2(x_224, x_276, x_275, x_261); +lean_inc(x_277); +x_278 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_278, 0, x_277); +x_279 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_277, x_278, x_15, x_16, x_229); +return x_279; } } } @@ -9761,1164 +4518,39 @@ return x_683; } else { -lean_object* x_757; lean_object* x_758; uint8_t x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; -x_757 = lean_ctor_get(x_29, 0); -x_758 = lean_ctor_get(x_29, 1); -lean_inc(x_758); -lean_inc(x_757); -lean_dec(x_29); -x_759 = 0; -x_760 = l_Lean_mkCIdentFrom(x_757, x_2, x_759); -lean_dec(x_757); -if (lean_obj_tag(x_11) == 0) -{ -lean_free_object(x_25); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; -x_875 = l_Lean_Elab_Command_getRef(x_15, x_16, x_758); -x_876 = lean_ctor_get(x_875, 0); -lean_inc(x_876); -x_877 = lean_ctor_get(x_875, 1); -lean_inc(x_877); -if (lean_is_exclusive(x_875)) { - lean_ctor_release(x_875, 0); - lean_ctor_release(x_875, 1); - x_878 = x_875; -} else { - lean_dec_ref(x_875); - x_878 = lean_box(0); -} -lean_inc(x_16); -lean_inc(x_15); -x_879 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_876, x_759, x_15, x_16, x_877); -lean_dec(x_876); -if (lean_obj_tag(x_879) == 0) -{ -lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; -x_880 = lean_ctor_get(x_879, 0); -lean_inc(x_880); -x_881 = lean_ctor_get(x_879, 1); -lean_inc(x_881); -lean_dec(x_879); -x_882 = lean_box(2); -x_883 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_884 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_884, 0, x_882); -lean_ctor_set(x_884, 1, x_883); -lean_ctor_set(x_884, 2, x_24); -if (lean_is_scalar(x_878)) { - x_885 = lean_alloc_ctor(1, 2, 0); -} else { - x_885 = x_878; - lean_ctor_set_tag(x_885, 1); -} -lean_ctor_set(x_885, 0, x_884); -lean_ctor_set(x_885, 1, x_4); -x_886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_886, 0, x_880); -lean_ctor_set(x_886, 1, x_885); -x_887 = lean_array_mk(x_886); -x_888 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_889 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_889, 0, x_882); -lean_ctor_set(x_889, 1, x_888); -lean_ctor_set(x_889, 2, x_887); -x_761 = x_889; -x_762 = x_881; -goto block_874; -} -else -{ -lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; -lean_dec(x_878); -lean_dec(x_760); -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_890 = lean_ctor_get(x_879, 0); -lean_inc(x_890); -x_891 = lean_ctor_get(x_879, 1); -lean_inc(x_891); -if (lean_is_exclusive(x_879)) { - lean_ctor_release(x_879, 0); - lean_ctor_release(x_879, 1); - x_892 = x_879; -} else { - lean_dec_ref(x_879); - x_892 = lean_box(0); -} -if (lean_is_scalar(x_892)) { - x_893 = lean_alloc_ctor(1, 2, 0); -} else { - x_893 = x_892; -} -lean_ctor_set(x_893, 0, x_890); -lean_ctor_set(x_893, 1, x_891); -return x_893; -} -} -else -{ -lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; 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_894 = lean_ctor_get(x_12, 0); -lean_inc(x_894); -lean_dec(x_12); -x_895 = l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(x_894, x_759, x_15, x_16, x_758); -x_896 = lean_ctor_get(x_895, 0); -lean_inc(x_896); -x_897 = lean_ctor_get(x_895, 1); -lean_inc(x_897); -if (lean_is_exclusive(x_895)) { - lean_ctor_release(x_895, 0); - lean_ctor_release(x_895, 1); - x_898 = x_895; -} else { - lean_dec_ref(x_895); - x_898 = lean_box(0); -} -x_899 = lean_box(2); -x_900 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_901 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_901, 0, x_899); -lean_ctor_set(x_901, 1, x_900); -lean_ctor_set(x_901, 2, x_24); -if (lean_is_scalar(x_898)) { - x_902 = lean_alloc_ctor(1, 2, 0); -} else { - x_902 = x_898; - lean_ctor_set_tag(x_902, 1); -} -lean_ctor_set(x_902, 0, x_901); -lean_ctor_set(x_902, 1, x_4); -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_896); -lean_ctor_set(x_903, 1, x_902); -x_904 = lean_array_mk(x_903); -x_905 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_906 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_906, 0, x_899); -lean_ctor_set(x_906, 1, x_905); -lean_ctor_set(x_906, 2, x_904); -x_761 = x_906; -x_762 = x_897; -goto block_874; -} -} -else -{ -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; -x_907 = lean_ctor_get(x_11, 0); -x_908 = lean_box(2); -x_909 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_910 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_910, 0, x_908); -lean_ctor_set(x_910, 1, x_909); -lean_ctor_set(x_910, 2, x_24); -x_911 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_911, 0, x_910); -lean_ctor_set(x_911, 1, x_4); -lean_inc(x_907); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_911); -lean_ctor_set(x_25, 0, x_907); -x_912 = lean_array_mk(x_25); -x_913 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_914 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_914, 0, x_908); -lean_ctor_set(x_914, 1, x_913); -lean_ctor_set(x_914, 2, x_912); -x_761 = x_914; -x_762 = x_758; -goto block_874; -} -else -{ -lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; -x_915 = lean_ctor_get(x_11, 0); -x_916 = lean_ctor_get(x_12, 0); -lean_inc(x_916); -lean_dec(x_12); -x_917 = l_Lean_mkIdentFrom(x_915, x_916, x_759); -x_918 = lean_box(2); -x_919 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_920 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_920, 0, x_918); -lean_ctor_set(x_920, 1, x_919); -lean_ctor_set(x_920, 2, x_24); -x_921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_921, 0, x_920); -lean_ctor_set(x_921, 1, x_4); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_921); -lean_ctor_set(x_25, 0, x_917); -x_922 = lean_array_mk(x_25); -x_923 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_924 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_924, 0, x_918); -lean_ctor_set(x_924, 1, x_923); -lean_ctor_set(x_924, 2, x_922); -x_761 = x_924; -x_762 = x_758; -goto block_874; -} -} -block_874: -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; uint8_t x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; size_t x_794; lean_object* x_795; 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; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; -x_763 = l_Lean_Elab_Command_getRef(x_15, x_16, x_762); -x_764 = lean_ctor_get(x_763, 0); -lean_inc(x_764); -x_765 = lean_ctor_get(x_763, 1); -lean_inc(x_765); -if (lean_is_exclusive(x_763)) { - lean_ctor_release(x_763, 0); - lean_ctor_release(x_763, 1); - x_766 = x_763; -} else { - lean_dec_ref(x_763); - x_766 = lean_box(0); -} -x_767 = l_Lean_replaceRef(x_6, x_764); -lean_dec(x_764); -x_768 = lean_ctor_get(x_15, 0); -lean_inc(x_768); -x_769 = lean_ctor_get(x_15, 1); -lean_inc(x_769); -x_770 = lean_ctor_get(x_15, 2); -lean_inc(x_770); -x_771 = lean_ctor_get(x_15, 3); -lean_inc(x_771); -x_772 = lean_ctor_get(x_15, 4); -lean_inc(x_772); -x_773 = lean_ctor_get(x_15, 5); -lean_inc(x_773); -x_774 = lean_ctor_get(x_15, 7); -lean_inc(x_774); -x_775 = lean_ctor_get(x_15, 8); -lean_inc(x_775); -x_776 = lean_ctor_get_uint8(x_15, sizeof(void*)*9); -x_777 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_777, 0, x_768); -lean_ctor_set(x_777, 1, x_769); -lean_ctor_set(x_777, 2, x_770); -lean_ctor_set(x_777, 3, x_771); -lean_ctor_set(x_777, 4, x_772); -lean_ctor_set(x_777, 5, x_773); -lean_ctor_set(x_777, 6, x_767); -lean_ctor_set(x_777, 7, x_774); -lean_ctor_set(x_777, 8, x_775); -lean_ctor_set_uint8(x_777, sizeof(void*)*9, x_776); -x_778 = l_Lean_Elab_Command_getRef(x_777, x_16, x_765); -x_779 = lean_ctor_get(x_778, 0); -lean_inc(x_779); -x_780 = lean_ctor_get(x_778, 1); -lean_inc(x_780); -if (lean_is_exclusive(x_778)) { - lean_ctor_release(x_778, 0); - lean_ctor_release(x_778, 1); - x_781 = x_778; -} else { - lean_dec_ref(x_778); - x_781 = lean_box(0); -} -x_782 = l_Lean_SourceInfo_fromRef(x_779, x_759); -lean_dec(x_779); -x_783 = l_Lean_Elab_Command_getCurrMacroScope(x_777, x_16, x_780); -lean_dec(x_777); -x_784 = lean_ctor_get(x_783, 1); -lean_inc(x_784); -if (lean_is_exclusive(x_783)) { - lean_ctor_release(x_783, 0); - lean_ctor_release(x_783, 1); - x_785 = x_783; -} else { - lean_dec_ref(x_783); - x_785 = lean_box(0); -} -x_786 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_784); -x_787 = lean_ctor_get(x_786, 1); -lean_inc(x_787); -if (lean_is_exclusive(x_786)) { - lean_ctor_release(x_786, 0); - lean_ctor_release(x_786, 1); - x_788 = x_786; -} else { - lean_dec_ref(x_786); - x_788 = lean_box(0); -} -x_789 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_782); -if (lean_is_scalar(x_788)) { - x_790 = lean_alloc_ctor(2, 2, 0); -} else { - x_790 = x_788; - lean_ctor_set_tag(x_790, 2); -} -lean_ctor_set(x_790, 0, x_782); -lean_ctor_set(x_790, 1, x_789); -x_791 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_792 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_782); -x_793 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_793, 0, x_782); -lean_ctor_set(x_793, 1, x_791); -lean_ctor_set(x_793, 2, x_792); -x_794 = lean_array_size(x_27); -x_795 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_794, x_20, x_27); -x_796 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_797 = l_Lean_mkSepArray(x_795, x_796); -lean_dec(x_795); -x_798 = l_Array_append___rarg(x_792, x_797); -lean_dec(x_797); -lean_inc(x_782); -x_799 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_799, 0, x_782); -lean_ctor_set(x_799, 1, x_791); -lean_ctor_set(x_799, 2, x_798); -x_800 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_782); -x_801 = l_Lean_Syntax_node1(x_782, x_800, x_799); -x_802 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_793); -lean_inc(x_782); -x_803 = l_Lean_Syntax_node1(x_782, x_802, x_793); -x_804 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_782); -if (lean_is_scalar(x_785)) { - x_805 = lean_alloc_ctor(2, 2, 0); -} else { - x_805 = x_785; - lean_ctor_set_tag(x_805, 2); -} -lean_ctor_set(x_805, 0, x_782); -lean_ctor_set(x_805, 1, x_804); -x_806 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_793); -x_807 = l_Lean_Syntax_node6(x_782, x_806, x_790, x_793, x_801, x_803, x_793, x_805); -x_808 = l_Lean_Elab_Command_getRef(x_15, x_16, x_787); -x_809 = lean_ctor_get(x_808, 0); -lean_inc(x_809); -x_810 = lean_ctor_get(x_808, 1); -lean_inc(x_810); -if (lean_is_exclusive(x_808)) { - lean_ctor_release(x_808, 0); - lean_ctor_release(x_808, 1); - x_811 = x_808; -} else { - lean_dec_ref(x_808); - x_811 = lean_box(0); -} -x_812 = l_Lean_SourceInfo_fromRef(x_809, x_759); -lean_dec(x_809); -x_813 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_810); -x_814 = lean_ctor_get(x_813, 1); -lean_inc(x_814); -if (lean_is_exclusive(x_813)) { - lean_ctor_release(x_813, 0); - lean_ctor_release(x_813, 1); - x_815 = x_813; -} else { - lean_dec_ref(x_813); - x_815 = lean_box(0); -} -x_816 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_814); -x_817 = lean_ctor_get(x_816, 1); -lean_inc(x_817); -if (lean_is_exclusive(x_816)) { - lean_ctor_release(x_816, 0); - lean_ctor_release(x_816, 1); - x_818 = x_816; -} else { - lean_dec_ref(x_816); - x_818 = lean_box(0); -} -x_819 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_812); -if (lean_is_scalar(x_818)) { - x_820 = lean_alloc_ctor(2, 2, 0); -} else { - x_820 = x_818; - lean_ctor_set_tag(x_820, 2); -} -lean_ctor_set(x_820, 0, x_812); -lean_ctor_set(x_820, 1, x_819); -x_821 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_822 = l_Lean_Syntax_SepArray_ofElems(x_821, x_7); -x_823 = l_Array_append___rarg(x_792, x_822); -lean_dec(x_822); -lean_inc(x_812); -x_824 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_824, 0, x_812); -lean_ctor_set(x_824, 1, x_791); -lean_ctor_set(x_824, 2, x_823); -x_825 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_812); -if (lean_is_scalar(x_815)) { - x_826 = lean_alloc_ctor(2, 2, 0); -} else { - x_826 = x_815; - lean_ctor_set_tag(x_826, 2); -} -lean_ctor_set(x_826, 0, x_812); -lean_ctor_set(x_826, 1, x_825); -x_827 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_812); -x_828 = l_Lean_Syntax_node3(x_812, x_827, x_820, x_824, x_826); -lean_inc(x_812); -x_829 = l_Lean_Syntax_node1(x_812, x_791, x_828); -lean_inc(x_812); -x_830 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_830, 0, x_812); -lean_ctor_set(x_830, 1, x_791); -lean_ctor_set(x_830, 2, x_792); -x_831 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_812); -if (lean_is_scalar(x_811)) { - x_832 = lean_alloc_ctor(2, 2, 0); -} else { - x_832 = x_811; - lean_ctor_set_tag(x_832, 2); -} -lean_ctor_set(x_832, 0, x_812); -lean_ctor_set(x_832, 1, x_831); -x_833 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_812); -if (lean_is_scalar(x_781)) { - x_834 = lean_alloc_ctor(2, 2, 0); -} else { - x_834 = x_781; - lean_ctor_set_tag(x_834, 2); -} -lean_ctor_set(x_834, 0, x_812); -lean_ctor_set(x_834, 1, x_833); -x_835 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_812); -x_836 = l_Lean_Syntax_node2(x_812, x_835, x_834, x_760); -lean_inc(x_812); -x_837 = l_Lean_Syntax_node1(x_812, x_791, x_836); -x_838 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_830); -lean_inc(x_812); -x_839 = l_Lean_Syntax_node2(x_812, x_838, x_830, x_837); -x_840 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_812); -if (lean_is_scalar(x_766)) { - x_841 = lean_alloc_ctor(2, 2, 0); -} else { - x_841 = x_766; - lean_ctor_set_tag(x_841, 2); -} -lean_ctor_set(x_841, 0, x_812); -lean_ctor_set(x_841, 1, x_840); -x_842 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_830, 2); -lean_inc(x_812); -x_843 = l_Lean_Syntax_node2(x_812, x_842, x_830, x_830); -if (lean_obj_tag(x_10) == 0) -{ -x_844 = x_792; -goto block_871; -} -else -{ -lean_object* x_872; lean_object* x_873; -x_872 = lean_ctor_get(x_10, 0); -lean_inc(x_872); -lean_dec(x_10); -x_873 = l_Array_mkArray1___rarg(x_872); -x_844 = x_873; -goto block_871; -} -block_871: -{ -lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; -x_845 = l_Array_append___rarg(x_792, x_844); -lean_dec(x_844); -lean_inc(x_812); -x_846 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_846, 0, x_812); -lean_ctor_set(x_846, 1, x_791); -lean_ctor_set(x_846, 2, x_845); -x_847 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_830, 3); -lean_inc(x_812); -x_848 = l_Lean_Syntax_node6(x_812, x_847, x_846, x_829, x_830, x_830, x_830, x_830); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; -x_849 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_812); -x_850 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_850, 0, x_812); -lean_ctor_set(x_850, 1, x_791); -lean_ctor_set(x_850, 2, x_849); -x_851 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_812); -x_852 = l_Lean_Syntax_node4(x_812, x_851, x_841, x_807, x_843, x_850); -x_853 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_812); -x_854 = l_Lean_Syntax_node4(x_812, x_853, x_832, x_761, x_839, x_852); -x_855 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_856 = l_Lean_Syntax_node2(x_812, x_855, x_848, x_854); -lean_inc(x_856); -x_857 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_857, 0, x_856); -x_858 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_856, x_857, x_15, x_16, x_817); -return x_858; -} -else -{ -lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; -x_859 = lean_ctor_get(x_8, 0); -lean_inc(x_859); -lean_dec(x_8); -x_860 = l_Array_mkArray1___rarg(x_859); -x_861 = l_Array_append___rarg(x_792, x_860); -lean_dec(x_860); -lean_inc(x_812); -x_862 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_862, 0, x_812); -lean_ctor_set(x_862, 1, x_791); -lean_ctor_set(x_862, 2, x_861); -x_863 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_812); -x_864 = l_Lean_Syntax_node4(x_812, x_863, x_841, x_807, x_843, x_862); -x_865 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_812); -x_866 = l_Lean_Syntax_node4(x_812, x_865, x_832, x_761, x_839, x_864); -x_867 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_868 = l_Lean_Syntax_node2(x_812, x_867, x_848, x_866); -lean_inc(x_868); -x_869 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_869, 0, x_868); -x_870 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_868, x_869, x_15, x_16, x_817); -return x_870; -} -} -} -} -} -else -{ -lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; uint8_t x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; -x_925 = lean_ctor_get(x_25, 0); -x_926 = lean_ctor_get(x_25, 1); -lean_inc(x_926); -lean_inc(x_925); -lean_dec(x_25); -x_927 = l_Lean_Elab_Command_getRef(x_15, x_16, x_926); -x_928 = lean_ctor_get(x_927, 0); -lean_inc(x_928); -x_929 = lean_ctor_get(x_927, 1); -lean_inc(x_929); -if (lean_is_exclusive(x_927)) { - lean_ctor_release(x_927, 0); - lean_ctor_release(x_927, 1); - x_930 = x_927; -} else { - lean_dec_ref(x_927); - x_930 = lean_box(0); -} -x_931 = 0; -x_932 = l_Lean_mkCIdentFrom(x_928, x_2, x_931); -lean_dec(x_928); -if (lean_obj_tag(x_11) == 0) -{ -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; -x_1047 = l_Lean_Elab_Command_getRef(x_15, x_16, x_929); -x_1048 = lean_ctor_get(x_1047, 0); -lean_inc(x_1048); -x_1049 = lean_ctor_get(x_1047, 1); -lean_inc(x_1049); -if (lean_is_exclusive(x_1047)) { - lean_ctor_release(x_1047, 0); - lean_ctor_release(x_1047, 1); - x_1050 = x_1047; -} else { - lean_dec_ref(x_1047); - x_1050 = lean_box(0); -} -lean_inc(x_16); -lean_inc(x_15); -x_1051 = l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_1048, x_931, x_15, x_16, x_1049); -lean_dec(x_1048); -if (lean_obj_tag(x_1051) == 0) -{ -lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; -x_1052 = lean_ctor_get(x_1051, 0); -lean_inc(x_1052); -x_1053 = lean_ctor_get(x_1051, 1); -lean_inc(x_1053); -lean_dec(x_1051); -x_1054 = lean_box(2); -x_1055 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_1056 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1056, 0, x_1054); -lean_ctor_set(x_1056, 1, x_1055); -lean_ctor_set(x_1056, 2, x_24); -if (lean_is_scalar(x_1050)) { - x_1057 = lean_alloc_ctor(1, 2, 0); -} else { - x_1057 = x_1050; - lean_ctor_set_tag(x_1057, 1); -} -lean_ctor_set(x_1057, 0, x_1056); -lean_ctor_set(x_1057, 1, x_4); -if (lean_is_scalar(x_930)) { - x_1058 = lean_alloc_ctor(1, 2, 0); -} else { - x_1058 = x_930; - lean_ctor_set_tag(x_1058, 1); -} -lean_ctor_set(x_1058, 0, x_1052); -lean_ctor_set(x_1058, 1, x_1057); -x_1059 = lean_array_mk(x_1058); -x_1060 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_1061 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1061, 0, x_1054); -lean_ctor_set(x_1061, 1, x_1060); -lean_ctor_set(x_1061, 2, x_1059); -x_933 = x_1061; -x_934 = x_1053; -goto block_1046; -} -else -{ -lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -lean_dec(x_1050); -lean_dec(x_932); -lean_dec(x_930); -lean_dec(x_925); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_1062 = lean_ctor_get(x_1051, 0); -lean_inc(x_1062); -x_1063 = lean_ctor_get(x_1051, 1); -lean_inc(x_1063); -if (lean_is_exclusive(x_1051)) { - lean_ctor_release(x_1051, 0); - lean_ctor_release(x_1051, 1); - x_1064 = x_1051; -} else { - lean_dec_ref(x_1051); - x_1064 = lean_box(0); -} -if (lean_is_scalar(x_1064)) { - x_1065 = lean_alloc_ctor(1, 2, 0); -} else { - x_1065 = x_1064; -} -lean_ctor_set(x_1065, 0, x_1062); -lean_ctor_set(x_1065, 1, x_1063); -return x_1065; -} -} -else -{ -lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; -x_1066 = lean_ctor_get(x_12, 0); -lean_inc(x_1066); -lean_dec(x_12); -x_1067 = l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(x_1066, x_931, x_15, x_16, x_929); -x_1068 = lean_ctor_get(x_1067, 0); -lean_inc(x_1068); -x_1069 = lean_ctor_get(x_1067, 1); -lean_inc(x_1069); -if (lean_is_exclusive(x_1067)) { - lean_ctor_release(x_1067, 0); - lean_ctor_release(x_1067, 1); - x_1070 = x_1067; -} else { - lean_dec_ref(x_1067); - x_1070 = lean_box(0); -} -x_1071 = lean_box(2); -x_1072 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_1073 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1073, 0, x_1071); -lean_ctor_set(x_1073, 1, x_1072); -lean_ctor_set(x_1073, 2, x_24); -if (lean_is_scalar(x_1070)) { - x_1074 = lean_alloc_ctor(1, 2, 0); -} else { - x_1074 = x_1070; - lean_ctor_set_tag(x_1074, 1); -} -lean_ctor_set(x_1074, 0, x_1073); -lean_ctor_set(x_1074, 1, x_4); -if (lean_is_scalar(x_930)) { - x_1075 = lean_alloc_ctor(1, 2, 0); -} else { - x_1075 = x_930; - lean_ctor_set_tag(x_1075, 1); -} -lean_ctor_set(x_1075, 0, x_1068); -lean_ctor_set(x_1075, 1, x_1074); -x_1076 = lean_array_mk(x_1075); -x_1077 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_1078 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1078, 0, x_1071); -lean_ctor_set(x_1078, 1, x_1077); -lean_ctor_set(x_1078, 2, x_1076); -x_933 = x_1078; -x_934 = x_1069; -goto block_1046; -} -} -else -{ -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_1079; 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_1079 = lean_ctor_get(x_11, 0); -x_1080 = lean_box(2); -x_1081 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_1082 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1082, 0, x_1080); -lean_ctor_set(x_1082, 1, x_1081); -lean_ctor_set(x_1082, 2, x_24); -if (lean_is_scalar(x_930)) { - x_1083 = lean_alloc_ctor(1, 2, 0); -} else { - x_1083 = x_930; - lean_ctor_set_tag(x_1083, 1); -} -lean_ctor_set(x_1083, 0, x_1082); -lean_ctor_set(x_1083, 1, x_4); -lean_inc(x_1079); -x_1084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1084, 0, x_1079); -lean_ctor_set(x_1084, 1, x_1083); -x_1085 = lean_array_mk(x_1084); -x_1086 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_1087 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1087, 0, x_1080); -lean_ctor_set(x_1087, 1, x_1086); -lean_ctor_set(x_1087, 2, x_1085); -x_933 = x_1087; -x_934 = x_929; -goto block_1046; -} -else -{ -lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; -x_1088 = lean_ctor_get(x_11, 0); -x_1089 = lean_ctor_get(x_12, 0); -lean_inc(x_1089); -lean_dec(x_12); -x_1090 = l_Lean_mkIdentFrom(x_1088, x_1089, x_931); -x_1091 = lean_box(2); -x_1092 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_1093 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1093, 0, x_1091); -lean_ctor_set(x_1093, 1, x_1092); -lean_ctor_set(x_1093, 2, x_24); -if (lean_is_scalar(x_930)) { - x_1094 = lean_alloc_ctor(1, 2, 0); -} else { - x_1094 = x_930; - lean_ctor_set_tag(x_1094, 1); -} -lean_ctor_set(x_1094, 0, x_1093); -lean_ctor_set(x_1094, 1, x_4); -x_1095 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1095, 0, x_1090); -lean_ctor_set(x_1095, 1, x_1094); -x_1096 = lean_array_mk(x_1095); -x_1097 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_1098 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1098, 0, x_1091); -lean_ctor_set(x_1098, 1, x_1097); -lean_ctor_set(x_1098, 2, x_1096); -x_933 = x_1098; -x_934 = x_929; -goto block_1046; -} -} -block_1046: -{ -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; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; uint8_t x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; size_t x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; -x_935 = l_Lean_Elab_Command_getRef(x_15, x_16, x_934); -x_936 = lean_ctor_get(x_935, 0); -lean_inc(x_936); -x_937 = lean_ctor_get(x_935, 1); -lean_inc(x_937); -if (lean_is_exclusive(x_935)) { - lean_ctor_release(x_935, 0); - lean_ctor_release(x_935, 1); - x_938 = x_935; -} else { - lean_dec_ref(x_935); - x_938 = lean_box(0); -} -x_939 = l_Lean_replaceRef(x_6, x_936); -lean_dec(x_936); -x_940 = lean_ctor_get(x_15, 0); -lean_inc(x_940); -x_941 = lean_ctor_get(x_15, 1); -lean_inc(x_941); -x_942 = lean_ctor_get(x_15, 2); -lean_inc(x_942); -x_943 = lean_ctor_get(x_15, 3); -lean_inc(x_943); -x_944 = lean_ctor_get(x_15, 4); -lean_inc(x_944); -x_945 = lean_ctor_get(x_15, 5); -lean_inc(x_945); -x_946 = lean_ctor_get(x_15, 7); -lean_inc(x_946); -x_947 = lean_ctor_get(x_15, 8); -lean_inc(x_947); -x_948 = lean_ctor_get_uint8(x_15, sizeof(void*)*9); -x_949 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_949, 0, x_940); -lean_ctor_set(x_949, 1, x_941); -lean_ctor_set(x_949, 2, x_942); -lean_ctor_set(x_949, 3, x_943); -lean_ctor_set(x_949, 4, x_944); -lean_ctor_set(x_949, 5, x_945); -lean_ctor_set(x_949, 6, x_939); -lean_ctor_set(x_949, 7, x_946); -lean_ctor_set(x_949, 8, x_947); -lean_ctor_set_uint8(x_949, sizeof(void*)*9, x_948); -x_950 = l_Lean_Elab_Command_getRef(x_949, x_16, x_937); -x_951 = lean_ctor_get(x_950, 0); -lean_inc(x_951); -x_952 = lean_ctor_get(x_950, 1); -lean_inc(x_952); -if (lean_is_exclusive(x_950)) { - lean_ctor_release(x_950, 0); - lean_ctor_release(x_950, 1); - x_953 = x_950; -} else { - lean_dec_ref(x_950); - x_953 = lean_box(0); -} -x_954 = l_Lean_SourceInfo_fromRef(x_951, x_931); -lean_dec(x_951); -x_955 = l_Lean_Elab_Command_getCurrMacroScope(x_949, x_16, x_952); -lean_dec(x_949); -x_956 = lean_ctor_get(x_955, 1); -lean_inc(x_956); -if (lean_is_exclusive(x_955)) { - lean_ctor_release(x_955, 0); - lean_ctor_release(x_955, 1); - x_957 = x_955; -} else { - lean_dec_ref(x_955); - x_957 = lean_box(0); -} -x_958 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_956); -x_959 = lean_ctor_get(x_958, 1); -lean_inc(x_959); -if (lean_is_exclusive(x_958)) { - lean_ctor_release(x_958, 0); - lean_ctor_release(x_958, 1); - x_960 = x_958; -} else { - lean_dec_ref(x_958); - x_960 = lean_box(0); -} -x_961 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_954); -if (lean_is_scalar(x_960)) { - x_962 = lean_alloc_ctor(2, 2, 0); -} else { - x_962 = x_960; - lean_ctor_set_tag(x_962, 2); -} -lean_ctor_set(x_962, 0, x_954); -lean_ctor_set(x_962, 1, x_961); -x_963 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_964 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_954); -x_965 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_965, 0, x_954); -lean_ctor_set(x_965, 1, x_963); -lean_ctor_set(x_965, 2, x_964); -x_966 = lean_array_size(x_925); -x_967 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_966, x_20, x_925); -x_968 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_969 = l_Lean_mkSepArray(x_967, x_968); -lean_dec(x_967); -x_970 = l_Array_append___rarg(x_964, x_969); -lean_dec(x_969); -lean_inc(x_954); -x_971 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_971, 0, x_954); -lean_ctor_set(x_971, 1, x_963); -lean_ctor_set(x_971, 2, x_970); -x_972 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_954); -x_973 = l_Lean_Syntax_node1(x_954, x_972, x_971); -x_974 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_965); -lean_inc(x_954); -x_975 = l_Lean_Syntax_node1(x_954, x_974, x_965); -x_976 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_954); -if (lean_is_scalar(x_957)) { - x_977 = lean_alloc_ctor(2, 2, 0); -} else { - x_977 = x_957; - lean_ctor_set_tag(x_977, 2); -} -lean_ctor_set(x_977, 0, x_954); -lean_ctor_set(x_977, 1, x_976); -x_978 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_965); -x_979 = l_Lean_Syntax_node6(x_954, x_978, x_962, x_965, x_973, x_975, x_965, x_977); -x_980 = l_Lean_Elab_Command_getRef(x_15, x_16, x_959); -x_981 = lean_ctor_get(x_980, 0); -lean_inc(x_981); -x_982 = lean_ctor_get(x_980, 1); -lean_inc(x_982); -if (lean_is_exclusive(x_980)) { - lean_ctor_release(x_980, 0); - lean_ctor_release(x_980, 1); - x_983 = x_980; -} else { - lean_dec_ref(x_980); - x_983 = lean_box(0); -} -x_984 = l_Lean_SourceInfo_fromRef(x_981, x_931); -lean_dec(x_981); -x_985 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_982); -x_986 = lean_ctor_get(x_985, 1); -lean_inc(x_986); -if (lean_is_exclusive(x_985)) { - lean_ctor_release(x_985, 0); - lean_ctor_release(x_985, 1); - x_987 = x_985; -} else { - lean_dec_ref(x_985); - x_987 = lean_box(0); -} -x_988 = l_Lean_Elab_Command_getMainModule___rarg(x_16, x_986); -x_989 = lean_ctor_get(x_988, 1); -lean_inc(x_989); -if (lean_is_exclusive(x_988)) { - lean_ctor_release(x_988, 0); - lean_ctor_release(x_988, 1); - x_990 = x_988; -} else { - lean_dec_ref(x_988); - x_990 = lean_box(0); -} -x_991 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_984); -if (lean_is_scalar(x_990)) { - x_992 = lean_alloc_ctor(2, 2, 0); -} else { - x_992 = x_990; - lean_ctor_set_tag(x_992, 2); -} -lean_ctor_set(x_992, 0, x_984); -lean_ctor_set(x_992, 1, x_991); -x_993 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_994 = l_Lean_Syntax_SepArray_ofElems(x_993, x_7); -x_995 = l_Array_append___rarg(x_964, x_994); -lean_dec(x_994); -lean_inc(x_984); -x_996 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_996, 0, x_984); -lean_ctor_set(x_996, 1, x_963); -lean_ctor_set(x_996, 2, x_995); -x_997 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_984); -if (lean_is_scalar(x_987)) { - x_998 = lean_alloc_ctor(2, 2, 0); -} else { - x_998 = x_987; - lean_ctor_set_tag(x_998, 2); -} -lean_ctor_set(x_998, 0, x_984); -lean_ctor_set(x_998, 1, x_997); -x_999 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_984); -x_1000 = l_Lean_Syntax_node3(x_984, x_999, x_992, x_996, x_998); -lean_inc(x_984); -x_1001 = l_Lean_Syntax_node1(x_984, x_963, x_1000); -lean_inc(x_984); -x_1002 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1002, 0, x_984); -lean_ctor_set(x_1002, 1, x_963); -lean_ctor_set(x_1002, 2, x_964); -x_1003 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_984); -if (lean_is_scalar(x_983)) { - x_1004 = lean_alloc_ctor(2, 2, 0); -} else { - x_1004 = x_983; - lean_ctor_set_tag(x_1004, 2); -} -lean_ctor_set(x_1004, 0, x_984); -lean_ctor_set(x_1004, 1, x_1003); -x_1005 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_984); -if (lean_is_scalar(x_953)) { - x_1006 = lean_alloc_ctor(2, 2, 0); -} else { - x_1006 = x_953; - lean_ctor_set_tag(x_1006, 2); -} -lean_ctor_set(x_1006, 0, x_984); -lean_ctor_set(x_1006, 1, x_1005); -x_1007 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_984); -x_1008 = l_Lean_Syntax_node2(x_984, x_1007, x_1006, x_932); -lean_inc(x_984); -x_1009 = l_Lean_Syntax_node1(x_984, x_963, x_1008); -x_1010 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_1002); -lean_inc(x_984); -x_1011 = l_Lean_Syntax_node2(x_984, x_1010, x_1002, x_1009); -x_1012 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_984); -if (lean_is_scalar(x_938)) { - x_1013 = lean_alloc_ctor(2, 2, 0); -} else { - x_1013 = x_938; - lean_ctor_set_tag(x_1013, 2); -} -lean_ctor_set(x_1013, 0, x_984); -lean_ctor_set(x_1013, 1, x_1012); -x_1014 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_1002, 2); -lean_inc(x_984); -x_1015 = l_Lean_Syntax_node2(x_984, x_1014, x_1002, x_1002); -if (lean_obj_tag(x_10) == 0) -{ -x_1016 = x_964; -goto block_1043; -} -else -{ -lean_object* x_1044; lean_object* x_1045; -x_1044 = lean_ctor_get(x_10, 0); -lean_inc(x_1044); -lean_dec(x_10); -x_1045 = l_Array_mkArray1___rarg(x_1044); -x_1016 = x_1045; -goto block_1043; -} -block_1043: -{ -lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; -x_1017 = l_Array_append___rarg(x_964, x_1016); -lean_dec(x_1016); -lean_inc(x_984); -x_1018 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1018, 0, x_984); -lean_ctor_set(x_1018, 1, x_963); -lean_ctor_set(x_1018, 2, x_1017); -x_1019 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_1002, 3); -lean_inc(x_984); -x_1020 = l_Lean_Syntax_node6(x_984, x_1019, x_1018, x_1001, x_1002, x_1002, x_1002, x_1002); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; -x_1021 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_984); -x_1022 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1022, 0, x_984); -lean_ctor_set(x_1022, 1, x_963); -lean_ctor_set(x_1022, 2, x_1021); -x_1023 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_984); -x_1024 = l_Lean_Syntax_node4(x_984, x_1023, x_1013, x_979, x_1015, x_1022); -x_1025 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_984); -x_1026 = l_Lean_Syntax_node4(x_984, x_1025, x_1004, x_933, x_1011, x_1024); -x_1027 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_1028 = l_Lean_Syntax_node2(x_984, x_1027, x_1020, x_1026); -lean_inc(x_1028); -x_1029 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_1029, 0, x_1028); -x_1030 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_1028, x_1029, x_15, x_16, x_989); -return x_1030; -} -else -{ -lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; -x_1031 = lean_ctor_get(x_8, 0); -lean_inc(x_1031); -lean_dec(x_8); -x_1032 = l_Array_mkArray1___rarg(x_1031); -x_1033 = l_Array_append___rarg(x_964, x_1032); -lean_dec(x_1032); -lean_inc(x_984); -x_1034 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1034, 0, x_984); -lean_ctor_set(x_1034, 1, x_963); -lean_ctor_set(x_1034, 2, x_1033); -x_1035 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_984); -x_1036 = l_Lean_Syntax_node4(x_984, x_1035, x_1013, x_979, x_1015, x_1034); -x_1037 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_984); -x_1038 = l_Lean_Syntax_node4(x_984, x_1037, x_1004, x_933, x_1011, x_1036); -x_1039 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_1040 = l_Lean_Syntax_node2(x_984, x_1039, x_1020, x_1038); -lean_inc(x_1040); -x_1041 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_1041, 0, x_1040); -x_1042 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_9, x_1040, x_1041, x_15, x_16, x_989); -return x_1042; -} -} -} -} -} -else -{ -uint8_t x_1099; +uint8_t x_304; lean_dec(x_16); lean_dec(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_6); lean_dec(x_4); lean_dec(x_2); -x_1099 = !lean_is_exclusive(x_21); -if (x_1099 == 0) +x_304 = !lean_is_exclusive(x_21); +if (x_304 == 0) { return x_21; } else { -lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; -x_1100 = lean_ctor_get(x_21, 0); -x_1101 = lean_ctor_get(x_21, 1); -lean_inc(x_1101); -lean_inc(x_1100); +lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_305 = lean_ctor_get(x_21, 0); +x_306 = lean_ctor_get(x_21, 1); +lean_inc(x_306); +lean_inc(x_305); lean_dec(x_21); -x_1102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1102, 0, x_1100); -lean_ctor_set(x_1102, 1, x_1101); -return x_1102; +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set(x_307, 1, x_306); +return x_307; } } } } -static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__5___closed__1() { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10930,90 +4562,100 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__2() { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_box(0); -x_14 = l_Lean_Syntax_TSepArray_getElems___rarg(x_8); -x_15 = lean_box(0); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("name", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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; lean_object* x_16; lean_object* x_17; +x_13 = l_Lean_Syntax_getHeadInfo(x_7); +x_14 = lean_box(0); +x_15 = l_Lean_Syntax_TSepArray_getElems___rarg(x_8); +x_16 = lean_box(0); if (lean_obj_tag(x_6) == 0) { -lean_object* x_32; -x_32 = lean_box(0); -x_16 = x_32; -goto block_31; +lean_object* x_33; +x_33 = lean_box(0); +x_17 = x_33; +goto block_32; } else { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_6); -if (x_33 == 0) +uint8_t x_34; +x_34 = !lean_is_exclusive(x_6); +if (x_34 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_6, 0); -x_35 = l_Lake_DSL_expandIdentOrStrAsIdent(x_34); -lean_ctor_set(x_6, 0, x_35); -x_16 = x_6; -goto block_31; +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_6, 0); +x_36 = l_Lake_DSL_expandIdentOrStrAsIdent(x_35); +lean_ctor_set(x_6, 0, x_36); +x_17 = x_6; +goto block_32; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_6, 0); -lean_inc(x_36); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_6, 0); +lean_inc(x_37); lean_dec(x_6); -x_37 = l_Lake_DSL_expandIdentOrStrAsIdent(x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_16 = x_38; -goto block_31; +x_38 = l_Lake_DSL_expandIdentOrStrAsIdent(x_37); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_17 = x_39; +goto block_32; } } -block_31: +block_32: { -if (lean_obj_tag(x_16) == 0) +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = l_Lake_DSL_declField___closed__2; -x_18 = l_Lake_DSL_elabConfigDecl___lambda__5___closed__1; -x_19 = lean_box(0); -x_20 = l_Lake_DSL_elabConfigDecl___lambda__4(x_14, x_1, x_17, x_13, x_18, x_7, x_2, x_9, x_3, x_4, x_16, x_5, x_15, x_19, x_10, x_11, x_12); -lean_dec(x_14); -return x_20; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = l_Lake_DSL_declField___closed__2; +x_19 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__1; +x_20 = lean_box(0); +x_21 = l_Lake_DSL_elabConfigDecl___lambda__2(x_15, x_1, x_18, x_14, x_19, x_13, x_2, x_3, x_4, x_9, x_17, x_5, x_16, x_20, x_10, x_11, x_12); +lean_dec(x_15); +return x_21; } else { -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; -x_21 = lean_ctor_get(x_16, 0); -lean_inc(x_21); -x_22 = l_Lean_Syntax_getId(x_21); -x_23 = l_Lake_Name_quoteFrom(x_21, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__2; -x_26 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_15, x_25, x_24); -x_27 = l_Lake_DSL_declField___closed__2; -x_28 = l_Lake_DSL_elabConfigDecl___lambda__5___closed__1; -x_29 = lean_box(0); -x_30 = l_Lake_DSL_elabConfigDecl___lambda__4(x_14, x_1, x_27, x_13, x_28, x_7, x_2, x_9, x_3, x_4, x_16, x_5, x_26, x_29, x_10, x_11, x_12); -lean_dec(x_16); -lean_dec(x_14); -return x_30; +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; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +x_23 = l_Lean_Syntax_getId(x_22); +x_24 = l_Lake_Name_quoteFrom(x_22, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__3; +x_27 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_16, x_26, x_25); +x_28 = l_Lake_DSL_declField___closed__2; +x_29 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__1; +x_30 = lean_box(0); +x_31 = l_Lake_DSL_elabConfigDecl___lambda__2(x_15, x_1, x_28, x_14, x_29, x_13, x_2, x_3, x_4, x_9, x_17, x_5, x_27, x_30, x_10, x_11, x_12); +lean_dec(x_15); +return x_31; } } } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = lean_apply_7(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_object* x_9) { +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { _start: { lean_object* x_10; lean_object* x_11; @@ -11022,3455 +4664,1233 @@ x_11 = lean_apply_7(x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -lean_inc(x_12); -x_13 = l_Lean_Syntax_matchesNull(x_12, x_11); -if (x_13 == 0) +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +lean_inc(x_10); +x_11 = l_Lean_Syntax_matchesNull(x_10, x_9); +if (x_11 == 0) { -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec(x_7); +lean_object* x_12; lean_object* x_13; +lean_dec(x_10); lean_dec(x_5); -lean_dec(x_4); -x_14 = lean_box(0); -x_15 = lean_apply_4(x_2, x_14, x_8, x_9, x_10); -return x_15; +lean_dec(x_3); +x_12 = lean_box(0); +x_13 = lean_apply_4(x_2, x_12, x_6, x_7, x_8); +return x_13; } else { -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_12, x_16); -lean_dec(x_12); -x_18 = l_Lake_DSL_declValWhere___closed__2; -lean_inc(x_17); -x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_10, x_14); +lean_dec(x_10); +x_16 = l_Lake_DSL_declValWhere___closed__2; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lake_DSL_declValStruct___closed__2; +lean_inc(x_15); +x_19 = l_Lean_Syntax_isOfKind(x_15, x_18); if (x_19 == 0) { -lean_object* x_20; uint8_t x_21; +lean_object* x_20; lean_object* x_21; +lean_dec(x_15); lean_dec(x_5); -x_20 = l_Lake_DSL_declValStruct___closed__2; -lean_inc(x_17); -x_21 = l_Lean_Syntax_isOfKind(x_17, x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_17); -lean_dec(x_7); -lean_dec(x_4); -x_22 = lean_box(0); -x_23 = lean_apply_4(x_2, x_22, x_8, x_9, x_10); -return x_23; +lean_dec(x_3); +x_20 = lean_box(0); +x_21 = lean_apply_4(x_2, x_20, x_6, x_7, x_8); +return x_21; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = l_Lean_Syntax_getArg(x_17, x_16); -x_25 = l_Lake_DSL_structVal___closed__2; -lean_inc(x_24); -x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); -if (x_26 == 0) +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = l_Lean_Syntax_getArg(x_15, x_14); +x_23 = l_Lake_DSL_structVal___closed__2; +lean_inc(x_22); +x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); +if (x_24 == 0) { -lean_object* x_27; lean_object* x_28; -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_7); -lean_dec(x_4); -x_27 = lean_box(0); -x_28 = lean_apply_4(x_2, x_27, x_8, x_9, x_10); -return x_28; +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_apply_4(x_2, x_25, x_6, x_7, x_8); +return x_26; } else { -lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; -x_29 = l_Lean_Syntax_getArg(x_24, x_11); -x_30 = l_Lean_Syntax_getArgs(x_29); -lean_dec(x_29); -x_31 = lean_array_size(x_30); -x_32 = 0; -x_33 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11(x_3, x_31, x_32, x_30); -if (lean_obj_tag(x_33) == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = l_Lean_Syntax_getArg(x_22, x_14); +x_28 = l_Lean_Syntax_getArg(x_22, x_9); +lean_dec(x_22); +x_29 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; +lean_inc(x_28); +x_30 = l_Lean_Syntax_isOfKind(x_28, x_29); +if (x_30 == 0) { -lean_object* x_34; lean_object* x_35; -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_7); -lean_dec(x_4); -x_34 = lean_box(0); -x_35 = lean_apply_4(x_2, x_34, x_8, x_9, x_10); -return x_35; +lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_3); +x_31 = lean_box(0); +x_32 = lean_apply_4(x_2, x_31, x_6, x_7, x_8); +return x_32; } else { +lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_33 = l_Lean_Syntax_getArg(x_28, x_14); +lean_dec(x_28); +x_34 = l_Lean_Syntax_getArg(x_15, x_9); +lean_dec(x_15); +x_35 = l_Lean_Syntax_isNone(x_34); +if (x_35 == 0) +{ uint8_t x_36; -x_36 = !lean_is_exclusive(x_33); +lean_inc(x_34); +x_36 = l_Lean_Syntax_matchesNull(x_34, x_9); 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, 0); -x_38 = lean_unsigned_to_nat(2u); -x_39 = l_Lean_Syntax_getArg(x_24, x_38); -lean_dec(x_24); -x_40 = l_Lean_Syntax_getArg(x_17, x_11); -lean_dec(x_17); -x_41 = l_Lean_Syntax_isNone(x_40); +lean_object* x_37; lean_object* x_38; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_27); +lean_dec(x_5); +lean_dec(x_3); +x_37 = lean_box(0); +x_38 = lean_apply_4(x_2, x_37, x_6, x_7, x_8); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = l_Lean_Syntax_getArg(x_34, x_14); +lean_dec(x_34); +x_40 = l_Lake_DSL_declValDo___closed__13; +lean_inc(x_39); +x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); if (x_41 == 0) { -uint8_t x_42; -lean_inc(x_40); -x_42 = l_Lean_Syntax_matchesNull(x_40, x_11); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_40); +lean_object* x_42; lean_object* x_43; lean_dec(x_39); -lean_free_object(x_33); -lean_dec(x_37); -lean_dec(x_7); -lean_dec(x_4); -x_43 = lean_box(0); -x_44 = lean_apply_4(x_2, x_43, x_8, x_9, x_10); -return x_44; +lean_dec(x_33); +lean_dec(x_27); +lean_dec(x_5); +lean_dec(x_3); +x_42 = lean_box(0); +x_43 = lean_apply_4(x_2, x_42, x_6, x_7, x_8); +return x_43; } else { -lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = l_Lean_Syntax_getArg(x_40, x_16); -lean_dec(x_40); -x_46 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_45); -x_47 = l_Lean_Syntax_isOfKind(x_45, x_46); -if (x_47 == 0) +lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_2); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_39); +x_45 = lean_box(0); +x_46 = l_Lake_DSL_elabConfigDecl___lambda__4(x_33, x_3, x_5, x_27, x_45, x_44, x_6, x_7, x_8); +lean_dec(x_33); +return x_46; +} +} +} +else { -lean_object* x_48; lean_object* x_49; -lean_dec(x_45); -lean_dec(x_39); -lean_free_object(x_33); -lean_dec(x_37); -lean_dec(x_7); -lean_dec(x_4); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_34); +lean_dec(x_2); +x_47 = lean_box(0); x_48 = lean_box(0); -x_49 = lean_apply_4(x_2, x_48, x_8, x_9, x_10); +x_49 = l_Lake_DSL_elabConfigDecl___lambda__4(x_33, x_3, x_5, x_27, x_48, x_47, x_6, x_7, x_8); +lean_dec(x_33); return x_49; } -else -{ -lean_object* x_50; -lean_dec(x_2); -lean_ctor_set(x_33, 0, x_45); -x_50 = lean_apply_7(x_4, x_7, x_37, x_39, x_33, x_8, x_9, x_10); -return x_50; +} } } } else { -lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_free_object(x_33); -lean_dec(x_2); -x_51 = lean_box(0); -x_52 = lean_apply_7(x_4, x_7, x_37, x_39, x_51, x_8, x_9, x_10); -return x_52; -} +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = l_Lean_Syntax_getArg(x_15, x_14); +x_51 = l_Lean_Syntax_getArg(x_15, x_9); +x_52 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; +lean_inc(x_51); +x_53 = l_Lean_Syntax_isOfKind(x_51, x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_3); +x_54 = lean_box(0); +x_55 = lean_apply_4(x_2, x_54, x_6, x_7, x_8); +return x_55; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_33, 0); -lean_inc(x_53); -lean_dec(x_33); -x_54 = lean_unsigned_to_nat(2u); -x_55 = l_Lean_Syntax_getArg(x_24, x_54); -lean_dec(x_24); -x_56 = l_Lean_Syntax_getArg(x_17, x_11); -lean_dec(x_17); -x_57 = l_Lean_Syntax_isNone(x_56); -if (x_57 == 0) +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = l_Lean_Syntax_getArg(x_51, x_14); +lean_dec(x_51); +x_57 = lean_unsigned_to_nat(2u); +x_58 = l_Lean_Syntax_getArg(x_15, x_57); +lean_dec(x_15); +x_59 = l_Lean_Syntax_isNone(x_58); +if (x_59 == 0) { -uint8_t x_58; -lean_inc(x_56); -x_58 = l_Lean_Syntax_matchesNull(x_56, x_11); -if (x_58 == 0) +uint8_t x_60; +lean_inc(x_58); +x_60 = l_Lean_Syntax_matchesNull(x_58, x_9); +if (x_60 == 0) { -lean_object* x_59; lean_object* x_60; +lean_object* x_61; lean_object* x_62; +lean_dec(x_58); lean_dec(x_56); -lean_dec(x_55); -lean_dec(x_53); -lean_dec(x_7); -lean_dec(x_4); -x_59 = lean_box(0); -x_60 = lean_apply_4(x_2, x_59, x_8, x_9, x_10); -return x_60; +lean_dec(x_50); +lean_dec(x_5); +lean_dec(x_3); +x_61 = lean_box(0); +x_62 = lean_apply_4(x_2, x_61, x_6, x_7, x_8); +return x_62; } else { -lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_61 = l_Lean_Syntax_getArg(x_56, x_16); -lean_dec(x_56); -x_62 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_61); -x_63 = l_Lean_Syntax_isOfKind(x_61, x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_61); -lean_dec(x_55); -lean_dec(x_53); -lean_dec(x_7); -lean_dec(x_4); -x_64 = lean_box(0); -x_65 = lean_apply_4(x_2, x_64, x_8, x_9, x_10); -return x_65; -} -else +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = l_Lean_Syntax_getArg(x_58, x_14); +lean_dec(x_58); +x_64 = l_Lake_DSL_declValDo___closed__13; +lean_inc(x_63); +x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); +if (x_65 == 0) { lean_object* x_66; lean_object* x_67; -lean_dec(x_2); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_61); -x_67 = lean_apply_7(x_4, x_7, x_53, x_55, x_66, x_8, x_9, x_10); +lean_dec(x_63); +lean_dec(x_56); +lean_dec(x_50); +lean_dec(x_5); +lean_dec(x_3); +x_66 = lean_box(0); +x_67 = lean_apply_4(x_2, x_66, x_6, x_7, x_8); return x_67; } +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_2); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_63); +x_69 = lean_box(0); +x_70 = l_Lake_DSL_elabConfigDecl___lambda__4(x_56, x_3, x_5, x_50, x_69, x_68, x_6, x_7, x_8); +lean_dec(x_56); +return x_70; +} } } else { -lean_object* x_68; lean_object* x_69; -lean_dec(x_56); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_58); lean_dec(x_2); +x_71 = lean_box(0); +x_72 = lean_box(0); +x_73 = l_Lake_DSL_elabConfigDecl___lambda__4(x_56, x_3, x_5, x_50, x_72, x_71, x_6, x_7, x_8); +lean_dec(x_56); +return x_73; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(1u); +lean_inc(x_1); +x_10 = l_Lean_Syntax_matchesNull(x_1, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_11 = lean_box(0); +x_12 = lean_apply_4(x_2, x_11, x_6, x_7, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +lean_dec(x_1); +x_15 = l_Lake_DSL_declValWhere___closed__2; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lake_DSL_declValStruct___closed__2; +lean_inc(x_14); +x_18 = l_Lean_Syntax_isOfKind(x_14, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_3); +x_19 = lean_box(0); +x_20 = lean_apply_4(x_2, x_19, x_6, x_7, x_8); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = l_Lean_Syntax_getArg(x_14, x_13); +x_22 = l_Lake_DSL_structVal___closed__2; +lean_inc(x_21); +x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_3); +x_24 = lean_box(0); +x_25 = lean_apply_4(x_2, x_24, x_6, x_7, x_8); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = l_Lean_Syntax_getArg(x_21, x_13); +x_27 = l_Lean_Syntax_getArg(x_21, x_9); +lean_dec(x_21); +x_28 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; +lean_inc(x_27); +x_29 = l_Lean_Syntax_isOfKind(x_27, x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_3); +x_30 = lean_box(0); +x_31 = lean_apply_4(x_2, x_30, x_6, x_7, x_8); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = l_Lean_Syntax_getArg(x_27, x_13); +lean_dec(x_27); +x_33 = l_Lean_Syntax_getArg(x_14, x_9); +lean_dec(x_14); +x_34 = l_Lean_Syntax_isNone(x_33); +if (x_34 == 0) +{ +uint8_t x_35; +lean_inc(x_33); +x_35 = l_Lean_Syntax_matchesNull(x_33, x_9); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_26); +lean_dec(x_5); +lean_dec(x_3); +x_36 = lean_box(0); +x_37 = lean_apply_4(x_2, x_36, x_6, x_7, x_8); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = l_Lean_Syntax_getArg(x_33, x_13); +lean_dec(x_33); +x_39 = l_Lake_DSL_declValDo___closed__13; +lean_inc(x_38); +x_40 = l_Lean_Syntax_isOfKind(x_38, x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_32); +lean_dec(x_26); +lean_dec(x_5); +lean_dec(x_3); +x_41 = lean_box(0); +x_42 = lean_apply_4(x_2, x_41, x_6, x_7, x_8); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_2); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_38); +x_44 = lean_box(0); +x_45 = l_Lake_DSL_elabConfigDecl___lambda__4(x_32, x_3, x_5, x_26, x_44, x_43, x_6, x_7, x_8); +lean_dec(x_32); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_33); +lean_dec(x_2); +x_46 = lean_box(0); +x_47 = lean_box(0); +x_48 = l_Lake_DSL_elabConfigDecl___lambda__4(x_32, x_3, x_5, x_26, x_47, x_46, x_6, x_7, x_8); +lean_dec(x_32); +return x_48; +} +} +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = l_Lean_Syntax_getArg(x_14, x_13); +x_50 = l_Lean_Syntax_getArg(x_14, x_9); +x_51 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; +lean_inc(x_50); +x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_50); +lean_dec(x_49); +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_3); +x_53 = lean_box(0); +x_54 = lean_apply_4(x_2, x_53, x_6, x_7, x_8); +return x_54; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = l_Lean_Syntax_getArg(x_50, x_13); +lean_dec(x_50); +x_56 = lean_unsigned_to_nat(2u); +x_57 = l_Lean_Syntax_getArg(x_14, x_56); +lean_dec(x_14); +x_58 = l_Lean_Syntax_isNone(x_57); +if (x_58 == 0) +{ +uint8_t x_59; +lean_inc(x_57); +x_59 = l_Lean_Syntax_matchesNull(x_57, x_9); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_57); +lean_dec(x_55); +lean_dec(x_49); +lean_dec(x_5); +lean_dec(x_3); +x_60 = lean_box(0); +x_61 = lean_apply_4(x_2, x_60, x_6, x_7, x_8); +return x_61; +} +else +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = l_Lean_Syntax_getArg(x_57, x_13); +lean_dec(x_57); +x_63 = l_Lake_DSL_declValDo___closed__13; +lean_inc(x_62); +x_64 = l_Lean_Syntax_isOfKind(x_62, x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_62); +lean_dec(x_55); +lean_dec(x_49); +lean_dec(x_5); +lean_dec(x_3); +x_65 = lean_box(0); +x_66 = lean_apply_4(x_2, x_65, x_6, x_7, x_8); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_2); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_62); x_68 = lean_box(0); -x_69 = lean_apply_7(x_4, x_7, x_53, x_55, x_68, x_8, x_9, x_10); +x_69 = l_Lake_DSL_elabConfigDecl___lambda__4(x_55, x_3, x_5, x_49, x_68, x_67, x_6, x_7, x_8); +lean_dec(x_55); return x_69; } } } -} -} -} else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -lean_dec(x_4); -x_70 = l_Lean_Syntax_getArg(x_17, x_16); -x_71 = l_Lean_Syntax_getArg(x_17, x_11); -x_72 = lean_unsigned_to_nat(2u); -x_73 = l_Lean_Syntax_getArg(x_17, x_72); -lean_dec(x_17); -x_74 = l_Lean_Syntax_isNone(x_73); -if (x_74 == 0) -{ -uint8_t x_75; -lean_inc(x_73); -x_75 = l_Lean_Syntax_matchesNull(x_73, x_11); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -lean_dec(x_73); -lean_dec(x_71); -lean_dec(x_70); -lean_dec(x_7); -lean_dec(x_5); -x_76 = lean_box(0); -x_77 = lean_apply_4(x_2, x_76, x_8, x_9, x_10); -return x_77; -} -else -{ -lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_78 = l_Lean_Syntax_getArg(x_73, x_16); -lean_dec(x_73); -x_79 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_78); -x_80 = l_Lean_Syntax_isOfKind(x_78, x_79); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -lean_dec(x_78); -lean_dec(x_71); -lean_dec(x_70); -lean_dec(x_7); -lean_dec(x_5); -x_81 = lean_box(0); -x_82 = lean_apply_4(x_2, x_81, x_8, x_9, x_10); -return x_82; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_2); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_78); -x_84 = lean_box(0); -x_85 = l_Lake_DSL_elabConfigDecl___lambda__7(x_71, x_5, x_7, x_70, x_84, x_83, x_8, x_9, x_10); -lean_dec(x_71); -return x_85; -} -} -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_73); -lean_dec(x_2); -x_86 = lean_box(0); -x_87 = lean_box(0); -x_88 = l_Lake_DSL_elabConfigDecl___lambda__7(x_71, x_5, x_7, x_70, x_87, x_86, x_8, x_9, x_10); -lean_dec(x_71); -return x_88; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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) { -_start: -{ -lean_object* x_11; uint8_t x_12; -x_11 = lean_unsigned_to_nat(1u); -lean_inc(x_1); -x_12 = l_Lean_Syntax_matchesNull(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_13 = lean_box(0); -x_14 = lean_apply_4(x_2, x_13, x_8, x_9, x_10); -return x_14; -} -else -{ -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_1, x_15); -lean_dec(x_1); -x_17 = l_Lake_DSL_declValWhere___closed__2; -lean_inc(x_16); -x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -lean_dec(x_5); -x_19 = l_Lake_DSL_declValStruct___closed__2; -lean_inc(x_16); -x_20 = l_Lean_Syntax_isOfKind(x_16, x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_4); -x_21 = lean_box(0); -x_22 = lean_apply_4(x_2, x_21, x_8, x_9, x_10); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = l_Lean_Syntax_getArg(x_16, x_15); -x_24 = l_Lake_DSL_structVal___closed__2; -lean_inc(x_23); -x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_23); -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_4); -x_26 = lean_box(0); -x_27 = lean_apply_4(x_2, x_26, x_8, x_9, x_10); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; -x_28 = l_Lean_Syntax_getArg(x_23, x_11); -x_29 = l_Lean_Syntax_getArgs(x_28); -lean_dec(x_28); -x_30 = lean_array_size(x_29); -x_31 = 0; -x_32 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__12(x_3, x_30, x_31, x_29); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_23); -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_4); -x_33 = lean_box(0); -x_34 = lean_apply_4(x_2, x_33, x_8, x_9, x_10); -return x_34; -} -else -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_36 = lean_ctor_get(x_32, 0); -x_37 = lean_unsigned_to_nat(2u); -x_38 = l_Lean_Syntax_getArg(x_23, x_37); -lean_dec(x_23); -x_39 = l_Lean_Syntax_getArg(x_16, x_11); -lean_dec(x_16); -x_40 = l_Lean_Syntax_isNone(x_39); -if (x_40 == 0) -{ -uint8_t x_41; -lean_inc(x_39); -x_41 = l_Lean_Syntax_matchesNull(x_39, x_11); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_39); -lean_dec(x_38); -lean_free_object(x_32); -lean_dec(x_36); -lean_dec(x_7); -lean_dec(x_4); -x_42 = lean_box(0); -x_43 = lean_apply_4(x_2, x_42, x_8, x_9, x_10); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = l_Lean_Syntax_getArg(x_39, x_15); -lean_dec(x_39); -x_45 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_44); -x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_44); -lean_dec(x_38); -lean_free_object(x_32); -lean_dec(x_36); -lean_dec(x_7); -lean_dec(x_4); -x_47 = lean_box(0); -x_48 = lean_apply_4(x_2, x_47, x_8, x_9, x_10); -return x_48; -} -else -{ -lean_object* x_49; -lean_dec(x_2); -lean_ctor_set(x_32, 0, x_44); -x_49 = lean_apply_7(x_4, x_7, x_36, x_38, x_32, x_8, x_9, x_10); -return x_49; -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; -lean_dec(x_39); -lean_free_object(x_32); -lean_dec(x_2); -x_50 = lean_box(0); -x_51 = lean_apply_7(x_4, x_7, x_36, x_38, x_50, x_8, x_9, x_10); -return x_51; -} -} -else -{ -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_32, 0); -lean_inc(x_52); -lean_dec(x_32); -x_53 = lean_unsigned_to_nat(2u); -x_54 = l_Lean_Syntax_getArg(x_23, x_53); -lean_dec(x_23); -x_55 = l_Lean_Syntax_getArg(x_16, x_11); -lean_dec(x_16); -x_56 = l_Lean_Syntax_isNone(x_55); -if (x_56 == 0) -{ -uint8_t x_57; -lean_inc(x_55); -x_57 = l_Lean_Syntax_matchesNull(x_55, x_11); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_7); -lean_dec(x_4); -x_58 = lean_box(0); -x_59 = lean_apply_4(x_2, x_58, x_8, x_9, x_10); -return x_59; -} -else -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Lean_Syntax_getArg(x_55, x_15); -lean_dec(x_55); -x_61 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_60); -x_62 = l_Lean_Syntax_isOfKind(x_60, x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -lean_dec(x_60); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_7); -lean_dec(x_4); -x_63 = lean_box(0); -x_64 = lean_apply_4(x_2, x_63, x_8, x_9, x_10); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_2); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_60); -x_66 = lean_apply_7(x_4, x_7, x_52, x_54, x_65, x_8, x_9, x_10); -return x_66; -} -} -} -else -{ -lean_object* x_67; lean_object* x_68; -lean_dec(x_55); -lean_dec(x_2); -x_67 = lean_box(0); -x_68 = lean_apply_7(x_4, x_7, x_52, x_54, x_67, x_8, x_9, x_10); -return x_68; -} -} -} -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -lean_dec(x_4); -x_69 = l_Lean_Syntax_getArg(x_16, x_15); -x_70 = l_Lean_Syntax_getArg(x_16, x_11); -x_71 = lean_unsigned_to_nat(2u); -x_72 = l_Lean_Syntax_getArg(x_16, x_71); -lean_dec(x_16); -x_73 = l_Lean_Syntax_isNone(x_72); -if (x_73 == 0) -{ -uint8_t x_74; -lean_inc(x_72); -x_74 = l_Lean_Syntax_matchesNull(x_72, x_11); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -lean_dec(x_72); -lean_dec(x_70); -lean_dec(x_69); -lean_dec(x_7); -lean_dec(x_5); -x_75 = lean_box(0); -x_76 = lean_apply_4(x_2, x_75, x_8, x_9, x_10); -return x_76; -} -else -{ -lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_77 = l_Lean_Syntax_getArg(x_72, x_15); -lean_dec(x_72); -x_78 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_77); -x_79 = l_Lean_Syntax_isOfKind(x_77, x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_77); -lean_dec(x_70); -lean_dec(x_69); -lean_dec(x_7); -lean_dec(x_5); -x_80 = lean_box(0); -x_81 = lean_apply_4(x_2, x_80, x_8, x_9, x_10); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_dec(x_2); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_77); -x_83 = lean_box(0); -x_84 = l_Lake_DSL_elabConfigDecl___lambda__7(x_70, x_5, x_7, x_69, x_83, x_82, x_8, x_9, x_10); -lean_dec(x_70); -return x_84; -} -} -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_72); -lean_dec(x_2); -x_85 = lean_box(0); -x_86 = lean_box(0); -x_87 = l_Lake_DSL_elabConfigDecl___lambda__7(x_70, x_5, x_7, x_69, x_86, x_85, x_8, x_9, x_10); -lean_dec(x_70); -return x_87; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; uint8_t x_12; -x_11 = lean_unsigned_to_nat(1u); -lean_inc(x_1); -x_12 = l_Lean_Syntax_matchesNull(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_13 = lean_box(0); -x_14 = lean_apply_4(x_2, x_13, x_8, x_9, x_10); -return x_14; -} -else -{ -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_1, x_15); -lean_dec(x_1); -x_17 = l_Lake_DSL_declValWhere___closed__2; -lean_inc(x_16); -x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -lean_dec(x_5); -x_19 = l_Lake_DSL_declValStruct___closed__2; -lean_inc(x_16); -x_20 = l_Lean_Syntax_isOfKind(x_16, x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_4); -x_21 = lean_box(0); -x_22 = lean_apply_4(x_2, x_21, x_8, x_9, x_10); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = l_Lean_Syntax_getArg(x_16, x_15); -x_24 = l_Lake_DSL_structVal___closed__2; -lean_inc(x_23); -x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_23); -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_4); -x_26 = lean_box(0); -x_27 = lean_apply_4(x_2, x_26, x_8, x_9, x_10); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; -x_28 = l_Lean_Syntax_getArg(x_23, x_11); -x_29 = l_Lean_Syntax_getArgs(x_28); -lean_dec(x_28); -x_30 = lean_array_size(x_29); -x_31 = 0; -x_32 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__13(x_3, x_30, x_31, x_29); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_23); -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_4); -x_33 = lean_box(0); -x_34 = lean_apply_4(x_2, x_33, x_8, x_9, x_10); -return x_34; -} -else -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_36 = lean_ctor_get(x_32, 0); -x_37 = lean_unsigned_to_nat(2u); -x_38 = l_Lean_Syntax_getArg(x_23, x_37); -lean_dec(x_23); -x_39 = l_Lean_Syntax_getArg(x_16, x_11); -lean_dec(x_16); -x_40 = l_Lean_Syntax_isNone(x_39); -if (x_40 == 0) -{ -uint8_t x_41; -lean_inc(x_39); -x_41 = l_Lean_Syntax_matchesNull(x_39, x_11); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_39); -lean_dec(x_38); -lean_free_object(x_32); -lean_dec(x_36); -lean_dec(x_7); -lean_dec(x_4); -x_42 = lean_box(0); -x_43 = lean_apply_4(x_2, x_42, x_8, x_9, x_10); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = l_Lean_Syntax_getArg(x_39, x_15); -lean_dec(x_39); -x_45 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_44); -x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_44); -lean_dec(x_38); -lean_free_object(x_32); -lean_dec(x_36); -lean_dec(x_7); -lean_dec(x_4); -x_47 = lean_box(0); -x_48 = lean_apply_4(x_2, x_47, x_8, x_9, x_10); -return x_48; -} -else -{ -lean_object* x_49; -lean_dec(x_2); -lean_ctor_set(x_32, 0, x_44); -x_49 = lean_apply_7(x_4, x_7, x_36, x_38, x_32, x_8, x_9, x_10); -return x_49; -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; -lean_dec(x_39); -lean_free_object(x_32); -lean_dec(x_2); -x_50 = lean_box(0); -x_51 = lean_apply_7(x_4, x_7, x_36, x_38, x_50, x_8, x_9, x_10); -return x_51; -} -} -else -{ -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_32, 0); -lean_inc(x_52); -lean_dec(x_32); -x_53 = lean_unsigned_to_nat(2u); -x_54 = l_Lean_Syntax_getArg(x_23, x_53); -lean_dec(x_23); -x_55 = l_Lean_Syntax_getArg(x_16, x_11); -lean_dec(x_16); -x_56 = l_Lean_Syntax_isNone(x_55); -if (x_56 == 0) -{ -uint8_t x_57; -lean_inc(x_55); -x_57 = l_Lean_Syntax_matchesNull(x_55, x_11); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_7); -lean_dec(x_4); -x_58 = lean_box(0); -x_59 = lean_apply_4(x_2, x_58, x_8, x_9, x_10); -return x_59; -} -else -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Lean_Syntax_getArg(x_55, x_15); -lean_dec(x_55); -x_61 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_60); -x_62 = l_Lean_Syntax_isOfKind(x_60, x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -lean_dec(x_60); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_7); -lean_dec(x_4); -x_63 = lean_box(0); -x_64 = lean_apply_4(x_2, x_63, x_8, x_9, x_10); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_2); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_60); -x_66 = lean_apply_7(x_4, x_7, x_52, x_54, x_65, x_8, x_9, x_10); -return x_66; -} -} -} -else -{ -lean_object* x_67; lean_object* x_68; -lean_dec(x_55); -lean_dec(x_2); -x_67 = lean_box(0); -x_68 = lean_apply_7(x_4, x_7, x_52, x_54, x_67, x_8, x_9, x_10); -return x_68; -} -} -} -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -lean_dec(x_4); -x_69 = l_Lean_Syntax_getArg(x_16, x_15); -x_70 = l_Lean_Syntax_getArg(x_16, x_11); -x_71 = lean_unsigned_to_nat(2u); -x_72 = l_Lean_Syntax_getArg(x_16, x_71); -lean_dec(x_16); -x_73 = l_Lean_Syntax_isNone(x_72); -if (x_73 == 0) -{ -uint8_t x_74; -lean_inc(x_72); -x_74 = l_Lean_Syntax_matchesNull(x_72, x_11); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -lean_dec(x_72); -lean_dec(x_70); -lean_dec(x_69); -lean_dec(x_7); -lean_dec(x_5); -x_75 = lean_box(0); -x_76 = lean_apply_4(x_2, x_75, x_8, x_9, x_10); -return x_76; -} -else -{ -lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_77 = l_Lean_Syntax_getArg(x_72, x_15); -lean_dec(x_72); -x_78 = l_Lake_DSL_declValDo___closed__11; -lean_inc(x_77); -x_79 = l_Lean_Syntax_isOfKind(x_77, x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_77); -lean_dec(x_70); -lean_dec(x_69); -lean_dec(x_7); -lean_dec(x_5); -x_80 = lean_box(0); -x_81 = lean_apply_4(x_2, x_80, x_8, x_9, x_10); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_dec(x_2); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_77); -x_83 = lean_box(0); -x_84 = l_Lake_DSL_elabConfigDecl___lambda__7(x_70, x_5, x_7, x_69, x_83, x_82, x_8, x_9, x_10); -lean_dec(x_70); -return x_84; -} -} -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_72); -lean_dec(x_2); -x_85 = lean_box(0); -x_86 = lean_box(0); -x_87 = l_Lake_DSL_elabConfigDecl___lambda__7(x_70, x_5, x_7, x_69, x_86, x_85, x_8, x_9, x_10); -lean_dec(x_70); -return x_87; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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, 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; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_box(0); -x_16 = lean_array_size(x_1); -x_17 = 0; -lean_inc(x_12); -lean_inc(x_2); -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__14(x_2, x_3, x_1, x_15, x_1, x_16, x_17, x_10, x_12, x_13, x_14); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -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); -lean_inc(x_1); -x_21 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15(x_3, x_1, x_19, x_12, x_13, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -x_25 = l_Lean_Elab_Command_getRef(x_12, x_13, x_24); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -x_29 = 0; -x_30 = l_Lean_mkCIdentFrom(x_27, x_2, x_29); -lean_dec(x_27); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; -x_620 = lean_box(2); -x_621 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_622 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_622, 0, x_620); -lean_ctor_set(x_622, 1, x_621); -lean_ctor_set(x_622, 2, x_1); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_3); -lean_ctor_set(x_25, 0, x_622); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 1, x_25); -lean_ctor_set(x_21, 0, x_9); -x_623 = lean_array_mk(x_21); -x_624 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_625 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_625, 0, x_620); -lean_ctor_set(x_625, 1, x_624); -lean_ctor_set(x_625, 2, x_623); -x_31 = x_625; -x_32 = x_28; -goto block_619; -} -else -{ -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; -x_626 = lean_ctor_get(x_8, 0); -lean_inc(x_626); -lean_dec(x_8); -x_627 = l_Lean_mkIdentFrom(x_9, x_626, x_29); -lean_dec(x_9); -x_628 = lean_box(2); -x_629 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_630 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_630, 0, x_628); -lean_ctor_set(x_630, 1, x_629); -lean_ctor_set(x_630, 2, x_1); -lean_ctor_set_tag(x_25, 1); -lean_ctor_set(x_25, 1, x_3); -lean_ctor_set(x_25, 0, x_630); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 1, x_25); -lean_ctor_set(x_21, 0, x_627); -x_631 = lean_array_mk(x_21); -x_632 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_633 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_633, 0, x_628); -lean_ctor_set(x_633, 1, x_632); -lean_ctor_set(x_633, 2, x_631); -x_31 = x_633; -x_32 = x_28; -goto block_619; -} -block_619: -{ -lean_object* x_33; uint8_t x_34; -x_33 = l_Lean_Elab_Command_getRef(x_12, x_13, x_32); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -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; uint8_t x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -x_37 = l_Lean_replaceRef(x_4, x_35); -lean_dec(x_35); -x_38 = lean_ctor_get(x_12, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_12, 2); -lean_inc(x_40); -x_41 = lean_ctor_get(x_12, 3); -lean_inc(x_41); -x_42 = lean_ctor_get(x_12, 4); -lean_inc(x_42); -x_43 = lean_ctor_get(x_12, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_12, 7); -lean_inc(x_44); -x_45 = lean_ctor_get(x_12, 8); -lean_inc(x_45); -x_46 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_47 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_47, 0, x_38); -lean_ctor_set(x_47, 1, x_39); -lean_ctor_set(x_47, 2, x_40); -lean_ctor_set(x_47, 3, x_41); -lean_ctor_set(x_47, 4, x_42); -lean_ctor_set(x_47, 5, x_43); -lean_ctor_set(x_47, 6, x_37); -lean_ctor_set(x_47, 7, x_44); -lean_ctor_set(x_47, 8, x_45); -lean_ctor_set_uint8(x_47, sizeof(void*)*9, x_46); -x_48 = l_Lean_Elab_Command_getRef(x_47, x_13, x_36); -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; uint8_t x_54; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_ctor_get(x_48, 1); -x_52 = l_Lean_SourceInfo_fromRef(x_50, x_29); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getCurrMacroScope(x_47, x_13, x_51); -lean_dec(x_47); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_55 = lean_ctor_get(x_53, 1); -x_56 = lean_ctor_get(x_53, 0); -lean_dec(x_56); -x_57 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_55); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 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; size_t 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; uint8_t x_79; -x_59 = lean_ctor_get(x_57, 1); -x_60 = lean_ctor_get(x_57, 0); -lean_dec(x_60); -x_61 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_52); -lean_ctor_set_tag(x_57, 2); -lean_ctor_set(x_57, 1, x_61); -lean_ctor_set(x_57, 0, x_52); -x_62 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_63 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_52); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_52); -lean_ctor_set(x_64, 1, x_62); -lean_ctor_set(x_64, 2, x_63); -x_65 = lean_array_size(x_23); -x_66 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_65, x_17, x_23); -x_67 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_68 = l_Lean_mkSepArray(x_66, x_67); -lean_dec(x_66); -x_69 = l_Array_append___rarg(x_63, x_68); -lean_dec(x_68); -lean_inc(x_52); -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_52); -lean_ctor_set(x_70, 1, x_62); -lean_ctor_set(x_70, 2, x_69); -x_71 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_52); -x_72 = l_Lean_Syntax_node1(x_52, x_71, x_70); -x_73 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_64); -lean_inc(x_52); -x_74 = l_Lean_Syntax_node1(x_52, x_73, x_64); -x_75 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_52); -lean_ctor_set_tag(x_53, 2); -lean_ctor_set(x_53, 1, x_75); -lean_ctor_set(x_53, 0, x_52); -x_76 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_64); -x_77 = l_Lean_Syntax_node6(x_52, x_76, x_57, x_64, x_72, x_74, x_64, x_53); -x_78 = l_Lean_Elab_Command_getRef(x_12, x_13, x_59); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_ctor_get(x_78, 1); -x_82 = l_Lean_SourceInfo_fromRef(x_80, x_29); -lean_dec(x_80); -x_83 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_81); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_85 = lean_ctor_get(x_83, 1); -x_86 = lean_ctor_get(x_83, 0); -lean_dec(x_86); -x_87 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_85); -x_88 = !lean_is_exclusive(x_87); -if (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; 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; -x_89 = lean_ctor_get(x_87, 1); -x_90 = lean_ctor_get(x_87, 0); -lean_dec(x_90); -x_91 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_82); -lean_ctor_set_tag(x_87, 2); -lean_ctor_set(x_87, 1, x_91); -lean_ctor_set(x_87, 0, x_82); -x_92 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_93 = l_Lean_Syntax_SepArray_ofElems(x_92, x_5); -x_94 = l_Array_append___rarg(x_63, x_93); -lean_dec(x_93); -lean_inc(x_82); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_82); -lean_ctor_set(x_95, 1, x_62); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_82); -lean_ctor_set_tag(x_83, 2); -lean_ctor_set(x_83, 1, x_96); -lean_ctor_set(x_83, 0, x_82); -x_97 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_82); -x_98 = l_Lean_Syntax_node3(x_82, x_97, x_87, x_95, x_83); -lean_inc(x_82); -x_99 = l_Lean_Syntax_node1(x_82, x_62, x_98); -lean_inc(x_82); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_82); -lean_ctor_set(x_100, 1, x_62); -lean_ctor_set(x_100, 2, x_63); -x_101 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_82); -lean_ctor_set_tag(x_78, 2); -lean_ctor_set(x_78, 1, x_101); -lean_ctor_set(x_78, 0, x_82); -x_102 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_82); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_102); -lean_ctor_set(x_48, 0, x_82); -x_103 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_82); -x_104 = l_Lean_Syntax_node2(x_82, x_103, x_48, x_30); -lean_inc(x_82); -x_105 = l_Lean_Syntax_node1(x_82, x_62, x_104); -x_106 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_100); -lean_inc(x_82); -x_107 = l_Lean_Syntax_node2(x_82, x_106, x_100, x_105); -x_108 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_82); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_108); -lean_ctor_set(x_33, 0, x_82); -x_109 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_100, 2); -lean_inc(x_82); -x_110 = l_Lean_Syntax_node2(x_82, x_109, x_100, x_100); -x_111 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_82); -x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_62); -lean_ctor_set(x_112, 2, x_111); -x_113 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_112); -lean_inc(x_82); -x_114 = l_Lean_Syntax_node4(x_82, x_113, x_33, x_77, x_110, x_112); -x_115 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_116 = l_Lean_Syntax_node4(x_82, x_115, x_78, x_31, x_107, x_114); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_117 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_100, 3); -lean_inc(x_82); -x_118 = l_Lean_Syntax_node6(x_82, x_117, x_112, x_99, x_100, x_100, x_100, x_100); -x_119 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_120 = l_Lean_Syntax_node2(x_82, x_119, x_118, x_116); -lean_inc(x_120); -x_121 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_121, 0, x_120); -x_122 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_120, x_121, x_12, x_13, x_89); -return x_122; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_112); -x_123 = lean_ctor_get(x_6, 0); -lean_inc(x_123); -lean_dec(x_6); -x_124 = l_Array_mkArray1___rarg(x_123); -x_125 = l_Array_append___rarg(x_63, x_124); -lean_dec(x_124); -lean_inc(x_82); -x_126 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_126, 0, x_82); -lean_ctor_set(x_126, 1, x_62); -lean_ctor_set(x_126, 2, x_125); -x_127 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_100, 3); -lean_inc(x_82); -x_128 = l_Lean_Syntax_node6(x_82, x_127, x_126, x_99, x_100, x_100, x_100, x_100); -x_129 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_130 = l_Lean_Syntax_node2(x_82, x_129, x_128, x_116); -lean_inc(x_130); -x_131 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_131, 0, x_130); -x_132 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_130, x_131, x_12, x_13, x_89); -return x_132; -} -} -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; 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; -x_133 = lean_ctor_get(x_87, 1); -lean_inc(x_133); -lean_dec(x_87); -x_134 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_82); -x_135 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_135, 0, x_82); -lean_ctor_set(x_135, 1, x_134); -x_136 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_137 = l_Lean_Syntax_SepArray_ofElems(x_136, x_5); -x_138 = l_Array_append___rarg(x_63, x_137); -lean_dec(x_137); -lean_inc(x_82); -x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_82); -lean_ctor_set(x_139, 1, x_62); -lean_ctor_set(x_139, 2, x_138); -x_140 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_82); -lean_ctor_set_tag(x_83, 2); -lean_ctor_set(x_83, 1, x_140); -lean_ctor_set(x_83, 0, x_82); -x_141 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_82); -x_142 = l_Lean_Syntax_node3(x_82, x_141, x_135, x_139, x_83); -lean_inc(x_82); -x_143 = l_Lean_Syntax_node1(x_82, x_62, x_142); -lean_inc(x_82); -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_82); -lean_ctor_set(x_144, 1, x_62); -lean_ctor_set(x_144, 2, x_63); -x_145 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_82); -lean_ctor_set_tag(x_78, 2); -lean_ctor_set(x_78, 1, x_145); -lean_ctor_set(x_78, 0, x_82); -x_146 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_82); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_146); -lean_ctor_set(x_48, 0, x_82); -x_147 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_82); -x_148 = l_Lean_Syntax_node2(x_82, x_147, x_48, x_30); -lean_inc(x_82); -x_149 = l_Lean_Syntax_node1(x_82, x_62, x_148); -x_150 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_144); -lean_inc(x_82); -x_151 = l_Lean_Syntax_node2(x_82, x_150, x_144, x_149); -x_152 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_82); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_152); -lean_ctor_set(x_33, 0, x_82); -x_153 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_144, 2); -lean_inc(x_82); -x_154 = l_Lean_Syntax_node2(x_82, x_153, x_144, x_144); -x_155 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_82); -x_156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_156, 0, x_82); -lean_ctor_set(x_156, 1, x_62); -lean_ctor_set(x_156, 2, x_155); -x_157 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_156); -lean_inc(x_82); -x_158 = l_Lean_Syntax_node4(x_82, x_157, x_33, x_77, x_154, x_156); -x_159 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_160 = l_Lean_Syntax_node4(x_82, x_159, x_78, x_31, x_151, x_158); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_161 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_144, 3); -lean_inc(x_82); -x_162 = l_Lean_Syntax_node6(x_82, x_161, x_156, x_143, x_144, x_144, x_144, x_144); -x_163 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_164 = l_Lean_Syntax_node2(x_82, x_163, x_162, x_160); -lean_inc(x_164); -x_165 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_165, 0, x_164); -x_166 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_164, x_165, x_12, x_13, x_133); -return x_166; -} -else -{ -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_dec(x_156); -x_167 = lean_ctor_get(x_6, 0); -lean_inc(x_167); -lean_dec(x_6); -x_168 = l_Array_mkArray1___rarg(x_167); -x_169 = l_Array_append___rarg(x_63, x_168); -lean_dec(x_168); -lean_inc(x_82); -x_170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_170, 0, x_82); -lean_ctor_set(x_170, 1, x_62); -lean_ctor_set(x_170, 2, x_169); -x_171 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_144, 3); -lean_inc(x_82); -x_172 = l_Lean_Syntax_node6(x_82, x_171, x_170, x_143, x_144, x_144, x_144, x_144); -x_173 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_174 = l_Lean_Syntax_node2(x_82, x_173, x_172, x_160); -lean_inc(x_174); -x_175 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_175, 0, x_174); -x_176 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_174, x_175, x_12, x_13, x_133); -return x_176; -} -} -} -else -{ -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; 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; -x_177 = lean_ctor_get(x_83, 1); -lean_inc(x_177); -lean_dec(x_83); -x_178 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_177); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_180 = x_178; -} else { - lean_dec_ref(x_178); - x_180 = lean_box(0); -} -x_181 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_82); -if (lean_is_scalar(x_180)) { - x_182 = lean_alloc_ctor(2, 2, 0); -} else { - x_182 = x_180; - lean_ctor_set_tag(x_182, 2); -} -lean_ctor_set(x_182, 0, x_82); -lean_ctor_set(x_182, 1, x_181); -x_183 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_184 = l_Lean_Syntax_SepArray_ofElems(x_183, x_5); -x_185 = l_Array_append___rarg(x_63, x_184); -lean_dec(x_184); -lean_inc(x_82); -x_186 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_186, 0, x_82); -lean_ctor_set(x_186, 1, x_62); -lean_ctor_set(x_186, 2, x_185); -x_187 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_82); -x_188 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_188, 0, x_82); -lean_ctor_set(x_188, 1, x_187); -x_189 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_82); -x_190 = l_Lean_Syntax_node3(x_82, x_189, x_182, x_186, x_188); -lean_inc(x_82); -x_191 = l_Lean_Syntax_node1(x_82, x_62, x_190); -lean_inc(x_82); -x_192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_192, 0, x_82); -lean_ctor_set(x_192, 1, x_62); -lean_ctor_set(x_192, 2, x_63); -x_193 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_82); -lean_ctor_set_tag(x_78, 2); -lean_ctor_set(x_78, 1, x_193); -lean_ctor_set(x_78, 0, x_82); -x_194 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_82); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_194); -lean_ctor_set(x_48, 0, x_82); -x_195 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_82); -x_196 = l_Lean_Syntax_node2(x_82, x_195, x_48, x_30); -lean_inc(x_82); -x_197 = l_Lean_Syntax_node1(x_82, x_62, x_196); -x_198 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_192); -lean_inc(x_82); -x_199 = l_Lean_Syntax_node2(x_82, x_198, x_192, x_197); -x_200 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_82); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_200); -lean_ctor_set(x_33, 0, x_82); -x_201 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_192, 2); -lean_inc(x_82); -x_202 = l_Lean_Syntax_node2(x_82, x_201, x_192, x_192); -x_203 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_82); -x_204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_204, 0, x_82); -lean_ctor_set(x_204, 1, x_62); -lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_204); -lean_inc(x_82); -x_206 = l_Lean_Syntax_node4(x_82, x_205, x_33, x_77, x_202, x_204); -x_207 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_82); -x_208 = l_Lean_Syntax_node4(x_82, x_207, x_78, x_31, x_199, x_206); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_209 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_192, 3); -lean_inc(x_82); -x_210 = l_Lean_Syntax_node6(x_82, x_209, x_204, x_191, x_192, x_192, x_192, x_192); -x_211 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_212 = l_Lean_Syntax_node2(x_82, x_211, x_210, x_208); -lean_inc(x_212); -x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_213, 0, x_212); -x_214 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_212, x_213, x_12, x_13, x_179); -return x_214; -} -else -{ -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_dec(x_204); -x_215 = lean_ctor_get(x_6, 0); -lean_inc(x_215); -lean_dec(x_6); -x_216 = l_Array_mkArray1___rarg(x_215); -x_217 = l_Array_append___rarg(x_63, x_216); -lean_dec(x_216); -lean_inc(x_82); -x_218 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_218, 0, x_82); -lean_ctor_set(x_218, 1, x_62); -lean_ctor_set(x_218, 2, x_217); -x_219 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_192, 3); -lean_inc(x_82); -x_220 = l_Lean_Syntax_node6(x_82, x_219, x_218, x_191, x_192, x_192, x_192, x_192); -x_221 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_222 = l_Lean_Syntax_node2(x_82, x_221, x_220, x_208); -lean_inc(x_222); -x_223 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_223, 0, x_222); -x_224 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_222, x_223, x_12, x_13, x_179); -return x_224; -} -} -} -else -{ -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; 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; 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; -x_225 = lean_ctor_get(x_78, 0); -x_226 = lean_ctor_get(x_78, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_78); -x_227 = l_Lean_SourceInfo_fromRef(x_225, x_29); -lean_dec(x_225); -x_228 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_226); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_230 = x_228; -} else { - lean_dec_ref(x_228); - x_230 = lean_box(0); -} -x_231 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_229); -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_231)) { - lean_ctor_release(x_231, 0); - lean_ctor_release(x_231, 1); - x_233 = x_231; -} else { - lean_dec_ref(x_231); - x_233 = lean_box(0); -} -x_234 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_227); -if (lean_is_scalar(x_233)) { - x_235 = lean_alloc_ctor(2, 2, 0); -} else { - x_235 = x_233; - lean_ctor_set_tag(x_235, 2); -} -lean_ctor_set(x_235, 0, x_227); -lean_ctor_set(x_235, 1, x_234); -x_236 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_237 = l_Lean_Syntax_SepArray_ofElems(x_236, x_5); -x_238 = l_Array_append___rarg(x_63, x_237); -lean_dec(x_237); -lean_inc(x_227); -x_239 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_239, 0, x_227); -lean_ctor_set(x_239, 1, x_62); -lean_ctor_set(x_239, 2, x_238); -x_240 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_227); -if (lean_is_scalar(x_230)) { - x_241 = lean_alloc_ctor(2, 2, 0); -} else { - x_241 = x_230; - lean_ctor_set_tag(x_241, 2); -} -lean_ctor_set(x_241, 0, x_227); -lean_ctor_set(x_241, 1, x_240); -x_242 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_227); -x_243 = l_Lean_Syntax_node3(x_227, x_242, x_235, x_239, x_241); -lean_inc(x_227); -x_244 = l_Lean_Syntax_node1(x_227, x_62, x_243); -lean_inc(x_227); -x_245 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_245, 0, x_227); -lean_ctor_set(x_245, 1, x_62); -lean_ctor_set(x_245, 2, x_63); -x_246 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_227); -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_227); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_227); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_248); -lean_ctor_set(x_48, 0, x_227); -x_249 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_227); -x_250 = l_Lean_Syntax_node2(x_227, x_249, x_48, x_30); -lean_inc(x_227); -x_251 = l_Lean_Syntax_node1(x_227, x_62, x_250); -x_252 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_245); -lean_inc(x_227); -x_253 = l_Lean_Syntax_node2(x_227, x_252, x_245, x_251); -x_254 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_227); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_254); -lean_ctor_set(x_33, 0, x_227); -x_255 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_245, 2); -lean_inc(x_227); -x_256 = l_Lean_Syntax_node2(x_227, x_255, x_245, x_245); -x_257 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_227); -x_258 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_258, 0, x_227); -lean_ctor_set(x_258, 1, x_62); -lean_ctor_set(x_258, 2, x_257); -x_259 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_258); -lean_inc(x_227); -x_260 = l_Lean_Syntax_node4(x_227, x_259, x_33, x_77, x_256, x_258); -x_261 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_227); -x_262 = l_Lean_Syntax_node4(x_227, x_261, x_247, x_31, x_253, x_260); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_263 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_245, 3); -lean_inc(x_227); -x_264 = l_Lean_Syntax_node6(x_227, x_263, x_258, x_244, x_245, x_245, x_245, x_245); -x_265 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_266 = l_Lean_Syntax_node2(x_227, x_265, x_264, x_262); -lean_inc(x_266); -x_267 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_267, 0, x_266); -x_268 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_266, x_267, x_12, x_13, x_232); -return x_268; -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -lean_dec(x_258); -x_269 = lean_ctor_get(x_6, 0); -lean_inc(x_269); -lean_dec(x_6); -x_270 = l_Array_mkArray1___rarg(x_269); -x_271 = l_Array_append___rarg(x_63, x_270); -lean_dec(x_270); -lean_inc(x_227); -x_272 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_272, 0, x_227); -lean_ctor_set(x_272, 1, x_62); -lean_ctor_set(x_272, 2, x_271); -x_273 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_245, 3); -lean_inc(x_227); -x_274 = l_Lean_Syntax_node6(x_227, x_273, x_272, x_244, x_245, x_245, x_245, x_245); -x_275 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_276 = l_Lean_Syntax_node2(x_227, x_275, x_274, x_262); -lean_inc(x_276); -x_277 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_277, 0, x_276); -x_278 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_276, x_277, x_12, x_13, x_232); -return x_278; -} -} -} -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; size_t x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; 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; 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; lean_object* x_310; lean_object* x_311; lean_object* x_312; 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_object* 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; lean_object* x_335; lean_object* x_336; lean_object* x_337; -x_279 = lean_ctor_get(x_57, 1); -lean_inc(x_279); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_dec(x_57); -x_280 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_52); -x_281 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_281, 0, x_52); -lean_ctor_set(x_281, 1, x_280); -x_282 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_283 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_52); -x_284 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_284, 0, x_52); -lean_ctor_set(x_284, 1, x_282); -lean_ctor_set(x_284, 2, x_283); -x_285 = lean_array_size(x_23); -x_286 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_285, x_17, x_23); -x_287 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_288 = l_Lean_mkSepArray(x_286, x_287); -lean_dec(x_286); -x_289 = l_Array_append___rarg(x_283, x_288); -lean_dec(x_288); -lean_inc(x_52); -x_290 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_290, 0, x_52); -lean_ctor_set(x_290, 1, x_282); -lean_ctor_set(x_290, 2, x_289); -x_291 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_52); -x_292 = l_Lean_Syntax_node1(x_52, x_291, x_290); -x_293 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_284); -lean_inc(x_52); -x_294 = l_Lean_Syntax_node1(x_52, x_293, x_284); -x_295 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_52); -lean_ctor_set_tag(x_53, 2); -lean_ctor_set(x_53, 1, x_295); -lean_ctor_set(x_53, 0, x_52); -x_296 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_284); -x_297 = l_Lean_Syntax_node6(x_52, x_296, x_281, x_284, x_292, x_294, x_284, x_53); -x_298 = l_Lean_Elab_Command_getRef(x_12, x_13, x_279); -x_299 = lean_ctor_get(x_298, 0); -lean_inc(x_299); -x_300 = lean_ctor_get(x_298, 1); -lean_inc(x_300); -if (lean_is_exclusive(x_298)) { - lean_ctor_release(x_298, 0); - lean_ctor_release(x_298, 1); - x_301 = x_298; -} else { - lean_dec_ref(x_298); - x_301 = lean_box(0); +lean_dec(x_2); +x_70 = lean_box(0); +x_71 = lean_box(0); +x_72 = l_Lake_DSL_elabConfigDecl___lambda__4(x_55, x_3, x_5, x_49, x_71, x_70, x_6, x_7, x_8); +lean_dec(x_55); +return x_72; } -x_302 = l_Lean_SourceInfo_fromRef(x_299, x_29); -lean_dec(x_299); -x_303 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_300); -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_Lean_Elab_Command_getMainModule___rarg(x_13, x_304); -x_307 = lean_ctor_get(x_306, 1); -lean_inc(x_307); -if (lean_is_exclusive(x_306)) { - lean_ctor_release(x_306, 0); - lean_ctor_release(x_306, 1); - x_308 = x_306; -} else { - lean_dec_ref(x_306); - x_308 = lean_box(0); } -x_309 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_302); -if (lean_is_scalar(x_308)) { - x_310 = lean_alloc_ctor(2, 2, 0); -} else { - x_310 = x_308; - lean_ctor_set_tag(x_310, 2); } -lean_ctor_set(x_310, 0, x_302); -lean_ctor_set(x_310, 1, x_309); -x_311 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_312 = l_Lean_Syntax_SepArray_ofElems(x_311, x_5); -x_313 = l_Array_append___rarg(x_283, x_312); -lean_dec(x_312); -lean_inc(x_302); -x_314 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_314, 0, x_302); -lean_ctor_set(x_314, 1, x_282); -lean_ctor_set(x_314, 2, x_313); -x_315 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_302); -if (lean_is_scalar(x_305)) { - x_316 = lean_alloc_ctor(2, 2, 0); -} else { - x_316 = x_305; - lean_ctor_set_tag(x_316, 2); } -lean_ctor_set(x_316, 0, x_302); -lean_ctor_set(x_316, 1, x_315); -x_317 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_302); -x_318 = l_Lean_Syntax_node3(x_302, x_317, x_310, x_314, x_316); -lean_inc(x_302); -x_319 = l_Lean_Syntax_node1(x_302, x_282, x_318); -lean_inc(x_302); -x_320 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_320, 0, x_302); -lean_ctor_set(x_320, 1, x_282); -lean_ctor_set(x_320, 2, x_283); -x_321 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_302); -if (lean_is_scalar(x_301)) { - x_322 = lean_alloc_ctor(2, 2, 0); -} else { - x_322 = x_301; - lean_ctor_set_tag(x_322, 2); } -lean_ctor_set(x_322, 0, x_302); -lean_ctor_set(x_322, 1, x_321); -x_323 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_302); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_323); -lean_ctor_set(x_48, 0, x_302); -x_324 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_302); -x_325 = l_Lean_Syntax_node2(x_302, x_324, x_48, x_30); -lean_inc(x_302); -x_326 = l_Lean_Syntax_node1(x_302, x_282, x_325); -x_327 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_320); -lean_inc(x_302); -x_328 = l_Lean_Syntax_node2(x_302, x_327, x_320, x_326); -x_329 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_302); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_329); -lean_ctor_set(x_33, 0, x_302); -x_330 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_320, 2); -lean_inc(x_302); -x_331 = l_Lean_Syntax_node2(x_302, x_330, x_320, x_320); -x_332 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_302); -x_333 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_333, 0, x_302); -lean_ctor_set(x_333, 1, x_282); -lean_ctor_set(x_333, 2, x_332); -x_334 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_333); -lean_inc(x_302); -x_335 = l_Lean_Syntax_node4(x_302, x_334, x_33, x_297, x_331, x_333); -x_336 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_302); -x_337 = l_Lean_Syntax_node4(x_302, x_336, x_322, x_31, x_328, x_335); -if (lean_obj_tag(x_6) == 0) +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__7___closed__1() { +_start: { -lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_338 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_320, 3); -lean_inc(x_302); -x_339 = l_Lean_Syntax_node6(x_302, x_338, x_333, x_319, x_320, x_320, x_320, x_320); -x_340 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_341 = l_Lean_Syntax_node2(x_302, x_340, x_339, x_337); -lean_inc(x_341); -x_342 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_342, 0, x_341); -x_343 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_341, x_342, x_12, x_13, x_307); -return x_343; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } -else +} +static lean_object* _init_l_Lake_DSL_elabConfigDecl___lambda__7___closed__2() { +_start: { -lean_object* x_344; lean_object* x_345; 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; -lean_dec(x_333); -x_344 = lean_ctor_get(x_6, 0); -lean_inc(x_344); -lean_dec(x_6); -x_345 = l_Array_mkArray1___rarg(x_344); -x_346 = l_Array_append___rarg(x_283, x_345); -lean_dec(x_345); -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_282); -lean_ctor_set(x_347, 2, x_346); -x_348 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_320, 3); -lean_inc(x_302); -x_349 = l_Lean_Syntax_node6(x_302, x_348, x_347, x_319, x_320, x_320, x_320, x_320); -x_350 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_351 = l_Lean_Syntax_node2(x_302, x_350, x_349, x_337); -lean_inc(x_351); -x_352 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_352, 0, x_351); -x_353 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_351, x_352, x_12, x_13, x_307); -return x_353; +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = l_Lean_mkOptionalNode(x_1); +return x_2; } } -} -else +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; size_t x_363; lean_object* x_364; lean_object* x_365; 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; 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; 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; 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; lean_object* x_402; lean_object* 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; -x_354 = lean_ctor_get(x_53, 1); -lean_inc(x_354); -lean_dec(x_53); -x_355 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_354); -x_356 = lean_ctor_get(x_355, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - lean_ctor_release(x_355, 1); - x_357 = x_355; -} else { - lean_dec_ref(x_355); - x_357 = lean_box(0); -} -x_358 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_52); -if (lean_is_scalar(x_357)) { - x_359 = lean_alloc_ctor(2, 2, 0); -} else { - x_359 = x_357; - lean_ctor_set_tag(x_359, 2); -} -lean_ctor_set(x_359, 0, x_52); -lean_ctor_set(x_359, 1, x_358); -x_360 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_361 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_52); -x_362 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_362, 0, x_52); -lean_ctor_set(x_362, 1, x_360); -lean_ctor_set(x_362, 2, x_361); -x_363 = lean_array_size(x_23); -x_364 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_363, x_17, x_23); -x_365 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_366 = l_Lean_mkSepArray(x_364, x_365); -lean_dec(x_364); -x_367 = l_Array_append___rarg(x_361, x_366); -lean_dec(x_366); -lean_inc(x_52); -x_368 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_368, 0, x_52); -lean_ctor_set(x_368, 1, x_360); -lean_ctor_set(x_368, 2, x_367); -x_369 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_52); -x_370 = l_Lean_Syntax_node1(x_52, x_369, x_368); -x_371 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_362); -lean_inc(x_52); -x_372 = l_Lean_Syntax_node1(x_52, x_371, x_362); -x_373 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_52); -x_374 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_374, 0, x_52); -lean_ctor_set(x_374, 1, x_373); -x_375 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_362); -x_376 = l_Lean_Syntax_node6(x_52, x_375, x_359, x_362, x_370, x_372, x_362, x_374); -x_377 = l_Lean_Elab_Command_getRef(x_12, x_13, x_356); -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); -lean_inc(x_379); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - x_380 = x_377; -} else { - lean_dec_ref(x_377); - x_380 = lean_box(0); -} -x_381 = l_Lean_SourceInfo_fromRef(x_378, x_29); -lean_dec(x_378); -x_382 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_379); -x_383 = lean_ctor_get(x_382, 1); -lean_inc(x_383); -if (lean_is_exclusive(x_382)) { - lean_ctor_release(x_382, 0); - lean_ctor_release(x_382, 1); - x_384 = x_382; -} else { - lean_dec_ref(x_382); - x_384 = lean_box(0); -} -x_385 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_383); -x_386 = lean_ctor_get(x_385, 1); -lean_inc(x_386); -if (lean_is_exclusive(x_385)) { - lean_ctor_release(x_385, 0); - lean_ctor_release(x_385, 1); - x_387 = x_385; -} else { - lean_dec_ref(x_385); - x_387 = lean_box(0); -} -x_388 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_381); -if (lean_is_scalar(x_387)) { - x_389 = lean_alloc_ctor(2, 2, 0); -} else { - x_389 = x_387; - lean_ctor_set_tag(x_389, 2); -} -lean_ctor_set(x_389, 0, x_381); -lean_ctor_set(x_389, 1, x_388); -x_390 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_391 = l_Lean_Syntax_SepArray_ofElems(x_390, x_5); -x_392 = l_Array_append___rarg(x_361, x_391); -lean_dec(x_391); -lean_inc(x_381); -x_393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_393, 0, x_381); -lean_ctor_set(x_393, 1, x_360); -lean_ctor_set(x_393, 2, x_392); -x_394 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_381); -if (lean_is_scalar(x_384)) { - x_395 = lean_alloc_ctor(2, 2, 0); -} else { - x_395 = x_384; - lean_ctor_set_tag(x_395, 2); -} -lean_ctor_set(x_395, 0, x_381); -lean_ctor_set(x_395, 1, x_394); -x_396 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_381); -x_397 = l_Lean_Syntax_node3(x_381, x_396, x_389, x_393, x_395); -lean_inc(x_381); -x_398 = l_Lean_Syntax_node1(x_381, x_360, x_397); -lean_inc(x_381); -x_399 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_399, 0, x_381); -lean_ctor_set(x_399, 1, x_360); -lean_ctor_set(x_399, 2, x_361); -x_400 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_381); -if (lean_is_scalar(x_380)) { - x_401 = lean_alloc_ctor(2, 2, 0); -} else { - x_401 = x_380; - lean_ctor_set_tag(x_401, 2); -} -lean_ctor_set(x_401, 0, x_381); -lean_ctor_set(x_401, 1, x_400); -x_402 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_381); -lean_ctor_set_tag(x_48, 2); -lean_ctor_set(x_48, 1, x_402); -lean_ctor_set(x_48, 0, x_381); -x_403 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_381); -x_404 = l_Lean_Syntax_node2(x_381, x_403, x_48, x_30); -lean_inc(x_381); -x_405 = l_Lean_Syntax_node1(x_381, x_360, x_404); -x_406 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_399); -lean_inc(x_381); -x_407 = l_Lean_Syntax_node2(x_381, x_406, x_399, x_405); -x_408 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_381); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_408); -lean_ctor_set(x_33, 0, x_381); -x_409 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_399, 2); -lean_inc(x_381); -x_410 = l_Lean_Syntax_node2(x_381, x_409, x_399, x_399); -x_411 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_381); -x_412 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_412, 0, x_381); -lean_ctor_set(x_412, 1, x_360); -lean_ctor_set(x_412, 2, x_411); -x_413 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_412); -lean_inc(x_381); -x_414 = l_Lean_Syntax_node4(x_381, x_413, x_33, x_376, x_410, x_412); -x_415 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_381); -x_416 = l_Lean_Syntax_node4(x_381, x_415, x_401, x_31, x_407, x_414); -if (lean_obj_tag(x_6) == 0) +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_box(0); +x_15 = lean_array_size(x_1); +x_16 = 0; +lean_inc(x_11); +lean_inc(x_2); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__7(x_2, x_3, x_1, x_14, x_1, x_15, x_16, x_9, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_417 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_399, 3); -lean_inc(x_381); -x_418 = l_Lean_Syntax_node6(x_381, x_417, x_412, x_398, x_399, x_399, x_399, x_399); -x_419 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_420 = l_Lean_Syntax_node2(x_381, x_419, x_418, x_416); -lean_inc(x_420); -x_421 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_421, 0, x_420); -x_422 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_420, x_421, x_12, x_13, x_386); -return x_422; -} -else -{ -lean_object* x_423; 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; lean_object* x_432; -lean_dec(x_412); -x_423 = lean_ctor_get(x_6, 0); -lean_inc(x_423); -lean_dec(x_6); -x_424 = l_Array_mkArray1___rarg(x_423); -x_425 = l_Array_append___rarg(x_361, x_424); -lean_dec(x_424); -lean_inc(x_381); -x_426 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_426, 0, x_381); -lean_ctor_set(x_426, 1, x_360); -lean_ctor_set(x_426, 2, x_425); -x_427 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_399, 3); -lean_inc(x_381); -x_428 = l_Lean_Syntax_node6(x_381, x_427, x_426, x_398, x_399, x_399, x_399, x_399); -x_429 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_430 = l_Lean_Syntax_node2(x_381, x_429, x_428, x_416); -lean_inc(x_430); -x_431 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_431, 0, x_430); -x_432 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_430, x_431, x_12, x_13, x_386); -return x_432; -} -} -} -else -{ -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; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; size_t 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; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; 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; lean_object* x_479; lean_object* x_480; lean_object* x_481; 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; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; 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; -x_433 = lean_ctor_get(x_48, 0); -x_434 = lean_ctor_get(x_48, 1); -lean_inc(x_434); -lean_inc(x_433); -lean_dec(x_48); -x_435 = l_Lean_SourceInfo_fromRef(x_433, x_29); -lean_dec(x_433); -x_436 = l_Lean_Elab_Command_getCurrMacroScope(x_47, x_13, x_434); -lean_dec(x_47); -x_437 = lean_ctor_get(x_436, 1); -lean_inc(x_437); -if (lean_is_exclusive(x_436)) { - lean_ctor_release(x_436, 0); - lean_ctor_release(x_436, 1); - x_438 = x_436; +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; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +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); +lean_inc(x_1); +x_20 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__8(x_3, x_1, x_18, x_11, x_12, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_23 = x_20; } else { - lean_dec_ref(x_436); - x_438 = lean_box(0); + lean_dec_ref(x_20); + x_23 = lean_box(0); } -x_439 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_437); -x_440 = lean_ctor_get(x_439, 1); -lean_inc(x_440); -if (lean_is_exclusive(x_439)) { - lean_ctor_release(x_439, 0); - lean_ctor_release(x_439, 1); - x_441 = x_439; +x_24 = l_Lean_Elab_Command_getRef(x_11, x_12, x_22); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_27 = x_24; } else { - lean_dec_ref(x_439); - x_441 = lean_box(0); + lean_dec_ref(x_24); + x_27 = lean_box(0); } -x_442 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_435); -if (lean_is_scalar(x_441)) { - x_443 = lean_alloc_ctor(2, 2, 0); -} else { - x_443 = x_441; - lean_ctor_set_tag(x_443, 2); -} -lean_ctor_set(x_443, 0, x_435); -lean_ctor_set(x_443, 1, x_442); -x_444 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_445 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_435); -x_446 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_446, 0, x_435); -lean_ctor_set(x_446, 1, x_444); -lean_ctor_set(x_446, 2, x_445); -x_447 = lean_array_size(x_23); -x_448 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_447, x_17, x_23); -x_449 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_450 = l_Lean_mkSepArray(x_448, x_449); -lean_dec(x_448); -x_451 = l_Array_append___rarg(x_445, x_450); -lean_dec(x_450); -lean_inc(x_435); -x_452 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_452, 0, x_435); -lean_ctor_set(x_452, 1, x_444); -lean_ctor_set(x_452, 2, x_451); -x_453 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_435); -x_454 = l_Lean_Syntax_node1(x_435, x_453, x_452); -x_455 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_446); -lean_inc(x_435); -x_456 = l_Lean_Syntax_node1(x_435, x_455, x_446); -x_457 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_435); -if (lean_is_scalar(x_438)) { - x_458 = lean_alloc_ctor(2, 2, 0); -} else { - x_458 = x_438; - lean_ctor_set_tag(x_458, 2); -} -lean_ctor_set(x_458, 0, x_435); -lean_ctor_set(x_458, 1, x_457); -x_459 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_446); -x_460 = l_Lean_Syntax_node6(x_435, x_459, x_443, x_446, x_454, x_456, x_446, x_458); -x_461 = l_Lean_Elab_Command_getRef(x_12, x_13, x_440); -x_462 = lean_ctor_get(x_461, 0); -lean_inc(x_462); -x_463 = lean_ctor_get(x_461, 1); -lean_inc(x_463); -if (lean_is_exclusive(x_461)) { - lean_ctor_release(x_461, 0); - lean_ctor_release(x_461, 1); - x_464 = x_461; -} else { - lean_dec_ref(x_461); - x_464 = lean_box(0); -} -x_465 = l_Lean_SourceInfo_fromRef(x_462, x_29); -lean_dec(x_462); -x_466 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_463); -x_467 = lean_ctor_get(x_466, 1); -lean_inc(x_467); -if (lean_is_exclusive(x_466)) { - lean_ctor_release(x_466, 0); - lean_ctor_release(x_466, 1); - x_468 = x_466; -} else { - lean_dec_ref(x_466); - x_468 = lean_box(0); -} -x_469 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_467); -x_470 = lean_ctor_get(x_469, 1); -lean_inc(x_470); -if (lean_is_exclusive(x_469)) { - lean_ctor_release(x_469, 0); - lean_ctor_release(x_469, 1); - x_471 = x_469; -} else { - lean_dec_ref(x_469); - x_471 = lean_box(0); -} -x_472 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_465); -if (lean_is_scalar(x_471)) { - x_473 = lean_alloc_ctor(2, 2, 0); -} else { - x_473 = x_471; - lean_ctor_set_tag(x_473, 2); -} -lean_ctor_set(x_473, 0, x_465); -lean_ctor_set(x_473, 1, x_472); -x_474 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_475 = l_Lean_Syntax_SepArray_ofElems(x_474, x_5); -x_476 = l_Array_append___rarg(x_445, x_475); -lean_dec(x_475); -lean_inc(x_465); -x_477 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_477, 0, x_465); -lean_ctor_set(x_477, 1, x_444); -lean_ctor_set(x_477, 2, x_476); -x_478 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_465); -if (lean_is_scalar(x_468)) { - x_479 = lean_alloc_ctor(2, 2, 0); -} else { - x_479 = x_468; - lean_ctor_set_tag(x_479, 2); -} -lean_ctor_set(x_479, 0, x_465); -lean_ctor_set(x_479, 1, x_478); -x_480 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_465); -x_481 = l_Lean_Syntax_node3(x_465, x_480, x_473, x_477, x_479); -lean_inc(x_465); -x_482 = l_Lean_Syntax_node1(x_465, x_444, x_481); -lean_inc(x_465); -x_483 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_483, 0, x_465); -lean_ctor_set(x_483, 1, x_444); -lean_ctor_set(x_483, 2, x_445); -x_484 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_465); -if (lean_is_scalar(x_464)) { - x_485 = lean_alloc_ctor(2, 2, 0); -} else { - x_485 = x_464; - lean_ctor_set_tag(x_485, 2); -} -lean_ctor_set(x_485, 0, x_465); -lean_ctor_set(x_485, 1, x_484); -x_486 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_465); -x_487 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_487, 0, x_465); -lean_ctor_set(x_487, 1, x_486); -x_488 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_465); -x_489 = l_Lean_Syntax_node2(x_465, x_488, x_487, x_30); -lean_inc(x_465); -x_490 = l_Lean_Syntax_node1(x_465, x_444, x_489); -x_491 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_483); -lean_inc(x_465); -x_492 = l_Lean_Syntax_node2(x_465, x_491, x_483, x_490); -x_493 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_465); -lean_ctor_set_tag(x_33, 2); -lean_ctor_set(x_33, 1, x_493); -lean_ctor_set(x_33, 0, x_465); -x_494 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_483, 2); -lean_inc(x_465); -x_495 = l_Lean_Syntax_node2(x_465, x_494, x_483, x_483); -x_496 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_465); -x_497 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_497, 0, x_465); -lean_ctor_set(x_497, 1, x_444); -lean_ctor_set(x_497, 2, x_496); -x_498 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_497); -lean_inc(x_465); -x_499 = l_Lean_Syntax_node4(x_465, x_498, x_33, x_460, x_495, x_497); -x_500 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_465); -x_501 = l_Lean_Syntax_node4(x_465, x_500, x_485, x_31, x_492, x_499); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; -x_502 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_483, 3); -lean_inc(x_465); -x_503 = l_Lean_Syntax_node6(x_465, x_502, x_497, x_482, x_483, x_483, x_483, x_483); -x_504 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_505 = l_Lean_Syntax_node2(x_465, x_504, x_503, x_501); -lean_inc(x_505); -x_506 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_506, 0, x_505); -x_507 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_505, x_506, x_12, x_13, x_470); -return x_507; -} -else -{ -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_dec(x_497); -x_508 = lean_ctor_get(x_6, 0); -lean_inc(x_508); -lean_dec(x_6); -x_509 = l_Array_mkArray1___rarg(x_508); -x_510 = l_Array_append___rarg(x_445, x_509); -lean_dec(x_509); -lean_inc(x_465); -x_511 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_511, 0, x_465); -lean_ctor_set(x_511, 1, x_444); -lean_ctor_set(x_511, 2, x_510); -x_512 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_483, 3); -lean_inc(x_465); -x_513 = l_Lean_Syntax_node6(x_465, x_512, x_511, x_482, x_483, x_483, x_483, x_483); -x_514 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_515 = l_Lean_Syntax_node2(x_465, x_514, x_513, x_501); -lean_inc(x_515); -x_516 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_516, 0, x_515); -x_517 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_515, x_516, x_12, x_13, x_470); -return x_517; -} -} -} -else -{ -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; uint8_t 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; lean_object* x_538; 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; size_t 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; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* 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; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* 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; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; -x_518 = lean_ctor_get(x_33, 0); -x_519 = lean_ctor_get(x_33, 1); -lean_inc(x_519); -lean_inc(x_518); -lean_dec(x_33); -x_520 = l_Lean_replaceRef(x_4, x_518); -lean_dec(x_518); -x_521 = lean_ctor_get(x_12, 0); -lean_inc(x_521); -x_522 = lean_ctor_get(x_12, 1); -lean_inc(x_522); -x_523 = lean_ctor_get(x_12, 2); -lean_inc(x_523); -x_524 = lean_ctor_get(x_12, 3); -lean_inc(x_524); -x_525 = lean_ctor_get(x_12, 4); -lean_inc(x_525); -x_526 = lean_ctor_get(x_12, 5); -lean_inc(x_526); -x_527 = lean_ctor_get(x_12, 7); -lean_inc(x_527); -x_528 = lean_ctor_get(x_12, 8); -lean_inc(x_528); -x_529 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_530 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_530, 0, x_521); -lean_ctor_set(x_530, 1, x_522); -lean_ctor_set(x_530, 2, x_523); -lean_ctor_set(x_530, 3, x_524); -lean_ctor_set(x_530, 4, x_525); -lean_ctor_set(x_530, 5, x_526); -lean_ctor_set(x_530, 6, x_520); -lean_ctor_set(x_530, 7, x_527); -lean_ctor_set(x_530, 8, x_528); -lean_ctor_set_uint8(x_530, sizeof(void*)*9, x_529); -x_531 = l_Lean_Elab_Command_getRef(x_530, x_13, x_519); -x_532 = lean_ctor_get(x_531, 0); -lean_inc(x_532); -x_533 = lean_ctor_get(x_531, 1); -lean_inc(x_533); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - x_534 = x_531; -} else { - lean_dec_ref(x_531); - x_534 = lean_box(0); -} -x_535 = l_Lean_SourceInfo_fromRef(x_532, x_29); -lean_dec(x_532); -x_536 = l_Lean_Elab_Command_getCurrMacroScope(x_530, x_13, x_533); -lean_dec(x_530); -x_537 = lean_ctor_get(x_536, 1); -lean_inc(x_537); -if (lean_is_exclusive(x_536)) { - lean_ctor_release(x_536, 0); - lean_ctor_release(x_536, 1); - x_538 = x_536; -} else { - lean_dec_ref(x_536); - x_538 = lean_box(0); -} -x_539 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_537); -x_540 = lean_ctor_get(x_539, 1); -lean_inc(x_540); -if (lean_is_exclusive(x_539)) { - lean_ctor_release(x_539, 0); - lean_ctor_release(x_539, 1); - x_541 = x_539; -} else { - lean_dec_ref(x_539); - x_541 = lean_box(0); -} -x_542 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_535); -if (lean_is_scalar(x_541)) { - x_543 = lean_alloc_ctor(2, 2, 0); -} else { - x_543 = x_541; - lean_ctor_set_tag(x_543, 2); -} -lean_ctor_set(x_543, 0, x_535); -lean_ctor_set(x_543, 1, x_542); -x_544 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_545 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_535); -x_546 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_546, 0, x_535); -lean_ctor_set(x_546, 1, x_544); -lean_ctor_set(x_546, 2, x_545); -x_547 = lean_array_size(x_23); -x_548 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_547, x_17, x_23); -x_549 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_550 = l_Lean_mkSepArray(x_548, x_549); -lean_dec(x_548); -x_551 = l_Array_append___rarg(x_545, x_550); -lean_dec(x_550); -lean_inc(x_535); -x_552 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_552, 0, x_535); -lean_ctor_set(x_552, 1, x_544); -lean_ctor_set(x_552, 2, x_551); -x_553 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_535); -x_554 = l_Lean_Syntax_node1(x_535, x_553, x_552); -x_555 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_546); -lean_inc(x_535); -x_556 = l_Lean_Syntax_node1(x_535, x_555, x_546); -x_557 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_535); -if (lean_is_scalar(x_538)) { - x_558 = lean_alloc_ctor(2, 2, 0); -} else { - x_558 = x_538; - lean_ctor_set_tag(x_558, 2); -} -lean_ctor_set(x_558, 0, x_535); -lean_ctor_set(x_558, 1, x_557); -x_559 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_546); -x_560 = l_Lean_Syntax_node6(x_535, x_559, x_543, x_546, x_554, x_556, x_546, x_558); -x_561 = l_Lean_Elab_Command_getRef(x_12, x_13, x_540); -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -if (lean_is_exclusive(x_561)) { - lean_ctor_release(x_561, 0); - lean_ctor_release(x_561, 1); - x_564 = x_561; -} else { - lean_dec_ref(x_561); - x_564 = lean_box(0); -} -x_565 = l_Lean_SourceInfo_fromRef(x_562, x_29); -lean_dec(x_562); -x_566 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_563); -x_567 = lean_ctor_get(x_566, 1); -lean_inc(x_567); -if (lean_is_exclusive(x_566)) { - lean_ctor_release(x_566, 0); - lean_ctor_release(x_566, 1); - x_568 = x_566; -} else { - lean_dec_ref(x_566); - x_568 = lean_box(0); -} -x_569 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_567); -x_570 = lean_ctor_get(x_569, 1); -lean_inc(x_570); -if (lean_is_exclusive(x_569)) { - lean_ctor_release(x_569, 0); - lean_ctor_release(x_569, 1); - x_571 = x_569; -} else { - lean_dec_ref(x_569); - x_571 = lean_box(0); -} -x_572 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_565); -if (lean_is_scalar(x_571)) { - x_573 = lean_alloc_ctor(2, 2, 0); -} else { - x_573 = x_571; - lean_ctor_set_tag(x_573, 2); -} -lean_ctor_set(x_573, 0, x_565); -lean_ctor_set(x_573, 1, x_572); -x_574 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_575 = l_Lean_Syntax_SepArray_ofElems(x_574, x_5); -x_576 = l_Array_append___rarg(x_545, x_575); -lean_dec(x_575); -lean_inc(x_565); -x_577 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_577, 0, x_565); -lean_ctor_set(x_577, 1, x_544); -lean_ctor_set(x_577, 2, x_576); -x_578 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_565); -if (lean_is_scalar(x_568)) { - x_579 = lean_alloc_ctor(2, 2, 0); -} else { - x_579 = x_568; - lean_ctor_set_tag(x_579, 2); -} -lean_ctor_set(x_579, 0, x_565); -lean_ctor_set(x_579, 1, x_578); -x_580 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_565); -x_581 = l_Lean_Syntax_node3(x_565, x_580, x_573, x_577, x_579); -lean_inc(x_565); -x_582 = l_Lean_Syntax_node1(x_565, x_544, x_581); -lean_inc(x_565); -x_583 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_583, 0, x_565); -lean_ctor_set(x_583, 1, x_544); -lean_ctor_set(x_583, 2, x_545); -x_584 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_565); -if (lean_is_scalar(x_564)) { - x_585 = lean_alloc_ctor(2, 2, 0); -} else { - x_585 = x_564; - lean_ctor_set_tag(x_585, 2); -} -lean_ctor_set(x_585, 0, x_565); -lean_ctor_set(x_585, 1, x_584); -x_586 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_565); -if (lean_is_scalar(x_534)) { - x_587 = lean_alloc_ctor(2, 2, 0); -} else { - x_587 = x_534; - lean_ctor_set_tag(x_587, 2); -} -lean_ctor_set(x_587, 0, x_565); -lean_ctor_set(x_587, 1, x_586); -x_588 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_565); -x_589 = l_Lean_Syntax_node2(x_565, x_588, x_587, x_30); -lean_inc(x_565); -x_590 = l_Lean_Syntax_node1(x_565, x_544, x_589); -x_591 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_583); -lean_inc(x_565); -x_592 = l_Lean_Syntax_node2(x_565, x_591, x_583, x_590); -x_593 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_565); -x_594 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_594, 0, x_565); -lean_ctor_set(x_594, 1, x_593); -x_595 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_583, 2); -lean_inc(x_565); -x_596 = l_Lean_Syntax_node2(x_565, x_595, x_583, x_583); -x_597 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_565); -x_598 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_598, 0, x_565); -lean_ctor_set(x_598, 1, x_544); -lean_ctor_set(x_598, 2, x_597); -x_599 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_598); -lean_inc(x_565); -x_600 = l_Lean_Syntax_node4(x_565, x_599, x_594, x_560, x_596, x_598); -x_601 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_565); -x_602 = l_Lean_Syntax_node4(x_565, x_601, x_585, x_31, x_592, x_600); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; -x_603 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_583, 3); -lean_inc(x_565); -x_604 = l_Lean_Syntax_node6(x_565, x_603, x_598, x_582, x_583, x_583, x_583, x_583); -x_605 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_606 = l_Lean_Syntax_node2(x_565, x_605, x_604, x_602); -lean_inc(x_606); -x_607 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_607, 0, x_606); -x_608 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_606, x_607, x_12, x_13, x_570); -return x_608; -} -else -{ -lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; -lean_dec(x_598); -x_609 = lean_ctor_get(x_6, 0); -lean_inc(x_609); -lean_dec(x_6); -x_610 = l_Array_mkArray1___rarg(x_609); -x_611 = l_Array_append___rarg(x_545, x_610); -lean_dec(x_610); -lean_inc(x_565); -x_612 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_612, 0, x_565); -lean_ctor_set(x_612, 1, x_544); -lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_583, 3); -lean_inc(x_565); -x_614 = l_Lean_Syntax_node6(x_565, x_613, x_612, x_582, x_583, x_583, x_583, x_583); -x_615 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_616 = l_Lean_Syntax_node2(x_565, x_615, x_614, x_602); -lean_inc(x_616); -x_617 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_617, 0, x_616); -x_618 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_616, x_617, x_12, x_13, x_570); -return x_618; -} -} -} -} -else -{ -lean_object* x_634; lean_object* x_635; uint8_t x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_634 = lean_ctor_get(x_25, 0); -x_635 = lean_ctor_get(x_25, 1); -lean_inc(x_635); -lean_inc(x_634); +x_28 = 0; +x_29 = l_Lean_mkCIdentFrom(x_25, x_2, x_28); lean_dec(x_25); -x_636 = 0; -x_637 = l_Lean_mkCIdentFrom(x_634, x_2, x_636); -lean_dec(x_634); -if (lean_obj_tag(x_8) == 0) +if (lean_obj_tag(x_7) == 0) { -lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; -x_744 = lean_box(2); -x_745 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_746 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_746, 0, x_744); -lean_ctor_set(x_746, 1, x_745); -lean_ctor_set(x_746, 2, x_1); -x_747 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_747, 0, x_746); -lean_ctor_set(x_747, 1, x_3); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 1, x_747); -lean_ctor_set(x_21, 0, x_9); -x_748 = lean_array_mk(x_21); -x_749 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_750 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_750, 0, x_744); -lean_ctor_set(x_750, 1, x_749); -lean_ctor_set(x_750, 2, x_748); -x_638 = x_750; -x_639 = x_635; -goto block_743; +x_30 = x_8; +x_31 = x_26; +goto block_264; } else { -lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; -x_751 = lean_ctor_get(x_8, 0); -lean_inc(x_751); +lean_object* x_265; lean_object* x_266; +x_265 = lean_ctor_get(x_7, 0); +lean_inc(x_265); +lean_dec(x_7); +x_266 = l_Lean_mkIdentFrom(x_8, x_265, x_28); lean_dec(x_8); -x_752 = l_Lean_mkIdentFrom(x_9, x_751, x_636); -lean_dec(x_9); -x_753 = lean_box(2); -x_754 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_755 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_755, 0, x_753); -lean_ctor_set(x_755, 1, x_754); -lean_ctor_set(x_755, 2, x_1); -x_756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_756, 0, x_755); -lean_ctor_set(x_756, 1, x_3); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 1, x_756); -lean_ctor_set(x_21, 0, x_752); -x_757 = lean_array_mk(x_21); -x_758 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_759 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_759, 0, x_753); -lean_ctor_set(x_759, 1, x_758); -lean_ctor_set(x_759, 2, x_757); -x_638 = x_759; -x_639 = x_635; -goto block_743; +x_30 = x_266; +x_31 = x_26; +goto block_264; } -block_743: +block_264: { -lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; uint8_t x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; 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; lean_object* x_670; size_t x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; -x_640 = l_Lean_Elab_Command_getRef(x_12, x_13, x_639); -x_641 = lean_ctor_get(x_640, 0); -lean_inc(x_641); -x_642 = lean_ctor_get(x_640, 1); -lean_inc(x_642); -if (lean_is_exclusive(x_640)) { - lean_ctor_release(x_640, 0); - lean_ctor_release(x_640, 1); - x_643 = x_640; -} else { - lean_dec_ref(x_640); - x_643 = lean_box(0); -} -x_644 = l_Lean_replaceRef(x_4, x_641); -lean_dec(x_641); -x_645 = lean_ctor_get(x_12, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_12, 1); -lean_inc(x_646); -x_647 = lean_ctor_get(x_12, 2); -lean_inc(x_647); -x_648 = lean_ctor_get(x_12, 3); -lean_inc(x_648); -x_649 = lean_ctor_get(x_12, 4); -lean_inc(x_649); -x_650 = lean_ctor_get(x_12, 5); -lean_inc(x_650); -x_651 = lean_ctor_get(x_12, 7); -lean_inc(x_651); -x_652 = lean_ctor_get(x_12, 8); -lean_inc(x_652); -x_653 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_654 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_654, 0, x_645); -lean_ctor_set(x_654, 1, x_646); -lean_ctor_set(x_654, 2, x_647); -lean_ctor_set(x_654, 3, x_648); -lean_ctor_set(x_654, 4, x_649); -lean_ctor_set(x_654, 5, x_650); -lean_ctor_set(x_654, 6, x_644); -lean_ctor_set(x_654, 7, x_651); -lean_ctor_set(x_654, 8, x_652); -lean_ctor_set_uint8(x_654, sizeof(void*)*9, x_653); -x_655 = l_Lean_Elab_Command_getRef(x_654, x_13, x_642); -x_656 = lean_ctor_get(x_655, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_655, 1); -lean_inc(x_657); -if (lean_is_exclusive(x_655)) { - lean_ctor_release(x_655, 0); - lean_ctor_release(x_655, 1); - x_658 = x_655; -} else { - lean_dec_ref(x_655); - x_658 = lean_box(0); -} -x_659 = l_Lean_SourceInfo_fromRef(x_656, x_636); -lean_dec(x_656); -x_660 = l_Lean_Elab_Command_getCurrMacroScope(x_654, x_13, x_657); -lean_dec(x_654); -x_661 = lean_ctor_get(x_660, 1); -lean_inc(x_661); -if (lean_is_exclusive(x_660)) { - lean_ctor_release(x_660, 0); - lean_ctor_release(x_660, 1); - x_662 = x_660; -} else { - lean_dec_ref(x_660); - x_662 = lean_box(0); -} -x_663 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_661); -x_664 = lean_ctor_get(x_663, 1); -lean_inc(x_664); -if (lean_is_exclusive(x_663)) { - lean_ctor_release(x_663, 0); - lean_ctor_release(x_663, 1); - x_665 = x_663; -} else { - lean_dec_ref(x_663); - x_665 = lean_box(0); -} -x_666 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_659); -if (lean_is_scalar(x_665)) { - x_667 = lean_alloc_ctor(2, 2, 0); -} else { - x_667 = x_665; - lean_ctor_set_tag(x_667, 2); -} -lean_ctor_set(x_667, 0, x_659); -lean_ctor_set(x_667, 1, x_666); -x_668 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_669 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_659); -x_670 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_670, 0, x_659); -lean_ctor_set(x_670, 1, x_668); -lean_ctor_set(x_670, 2, x_669); -x_671 = lean_array_size(x_23); -x_672 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_671, x_17, x_23); -x_673 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_674 = l_Lean_mkSepArray(x_672, x_673); -lean_dec(x_672); -x_675 = l_Array_append___rarg(x_669, x_674); -lean_dec(x_674); -lean_inc(x_659); -x_676 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_676, 0, x_659); -lean_ctor_set(x_676, 1, x_668); -lean_ctor_set(x_676, 2, x_675); -x_677 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_659); -x_678 = l_Lean_Syntax_node1(x_659, x_677, x_676); -x_679 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_670); -lean_inc(x_659); -x_680 = l_Lean_Syntax_node1(x_659, x_679, x_670); -x_681 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_659); -if (lean_is_scalar(x_662)) { - x_682 = lean_alloc_ctor(2, 2, 0); -} else { - x_682 = x_662; - lean_ctor_set_tag(x_682, 2); -} -lean_ctor_set(x_682, 0, x_659); -lean_ctor_set(x_682, 1, x_681); -x_683 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_670); -x_684 = l_Lean_Syntax_node6(x_659, x_683, x_667, x_670, x_678, x_680, x_670, x_682); -x_685 = l_Lean_Elab_Command_getRef(x_12, x_13, x_664); -x_686 = lean_ctor_get(x_685, 0); -lean_inc(x_686); -x_687 = lean_ctor_get(x_685, 1); -lean_inc(x_687); -if (lean_is_exclusive(x_685)) { - lean_ctor_release(x_685, 0); - lean_ctor_release(x_685, 1); - x_688 = x_685; -} else { - lean_dec_ref(x_685); - x_688 = lean_box(0); -} -x_689 = l_Lean_SourceInfo_fromRef(x_686, x_636); -lean_dec(x_686); -x_690 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_687); -x_691 = lean_ctor_get(x_690, 1); -lean_inc(x_691); -if (lean_is_exclusive(x_690)) { - lean_ctor_release(x_690, 0); - lean_ctor_release(x_690, 1); - x_692 = x_690; -} else { - lean_dec_ref(x_690); - x_692 = lean_box(0); -} -x_693 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_691); -x_694 = lean_ctor_get(x_693, 1); -lean_inc(x_694); -if (lean_is_exclusive(x_693)) { - lean_ctor_release(x_693, 0); - lean_ctor_release(x_693, 1); - x_695 = x_693; -} else { - lean_dec_ref(x_693); - x_695 = lean_box(0); -} -x_696 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_689); -if (lean_is_scalar(x_695)) { - x_697 = lean_alloc_ctor(2, 2, 0); -} else { - x_697 = x_695; - lean_ctor_set_tag(x_697, 2); -} -lean_ctor_set(x_697, 0, x_689); -lean_ctor_set(x_697, 1, x_696); -x_698 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_699 = l_Lean_Syntax_SepArray_ofElems(x_698, x_5); -x_700 = l_Array_append___rarg(x_669, x_699); -lean_dec(x_699); -lean_inc(x_689); -x_701 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_701, 0, x_689); -lean_ctor_set(x_701, 1, x_668); -lean_ctor_set(x_701, 2, x_700); -x_702 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_689); -if (lean_is_scalar(x_692)) { - x_703 = lean_alloc_ctor(2, 2, 0); -} else { - x_703 = x_692; - lean_ctor_set_tag(x_703, 2); -} -lean_ctor_set(x_703, 0, x_689); -lean_ctor_set(x_703, 1, x_702); -x_704 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_689); -x_705 = l_Lean_Syntax_node3(x_689, x_704, x_697, x_701, x_703); -lean_inc(x_689); -x_706 = l_Lean_Syntax_node1(x_689, x_668, x_705); -lean_inc(x_689); -x_707 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_707, 0, x_689); -lean_ctor_set(x_707, 1, x_668); -lean_ctor_set(x_707, 2, x_669); -x_708 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_689); -if (lean_is_scalar(x_688)) { - x_709 = lean_alloc_ctor(2, 2, 0); -} else { - x_709 = x_688; - lean_ctor_set_tag(x_709, 2); -} -lean_ctor_set(x_709, 0, x_689); -lean_ctor_set(x_709, 1, x_708); -x_710 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_689); -if (lean_is_scalar(x_658)) { - x_711 = lean_alloc_ctor(2, 2, 0); -} else { - x_711 = x_658; - lean_ctor_set_tag(x_711, 2); -} -lean_ctor_set(x_711, 0, x_689); -lean_ctor_set(x_711, 1, x_710); -x_712 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_689); -x_713 = l_Lean_Syntax_node2(x_689, x_712, x_711, x_637); -lean_inc(x_689); -x_714 = l_Lean_Syntax_node1(x_689, x_668, x_713); -x_715 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_707); -lean_inc(x_689); -x_716 = l_Lean_Syntax_node2(x_689, x_715, x_707, x_714); -x_717 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_689); -if (lean_is_scalar(x_643)) { - x_718 = lean_alloc_ctor(2, 2, 0); -} else { - x_718 = x_643; - lean_ctor_set_tag(x_718, 2); -} -lean_ctor_set(x_718, 0, x_689); -lean_ctor_set(x_718, 1, x_717); -x_719 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_707, 2); -lean_inc(x_689); -x_720 = l_Lean_Syntax_node2(x_689, x_719, x_707, x_707); -x_721 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_689); -x_722 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_722, 0, x_689); -lean_ctor_set(x_722, 1, x_668); -lean_ctor_set(x_722, 2, x_721); -x_723 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_722); -lean_inc(x_689); -x_724 = l_Lean_Syntax_node4(x_689, x_723, x_718, x_684, x_720, x_722); -x_725 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_689); -x_726 = l_Lean_Syntax_node4(x_689, x_725, x_709, x_638, x_716, x_724); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; -x_727 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_707, 3); -lean_inc(x_689); -x_728 = l_Lean_Syntax_node6(x_689, x_727, x_722, x_706, x_707, x_707, x_707, x_707); -x_729 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_730 = l_Lean_Syntax_node2(x_689, x_729, x_728, x_726); -lean_inc(x_730); -x_731 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_731, 0, x_730); -x_732 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_730, x_731, x_12, x_13, x_694); -return x_732; -} -else -{ -lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; -lean_dec(x_722); -x_733 = lean_ctor_get(x_6, 0); -lean_inc(x_733); -lean_dec(x_6); -x_734 = l_Array_mkArray1___rarg(x_733); -x_735 = l_Array_append___rarg(x_669, x_734); -lean_dec(x_734); -lean_inc(x_689); -x_736 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_736, 0, x_689); -lean_ctor_set(x_736, 1, x_668); -lean_ctor_set(x_736, 2, x_735); -x_737 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_707, 3); -lean_inc(x_689); -x_738 = l_Lean_Syntax_node6(x_689, x_737, x_736, x_706, x_707, x_707, x_707, x_707); -x_739 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_740 = l_Lean_Syntax_node2(x_689, x_739, x_738, x_726); -lean_inc(x_740); -x_741 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_741, 0, x_740); -x_742 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_740, x_741, x_12, x_13, x_694); -return x_742; -} -} -} -} -else -{ -lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; uint8_t x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; -x_760 = lean_ctor_get(x_21, 0); -x_761 = lean_ctor_get(x_21, 1); -lean_inc(x_761); -lean_inc(x_760); +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; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_32 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__3; +x_33 = l_Lean_Syntax_mkSep(x_21, x_32); lean_dec(x_21); -x_762 = l_Lean_Elab_Command_getRef(x_12, x_13, x_761); -x_763 = lean_ctor_get(x_762, 0); -lean_inc(x_763); -x_764 = lean_ctor_get(x_762, 1); -lean_inc(x_764); -if (lean_is_exclusive(x_762)) { - lean_ctor_release(x_762, 0); - lean_ctor_release(x_762, 1); - x_765 = x_762; +lean_inc(x_3); +if (lean_is_scalar(x_27)) { + x_34 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_762); - x_765 = lean_box(0); + x_34 = x_27; + lean_ctor_set_tag(x_34, 1); } -x_766 = 0; -x_767 = l_Lean_mkCIdentFrom(x_763, x_2, x_766); -lean_dec(x_763); -if (lean_obj_tag(x_8) == 0) +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_3); +x_35 = lean_array_mk(x_34); +x_36 = lean_box(2); +x_37 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; +x_38 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_35); +x_39 = l_Lake_DSL_elabConfigDecl___lambda__7___closed__2; +lean_inc(x_3); +if (lean_is_scalar(x_23)) { + x_40 = lean_alloc_ctor(1, 2, 0); +} else { + x_40 = x_23; + lean_ctor_set_tag(x_40, 1); +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_3); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lake_DSL_elabConfigDecl___lambda__7___closed__1; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_array_mk(x_43); +x_45 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_36); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_44); +x_47 = l_Lean_Elab_Command_getRef(x_11, x_12, x_31); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) { -lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; -x_874 = lean_box(2); -x_875 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_876 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_876, 0, x_874); -lean_ctor_set(x_876, 1, x_875); -lean_ctor_set(x_876, 2, x_1); -if (lean_is_scalar(x_765)) { - x_877 = lean_alloc_ctor(1, 2, 0); -} else { - x_877 = x_765; - lean_ctor_set_tag(x_877, 1); -} -lean_ctor_set(x_877, 0, x_876); -lean_ctor_set(x_877, 1, x_3); -x_878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_878, 0, x_9); -lean_ctor_set(x_878, 1, x_877); -x_879 = lean_array_mk(x_878); -x_880 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_881 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_881, 0, x_874); -lean_ctor_set(x_881, 1, x_880); -lean_ctor_set(x_881, 2, x_879); -x_768 = x_881; -x_769 = x_764; -goto block_873; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_47, 1); +x_51 = l_Lean_SourceInfo_fromRef(x_49, x_28); +lean_dec(x_49); +x_52 = l_Lean_Elab_Command_getCurrMacroScope(x_11, x_12, x_50); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = lean_ctor_get(x_52, 1); +x_55 = lean_ctor_get(x_52, 0); +lean_dec(x_55); +x_56 = l_Lean_Elab_Command_getMainModule___rarg(x_12, x_54); +x_57 = !lean_is_exclusive(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; 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; +x_58 = lean_ctor_get(x_56, 1); +x_59 = lean_ctor_get(x_56, 0); +lean_dec(x_59); +x_60 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_51); +lean_ctor_set_tag(x_56, 2); +lean_ctor_set(x_56, 1, x_60); +lean_ctor_set(x_56, 0, x_51); +x_61 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_62 = l_Lean_Syntax_SepArray_ofElems(x_61, x_4); +x_63 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_64 = l_Array_append___rarg(x_63, x_62); +lean_dec(x_62); +x_65 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_51); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_51); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_64); +x_67 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_51); +lean_ctor_set_tag(x_52, 2); +lean_ctor_set(x_52, 1, x_67); +lean_ctor_set(x_52, 0, x_51); +x_68 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_51); +x_69 = l_Lean_Syntax_node3(x_51, x_68, x_56, x_66, x_52); +lean_inc(x_51); +x_70 = l_Lean_Syntax_node1(x_51, x_65, x_69); +lean_inc(x_51); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_51); +lean_ctor_set(x_71, 1, x_65); +lean_ctor_set(x_71, 2, x_63); +x_72 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_51); +lean_ctor_set_tag(x_47, 2); +lean_ctor_set(x_47, 1, x_72); +lean_ctor_set(x_47, 0, x_51); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_36); +lean_ctor_set(x_73, 1, x_65); +lean_ctor_set(x_73, 2, x_1); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_3); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_30); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_mk(x_75); +x_77 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_36); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_51); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_51); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_51); +x_82 = l_Lean_Syntax_node2(x_51, x_81, x_80, x_29); +lean_inc(x_51); +x_83 = l_Lean_Syntax_node1(x_51, x_65, x_82); +x_84 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_71); +lean_inc(x_51); +x_85 = l_Lean_Syntax_node2(x_51, x_84, x_71, x_83); +x_86 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_51); +x_87 = l_Lean_Syntax_node4(x_51, x_86, x_47, x_78, x_85, x_46); +if (lean_obj_tag(x_5) == 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_object* x_94; lean_object* x_95; +x_88 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_51); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_51); +lean_ctor_set(x_89, 1, x_65); +lean_ctor_set(x_89, 2, x_88); +x_90 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_71, 3); +lean_inc(x_51); +x_91 = l_Lean_Syntax_node6(x_51, x_90, x_89, x_70, x_71, x_71, x_71, x_71); +x_92 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_93 = l_Lean_Syntax_node2(x_51, x_92, x_91, x_87); +lean_inc(x_93); +x_94 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_94, 0, x_93); +x_95 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_93, x_94, x_11, x_12, x_58); +return x_95; } else { -lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; -x_882 = lean_ctor_get(x_8, 0); -lean_inc(x_882); -lean_dec(x_8); -x_883 = l_Lean_mkIdentFrom(x_9, x_882, x_766); -lean_dec(x_9); -x_884 = lean_box(2); -x_885 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_886 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_886, 0, x_884); -lean_ctor_set(x_886, 1, x_885); -lean_ctor_set(x_886, 2, x_1); -if (lean_is_scalar(x_765)) { - x_887 = lean_alloc_ctor(1, 2, 0); -} else { - x_887 = x_765; - lean_ctor_set_tag(x_887, 1); +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_5, 0); +lean_inc(x_96); +lean_dec(x_5); +x_97 = l_Array_mkArray1___rarg(x_96); +x_98 = l_Array_append___rarg(x_63, x_97); +lean_dec(x_97); +lean_inc(x_51); +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_51); +lean_ctor_set(x_99, 1, x_65); +lean_ctor_set(x_99, 2, x_98); +x_100 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_71, 3); +lean_inc(x_51); +x_101 = l_Lean_Syntax_node6(x_51, x_100, x_99, x_70, x_71, x_71, x_71, x_71); +x_102 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_103 = l_Lean_Syntax_node2(x_51, x_102, x_101, x_87); +lean_inc(x_103); +x_104 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_104, 0, x_103); +x_105 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_103, x_104, x_11, x_12, x_58); +return x_105; } -lean_ctor_set(x_887, 0, x_886); -lean_ctor_set(x_887, 1, x_3); -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_883); -lean_ctor_set(x_888, 1, x_887); -x_889 = lean_array_mk(x_888); -x_890 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__24; -x_891 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_891, 0, x_884); -lean_ctor_set(x_891, 1, x_890); -lean_ctor_set(x_891, 2, x_889); -x_768 = x_891; -x_769 = x_764; -goto block_873; -} -block_873: -{ -lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; uint8_t x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; size_t x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; -x_770 = l_Lean_Elab_Command_getRef(x_12, x_13, x_769); -x_771 = lean_ctor_get(x_770, 0); -lean_inc(x_771); -x_772 = lean_ctor_get(x_770, 1); -lean_inc(x_772); -if (lean_is_exclusive(x_770)) { - lean_ctor_release(x_770, 0); - lean_ctor_release(x_770, 1); - x_773 = x_770; -} else { - lean_dec_ref(x_770); - x_773 = lean_box(0); -} -x_774 = l_Lean_replaceRef(x_4, x_771); -lean_dec(x_771); -x_775 = lean_ctor_get(x_12, 0); -lean_inc(x_775); -x_776 = lean_ctor_get(x_12, 1); -lean_inc(x_776); -x_777 = lean_ctor_get(x_12, 2); -lean_inc(x_777); -x_778 = lean_ctor_get(x_12, 3); -lean_inc(x_778); -x_779 = lean_ctor_get(x_12, 4); -lean_inc(x_779); -x_780 = lean_ctor_get(x_12, 5); -lean_inc(x_780); -x_781 = lean_ctor_get(x_12, 7); -lean_inc(x_781); -x_782 = lean_ctor_get(x_12, 8); -lean_inc(x_782); -x_783 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_784 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_784, 0, x_775); -lean_ctor_set(x_784, 1, x_776); -lean_ctor_set(x_784, 2, x_777); -lean_ctor_set(x_784, 3, x_778); -lean_ctor_set(x_784, 4, x_779); -lean_ctor_set(x_784, 5, x_780); -lean_ctor_set(x_784, 6, x_774); -lean_ctor_set(x_784, 7, x_781); -lean_ctor_set(x_784, 8, x_782); -lean_ctor_set_uint8(x_784, sizeof(void*)*9, x_783); -x_785 = l_Lean_Elab_Command_getRef(x_784, x_13, x_772); -x_786 = lean_ctor_get(x_785, 0); -lean_inc(x_786); -x_787 = lean_ctor_get(x_785, 1); -lean_inc(x_787); -if (lean_is_exclusive(x_785)) { - lean_ctor_release(x_785, 0); - lean_ctor_release(x_785, 1); - x_788 = x_785; -} else { - lean_dec_ref(x_785); - x_788 = lean_box(0); -} -x_789 = l_Lean_SourceInfo_fromRef(x_786, x_766); -lean_dec(x_786); -x_790 = l_Lean_Elab_Command_getCurrMacroScope(x_784, x_13, x_787); -lean_dec(x_784); -x_791 = lean_ctor_get(x_790, 1); -lean_inc(x_791); -if (lean_is_exclusive(x_790)) { - lean_ctor_release(x_790, 0); - lean_ctor_release(x_790, 1); - x_792 = x_790; -} else { - lean_dec_ref(x_790); - x_792 = lean_box(0); -} -x_793 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_791); -x_794 = lean_ctor_get(x_793, 1); -lean_inc(x_794); -if (lean_is_exclusive(x_793)) { - lean_ctor_release(x_793, 0); - lean_ctor_release(x_793, 1); - x_795 = x_793; -} else { - lean_dec_ref(x_793); - x_795 = lean_box(0); -} -x_796 = l_Lake_DSL_structVal___closed__3; -lean_inc(x_789); -if (lean_is_scalar(x_795)) { - x_797 = lean_alloc_ctor(2, 2, 0); -} else { - x_797 = x_795; - lean_ctor_set_tag(x_797, 2); -} -lean_ctor_set(x_797, 0, x_789); -lean_ctor_set(x_797, 1, x_796); -x_798 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; -x_799 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__5; -lean_inc(x_789); -x_800 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_800, 0, x_789); -lean_ctor_set(x_800, 1, x_798); -lean_ctor_set(x_800, 2, x_799); -x_801 = lean_array_size(x_760); -x_802 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__5(x_801, x_17, x_760); -x_803 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__6; -x_804 = l_Lean_mkSepArray(x_802, x_803); -lean_dec(x_802); -x_805 = l_Array_append___rarg(x_799, x_804); -lean_dec(x_804); -lean_inc(x_789); -x_806 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_806, 0, x_789); -lean_ctor_set(x_806, 1, x_798); -lean_ctor_set(x_806, 2, x_805); -x_807 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__4; -lean_inc(x_789); -x_808 = l_Lean_Syntax_node1(x_789, x_807, x_806); -x_809 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__8; -lean_inc(x_800); -lean_inc(x_789); -x_810 = l_Lean_Syntax_node1(x_789, x_809, x_800); -x_811 = l_Lake_DSL_structVal___closed__18; -lean_inc(x_789); -if (lean_is_scalar(x_792)) { - x_812 = lean_alloc_ctor(2, 2, 0); -} else { - x_812 = x_792; - lean_ctor_set_tag(x_812, 2); -} -lean_ctor_set(x_812, 0, x_789); -lean_ctor_set(x_812, 1, x_811); -x_813 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__2; -lean_inc(x_800); -x_814 = l_Lean_Syntax_node6(x_789, x_813, x_797, x_800, x_808, x_810, x_800, x_812); -x_815 = l_Lean_Elab_Command_getRef(x_12, x_13, x_794); -x_816 = lean_ctor_get(x_815, 0); -lean_inc(x_816); -x_817 = lean_ctor_get(x_815, 1); -lean_inc(x_817); -if (lean_is_exclusive(x_815)) { - lean_ctor_release(x_815, 0); - lean_ctor_release(x_815, 1); - x_818 = x_815; -} else { - lean_dec_ref(x_815); - x_818 = lean_box(0); -} -x_819 = l_Lean_SourceInfo_fromRef(x_816, x_766); -lean_dec(x_816); -x_820 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_817); -x_821 = lean_ctor_get(x_820, 1); -lean_inc(x_821); -if (lean_is_exclusive(x_820)) { - lean_ctor_release(x_820, 0); - lean_ctor_release(x_820, 1); - x_822 = x_820; -} else { - lean_dec_ref(x_820); - x_822 = lean_box(0); -} -x_823 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_821); -x_824 = lean_ctor_get(x_823, 1); -lean_inc(x_824); -if (lean_is_exclusive(x_823)) { - lean_ctor_release(x_823, 0); - lean_ctor_release(x_823, 1); - x_825 = x_823; -} else { - lean_dec_ref(x_823); - x_825 = lean_box(0); -} -x_826 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; -lean_inc(x_819); -if (lean_is_scalar(x_825)) { - x_827 = lean_alloc_ctor(2, 2, 0); -} else { - x_827 = x_825; - lean_ctor_set_tag(x_827, 2); -} -lean_ctor_set(x_827, 0, x_819); -lean_ctor_set(x_827, 1, x_826); -x_828 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__5; -x_829 = l_Lean_Syntax_SepArray_ofElems(x_828, x_5); -x_830 = l_Array_append___rarg(x_799, x_829); -lean_dec(x_829); -lean_inc(x_819); -x_831 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_831, 0, x_819); -lean_ctor_set(x_831, 1, x_798); -lean_ctor_set(x_831, 2, x_830); -x_832 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; -lean_inc(x_819); -if (lean_is_scalar(x_822)) { - x_833 = lean_alloc_ctor(2, 2, 0); -} else { - x_833 = x_822; - lean_ctor_set_tag(x_833, 2); -} -lean_ctor_set(x_833, 0, x_819); -lean_ctor_set(x_833, 1, x_832); -x_834 = l_Lake_DSL_expandAttrs___closed__6; -lean_inc(x_819); -x_835 = l_Lean_Syntax_node3(x_819, x_834, x_827, x_831, x_833); -lean_inc(x_819); -x_836 = l_Lean_Syntax_node1(x_819, x_798, x_835); -lean_inc(x_819); -x_837 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_837, 0, x_819); -lean_ctor_set(x_837, 1, x_798); -lean_ctor_set(x_837, 2, x_799); -x_838 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__15; -lean_inc(x_819); -if (lean_is_scalar(x_818)) { - x_839 = lean_alloc_ctor(2, 2, 0); -} else { - x_839 = x_818; - lean_ctor_set_tag(x_839, 2); -} -lean_ctor_set(x_839, 0, x_819); -lean_ctor_set(x_839, 1, x_838); -x_840 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; -lean_inc(x_819); -if (lean_is_scalar(x_788)) { - x_841 = lean_alloc_ctor(2, 2, 0); -} else { - x_841 = x_788; - lean_ctor_set_tag(x_841, 2); -} -lean_ctor_set(x_841, 0, x_819); -lean_ctor_set(x_841, 1, x_840); -x_842 = l_Lake_DSL_simpleDeclSig___closed__4; -lean_inc(x_819); -x_843 = l_Lean_Syntax_node2(x_819, x_842, x_841, x_767); -lean_inc(x_819); -x_844 = l_Lean_Syntax_node1(x_819, x_798, x_843); -x_845 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; -lean_inc(x_837); -lean_inc(x_819); -x_846 = l_Lean_Syntax_node2(x_819, x_845, x_837, x_844); -x_847 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8; -lean_inc(x_819); -if (lean_is_scalar(x_773)) { - x_848 = lean_alloc_ctor(2, 2, 0); -} else { - x_848 = x_773; - lean_ctor_set_tag(x_848, 2); -} -lean_ctor_set(x_848, 0, x_819); -lean_ctor_set(x_848, 1, x_847); -x_849 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__21; -lean_inc_n(x_837, 2); -lean_inc(x_819); -x_850 = l_Lean_Syntax_node2(x_819, x_849, x_837, x_837); -x_851 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__22; -lean_inc(x_819); -x_852 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_852, 0, x_819); -lean_ctor_set(x_852, 1, x_798); -lean_ctor_set(x_852, 2, x_851); -x_853 = l_Lake_DSL_simpleDeclSig___closed__9; -lean_inc(x_852); -lean_inc(x_819); -x_854 = l_Lean_Syntax_node4(x_819, x_853, x_848, x_814, x_850, x_852); -x_855 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; -lean_inc(x_819); -x_856 = l_Lean_Syntax_node4(x_819, x_855, x_839, x_768, x_846, x_854); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; -x_857 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_837, 3); -lean_inc(x_819); -x_858 = l_Lean_Syntax_node6(x_819, x_857, x_852, x_836, x_837, x_837, x_837, x_837); -x_859 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_860 = l_Lean_Syntax_node2(x_819, x_859, x_858, x_856); -lean_inc(x_860); -x_861 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_861, 0, x_860); -x_862 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_860, x_861, x_12, x_13, x_824); -return x_862; } else { -lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; -lean_dec(x_852); -x_863 = lean_ctor_get(x_6, 0); -lean_inc(x_863); -lean_dec(x_6); -x_864 = l_Array_mkArray1___rarg(x_863); -x_865 = l_Array_append___rarg(x_799, x_864); -lean_dec(x_864); -lean_inc(x_819); -x_866 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_866, 0, x_819); -lean_ctor_set(x_866, 1, x_798); -lean_ctor_set(x_866, 2, x_865); -x_867 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; -lean_inc_n(x_837, 3); -lean_inc(x_819); -x_868 = l_Lean_Syntax_node6(x_819, x_867, x_866, x_836, x_837, x_837, x_837, x_837); -x_869 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; -x_870 = l_Lean_Syntax_node2(x_819, x_869, x_868, x_856); -lean_inc(x_870); -x_871 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_871, 0, x_870); -x_872 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_7, x_870, x_871, x_12, x_13, x_824); -return x_872; +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; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_106 = lean_ctor_get(x_56, 1); +lean_inc(x_106); +lean_dec(x_56); +x_107 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_51); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_51); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_110 = l_Lean_Syntax_SepArray_ofElems(x_109, x_4); +x_111 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_112 = l_Array_append___rarg(x_111, x_110); +lean_dec(x_110); +x_113 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_51); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_51); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_112); +x_115 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_51); +lean_ctor_set_tag(x_52, 2); +lean_ctor_set(x_52, 1, x_115); +lean_ctor_set(x_52, 0, x_51); +x_116 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_51); +x_117 = l_Lean_Syntax_node3(x_51, x_116, x_108, x_114, x_52); +lean_inc(x_51); +x_118 = l_Lean_Syntax_node1(x_51, x_113, x_117); +lean_inc(x_51); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_51); +lean_ctor_set(x_119, 1, x_113); +lean_ctor_set(x_119, 2, x_111); +x_120 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_51); +lean_ctor_set_tag(x_47, 2); +lean_ctor_set(x_47, 1, x_120); +lean_ctor_set(x_47, 0, x_51); +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_36); +lean_ctor_set(x_121, 1, x_113); +lean_ctor_set(x_121, 2, x_1); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_3); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_30); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_array_mk(x_123); +x_125 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_36); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_124); +x_127 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_51); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_51); +lean_ctor_set(x_128, 1, x_127); +x_129 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_51); +x_130 = l_Lean_Syntax_node2(x_51, x_129, x_128, x_29); +lean_inc(x_51); +x_131 = l_Lean_Syntax_node1(x_51, x_113, x_130); +x_132 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_119); +lean_inc(x_51); +x_133 = l_Lean_Syntax_node2(x_51, x_132, x_119, x_131); +x_134 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_51); +x_135 = l_Lean_Syntax_node4(x_51, x_134, x_47, x_126, x_133, x_46); +if (lean_obj_tag(x_5) == 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; +x_136 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_51); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_51); +lean_ctor_set(x_137, 1, x_113); +lean_ctor_set(x_137, 2, x_136); +x_138 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_119, 3); +lean_inc(x_51); +x_139 = l_Lean_Syntax_node6(x_51, x_138, x_137, x_118, x_119, x_119, x_119, x_119); +x_140 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_141 = l_Lean_Syntax_node2(x_51, x_140, x_139, x_135); +lean_inc(x_141); +x_142 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_142, 0, x_141); +x_143 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_141, x_142, x_11, x_12, x_106); +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; +x_144 = lean_ctor_get(x_5, 0); +lean_inc(x_144); +lean_dec(x_5); +x_145 = l_Array_mkArray1___rarg(x_144); +x_146 = l_Array_append___rarg(x_111, x_145); +lean_dec(x_145); +lean_inc(x_51); +x_147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_147, 0, x_51); +lean_ctor_set(x_147, 1, x_113); +lean_ctor_set(x_147, 2, x_146); +x_148 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_119, 3); +lean_inc(x_51); +x_149 = l_Lean_Syntax_node6(x_51, x_148, x_147, x_118, x_119, x_119, x_119, x_119); +x_150 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_151 = l_Lean_Syntax_node2(x_51, x_150, x_149, x_135); +lean_inc(x_151); +x_152 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_152, 0, x_151); +x_153 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_151, x_152, x_11, x_12, x_106); +return x_153; +} +} +} +else +{ +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; 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; +x_154 = lean_ctor_get(x_52, 1); +lean_inc(x_154); +lean_dec(x_52); +x_155 = l_Lean_Elab_Command_getMainModule___rarg(x_12, x_154); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + lean_ctor_release(x_155, 1); + x_157 = x_155; +} else { + lean_dec_ref(x_155); + x_157 = lean_box(0); +} +x_158 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_51); +if (lean_is_scalar(x_157)) { + x_159 = lean_alloc_ctor(2, 2, 0); +} else { + x_159 = x_157; + lean_ctor_set_tag(x_159, 2); +} +lean_ctor_set(x_159, 0, x_51); +lean_ctor_set(x_159, 1, x_158); +x_160 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_161 = l_Lean_Syntax_SepArray_ofElems(x_160, x_4); +x_162 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_163 = l_Array_append___rarg(x_162, x_161); +lean_dec(x_161); +x_164 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_51); +x_165 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_165, 0, x_51); +lean_ctor_set(x_165, 1, x_164); +lean_ctor_set(x_165, 2, x_163); +x_166 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_51); +x_167 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_167, 0, x_51); +lean_ctor_set(x_167, 1, x_166); +x_168 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_51); +x_169 = l_Lean_Syntax_node3(x_51, x_168, x_159, x_165, x_167); +lean_inc(x_51); +x_170 = l_Lean_Syntax_node1(x_51, x_164, x_169); +lean_inc(x_51); +x_171 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_171, 0, x_51); +lean_ctor_set(x_171, 1, x_164); +lean_ctor_set(x_171, 2, x_162); +x_172 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_51); +lean_ctor_set_tag(x_47, 2); +lean_ctor_set(x_47, 1, x_172); +lean_ctor_set(x_47, 0, x_51); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_36); +lean_ctor_set(x_173, 1, x_164); +lean_ctor_set(x_173, 2, x_1); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_3); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_30); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_mk(x_175); +x_177 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_178, 0, x_36); +lean_ctor_set(x_178, 1, x_177); +lean_ctor_set(x_178, 2, x_176); +x_179 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_51); +x_180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_180, 0, x_51); +lean_ctor_set(x_180, 1, x_179); +x_181 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_51); +x_182 = l_Lean_Syntax_node2(x_51, x_181, x_180, x_29); +lean_inc(x_51); +x_183 = l_Lean_Syntax_node1(x_51, x_164, x_182); +x_184 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_171); +lean_inc(x_51); +x_185 = l_Lean_Syntax_node2(x_51, x_184, x_171, x_183); +x_186 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_51); +x_187 = l_Lean_Syntax_node4(x_51, x_186, x_47, x_178, x_185, x_46); +if (lean_obj_tag(x_5) == 0) +{ +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; +x_188 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_51); +x_189 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_189, 0, x_51); +lean_ctor_set(x_189, 1, x_164); +lean_ctor_set(x_189, 2, x_188); +x_190 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_171, 3); +lean_inc(x_51); +x_191 = l_Lean_Syntax_node6(x_51, x_190, x_189, x_170, x_171, x_171, x_171, x_171); +x_192 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_193 = l_Lean_Syntax_node2(x_51, x_192, x_191, x_187); +lean_inc(x_193); +x_194 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_194, 0, x_193); +x_195 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_193, x_194, x_11, x_12, x_156); +return x_195; +} +else +{ +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; +x_196 = lean_ctor_get(x_5, 0); +lean_inc(x_196); +lean_dec(x_5); +x_197 = l_Array_mkArray1___rarg(x_196); +x_198 = l_Array_append___rarg(x_162, x_197); +lean_dec(x_197); +lean_inc(x_51); +x_199 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_199, 0, x_51); +lean_ctor_set(x_199, 1, x_164); +lean_ctor_set(x_199, 2, x_198); +x_200 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_171, 3); +lean_inc(x_51); +x_201 = l_Lean_Syntax_node6(x_51, x_200, x_199, x_170, x_171, x_171, x_171, x_171); +x_202 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_203 = l_Lean_Syntax_node2(x_51, x_202, x_201, x_187); +lean_inc(x_203); +x_204 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_204, 0, x_203); +x_205 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_203, x_204, x_11, x_12, x_156); +return x_205; +} +} +} +else +{ +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; 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; lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_206 = lean_ctor_get(x_47, 0); +x_207 = lean_ctor_get(x_47, 1); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_47); +x_208 = l_Lean_SourceInfo_fromRef(x_206, x_28); +lean_dec(x_206); +x_209 = l_Lean_Elab_Command_getCurrMacroScope(x_11, x_12, x_207); +x_210 = lean_ctor_get(x_209, 1); +lean_inc(x_210); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_211 = x_209; +} else { + lean_dec_ref(x_209); + x_211 = lean_box(0); +} +x_212 = l_Lean_Elab_Command_getMainModule___rarg(x_12, x_210); +x_213 = lean_ctor_get(x_212, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + lean_ctor_release(x_212, 1); + x_214 = x_212; +} else { + lean_dec_ref(x_212); + x_214 = lean_box(0); +} +x_215 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__10; +lean_inc(x_208); +if (lean_is_scalar(x_214)) { + x_216 = lean_alloc_ctor(2, 2, 0); +} else { + x_216 = x_214; + lean_ctor_set_tag(x_216, 2); +} +lean_ctor_set(x_216, 0, x_208); +lean_ctor_set(x_216, 1, x_215); +x_217 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__11; +x_218 = l_Lean_Syntax_SepArray_ofElems(x_217, x_4); +x_219 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__6; +x_220 = l_Array_append___rarg(x_219, x_218); +lean_dec(x_218); +x_221 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__8; +lean_inc(x_208); +x_222 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_222, 0, x_208); +lean_ctor_set(x_222, 1, x_221); +lean_ctor_set(x_222, 2, x_220); +x_223 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__12; +lean_inc(x_208); +if (lean_is_scalar(x_211)) { + x_224 = lean_alloc_ctor(2, 2, 0); +} else { + x_224 = x_211; + lean_ctor_set_tag(x_224, 2); +} +lean_ctor_set(x_224, 0, x_208); +lean_ctor_set(x_224, 1, x_223); +x_225 = l_Lake_DSL_expandAttrs___closed__6; +lean_inc(x_208); +x_226 = l_Lean_Syntax_node3(x_208, x_225, x_216, x_222, x_224); +lean_inc(x_208); +x_227 = l_Lean_Syntax_node1(x_208, x_221, x_226); +lean_inc(x_208); +x_228 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_228, 0, x_208); +lean_ctor_set(x_228, 1, x_221); +lean_ctor_set(x_228, 2, x_219); +x_229 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__13; +lean_inc(x_208); +x_230 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_230, 0, x_208); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_231, 0, x_36); +lean_ctor_set(x_231, 1, x_221); +lean_ctor_set(x_231, 2, x_1); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_3); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_30); +lean_ctor_set(x_233, 1, x_232); +x_234 = lean_array_mk(x_233); +x_235 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__16; +x_236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_236, 0, x_36); +lean_ctor_set(x_236, 1, x_235); +lean_ctor_set(x_236, 2, x_234); +x_237 = l_Lake_DSL_expandOptSimpleBinder___lambda__1___closed__6; +lean_inc(x_208); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_208); +lean_ctor_set(x_238, 1, x_237); +x_239 = l_Lake_DSL_simpleDeclSig___closed__4; +lean_inc(x_208); +x_240 = l_Lean_Syntax_node2(x_208, x_239, x_238, x_29); +lean_inc(x_208); +x_241 = l_Lean_Syntax_node1(x_208, x_221, x_240); +x_242 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__18; +lean_inc(x_228); +lean_inc(x_208); +x_243 = l_Lean_Syntax_node2(x_208, x_242, x_228, x_241); +x_244 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__14; +lean_inc(x_208); +x_245 = l_Lean_Syntax_node4(x_208, x_244, x_230, x_236, x_243, x_46); +if (lean_obj_tag(x_5) == 0) +{ +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; +x_246 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__19; +lean_inc(x_208); +x_247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_247, 0, x_208); +lean_ctor_set(x_247, 1, x_221); +lean_ctor_set(x_247, 2, x_246); +x_248 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_228, 3); +lean_inc(x_208); +x_249 = l_Lean_Syntax_node6(x_208, x_248, x_247, x_227, x_228, x_228, x_228, x_228); +x_250 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_251 = l_Lean_Syntax_node2(x_208, x_250, x_249, x_245); +lean_inc(x_251); +x_252 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_252, 0, x_251); +x_253 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_251, x_252, x_11, x_12, x_213); +return x_253; +} +else +{ +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; +x_254 = lean_ctor_get(x_5, 0); +lean_inc(x_254); +lean_dec(x_5); +x_255 = l_Array_mkArray1___rarg(x_254); +x_256 = l_Array_append___rarg(x_219, x_255); +lean_dec(x_255); +lean_inc(x_208); +x_257 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_257, 0, x_208); +lean_ctor_set(x_257, 1, x_221); +lean_ctor_set(x_257, 2, x_256); +x_258 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__9; +lean_inc_n(x_228, 3); +lean_inc(x_208); +x_259 = l_Lean_Syntax_node6(x_208, x_258, x_257, x_227, x_228, x_228, x_228, x_228); +x_260 = l_Lake_DSL_elabConfigDecl___lambda__2___closed__7; +x_261 = l_Lean_Syntax_node2(x_208, x_260, x_259, x_245); +lean_inc(x_261); +x_262 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_262, 0, x_261); +x_263 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_6, x_261, x_262, x_11, x_12, x_213); +return x_263; } } } } else { -uint8_t x_892; -lean_dec(x_13); +uint8_t x_267; lean_dec(x_12); -lean_dec(x_9); +lean_dec(x_11); lean_dec(x_8); 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_892 = !lean_is_exclusive(x_18); -if (x_892 == 0) +x_267 = !lean_is_exclusive(x_17); +if (x_267 == 0) { -return x_18; +return x_17; } else { -lean_object* x_893; lean_object* x_894; lean_object* x_895; -x_893 = lean_ctor_get(x_18, 0); -x_894 = lean_ctor_get(x_18, 1); -lean_inc(x_894); -lean_inc(x_893); -lean_dec(x_18); -x_895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_895, 0, x_893); -lean_ctor_set(x_895, 1, x_894); -return x_895; +lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_268 = lean_ctor_get(x_17, 0); +x_269 = lean_ctor_get(x_17, 1); +lean_inc(x_269); +lean_inc(x_268); +lean_dec(x_17); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +return x_270; } } } @@ -14500,7 +5920,7 @@ else lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_2, x_13); -x_15 = l_Lake_DSL_structVal___closed__8; +x_15 = l_Lake_DSL_structDeclSig___closed__4; lean_inc(x_14); x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); if (x_16 == 0) @@ -14519,200 +5939,154 @@ return x_18; } else { -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_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_19 = l_Lean_Syntax_getArg(x_14, x_13); lean_inc(x_2); x_20 = lean_alloc_closure((void*)(l_Lake_DSL_elabConfigDecl___lambda__1___boxed), 5, 1); lean_closure_set(x_20, 0, x_2); lean_inc(x_5); -lean_inc(x_3); lean_inc(x_2); +lean_inc(x_3); lean_inc(x_4); lean_inc(x_1); x_21 = lean_alloc_closure((void*)(l_Lake_DSL_elabConfigDecl___lambda__3___boxed), 12, 5); lean_closure_set(x_21, 0, x_1); lean_closure_set(x_21, 1, x_4); -lean_closure_set(x_21, 2, x_2); -lean_closure_set(x_21, 3, x_3); +lean_closure_set(x_21, 2, x_3); +lean_closure_set(x_21, 3, x_2); lean_closure_set(x_21, 4, x_5); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_4); -lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lake_DSL_elabConfigDecl___lambda__5___boxed), 12, 5); -lean_closure_set(x_22, 0, x_1); -lean_closure_set(x_22, 1, x_4); -lean_closure_set(x_22, 2, x_2); -lean_closure_set(x_22, 3, x_3); -lean_closure_set(x_22, 4, x_5); -x_23 = lean_unsigned_to_nat(1u); +x_22 = lean_unsigned_to_nat(1u); lean_inc(x_19); -x_24 = l_Lean_Syntax_matchesNull(x_19, x_23); +x_23 = l_Lean_Syntax_matchesNull(x_19, x_22); +if (x_23 == 0) +{ +uint8_t x_24; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_24 = l_Lean_Syntax_isNone(x_19); +lean_dec(x_19); if (x_24 == 0) { -uint8_t x_25; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_25 = l_Lean_Syntax_isNone(x_19); -lean_dec(x_19); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_22); +lean_object* x_25; lean_object* x_26; lean_dec(x_21); lean_dec(x_20); lean_dec(x_14); -x_26 = lean_box(0); -x_27 = l_Lake_DSL_elabConfigDecl___lambda__1(x_2, x_26, x_6, x_7, x_8); +x_25 = lean_box(0); +x_26 = l_Lake_DSL_elabConfigDecl___lambda__1(x_2, x_25, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_2); -return x_27; +return x_26; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_2); +x_27 = lean_box(0); x_28 = lean_box(0); -x_29 = lean_box(0); -x_30 = l_Lake_DSL_elabConfigDecl___lambda__8(x_14, x_20, x_15, x_21, x_22, x_29, x_28, x_6, x_7, x_8); +x_29 = l_Lake_DSL_elabConfigDecl___lambda__5(x_14, x_20, x_21, x_28, x_27, x_6, x_7, x_8); lean_dec(x_14); -return x_30; +return x_29; } } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_31 = l_Lean_Syntax_getArg(x_19, x_13); -x_32 = l_Lake_DSL_identOrStr___closed__4; -lean_inc(x_31); -x_33 = l_Lean_Syntax_isOfKind(x_31, x_32); -if (x_33 == 0) +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = l_Lean_Syntax_getArg(x_19, x_13); +x_31 = l_Lake_DSL_identOrStr___closed__4; +lean_inc(x_30); +x_32 = l_Lean_Syntax_isOfKind(x_30, x_31); +if (x_32 == 0) { -lean_object* x_34; uint8_t x_35; +lean_object* x_33; uint8_t x_34; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_34 = l_Lean_Syntax_getArg(x_14, x_23); +x_33 = l_Lean_Syntax_getArg(x_14, x_22); lean_dec(x_14); -x_35 = l_Lean_Syntax_isNone(x_19); +x_34 = l_Lean_Syntax_isNone(x_19); lean_dec(x_19); -if (x_35 == 0) +if (x_34 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_31); -x_37 = lean_box(0); -x_38 = l_Lake_DSL_elabConfigDecl___lambda__9(x_34, x_20, x_15, x_21, x_22, x_37, x_36, x_6, x_7, x_8); -return x_38; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_30); +x_36 = lean_box(0); +x_37 = l_Lake_DSL_elabConfigDecl___lambda__6(x_33, x_20, x_21, x_36, x_35, x_6, x_7, x_8); +return x_37; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_31); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_30); +x_38 = lean_box(0); x_39 = lean_box(0); -x_40 = lean_box(0); -x_41 = l_Lake_DSL_elabConfigDecl___lambda__9(x_34, x_20, x_15, x_21, x_22, x_40, x_39, x_6, x_7, x_8); -return x_41; +x_40 = l_Lake_DSL_elabConfigDecl___lambda__6(x_33, x_20, x_21, x_39, x_38, x_6, x_7, x_8); +return x_40; } } else { -lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Syntax_getArg(x_14, x_23); +lean_object* x_41; uint8_t x_42; +x_41 = l_Lean_Syntax_getArg(x_14, x_22); lean_dec(x_14); -lean_inc(x_42); -x_43 = l_Lean_Syntax_matchesNull(x_42, x_13); +lean_inc(x_41); +x_42 = l_Lean_Syntax_matchesNull(x_41, x_13); +if (x_42 == 0) +{ +uint8_t x_43; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = l_Lean_Syntax_isNone(x_19); +lean_dec(x_19); if (x_43 == 0) { -uint8_t x_44; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_44 = l_Lean_Syntax_isNone(x_19); -lean_dec(x_19); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_31); -x_46 = lean_box(0); -x_47 = l_Lake_DSL_elabConfigDecl___lambda__10(x_42, x_20, x_15, x_21, x_22, x_46, x_45, x_6, x_7, x_8); -return x_47; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_30); +x_45 = lean_box(0); +x_46 = l_Lake_DSL_elabConfigDecl___lambda__6(x_41, x_20, x_21, x_45, x_44, x_6, x_7, x_8); +return x_46; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_31); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_30); +x_47 = lean_box(0); x_48 = lean_box(0); -x_49 = lean_box(0); -x_50 = l_Lake_DSL_elabConfigDecl___lambda__10(x_42, x_20, x_15, x_21, x_22, x_49, x_48, x_6, x_7, x_8); -return x_50; +x_49 = l_Lake_DSL_elabConfigDecl___lambda__6(x_41, x_20, x_21, x_48, x_47, x_6, x_7, x_8); +return x_49; } } else { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_42); -lean_dec(x_22); +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_dec(x_41); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); +x_50 = lean_box(0); x_51 = lean_box(0); -x_52 = l_Lean_Elab_Command_getRef(x_6, x_7, x_8); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -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); -x_55 = lean_ctor_get(x_52, 1); -x_56 = lean_box(0); -x_57 = l_Lake_DSL_expandIdentOrStrAsIdent(x_31); -x_58 = l_Lean_Syntax_getId(x_57); -x_59 = l_Lake_Name_quoteFrom(x_57, x_58); -lean_inc(x_57); -lean_ctor_set(x_52, 1, x_59); -lean_ctor_set(x_52, 0, x_57); -x_60 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__2; -x_61 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_56, x_60, x_52); -x_62 = l_Lake_DSL_expandAttrs___closed__1; -x_63 = lean_box(0); -x_64 = l_Lake_DSL_elabConfigDecl___lambda__11(x_62, x_1, x_51, x_54, x_4, x_3, x_2, x_5, x_57, x_61, x_63, x_6, x_7, x_55); +x_52 = l_Lake_DSL_expandIdentOrStrAsIdent(x_30); +x_53 = l_Lean_Syntax_getId(x_52); +x_54 = l_Lake_Name_quoteFrom(x_52, x_53); +lean_inc(x_52); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__3; +x_57 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_51, x_56, x_55); +x_58 = l_Lake_DSL_expandAttrs___closed__1; +x_59 = lean_box(0); +x_60 = l_Lake_DSL_elabConfigDecl___lambda__7(x_58, x_1, x_50, x_4, x_3, x_2, x_5, x_52, x_57, x_59, x_6, x_7, x_8); lean_dec(x_4); -lean_dec(x_54); -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; -x_65 = lean_ctor_get(x_52, 0); -x_66 = lean_ctor_get(x_52, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_52); -x_67 = lean_box(0); -x_68 = l_Lake_DSL_expandIdentOrStrAsIdent(x_31); -x_69 = l_Lean_Syntax_getId(x_68); -x_70 = l_Lake_Name_quoteFrom(x_68, x_69); -lean_inc(x_68); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lake_DSL_elabConfigDecl___lambda__3___closed__2; -x_73 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_67, x_72, x_71); -x_74 = l_Lake_DSL_expandAttrs___closed__1; -x_75 = lean_box(0); -x_76 = l_Lake_DSL_elabConfigDecl___lambda__11(x_74, x_1, x_51, x_65, x_4, x_3, x_2, x_5, x_68, x_73, x_75, x_6, x_7, x_66); -lean_dec(x_4); -lean_dec(x_65); -return x_76; -} +return x_60; } } } @@ -14739,78 +6113,7 @@ lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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) { -_start: -{ -size_t x_11; size_t x_12; lean_object* x_13; -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_Lake_DSL_elabConfigDecl___spec__3(x_1, x_2, x_3, x_4, x_11, x_12, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(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_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___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_Lake_DSL_elabConfigDecl___spec__5(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___lambda__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_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6___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_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__6(x_1, x_6, x_3, x_4, x_5); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8___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_Lean_mkIdentFromRef___at_Lake_DSL_elabConfigDecl___spec__8(x_1, x_6, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___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, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -14818,7 +6121,7 @@ x_14 = lean_unbox_usize(x_8); lean_dec(x_8); x_15 = lean_unbox_usize(x_9); lean_dec(x_9); -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_15, x_10, x_11, x_12, x_13); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_15, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); @@ -14829,66 +6132,39 @@ lean_dec(x_2); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___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_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__10(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_3; -x_3 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___lambda__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); +lean_object* x_5; +x_5 = l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__11(x_1, x_5, x_6, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__5___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_Lean_Elab_Term_mkFreshIdent___at_Lake_DSL_elabConfigDecl___spec__5(x_1, x_6, x_3, x_4, x_5); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__12(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___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; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lake_DSL_elabConfigDecl___spec__13(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__14___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_Lake_DSL_elabConfigDecl___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) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -14896,7 +6172,7 @@ x_12 = lean_unbox_usize(x_6); lean_dec(x_6); x_13 = lean_unbox_usize(x_7); lean_dec(x_7); -x_14 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__14(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_8, x_9, x_10, x_11); +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lake_DSL_elabConfigDecl___spec__7(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_5); lean_dec(x_4); @@ -14905,11 +6181,11 @@ lean_dec(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15___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_RBNode_foldM___at_Lake_DSL_elabConfigDecl___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) { _start: { lean_object* x_7; -x_7 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__15(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__8(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); @@ -14927,31 +6203,7 @@ lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { -_start: -{ -lean_object* x_15; -x_15 = l_Lake_DSL_elabConfigDecl___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); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { -_start: -{ -lean_object* x_13; -x_13 = l_Lake_DSL_elabConfigDecl___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_8); -lean_dec(x_7); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__4___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -14972,87 +6224,63 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lake_DSL_elabConfigDecl___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, x_15, x_16, x_17); +x_18 = l_Lake_DSL_elabConfigDecl___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); lean_dec(x_14); -lean_dec(x_11); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_Lake_DSL_elabConfigDecl___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) { _start: { lean_object* x_13; -x_13 = l_Lake_DSL_elabConfigDecl___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_Lake_DSL_elabConfigDecl___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_8); lean_dec(x_7); lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_Lake_DSL_elabConfigDecl___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) { _start: { lean_object* x_10; -x_10 = l_Lake_DSL_elabConfigDecl___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_5); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lake_DSL_elabConfigDecl___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lake_DSL_elabConfigDecl___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_5); lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { _start: { -lean_object* x_11; -x_11 = l_Lake_DSL_elabConfigDecl___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lake_DSL_elabConfigDecl___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_6); -lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lake_DSL_elabConfigDecl___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_6); -lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___lambda__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) { -_start: -{ -lean_object* x_15; -x_15 = l_Lake_DSL_elabConfigDecl___lambda__11(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_11); -lean_dec(x_5); +lean_object* x_9; +x_9 = l_Lake_DSL_elabConfigDecl___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_4); -return x_15; +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lake_DSL_elabConfigDecl___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lake_DSL_elabConfigDecl___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: +{ +lean_object* x_14; +x_14 = l_Lake_DSL_elabConfigDecl___lambda__7(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_10); +lean_dec(x_4); +return x_14; } } lean_object* initialize_Lake_DSL_Config(uint8_t builtin, lean_object*); @@ -15178,18 +6406,6 @@ l_Lake_DSL_structVal___closed__14 = _init_l_Lake_DSL_structVal___closed__14(); lean_mark_persistent(l_Lake_DSL_structVal___closed__14); l_Lake_DSL_structVal___closed__15 = _init_l_Lake_DSL_structVal___closed__15(); lean_mark_persistent(l_Lake_DSL_structVal___closed__15); -l_Lake_DSL_structVal___closed__16 = _init_l_Lake_DSL_structVal___closed__16(); -lean_mark_persistent(l_Lake_DSL_structVal___closed__16); -l_Lake_DSL_structVal___closed__17 = _init_l_Lake_DSL_structVal___closed__17(); -lean_mark_persistent(l_Lake_DSL_structVal___closed__17); -l_Lake_DSL_structVal___closed__18 = _init_l_Lake_DSL_structVal___closed__18(); -lean_mark_persistent(l_Lake_DSL_structVal___closed__18); -l_Lake_DSL_structVal___closed__19 = _init_l_Lake_DSL_structVal___closed__19(); -lean_mark_persistent(l_Lake_DSL_structVal___closed__19); -l_Lake_DSL_structVal___closed__20 = _init_l_Lake_DSL_structVal___closed__20(); -lean_mark_persistent(l_Lake_DSL_structVal___closed__20); -l_Lake_DSL_structVal___closed__21 = _init_l_Lake_DSL_structVal___closed__21(); -lean_mark_persistent(l_Lake_DSL_structVal___closed__21); l_Lake_DSL_structVal = _init_l_Lake_DSL_structVal(); lean_mark_persistent(l_Lake_DSL_structVal); l_Lake_DSL_declValDo___closed__1 = _init_l_Lake_DSL_declValDo___closed__1(); @@ -15222,6 +6438,10 @@ l_Lake_DSL_declValDo___closed__14 = _init_l_Lake_DSL_declValDo___closed__14(); lean_mark_persistent(l_Lake_DSL_declValDo___closed__14); l_Lake_DSL_declValDo___closed__15 = _init_l_Lake_DSL_declValDo___closed__15(); lean_mark_persistent(l_Lake_DSL_declValDo___closed__15); +l_Lake_DSL_declValDo___closed__16 = _init_l_Lake_DSL_declValDo___closed__16(); +lean_mark_persistent(l_Lake_DSL_declValDo___closed__16); +l_Lake_DSL_declValDo___closed__17 = _init_l_Lake_DSL_declValDo___closed__17(); +lean_mark_persistent(l_Lake_DSL_declValDo___closed__17); l_Lake_DSL_declValDo = _init_l_Lake_DSL_declValDo(); lean_mark_persistent(l_Lake_DSL_declValDo); l_Lake_DSL_declValStruct___closed__1 = _init_l_Lake_DSL_declValStruct___closed__1(); @@ -15250,12 +6470,6 @@ l_Lake_DSL_declValWhere___closed__6 = _init_l_Lake_DSL_declValWhere___closed__6( lean_mark_persistent(l_Lake_DSL_declValWhere___closed__6); l_Lake_DSL_declValWhere___closed__7 = _init_l_Lake_DSL_declValWhere___closed__7(); lean_mark_persistent(l_Lake_DSL_declValWhere___closed__7); -l_Lake_DSL_declValWhere___closed__8 = _init_l_Lake_DSL_declValWhere___closed__8(); -lean_mark_persistent(l_Lake_DSL_declValWhere___closed__8); -l_Lake_DSL_declValWhere___closed__9 = _init_l_Lake_DSL_declValWhere___closed__9(); -lean_mark_persistent(l_Lake_DSL_declValWhere___closed__9); -l_Lake_DSL_declValWhere___closed__10 = _init_l_Lake_DSL_declValWhere___closed__10(); -lean_mark_persistent(l_Lake_DSL_declValWhere___closed__10); l_Lake_DSL_declValWhere = _init_l_Lake_DSL_declValWhere(); lean_mark_persistent(l_Lake_DSL_declValWhere); l_Lake_DSL_simpleDeclSig___closed__1 = _init_l_Lake_DSL_simpleDeclSig___closed__1(); @@ -15302,6 +6516,10 @@ l_Lake_DSL_structDeclSig___closed__8 = _init_l_Lake_DSL_structDeclSig___closed__ lean_mark_persistent(l_Lake_DSL_structDeclSig___closed__8); l_Lake_DSL_structDeclSig___closed__9 = _init_l_Lake_DSL_structDeclSig___closed__9(); lean_mark_persistent(l_Lake_DSL_structDeclSig___closed__9); +l_Lake_DSL_structDeclSig___closed__10 = _init_l_Lake_DSL_structDeclSig___closed__10(); +lean_mark_persistent(l_Lake_DSL_structDeclSig___closed__10); +l_Lake_DSL_structDeclSig___closed__11 = _init_l_Lake_DSL_structDeclSig___closed__11(); +lean_mark_persistent(l_Lake_DSL_structDeclSig___closed__11); l_Lake_DSL_structDeclSig = _init_l_Lake_DSL_structDeclSig(); lean_mark_persistent(l_Lake_DSL_structDeclSig); l_Lake_DSL_bracketedSimpleBinder___closed__1 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__1(); @@ -15404,10 +6622,16 @@ l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7 = _init_l lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__7); l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8 = _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8(); lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__8); -l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__1 = _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__1); -l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__2 = _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__7___closed__2); +l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__9 = _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__9(); +lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__9); +l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__10 = _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__10(); +lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__10); +l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11 = _init_l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11(); +lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_DSL_elabConfigDecl___spec__4___closed__11); +l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__1 = _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__1); +l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__2 = _init_l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at_Lake_DSL_elabConfigDecl___spec__6___closed__2); l_Lake_DSL_elabConfigDecl___lambda__1___closed__1 = _init_l_Lake_DSL_elabConfigDecl___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__1___closed__1); l_Lake_DSL_elabConfigDecl___lambda__1___closed__2 = _init_l_Lake_DSL_elabConfigDecl___lambda__1___closed__2(); @@ -15450,26 +6674,16 @@ l_Lake_DSL_elabConfigDecl___lambda__2___closed__18 = _init_l_Lake_DSL_elabConfig lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__18); l_Lake_DSL_elabConfigDecl___lambda__2___closed__19 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__19(); lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__19); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__20 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__20(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__20); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__21 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__21(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__21); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__22 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__22(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__22); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__23 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__23(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__23); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__24 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__24(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__24); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__25 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__25(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__25); -l_Lake_DSL_elabConfigDecl___lambda__2___closed__26 = _init_l_Lake_DSL_elabConfigDecl___lambda__2___closed__26(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__2___closed__26); l_Lake_DSL_elabConfigDecl___lambda__3___closed__1 = _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__1(); lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__3___closed__1); l_Lake_DSL_elabConfigDecl___lambda__3___closed__2 = _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__2(); lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__3___closed__2); -l_Lake_DSL_elabConfigDecl___lambda__5___closed__1 = _init_l_Lake_DSL_elabConfigDecl___lambda__5___closed__1(); -lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__5___closed__1); +l_Lake_DSL_elabConfigDecl___lambda__3___closed__3 = _init_l_Lake_DSL_elabConfigDecl___lambda__3___closed__3(); +lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__3___closed__3); +l_Lake_DSL_elabConfigDecl___lambda__7___closed__1 = _init_l_Lake_DSL_elabConfigDecl___lambda__7___closed__1(); +lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__7___closed__1); +l_Lake_DSL_elabConfigDecl___lambda__7___closed__2 = _init_l_Lake_DSL_elabConfigDecl___lambda__7___closed__2(); +lean_mark_persistent(l_Lake_DSL_elabConfigDecl___lambda__7___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus