From ea45c6a9c5f80bd4bc2fe27ad85c3c263bcbe254 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 17 Jan 2020 17:44:25 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Lean/Elab/Quotation.lean | 4 - stage0/src/Init/Lean/Elab/TermApp.lean | 7 - stage0/src/Init/Lean/Parser/Term.lean | 4 - stage0/stdlib/Init/Lean/Elab/Quotation.c | 15878 ++++++++++----------- stage0/stdlib/Init/Lean/Elab/TermApp.c | 107 - stage0/stdlib/Init/Lean/Parser/Term.c | 434 - 6 files changed, 7656 insertions(+), 8778 deletions(-) diff --git a/stage0/src/Init/Lean/Elab/Quotation.lean b/stage0/src/Init/Lean/Elab/Quotation.lean index a4776b3177..dbe30da198 100644 --- a/stage0/src/Init/Lean/Elab/Quotation.lean +++ b/stage0/src/Init/Lean/Elab/Quotation.lean @@ -393,10 +393,6 @@ private unsafe partial def toPreterm : Syntax → TermElabM Expr fn ← toPreterm $ args.get! 0; as ← (args.get! 1).getArgs.mapM toPreterm; pure $ mkAppN fn as - | `Lean.Parser.Term.appCore => do - fn ← toPreterm $ args.get! 1; - as ← (args.get! 2).getArgs.mapM toPreterm; - pure $ mkAppN fn as | `Lean.Parser.Term.if => do let con := args.get! 2; let yes := args.get! 4; diff --git a/stage0/src/Init/Lean/Elab/TermApp.lean b/stage0/src/Init/Lean/Elab/TermApp.lean index 28903ef5a2..f93a5c8186 100644 --- a/stage0/src/Init/Lean/Elab/TermApp.lean +++ b/stage0/src/Init/Lean/Elab/TermApp.lean @@ -402,13 +402,6 @@ fun stx expectedType? => do (f, namedArgs, args) ← expandApp stx; elabAppAux stx f namedArgs args expectedType? -@[builtinTermElab appCore] def elabAppCore : TermElab := -fun stx expectedType? => - let f := stx.getArg 1; - let args := (stx.getArg 2).getArgs; - let args := args.map Arg.stx; - elabAppAux stx f #[] args expectedType? - def elabAtom : TermElab := fun stx expectedType? => elabAppAux stx stx #[] #[] expectedType? diff --git a/stage0/src/Init/Lean/Parser/Term.lean b/stage0/src/Init/Lean/Parser/Term.lean index 5763a9ba29..0026f7756c 100644 --- a/stage0/src/Init/Lean/Parser/Term.lean +++ b/stage0/src/Init/Lean/Parser/Term.lean @@ -114,10 +114,6 @@ def bracketedDoSeq := parser! "{" >> doSeq >> "}" def namedArgument := tparser! try ("(" >> ident >> " := ") >> termParser >> ")" @[builtinTermParser] def app := tparser! pushLeading >> many1 (namedArgument <|> termParser appPrec) --- Auxiliary notation used for fixing bootstrapping issues -@[builtinTermParser] def appCore := parser! "_app_ " >> termParser appPrec >> many1 (termParser appPrec) - - def checkIsSort := checkLeading (fun leading => leading.isOfKind `Lean.Parser.Term.type || leading.isOfKind `Lean.Parser.Term.sort) @[builtinTermParser] def sortApp := tparser! checkIsSort >> pushLeading >> levelParser appPrec @[builtinTermParser] def proj := tparser! pushLeading >> symbolNoWs "." (appPrec+1) >> (fieldIdx <|> ident) diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 4477de935f..25503a3dd8 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -321,7 +321,6 @@ extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; extern lean_object* l_Lean_Literal_type___closed__4; lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; extern lean_object* l_Lean_Options_empty; extern lean_object* l_Lean_Parser_Term_beq___elambda__1___closed__1; @@ -14716,2222 +14715,2109 @@ x_160 = lean_string_dec_eq(x_118, x_159); if (x_160 == 0) { lean_object* x_161; uint8_t x_162; -x_161 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; +x_161 = l_Lean_Parser_Term_if___elambda__1___closed__1; x_162 = lean_string_dec_eq(x_118, x_161); if (x_162 == 0) { lean_object* x_163; uint8_t x_164; -x_163 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_163 = l_Lean_Parser_Level_paren___elambda__1___closed__3; x_164 = lean_string_dec_eq(x_118, x_163); if (x_164 == 0) { lean_object* x_165; uint8_t x_166; -x_165 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_165 = l_Lean_Parser_Term_band___elambda__1___closed__1; x_166 = lean_string_dec_eq(x_118, x_165); if (x_166 == 0) { lean_object* x_167; uint8_t x_168; -x_167 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_167 = l_Lean_Parser_Term_beq___elambda__1___closed__1; x_168 = lean_string_dec_eq(x_118, x_167); if (x_168 == 0) { lean_object* x_169; uint8_t x_170; -x_169 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +lean_dec(x_4); +x_169 = l_Lean_Parser_Term_str___elambda__1___closed__1; x_170 = lean_string_dec_eq(x_118, x_169); if (x_170 == 0) { lean_object* x_171; uint8_t x_172; -lean_dec(x_4); -x_171 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_171 = l_Lean_Parser_Level_num___elambda__1___closed__1; x_172 = lean_string_dec_eq(x_118, x_171); if (x_172 == 0) { -lean_object* x_173; uint8_t x_174; -x_173 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_174 = lean_string_dec_eq(x_118, x_173); -if (x_174 == 0) -{ -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_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_ctor_set(x_116, 1, x_129); lean_ctor_set(x_115, 1, x_135); lean_ctor_set(x_105, 1, x_144); -x_175 = l_System_FilePath_dirName___closed__1; -x_176 = l_Lean_Name_toStringWithSep___main(x_175, x_95); -x_177 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_177, 0, x_176); -x_178 = lean_alloc_ctor(0, 1, 0); +x_173 = l_System_FilePath_dirName___closed__1; +x_174 = l_Lean_Name_toStringWithSep___main(x_173, x_95); +x_175 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_175, 0, x_174); +x_176 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_176, 0, x_175); +x_177 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_178 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_178, 0, x_177); -x_179 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_180 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_178); -x_181 = l_Lean_Elab_Term_throwError___rarg(x_1, x_180, x_2, x_3); +lean_ctor_set(x_178, 1, x_176); +x_179 = l_Lean_Elab_Term_throwError___rarg(x_1, x_178, x_2, x_3); lean_dec(x_1); -return x_181; +return x_179; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_2); -x_182 = lean_unsigned_to_nat(0u); -x_183 = l_Lean_Syntax_getArg(x_1, x_182); +x_180 = lean_unsigned_to_nat(0u); +x_181 = l_Lean_Syntax_getArg(x_1, x_180); lean_dec(x_1); -x_184 = l_Lean_numLitKind; -x_185 = l_Lean_Syntax_isNatLitAux(x_184, x_183); +x_182 = l_Lean_numLitKind; +x_183 = l_Lean_Syntax_isNatLitAux(x_182, x_181); +lean_dec(x_181); +if (lean_obj_tag(x_183) == 0) +{ +lean_object* x_184; lean_object* x_185; +x_184 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_3); +return x_185; +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_183, 0); +lean_inc(x_186); lean_dec(x_183); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; lean_object* x_187; -x_186 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_3); -return x_187; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_185, 0); -lean_inc(x_188); -lean_dec(x_185); -x_189 = l_Lean_mkNatLit(x_188); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_3); -return x_190; +x_187 = l_Lean_mkNatLit(x_186); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_3); +return x_188; } } } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_2); -x_191 = lean_unsigned_to_nat(0u); -x_192 = l_Lean_Syntax_getArg(x_1, x_191); +x_189 = lean_unsigned_to_nat(0u); +x_190 = l_Lean_Syntax_getArg(x_1, x_189); lean_dec(x_1); -x_193 = l_Lean_Syntax_isStrLit_x3f(x_192); -lean_dec(x_192); -if (lean_obj_tag(x_193) == 0) +x_191 = l_Lean_Syntax_isStrLit_x3f(x_190); +lean_dec(x_190); +if (lean_obj_tag(x_191) == 0) { -lean_object* x_194; lean_object* x_195; -x_194 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_3); -return x_195; +lean_object* x_192; lean_object* x_193; +x_192 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_3); +return x_193; } else { -lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get(x_193, 0); -lean_inc(x_196); -lean_dec(x_193); -x_197 = l_Lean_mkStrLit(x_196); -x_198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_3); -return x_198; +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_191, 0); +lean_inc(x_194); +lean_dec(x_191); +x_195 = l_Lean_mkStrLit(x_194); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_3); +return x_196; } } } else { -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_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_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_199 = l_Lean_Syntax_inhabited; -x_200 = lean_unsigned_to_nat(0u); -x_201 = lean_array_get(x_199, x_4, x_200); -x_202 = lean_unsigned_to_nat(2u); -x_203 = lean_array_get(x_199, x_4, x_202); +x_197 = l_Lean_Syntax_inhabited; +x_198 = lean_unsigned_to_nat(0u); +x_199 = lean_array_get(x_197, x_4, x_198); +x_200 = lean_unsigned_to_nat(2u); +x_201 = lean_array_get(x_197, x_4, x_200); lean_dec(x_4); -x_204 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_204, 0, x_117); -lean_closure_set(x_204, 1, x_201); -lean_closure_set(x_204, 2, x_203); -x_205 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_206 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_206, 0, x_205); -lean_closure_set(x_206, 1, x_204); -x_207 = l_Lean_Unhygienic_run___rarg(x_206); -x_1 = x_207; +x_202 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_202, 0, x_117); +lean_closure_set(x_202, 1, x_199); +lean_closure_set(x_202, 2, x_201); +x_203 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_204 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_204, 0, x_203); +lean_closure_set(x_204, 1, x_202); +x_205 = l_Lean_Unhygienic_run___rarg(x_204); +x_1 = x_205; goto _start; } } else { -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_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_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_209 = l_Lean_Syntax_inhabited; -x_210 = lean_unsigned_to_nat(0u); -x_211 = lean_array_get(x_209, x_4, x_210); -x_212 = lean_unsigned_to_nat(2u); -x_213 = lean_array_get(x_209, x_4, x_212); +x_207 = l_Lean_Syntax_inhabited; +x_208 = lean_unsigned_to_nat(0u); +x_209 = lean_array_get(x_207, x_4, x_208); +x_210 = lean_unsigned_to_nat(2u); +x_211 = lean_array_get(x_207, x_4, x_210); lean_dec(x_4); -x_214 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_214, 0, x_117); -lean_closure_set(x_214, 1, x_211); -lean_closure_set(x_214, 2, x_213); -x_215 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_216 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_216, 0, x_215); -lean_closure_set(x_216, 1, x_214); -x_217 = l_Lean_Unhygienic_run___rarg(x_216); -x_1 = x_217; +x_212 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_212, 0, x_117); +lean_closure_set(x_212, 1, x_209); +lean_closure_set(x_212, 2, x_211); +x_213 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_214 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_214, 0, x_213); +lean_closure_set(x_214, 1, x_212); +x_215 = l_Lean_Unhygienic_run___rarg(x_214); +x_1 = x_215; goto _start; } } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_219 = l_Lean_Syntax_inhabited; -x_220 = lean_unsigned_to_nat(1u); -x_221 = lean_array_get(x_219, x_4, x_220); +x_217 = l_Lean_Syntax_inhabited; +x_218 = lean_unsigned_to_nat(1u); +x_219 = lean_array_get(x_217, x_4, x_218); lean_dec(x_4); -x_222 = l_Lean_Syntax_getArgs(x_221); +x_220 = l_Lean_Syntax_getArgs(x_219); +lean_dec(x_219); +x_221 = lean_array_get_size(x_220); +x_222 = lean_unsigned_to_nat(0u); +x_223 = lean_nat_dec_eq(x_221, x_222); lean_dec(x_221); -x_223 = lean_array_get_size(x_222); -x_224 = lean_unsigned_to_nat(0u); -x_225 = lean_nat_dec_eq(x_223, x_224); -lean_dec(x_223); -if (x_225 == 0) +if (x_223 == 0) { -lean_object* x_226; -x_226 = lean_array_get(x_219, x_222, x_224); -lean_dec(x_222); -x_1 = x_226; +lean_object* x_224; +x_224 = lean_array_get(x_217, x_220, x_222); +lean_dec(x_220); +x_1 = x_224; goto _start; } else { -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_dec(x_222); +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_dec(x_220); lean_dec(x_2); -x_228 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_229 = lean_name_mk_string(x_117, x_228); -x_230 = l_Lean_Elab_Term_elabParen___closed__4; -x_231 = lean_name_mk_string(x_229, x_230); -x_232 = lean_box(0); -x_233 = l_Lean_mkConst(x_231, x_232); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_3); -return x_234; +x_226 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_227 = lean_name_mk_string(x_117, x_226); +x_228 = l_Lean_Elab_Term_elabParen___closed__4; +x_229 = lean_name_mk_string(x_227, x_228); +x_230 = lean_box(0); +x_231 = l_Lean_mkConst(x_229, x_230); +x_232 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_3); +return x_232; } } } else { -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_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_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_235 = l_Lean_Syntax_inhabited; -x_236 = lean_unsigned_to_nat(2u); -x_237 = lean_array_get(x_235, x_4, x_236); -x_238 = lean_unsigned_to_nat(4u); -x_239 = lean_array_get(x_235, x_4, x_238); -x_240 = lean_unsigned_to_nat(6u); -x_241 = lean_array_get(x_235, x_4, x_240); +x_233 = l_Lean_Syntax_inhabited; +x_234 = lean_unsigned_to_nat(2u); +x_235 = lean_array_get(x_233, x_4, x_234); +x_236 = lean_unsigned_to_nat(4u); +x_237 = lean_array_get(x_233, x_4, x_236); +x_238 = lean_unsigned_to_nat(6u); +x_239 = lean_array_get(x_233, x_4, x_238); lean_dec(x_4); -x_242 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_242, 0, x_117); -lean_closure_set(x_242, 1, x_237); -lean_closure_set(x_242, 2, x_239); -lean_closure_set(x_242, 3, x_241); -x_243 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_244 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_244, 0, x_243); -lean_closure_set(x_244, 1, x_242); -x_245 = l_Lean_Unhygienic_run___rarg(x_244); -x_1 = x_245; +x_240 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_240, 0, x_117); +lean_closure_set(x_240, 1, x_235); +lean_closure_set(x_240, 2, x_237); +lean_closure_set(x_240, 3, x_239); +x_241 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_242 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_242, 0, x_241); +lean_closure_set(x_242, 1, x_240); +x_243 = l_Lean_Unhygienic_run___rarg(x_242); +x_1 = x_243; goto _start; } } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_247 = l_Lean_Syntax_inhabited; -x_248 = lean_unsigned_to_nat(1u); -x_249 = lean_array_get(x_247, x_4, x_248); +x_245 = l_Lean_Syntax_inhabited; +x_246 = lean_unsigned_to_nat(0u); +x_247 = lean_array_get(x_245, x_4, x_246); lean_inc(x_2); -x_250 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_249, x_2, x_3); -if (lean_obj_tag(x_250) == 0) +x_248 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_247, x_2, x_3); +if (lean_obj_tag(x_248) == 0) { -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; -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unsigned_to_nat(2u); -x_254 = lean_array_get(x_247, x_4, x_253); +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_249 = lean_ctor_get(x_248, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_248, 1); +lean_inc(x_250); +lean_dec(x_248); +x_251 = lean_unsigned_to_nat(1u); +x_252 = lean_array_get(x_245, x_4, x_251); lean_dec(x_4); -x_255 = l_Lean_Syntax_getArgs(x_254); +x_253 = l_Lean_Syntax_getArgs(x_252); +lean_dec(x_252); +x_254 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_246, x_253, x_2, x_250); +if (lean_obj_tag(x_254) == 0) +{ +uint8_t x_255; +x_255 = !lean_is_exclusive(x_254); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; +x_256 = lean_ctor_get(x_254, 0); +x_257 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_256, x_256, x_246, x_249); +lean_dec(x_256); +lean_ctor_set(x_254, 0, x_257); +return x_254; +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_258 = lean_ctor_get(x_254, 0); +x_259 = lean_ctor_get(x_254, 1); +lean_inc(x_259); +lean_inc(x_258); lean_dec(x_254); -x_256 = lean_unsigned_to_nat(0u); -x_257 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_256, x_255, x_2, x_252); -if (lean_obj_tag(x_257) == 0) -{ -uint8_t x_258; -x_258 = !lean_is_exclusive(x_257); -if (x_258 == 0) -{ -lean_object* x_259; lean_object* x_260; -x_259 = lean_ctor_get(x_257, 0); -x_260 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_259, x_259, x_256, x_251); -lean_dec(x_259); -lean_ctor_set(x_257, 0, x_260); -return x_257; -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_261 = lean_ctor_get(x_257, 0); -x_262 = lean_ctor_get(x_257, 1); -lean_inc(x_262); -lean_inc(x_261); -lean_dec(x_257); -x_263 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_261, x_261, x_256, x_251); -lean_dec(x_261); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -return x_264; +x_260 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_258, x_258, x_246, x_249); +lean_dec(x_258); +x_261 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_259); +return x_261; } } else { -uint8_t x_265; -lean_dec(x_251); -x_265 = !lean_is_exclusive(x_257); -if (x_265 == 0) +uint8_t x_262; +lean_dec(x_249); +x_262 = !lean_is_exclusive(x_254); +if (x_262 == 0) { -return x_257; +return x_254; } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_257, 0); -x_267 = lean_ctor_get(x_257, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_257); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_266); -lean_ctor_set(x_268, 1, x_267); -return x_268; +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_254, 0); +x_264 = lean_ctor_get(x_254, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_254); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +return x_265; } } } else { -uint8_t x_269; +uint8_t x_266; lean_dec(x_4); lean_dec(x_2); -x_269 = !lean_is_exclusive(x_250); -if (x_269 == 0) +x_266 = !lean_is_exclusive(x_248); +if (x_266 == 0) { -return x_250; +return x_248; } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_250, 0); -x_271 = lean_ctor_get(x_250, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_250); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -return x_272; +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_248, 0); +x_268 = lean_ctor_get(x_248, 1); +lean_inc(x_268); +lean_inc(x_267); +lean_dec(x_248); +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +return x_269; } } } } else { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_273 = l_Lean_Syntax_inhabited; -x_274 = lean_unsigned_to_nat(0u); -x_275 = lean_array_get(x_273, x_4, x_274); -lean_inc(x_2); -x_276 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_275, x_2, x_3); -if (lean_obj_tag(x_276) == 0) +x_270 = l_Lean_Syntax_inhabited; +x_271 = lean_unsigned_to_nat(1u); +x_272 = lean_array_get(x_270, x_4, x_271); +lean_inc(x_272); +x_273 = l_Lean_Syntax_getKind(x_272); +if (lean_obj_tag(x_273) == 1) { -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_274; +x_274 = lean_ctor_get(x_273, 0); +lean_inc(x_274); +if (lean_obj_tag(x_274) == 1) +{ +lean_object* x_275; +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +if (lean_obj_tag(x_275) == 1) +{ +lean_object* x_276; +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +if (lean_obj_tag(x_276) == 1) +{ +lean_object* x_277; x_277 = lean_ctor_get(x_276, 0); lean_inc(x_277); -x_278 = lean_ctor_get(x_276, 1); +if (lean_obj_tag(x_277) == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; uint8_t x_282; +x_278 = lean_ctor_get(x_273, 1); lean_inc(x_278); +lean_dec(x_273); +x_279 = lean_ctor_get(x_274, 1); +lean_inc(x_279); +lean_dec(x_274); +x_280 = lean_ctor_get(x_275, 1); +lean_inc(x_280); +lean_dec(x_275); +x_281 = lean_ctor_get(x_276, 1); +lean_inc(x_281); lean_dec(x_276); -x_279 = lean_unsigned_to_nat(1u); -x_280 = lean_array_get(x_273, x_4, x_279); -lean_dec(x_4); -x_281 = l_Lean_Syntax_getArgs(x_280); +x_282 = lean_string_dec_eq(x_281, x_129); +lean_dec(x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_dec(x_280); -x_282 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_274, x_281, x_2, x_278); -if (lean_obj_tag(x_282) == 0) -{ -uint8_t x_283; -x_283 = !lean_is_exclusive(x_282); -if (x_283 == 0) -{ -lean_object* x_284; lean_object* x_285; -x_284 = lean_ctor_get(x_282, 0); -x_285 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_284, x_284, x_274, x_277); -lean_dec(x_284); -lean_ctor_set(x_282, 0, x_285); -return x_282; -} -else -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_286 = lean_ctor_get(x_282, 0); -x_287 = lean_ctor_get(x_282, 1); -lean_inc(x_287); -lean_inc(x_286); -lean_dec(x_282); -x_288 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_286, x_286, x_274, x_277); -lean_dec(x_286); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -return x_289; -} -} -else -{ -uint8_t x_290; -lean_dec(x_277); -x_290 = !lean_is_exclusive(x_282); -if (x_290 == 0) -{ -return x_282; -} -else -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_291 = lean_ctor_get(x_282, 0); -x_292 = lean_ctor_get(x_282, 1); -lean_inc(x_292); -lean_inc(x_291); -lean_dec(x_282); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_291); -lean_ctor_set(x_293, 1, x_292); -return x_293; -} -} -} -else -{ -uint8_t x_294; -lean_dec(x_4); -lean_dec(x_2); -x_294 = !lean_is_exclusive(x_276); -if (x_294 == 0) -{ -return x_276; -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_295 = lean_ctor_get(x_276, 0); -x_296 = lean_ctor_get(x_276, 1); -lean_inc(x_296); -lean_inc(x_295); -lean_dec(x_276); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_295); -lean_ctor_set(x_297, 1, x_296); -return x_297; -} -} -} -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -lean_free_object(x_95); -lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_298 = l_Lean_Syntax_inhabited; -x_299 = lean_unsigned_to_nat(1u); -x_300 = lean_array_get(x_298, x_4, x_299); -lean_inc(x_300); -x_301 = l_Lean_Syntax_getKind(x_300); -if (lean_obj_tag(x_301) == 1) -{ -lean_object* x_302; -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -if (lean_obj_tag(x_302) == 1) -{ -lean_object* x_303; -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -if (lean_obj_tag(x_303) == 1) -{ -lean_object* x_304; -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -if (lean_obj_tag(x_304) == 1) -{ -lean_object* x_305; -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -if (lean_obj_tag(x_305) == 0) -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; -x_306 = lean_ctor_get(x_301, 1); -lean_inc(x_306); -lean_dec(x_301); -x_307 = lean_ctor_get(x_302, 1); -lean_inc(x_307); -lean_dec(x_302); -x_308 = lean_ctor_get(x_303, 1); -lean_inc(x_308); -lean_dec(x_303); -x_309 = lean_ctor_get(x_304, 1); -lean_inc(x_309); -lean_dec(x_304); -x_310 = lean_string_dec_eq(x_309, x_129); -lean_dec(x_309); -if (x_310 == 0) -{ -lean_object* x_311; lean_object* x_312; -lean_dec(x_308); -lean_dec(x_307); -lean_dec(x_306); -lean_dec(x_300); -x_311 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_312 = l_unreachable_x21___rarg(x_311); -x_5 = x_312; +lean_dec(x_279); +lean_dec(x_278); +lean_dec(x_272); +x_283 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_284 = l_unreachable_x21___rarg(x_283); +x_5 = x_284; goto block_94; } else { -uint8_t x_313; -x_313 = lean_string_dec_eq(x_308, x_135); -lean_dec(x_308); -if (x_313 == 0) +uint8_t x_285; +x_285 = lean_string_dec_eq(x_280, x_135); +lean_dec(x_280); +if (x_285 == 0) +{ +lean_object* x_286; lean_object* x_287; +lean_dec(x_279); +lean_dec(x_278); +lean_dec(x_272); +x_286 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_287 = l_unreachable_x21___rarg(x_286); +x_5 = x_287; +goto block_94; +} +else +{ +uint8_t x_288; +x_288 = lean_string_dec_eq(x_279, x_144); +lean_dec(x_279); +if (x_288 == 0) +{ +lean_object* x_289; lean_object* x_290; +lean_dec(x_278); +lean_dec(x_272); +x_289 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_290 = l_unreachable_x21___rarg(x_289); +x_5 = x_290; +goto block_94; +} +else +{ +lean_object* x_291; uint8_t x_292; +x_291 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_292 = lean_string_dec_eq(x_278, x_291); +if (x_292 == 0) +{ +lean_object* x_293; uint8_t x_294; +x_293 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_294 = lean_string_dec_eq(x_278, x_293); +lean_dec(x_278); +if (x_294 == 0) +{ +lean_object* x_295; lean_object* x_296; +lean_dec(x_272); +x_295 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_296 = l_unreachable_x21___rarg(x_295); +x_5 = x_296; +goto block_94; +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_297 = lean_unsigned_to_nat(0u); +x_298 = l_Lean_Syntax_getArg(x_272, x_297); +x_299 = l_Lean_Syntax_getIdAt(x_298, x_297); +lean_dec(x_298); +x_300 = lean_unsigned_to_nat(3u); +x_301 = l_Lean_Syntax_getArg(x_272, x_300); +lean_dec(x_272); +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_299); +lean_ctor_set(x_302, 1, x_301); +x_5 = x_302; +goto block_94; +} +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +lean_dec(x_278); +x_303 = lean_unsigned_to_nat(0u); +x_304 = l_Lean_Syntax_getIdAt(x_272, x_303); +x_305 = lean_unsigned_to_nat(4u); +x_306 = l_Lean_Syntax_getArg(x_272, x_305); +lean_dec(x_272); +x_307 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_307, 0, x_304); +lean_ctor_set(x_307, 1, x_306); +x_5 = x_307; +goto block_94; +} +} +} +} +} +else +{ +lean_object* x_308; lean_object* x_309; +lean_dec(x_277); +lean_dec(x_276); +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_273); +lean_dec(x_272); +x_308 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_309 = l_unreachable_x21___rarg(x_308); +x_5 = x_309; +goto block_94; +} +} +else +{ +lean_object* x_310; lean_object* x_311; +lean_dec(x_276); +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_273); +lean_dec(x_272); +x_310 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_311 = l_unreachable_x21___rarg(x_310); +x_5 = x_311; +goto block_94; +} +} +else +{ +lean_object* x_312; lean_object* x_313; +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_273); +lean_dec(x_272); +x_312 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_313 = l_unreachable_x21___rarg(x_312); +x_5 = x_313; +goto block_94; +} +} +else { lean_object* x_314; lean_object* x_315; -lean_dec(x_307); -lean_dec(x_306); -lean_dec(x_300); +lean_dec(x_274); +lean_dec(x_273); +lean_dec(x_272); x_314 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; x_315 = l_unreachable_x21___rarg(x_314); x_5 = x_315; goto block_94; } -else -{ -uint8_t x_316; -x_316 = lean_string_dec_eq(x_307, x_144); -lean_dec(x_307); -if (x_316 == 0) -{ -lean_object* x_317; lean_object* x_318; -lean_dec(x_306); -lean_dec(x_300); -x_317 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_318 = l_unreachable_x21___rarg(x_317); -x_5 = x_318; -goto block_94; } else { -lean_object* x_319; uint8_t x_320; -x_319 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_320 = lean_string_dec_eq(x_306, x_319); -if (x_320 == 0) -{ -lean_object* x_321; uint8_t x_322; -x_321 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_322 = lean_string_dec_eq(x_306, x_321); -lean_dec(x_306); -if (x_322 == 0) -{ -lean_object* x_323; lean_object* x_324; -lean_dec(x_300); -x_323 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_324 = l_unreachable_x21___rarg(x_323); -x_5 = x_324; -goto block_94; -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_325 = lean_unsigned_to_nat(0u); -x_326 = l_Lean_Syntax_getArg(x_300, x_325); -x_327 = l_Lean_Syntax_getIdAt(x_326, x_325); -lean_dec(x_326); -x_328 = lean_unsigned_to_nat(3u); -x_329 = l_Lean_Syntax_getArg(x_300, x_328); -lean_dec(x_300); -x_330 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_330, 0, x_327); -lean_ctor_set(x_330, 1, x_329); -x_5 = x_330; -goto block_94; -} -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -lean_dec(x_306); -x_331 = lean_unsigned_to_nat(0u); -x_332 = l_Lean_Syntax_getIdAt(x_300, x_331); -x_333 = lean_unsigned_to_nat(4u); -x_334 = l_Lean_Syntax_getArg(x_300, x_333); -lean_dec(x_300); -x_335 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_335, 0, x_332); -lean_ctor_set(x_335, 1, x_334); -x_5 = x_335; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_336; lean_object* x_337; -lean_dec(x_305); -lean_dec(x_304); -lean_dec(x_303); -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_300); -x_336 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_337 = l_unreachable_x21___rarg(x_336); -x_5 = x_337; -goto block_94; -} -} -else -{ -lean_object* x_338; lean_object* x_339; -lean_dec(x_304); -lean_dec(x_303); -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_300); -x_338 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_339 = l_unreachable_x21___rarg(x_338); -x_5 = x_339; -goto block_94; -} -} -else -{ -lean_object* x_340; lean_object* x_341; -lean_dec(x_303); -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_300); -x_340 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_341 = l_unreachable_x21___rarg(x_340); -x_5 = x_341; -goto block_94; -} -} -else -{ -lean_object* x_342; lean_object* x_343; -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_300); -x_342 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_343 = l_unreachable_x21___rarg(x_342); -x_5 = x_343; -goto block_94; -} -} -else -{ -lean_object* x_344; lean_object* x_345; -lean_dec(x_301); -lean_dec(x_300); -x_344 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_345 = l_unreachable_x21___rarg(x_344); -x_5 = x_345; +lean_object* x_316; lean_object* x_317; +lean_dec(x_273); +lean_dec(x_272); +x_316 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_317 = l_unreachable_x21___rarg(x_316); +x_5 = x_317; goto block_94; } } } else { -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; uint8_t x_354; +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; uint8_t x_326; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_346 = l_Lean_Syntax_inhabited; -x_347 = lean_unsigned_to_nat(1u); -x_348 = lean_array_get(x_346, x_4, x_347); -x_349 = l_Lean_Syntax_getArgs(x_348); -lean_dec(x_348); -x_350 = lean_unsigned_to_nat(3u); -x_351 = lean_array_get(x_346, x_4, x_350); +x_318 = l_Lean_Syntax_inhabited; +x_319 = lean_unsigned_to_nat(1u); +x_320 = lean_array_get(x_318, x_4, x_319); +x_321 = l_Lean_Syntax_getArgs(x_320); +lean_dec(x_320); +x_322 = lean_unsigned_to_nat(3u); +x_323 = lean_array_get(x_318, x_4, x_322); lean_dec(x_4); -x_352 = lean_array_get_size(x_349); -x_353 = lean_unsigned_to_nat(0u); -x_354 = lean_nat_dec_eq(x_352, x_353); -lean_dec(x_352); -if (x_354 == 0) +x_324 = lean_array_get_size(x_321); +x_325 = lean_unsigned_to_nat(0u); +x_326 = lean_nat_dec_eq(x_324, x_325); +lean_dec(x_324); +if (x_326 == 0) { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; uint8_t x_360; -x_355 = lean_array_get(x_346, x_349, x_353); -x_356 = lean_name_mk_string(x_117, x_129); -x_357 = lean_name_mk_string(x_356, x_135); -x_358 = lean_name_mk_string(x_357, x_144); -lean_inc(x_358); -x_359 = lean_name_mk_string(x_358, x_153); -lean_inc(x_355); -x_360 = l_Lean_Syntax_isOfKind(x_355, x_359); -lean_dec(x_359); -if (x_360 == 0) +lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; +x_327 = lean_array_get(x_318, x_321, x_325); +x_328 = lean_name_mk_string(x_117, x_129); +x_329 = lean_name_mk_string(x_328, x_135); +x_330 = lean_name_mk_string(x_329, x_144); +lean_inc(x_330); +x_331 = lean_name_mk_string(x_330, x_153); +lean_inc(x_327); +x_332 = l_Lean_Syntax_isOfKind(x_327, x_331); +lean_dec(x_331); +if (x_332 == 0) { -lean_object* x_361; lean_object* x_362; uint8_t x_363; -x_361 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_358); -x_362 = lean_name_mk_string(x_358, x_361); -lean_inc(x_355); -x_363 = l_Lean_Syntax_isOfKind(x_355, x_362); -lean_dec(x_362); -if (x_363 == 0) +lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_333 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_330); +x_334 = lean_name_mk_string(x_330, x_333); +lean_inc(x_327); +x_335 = l_Lean_Syntax_isOfKind(x_327, x_334); +lean_dec(x_334); +if (x_335 == 0) { -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; -x_364 = l_Lean_Syntax_getArg(x_355, x_347); -lean_dec(x_355); -x_365 = l_Lean_Syntax_getArg(x_364, x_353); -x_366 = l_Lean_Syntax_getIdAt(x_365, x_353); -lean_dec(x_365); -x_367 = l_Lean_Syntax_getArg(x_364, x_347); -lean_dec(x_364); -x_368 = l_Lean_Syntax_getArg(x_367, x_353); -lean_dec(x_367); -x_369 = l_Lean_Syntax_getArg(x_368, x_347); -lean_dec(x_368); +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +x_336 = l_Lean_Syntax_getArg(x_327, x_319); +lean_dec(x_327); +x_337 = l_Lean_Syntax_getArg(x_336, x_325); +x_338 = l_Lean_Syntax_getIdAt(x_337, x_325); +lean_dec(x_337); +x_339 = l_Lean_Syntax_getArg(x_336, x_319); +lean_dec(x_336); +x_340 = l_Lean_Syntax_getArg(x_339, x_325); +lean_dec(x_339); +x_341 = l_Lean_Syntax_getArg(x_340, x_319); +lean_dec(x_340); lean_inc(x_2); -x_370 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_369, x_2, x_3); -if (lean_obj_tag(x_370) == 0) +x_342 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_341, x_2, x_3); +if (lean_obj_tag(x_342) == 0) { -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; uint8_t 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; uint8_t x_393; -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); -lean_inc(x_372); -lean_dec(x_370); -x_373 = l_Lean_Elab_Term_getLCtx(x_2, x_372); -x_374 = lean_ctor_get(x_373, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_373, 1); -lean_inc(x_375); -lean_dec(x_373); -x_376 = 0; -lean_inc_n(x_366, 2); -x_377 = lean_local_ctx_mk_local_decl(x_374, x_366, x_366, x_371, x_376); -x_378 = l_Array_eraseIdx___rarg(x_349, x_353); -x_379 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_375); -x_380 = lean_ctor_get(x_379, 1); -lean_inc(x_380); -lean_dec(x_379); -x_381 = lean_name_mk_string(x_358, x_155); -x_382 = l_Lean_nullKind___closed__1; -x_383 = lean_name_mk_string(x_117, x_382); -x_384 = l_Array_empty___closed__1; -x_385 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_378, x_378, x_353, x_384); -lean_dec(x_378); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_383); -lean_ctor_set(x_386, 1, x_385); -x_387 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_388 = lean_array_push(x_387, x_386); -x_389 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_390 = lean_array_push(x_388, x_389); -x_391 = lean_array_push(x_390, x_351); -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_381); -lean_ctor_set(x_392, 1, x_391); -x_393 = !lean_is_exclusive(x_2); -if (x_393 == 0) +lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t 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; uint8_t x_365; +x_343 = lean_ctor_get(x_342, 0); +lean_inc(x_343); +x_344 = lean_ctor_get(x_342, 1); +lean_inc(x_344); +lean_dec(x_342); +x_345 = l_Lean_Elab_Term_getLCtx(x_2, x_344); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +lean_dec(x_345); +x_348 = 0; +lean_inc_n(x_338, 2); +x_349 = lean_local_ctx_mk_local_decl(x_346, x_338, x_338, x_343, x_348); +x_350 = l_Array_eraseIdx___rarg(x_321, x_325); +x_351 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_347); +x_352 = lean_ctor_get(x_351, 1); +lean_inc(x_352); +lean_dec(x_351); +x_353 = lean_name_mk_string(x_330, x_155); +x_354 = l_Lean_nullKind___closed__1; +x_355 = lean_name_mk_string(x_117, x_354); +x_356 = l_Array_empty___closed__1; +x_357 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_350, x_350, x_325, x_356); +lean_dec(x_350); +x_358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_358, 0, x_355); +lean_ctor_set(x_358, 1, x_357); +x_359 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_360 = lean_array_push(x_359, x_358); +x_361 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_362 = lean_array_push(x_360, x_361); +x_363 = lean_array_push(x_362, x_323); +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_353); +lean_ctor_set(x_364, 1, x_363); +x_365 = !lean_is_exclusive(x_2); +if (x_365 == 0) { -lean_object* x_394; uint8_t x_395; -x_394 = lean_ctor_get(x_2, 0); -x_395 = !lean_is_exclusive(x_394); -if (x_395 == 0) +lean_object* x_366; uint8_t x_367; +x_366 = lean_ctor_get(x_2, 0); +x_367 = !lean_is_exclusive(x_366); +if (x_367 == 0) { -lean_object* x_396; lean_object* x_397; -x_396 = lean_ctor_get(x_394, 1); -lean_dec(x_396); +lean_object* x_368; lean_object* x_369; +x_368 = lean_ctor_get(x_366, 1); +lean_dec(x_368); +lean_inc(x_349); +lean_ctor_set(x_366, 1, x_349); +x_369 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_364, x_2, x_352); +if (lean_obj_tag(x_369) == 0) +{ +uint8_t x_370; +x_370 = !lean_is_exclusive(x_369); +if (x_370 == 0) +{ +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_371 = lean_ctor_get(x_369, 0); +x_372 = l_Lean_mkFVar(x_338); +x_373 = l_Lean_FileMap_ofString___closed__1; +x_374 = lean_array_push(x_373, x_372); +x_375 = l_Lean_LocalContext_mkLambda(x_349, x_374, x_371); +lean_dec(x_371); +lean_dec(x_374); +lean_ctor_set(x_369, 0, x_375); +return x_369; +} +else +{ +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_376 = lean_ctor_get(x_369, 0); +x_377 = lean_ctor_get(x_369, 1); lean_inc(x_377); -lean_ctor_set(x_394, 1, x_377); -x_397 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_392, x_2, x_380); -if (lean_obj_tag(x_397) == 0) -{ -uint8_t x_398; -x_398 = !lean_is_exclusive(x_397); -if (x_398 == 0) -{ -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; -x_399 = lean_ctor_get(x_397, 0); -x_400 = l_Lean_mkFVar(x_366); -x_401 = l_Lean_FileMap_ofString___closed__1; -x_402 = lean_array_push(x_401, x_400); -x_403 = l_Lean_LocalContext_mkLambda(x_377, x_402, x_399); -lean_dec(x_399); -lean_dec(x_402); -lean_ctor_set(x_397, 0, x_403); -return x_397; -} -else -{ -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; -x_404 = lean_ctor_get(x_397, 0); -x_405 = lean_ctor_get(x_397, 1); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_397); -x_406 = l_Lean_mkFVar(x_366); -x_407 = l_Lean_FileMap_ofString___closed__1; -x_408 = lean_array_push(x_407, x_406); -x_409 = l_Lean_LocalContext_mkLambda(x_377, x_408, x_404); -lean_dec(x_404); -lean_dec(x_408); -x_410 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_405); -return x_410; +lean_inc(x_376); +lean_dec(x_369); +x_378 = l_Lean_mkFVar(x_338); +x_379 = l_Lean_FileMap_ofString___closed__1; +x_380 = lean_array_push(x_379, x_378); +x_381 = l_Lean_LocalContext_mkLambda(x_349, x_380, x_376); +lean_dec(x_376); +lean_dec(x_380); +x_382 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_377); +return x_382; } } else { -uint8_t x_411; -lean_dec(x_377); +uint8_t x_383; +lean_dec(x_349); +lean_dec(x_338); +x_383 = !lean_is_exclusive(x_369); +if (x_383 == 0) +{ +return x_369; +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; +x_384 = lean_ctor_get(x_369, 0); +x_385 = lean_ctor_get(x_369, 1); +lean_inc(x_385); +lean_inc(x_384); +lean_dec(x_369); +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_384); +lean_ctor_set(x_386, 1, x_385); +return x_386; +} +} +} +else +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; +x_387 = lean_ctor_get(x_366, 0); +x_388 = lean_ctor_get(x_366, 2); +x_389 = lean_ctor_get(x_366, 3); +x_390 = lean_ctor_get(x_366, 4); +lean_inc(x_390); +lean_inc(x_389); +lean_inc(x_388); +lean_inc(x_387); lean_dec(x_366); -x_411 = !lean_is_exclusive(x_397); -if (x_411 == 0) +lean_inc(x_349); +x_391 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_391, 0, x_387); +lean_ctor_set(x_391, 1, x_349); +lean_ctor_set(x_391, 2, x_388); +lean_ctor_set(x_391, 3, x_389); +lean_ctor_set(x_391, 4, x_390); +lean_ctor_set(x_2, 0, x_391); +x_392 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_364, x_2, x_352); +if (lean_obj_tag(x_392) == 0) { -return x_397; +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; +x_393 = lean_ctor_get(x_392, 0); +lean_inc(x_393); +x_394 = lean_ctor_get(x_392, 1); +lean_inc(x_394); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_395 = x_392; +} else { + lean_dec_ref(x_392); + x_395 = lean_box(0); +} +x_396 = l_Lean_mkFVar(x_338); +x_397 = l_Lean_FileMap_ofString___closed__1; +x_398 = lean_array_push(x_397, x_396); +x_399 = l_Lean_LocalContext_mkLambda(x_349, x_398, x_393); +lean_dec(x_393); +lean_dec(x_398); +if (lean_is_scalar(x_395)) { + x_400 = lean_alloc_ctor(0, 2, 0); +} else { + x_400 = x_395; +} +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_394); +return x_400; } else { -lean_object* x_412; lean_object* x_413; lean_object* x_414; -x_412 = lean_ctor_get(x_397, 0); -x_413 = lean_ctor_get(x_397, 1); +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; +lean_dec(x_349); +lean_dec(x_338); +x_401 = lean_ctor_get(x_392, 0); +lean_inc(x_401); +x_402 = lean_ctor_get(x_392, 1); +lean_inc(x_402); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_403 = x_392; +} else { + lean_dec_ref(x_392); + x_403 = lean_box(0); +} +if (lean_is_scalar(x_403)) { + x_404 = lean_alloc_ctor(1, 2, 0); +} else { + x_404 = x_403; +} +lean_ctor_set(x_404, 0, x_401); +lean_ctor_set(x_404, 1, x_402); +return x_404; +} +} +} +else +{ +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; uint8_t 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; +x_405 = lean_ctor_get(x_2, 0); +x_406 = lean_ctor_get(x_2, 1); +x_407 = lean_ctor_get(x_2, 2); +x_408 = lean_ctor_get(x_2, 3); +x_409 = lean_ctor_get(x_2, 4); +x_410 = lean_ctor_get(x_2, 5); +x_411 = lean_ctor_get(x_2, 6); +x_412 = lean_ctor_get(x_2, 7); +x_413 = lean_ctor_get(x_2, 8); +x_414 = lean_ctor_get(x_2, 9); +x_415 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_inc(x_414); lean_inc(x_413); lean_inc(x_412); -lean_dec(x_397); -x_414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_414, 0, x_412); -lean_ctor_set(x_414, 1, x_413); -return x_414; -} -} -} -else -{ -lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; -x_415 = lean_ctor_get(x_394, 0); -x_416 = lean_ctor_get(x_394, 2); -x_417 = lean_ctor_get(x_394, 3); -x_418 = lean_ctor_get(x_394, 4); -lean_inc(x_418); -lean_inc(x_417); +lean_inc(x_411); +lean_inc(x_410); +lean_inc(x_409); +lean_inc(x_408); +lean_inc(x_407); +lean_inc(x_406); +lean_inc(x_405); +lean_dec(x_2); +x_416 = lean_ctor_get(x_405, 0); lean_inc(x_416); -lean_inc(x_415); -lean_dec(x_394); -lean_inc(x_377); -x_419 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_419, 0, x_415); -lean_ctor_set(x_419, 1, x_377); -lean_ctor_set(x_419, 2, x_416); -lean_ctor_set(x_419, 3, x_417); -lean_ctor_set(x_419, 4, x_418); -lean_ctor_set(x_2, 0, x_419); -x_420 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_392, x_2, x_380); -if (lean_obj_tag(x_420) == 0) +x_417 = lean_ctor_get(x_405, 2); +lean_inc(x_417); +x_418 = lean_ctor_get(x_405, 3); +lean_inc(x_418); +x_419 = lean_ctor_get(x_405, 4); +lean_inc(x_419); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + lean_ctor_release(x_405, 2); + lean_ctor_release(x_405, 3); + lean_ctor_release(x_405, 4); + x_420 = x_405; +} else { + lean_dec_ref(x_405); + x_420 = lean_box(0); +} +lean_inc(x_349); +if (lean_is_scalar(x_420)) { + x_421 = lean_alloc_ctor(0, 5, 0); +} else { + x_421 = x_420; +} +lean_ctor_set(x_421, 0, x_416); +lean_ctor_set(x_421, 1, x_349); +lean_ctor_set(x_421, 2, x_417); +lean_ctor_set(x_421, 3, x_418); +lean_ctor_set(x_421, 4, x_419); +x_422 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_422, 0, x_421); +lean_ctor_set(x_422, 1, x_406); +lean_ctor_set(x_422, 2, x_407); +lean_ctor_set(x_422, 3, x_408); +lean_ctor_set(x_422, 4, x_409); +lean_ctor_set(x_422, 5, x_410); +lean_ctor_set(x_422, 6, x_411); +lean_ctor_set(x_422, 7, x_412); +lean_ctor_set(x_422, 8, x_413); +lean_ctor_set(x_422, 9, x_414); +lean_ctor_set_uint8(x_422, sizeof(void*)*10, x_415); +x_423 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_364, x_422, x_352); +if (lean_obj_tag(x_423) == 0) { -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; -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -if (lean_is_exclusive(x_420)) { - lean_ctor_release(x_420, 0); - lean_ctor_release(x_420, 1); - x_423 = x_420; +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; +x_424 = lean_ctor_get(x_423, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_423, 1); +lean_inc(x_425); +if (lean_is_exclusive(x_423)) { + lean_ctor_release(x_423, 0); + lean_ctor_release(x_423, 1); + x_426 = x_423; } else { - lean_dec_ref(x_420); - x_423 = lean_box(0); + lean_dec_ref(x_423); + x_426 = lean_box(0); } -x_424 = l_Lean_mkFVar(x_366); -x_425 = l_Lean_FileMap_ofString___closed__1; -x_426 = lean_array_push(x_425, x_424); -x_427 = l_Lean_LocalContext_mkLambda(x_377, x_426, x_421); -lean_dec(x_421); -lean_dec(x_426); -if (lean_is_scalar(x_423)) { - x_428 = lean_alloc_ctor(0, 2, 0); +x_427 = l_Lean_mkFVar(x_338); +x_428 = l_Lean_FileMap_ofString___closed__1; +x_429 = lean_array_push(x_428, x_427); +x_430 = l_Lean_LocalContext_mkLambda(x_349, x_429, x_424); +lean_dec(x_424); +lean_dec(x_429); +if (lean_is_scalar(x_426)) { + x_431 = lean_alloc_ctor(0, 2, 0); } else { - x_428 = x_423; + x_431 = x_426; } -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_422); -return x_428; +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_425); +return x_431; } else { -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; -lean_dec(x_377); -lean_dec(x_366); -x_429 = lean_ctor_get(x_420, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_420, 1); -lean_inc(x_430); -if (lean_is_exclusive(x_420)) { - lean_ctor_release(x_420, 0); - lean_ctor_release(x_420, 1); - x_431 = x_420; +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +lean_dec(x_349); +lean_dec(x_338); +x_432 = lean_ctor_get(x_423, 0); +lean_inc(x_432); +x_433 = lean_ctor_get(x_423, 1); +lean_inc(x_433); +if (lean_is_exclusive(x_423)) { + lean_ctor_release(x_423, 0); + lean_ctor_release(x_423, 1); + x_434 = x_423; } else { - lean_dec_ref(x_420); - x_431 = lean_box(0); + lean_dec_ref(x_423); + x_434 = lean_box(0); } -if (lean_is_scalar(x_431)) { - x_432 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_434)) { + x_435 = lean_alloc_ctor(1, 2, 0); } else { - x_432 = x_431; + x_435 = x_434; } -lean_ctor_set(x_432, 0, x_429); -lean_ctor_set(x_432, 1, x_430); -return x_432; +lean_ctor_set(x_435, 0, x_432); +lean_ctor_set(x_435, 1, x_433); +return x_435; } } } 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; uint8_t 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_433 = lean_ctor_get(x_2, 0); -x_434 = lean_ctor_get(x_2, 1); -x_435 = lean_ctor_get(x_2, 2); -x_436 = lean_ctor_get(x_2, 3); -x_437 = lean_ctor_get(x_2, 4); -x_438 = lean_ctor_get(x_2, 5); -x_439 = lean_ctor_get(x_2, 6); -x_440 = lean_ctor_get(x_2, 7); -x_441 = lean_ctor_get(x_2, 8); -x_442 = lean_ctor_get(x_2, 9); -x_443 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -lean_inc(x_442); -lean_inc(x_441); -lean_inc(x_440); -lean_inc(x_439); +uint8_t x_436; +lean_dec(x_338); +lean_dec(x_330); +lean_dec(x_323); +lean_dec(x_321); +lean_dec(x_2); +x_436 = !lean_is_exclusive(x_342); +if (x_436 == 0) +{ +return x_342; +} +else +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_437 = lean_ctor_get(x_342, 0); +x_438 = lean_ctor_get(x_342, 1); lean_inc(x_438); lean_inc(x_437); -lean_inc(x_436); -lean_inc(x_435); -lean_inc(x_434); -lean_inc(x_433); -lean_dec(x_2); -x_444 = lean_ctor_get(x_433, 0); +lean_dec(x_342); +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_437); +lean_ctor_set(x_439, 1, x_438); +return x_439; +} +} +} +else +{ +lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t 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_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; +lean_dec(x_327); +x_440 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_441 = lean_name_mk_string(x_117, x_440); +x_442 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_443 = lean_ctor_get(x_442, 0); +lean_inc(x_443); +x_444 = lean_ctor_get(x_442, 1); lean_inc(x_444); -x_445 = lean_ctor_get(x_433, 2); -lean_inc(x_445); -x_446 = lean_ctor_get(x_433, 3); -lean_inc(x_446); -x_447 = lean_ctor_get(x_433, 4); +lean_dec(x_442); +x_445 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_446 = 0; +lean_inc_n(x_441, 2); +x_447 = lean_local_ctx_mk_local_decl(x_443, x_441, x_441, x_445, x_446); +x_448 = l_Array_eraseIdx___rarg(x_321, x_325); +x_449 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_444); +x_450 = lean_ctor_get(x_449, 1); +lean_inc(x_450); +lean_dec(x_449); +x_451 = lean_name_mk_string(x_330, x_155); +x_452 = l_Lean_nullKind___closed__1; +x_453 = lean_name_mk_string(x_117, x_452); +x_454 = l_Array_empty___closed__1; +x_455 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_448, x_448, x_325, x_454); +lean_dec(x_448); +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_453); +lean_ctor_set(x_456, 1, x_455); +x_457 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_458 = lean_array_push(x_457, x_456); +x_459 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_460 = lean_array_push(x_458, x_459); +x_461 = lean_array_push(x_460, x_323); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_451); +lean_ctor_set(x_462, 1, x_461); +x_463 = !lean_is_exclusive(x_2); +if (x_463 == 0) +{ +lean_object* x_464; uint8_t x_465; +x_464 = lean_ctor_get(x_2, 0); +x_465 = !lean_is_exclusive(x_464); +if (x_465 == 0) +{ +lean_object* x_466; lean_object* x_467; +x_466 = lean_ctor_get(x_464, 1); +lean_dec(x_466); lean_inc(x_447); -if (lean_is_exclusive(x_433)) { - lean_ctor_release(x_433, 0); - lean_ctor_release(x_433, 1); - lean_ctor_release(x_433, 2); - lean_ctor_release(x_433, 3); - lean_ctor_release(x_433, 4); - x_448 = x_433; -} else { - lean_dec_ref(x_433); - x_448 = lean_box(0); -} -lean_inc(x_377); -if (lean_is_scalar(x_448)) { - x_449 = lean_alloc_ctor(0, 5, 0); -} else { - x_449 = x_448; -} -lean_ctor_set(x_449, 0, x_444); -lean_ctor_set(x_449, 1, x_377); -lean_ctor_set(x_449, 2, x_445); -lean_ctor_set(x_449, 3, x_446); -lean_ctor_set(x_449, 4, x_447); -x_450 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_434); -lean_ctor_set(x_450, 2, x_435); -lean_ctor_set(x_450, 3, x_436); -lean_ctor_set(x_450, 4, x_437); -lean_ctor_set(x_450, 5, x_438); -lean_ctor_set(x_450, 6, x_439); -lean_ctor_set(x_450, 7, x_440); -lean_ctor_set(x_450, 8, x_441); -lean_ctor_set(x_450, 9, x_442); -lean_ctor_set_uint8(x_450, sizeof(void*)*10, x_443); -x_451 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_392, x_450, x_380); -if (lean_obj_tag(x_451) == 0) +lean_ctor_set(x_464, 1, x_447); +x_467 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_462, x_2, x_450); +if (lean_obj_tag(x_467) == 0) { -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_452 = lean_ctor_get(x_451, 0); -lean_inc(x_452); -x_453 = lean_ctor_get(x_451, 1); -lean_inc(x_453); -if (lean_is_exclusive(x_451)) { - lean_ctor_release(x_451, 0); - lean_ctor_release(x_451, 1); - x_454 = x_451; -} else { - lean_dec_ref(x_451); - x_454 = lean_box(0); -} -x_455 = l_Lean_mkFVar(x_366); -x_456 = l_Lean_FileMap_ofString___closed__1; -x_457 = lean_array_push(x_456, x_455); -x_458 = l_Lean_LocalContext_mkLambda(x_377, x_457, x_452); -lean_dec(x_452); -lean_dec(x_457); -if (lean_is_scalar(x_454)) { - x_459 = lean_alloc_ctor(0, 2, 0); -} else { - x_459 = x_454; -} -lean_ctor_set(x_459, 0, x_458); -lean_ctor_set(x_459, 1, x_453); -return x_459; -} -else +uint8_t x_468; +x_468 = !lean_is_exclusive(x_467); +if (x_468 == 0) { -lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; -lean_dec(x_377); -lean_dec(x_366); -x_460 = lean_ctor_get(x_451, 0); -lean_inc(x_460); -x_461 = lean_ctor_get(x_451, 1); -lean_inc(x_461); -if (lean_is_exclusive(x_451)) { - lean_ctor_release(x_451, 0); - lean_ctor_release(x_451, 1); - x_462 = x_451; -} else { - lean_dec_ref(x_451); - x_462 = lean_box(0); -} -if (lean_is_scalar(x_462)) { - x_463 = lean_alloc_ctor(1, 2, 0); -} else { - x_463 = x_462; -} -lean_ctor_set(x_463, 0, x_460); -lean_ctor_set(x_463, 1, x_461); -return x_463; -} -} -} -else -{ -uint8_t x_464; -lean_dec(x_366); -lean_dec(x_358); -lean_dec(x_351); -lean_dec(x_349); -lean_dec(x_2); -x_464 = !lean_is_exclusive(x_370); -if (x_464 == 0) -{ -return x_370; -} -else -{ -lean_object* x_465; lean_object* x_466; lean_object* x_467; -x_465 = lean_ctor_get(x_370, 0); -x_466 = lean_ctor_get(x_370, 1); -lean_inc(x_466); -lean_inc(x_465); -lean_dec(x_370); -x_467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_467, 0, x_465); -lean_ctor_set(x_467, 1, x_466); +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; +x_469 = lean_ctor_get(x_467, 0); +x_470 = l_Lean_mkFVar(x_441); +x_471 = l_Lean_FileMap_ofString___closed__1; +x_472 = lean_array_push(x_471, x_470); +x_473 = l_Lean_LocalContext_mkLambda(x_447, x_472, x_469); +lean_dec(x_469); +lean_dec(x_472); +lean_ctor_set(x_467, 0, x_473); return x_467; } -} -} else { -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; uint8_t 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; uint8_t x_491; -lean_dec(x_355); -x_468 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_469 = lean_name_mk_string(x_117, x_468); -x_470 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_471 = lean_ctor_get(x_470, 0); -lean_inc(x_471); -x_472 = lean_ctor_get(x_470, 1); -lean_inc(x_472); -lean_dec(x_470); -x_473 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_474 = 0; -lean_inc_n(x_469, 2); -x_475 = lean_local_ctx_mk_local_decl(x_471, x_469, x_469, x_473, x_474); -x_476 = l_Array_eraseIdx___rarg(x_349, x_353); -x_477 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_472); -x_478 = lean_ctor_get(x_477, 1); -lean_inc(x_478); -lean_dec(x_477); -x_479 = lean_name_mk_string(x_358, x_155); -x_480 = l_Lean_nullKind___closed__1; -x_481 = lean_name_mk_string(x_117, x_480); -x_482 = l_Array_empty___closed__1; -x_483 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_476, x_476, x_353, x_482); -lean_dec(x_476); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_481); -lean_ctor_set(x_484, 1, x_483); -x_485 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_486 = lean_array_push(x_485, x_484); -x_487 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_488 = lean_array_push(x_486, x_487); -x_489 = lean_array_push(x_488, x_351); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_479); -lean_ctor_set(x_490, 1, x_489); -x_491 = !lean_is_exclusive(x_2); -if (x_491 == 0) -{ -lean_object* x_492; uint8_t x_493; -x_492 = lean_ctor_get(x_2, 0); -x_493 = !lean_is_exclusive(x_492); -if (x_493 == 0) -{ -lean_object* x_494; lean_object* x_495; -x_494 = lean_ctor_get(x_492, 1); -lean_dec(x_494); +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; +x_474 = lean_ctor_get(x_467, 0); +x_475 = lean_ctor_get(x_467, 1); lean_inc(x_475); -lean_ctor_set(x_492, 1, x_475); -x_495 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_490, x_2, x_478); -if (lean_obj_tag(x_495) == 0) -{ -uint8_t x_496; -x_496 = !lean_is_exclusive(x_495); -if (x_496 == 0) -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; -x_497 = lean_ctor_get(x_495, 0); -x_498 = l_Lean_mkFVar(x_469); -x_499 = l_Lean_FileMap_ofString___closed__1; -x_500 = lean_array_push(x_499, x_498); -x_501 = l_Lean_LocalContext_mkLambda(x_475, x_500, x_497); -lean_dec(x_497); -lean_dec(x_500); -lean_ctor_set(x_495, 0, x_501); -return x_495; -} -else -{ -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; -x_502 = lean_ctor_get(x_495, 0); -x_503 = lean_ctor_get(x_495, 1); -lean_inc(x_503); -lean_inc(x_502); -lean_dec(x_495); -x_504 = l_Lean_mkFVar(x_469); -x_505 = l_Lean_FileMap_ofString___closed__1; -x_506 = lean_array_push(x_505, x_504); -x_507 = l_Lean_LocalContext_mkLambda(x_475, x_506, x_502); -lean_dec(x_502); -lean_dec(x_506); -x_508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_503); -return x_508; +lean_inc(x_474); +lean_dec(x_467); +x_476 = l_Lean_mkFVar(x_441); +x_477 = l_Lean_FileMap_ofString___closed__1; +x_478 = lean_array_push(x_477, x_476); +x_479 = l_Lean_LocalContext_mkLambda(x_447, x_478, x_474); +lean_dec(x_474); +lean_dec(x_478); +x_480 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_480, 0, x_479); +lean_ctor_set(x_480, 1, x_475); +return x_480; } } else { -uint8_t x_509; -lean_dec(x_475); -lean_dec(x_469); -x_509 = !lean_is_exclusive(x_495); -if (x_509 == 0) +uint8_t x_481; +lean_dec(x_447); +lean_dec(x_441); +x_481 = !lean_is_exclusive(x_467); +if (x_481 == 0) { -return x_495; +return x_467; } else { -lean_object* x_510; lean_object* x_511; lean_object* x_512; -x_510 = lean_ctor_get(x_495, 0); -x_511 = lean_ctor_get(x_495, 1); +lean_object* x_482; lean_object* x_483; lean_object* x_484; +x_482 = lean_ctor_get(x_467, 0); +x_483 = lean_ctor_get(x_467, 1); +lean_inc(x_483); +lean_inc(x_482); +lean_dec(x_467); +x_484 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_484, 0, x_482); +lean_ctor_set(x_484, 1, x_483); +return x_484; +} +} +} +else +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_485 = lean_ctor_get(x_464, 0); +x_486 = lean_ctor_get(x_464, 2); +x_487 = lean_ctor_get(x_464, 3); +x_488 = lean_ctor_get(x_464, 4); +lean_inc(x_488); +lean_inc(x_487); +lean_inc(x_486); +lean_inc(x_485); +lean_dec(x_464); +lean_inc(x_447); +x_489 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_489, 0, x_485); +lean_ctor_set(x_489, 1, x_447); +lean_ctor_set(x_489, 2, x_486); +lean_ctor_set(x_489, 3, x_487); +lean_ctor_set(x_489, 4, x_488); +lean_ctor_set(x_2, 0, x_489); +x_490 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_462, x_2, x_450); +if (lean_obj_tag(x_490) == 0) +{ +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; +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_490, 1); +lean_inc(x_492); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_493 = x_490; +} else { + lean_dec_ref(x_490); + x_493 = lean_box(0); +} +x_494 = l_Lean_mkFVar(x_441); +x_495 = l_Lean_FileMap_ofString___closed__1; +x_496 = lean_array_push(x_495, x_494); +x_497 = l_Lean_LocalContext_mkLambda(x_447, x_496, x_491); +lean_dec(x_491); +lean_dec(x_496); +if (lean_is_scalar(x_493)) { + x_498 = lean_alloc_ctor(0, 2, 0); +} else { + x_498 = x_493; +} +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_492); +return x_498; +} +else +{ +lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; +lean_dec(x_447); +lean_dec(x_441); +x_499 = lean_ctor_get(x_490, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_490, 1); +lean_inc(x_500); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_501 = x_490; +} else { + lean_dec_ref(x_490); + x_501 = lean_box(0); +} +if (lean_is_scalar(x_501)) { + x_502 = lean_alloc_ctor(1, 2, 0); +} else { + x_502 = x_501; +} +lean_ctor_set(x_502, 0, x_499); +lean_ctor_set(x_502, 1, x_500); +return x_502; +} +} +} +else +{ +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; uint8_t 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; +x_503 = lean_ctor_get(x_2, 0); +x_504 = lean_ctor_get(x_2, 1); +x_505 = lean_ctor_get(x_2, 2); +x_506 = lean_ctor_get(x_2, 3); +x_507 = lean_ctor_get(x_2, 4); +x_508 = lean_ctor_get(x_2, 5); +x_509 = lean_ctor_get(x_2, 6); +x_510 = lean_ctor_get(x_2, 7); +x_511 = lean_ctor_get(x_2, 8); +x_512 = lean_ctor_get(x_2, 9); +x_513 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_inc(x_512); lean_inc(x_511); lean_inc(x_510); -lean_dec(x_495); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_510); -lean_ctor_set(x_512, 1, x_511); -return x_512; -} -} -} -else -{ -lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; -x_513 = lean_ctor_get(x_492, 0); -x_514 = lean_ctor_get(x_492, 2); -x_515 = lean_ctor_get(x_492, 3); -x_516 = lean_ctor_get(x_492, 4); -lean_inc(x_516); -lean_inc(x_515); -lean_inc(x_514); -lean_inc(x_513); -lean_dec(x_492); -lean_inc(x_475); -x_517 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_517, 0, x_513); -lean_ctor_set(x_517, 1, x_475); -lean_ctor_set(x_517, 2, x_514); -lean_ctor_set(x_517, 3, x_515); -lean_ctor_set(x_517, 4, x_516); -lean_ctor_set(x_2, 0, x_517); -x_518 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_490, x_2, x_478); -if (lean_obj_tag(x_518) == 0) -{ -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; -x_519 = lean_ctor_get(x_518, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_521 = x_518; -} else { - lean_dec_ref(x_518); - x_521 = lean_box(0); -} -x_522 = l_Lean_mkFVar(x_469); -x_523 = l_Lean_FileMap_ofString___closed__1; -x_524 = lean_array_push(x_523, x_522); -x_525 = l_Lean_LocalContext_mkLambda(x_475, x_524, x_519); -lean_dec(x_519); -lean_dec(x_524); -if (lean_is_scalar(x_521)) { - x_526 = lean_alloc_ctor(0, 2, 0); -} else { - x_526 = x_521; -} -lean_ctor_set(x_526, 0, x_525); -lean_ctor_set(x_526, 1, x_520); -return x_526; -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; -lean_dec(x_475); -lean_dec(x_469); -x_527 = lean_ctor_get(x_518, 0); -lean_inc(x_527); -x_528 = lean_ctor_get(x_518, 1); -lean_inc(x_528); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_529 = x_518; -} else { - lean_dec_ref(x_518); - x_529 = lean_box(0); -} -if (lean_is_scalar(x_529)) { - x_530 = lean_alloc_ctor(1, 2, 0); -} else { - x_530 = x_529; -} -lean_ctor_set(x_530, 0, x_527); -lean_ctor_set(x_530, 1, x_528); -return x_530; -} -} -} -else -{ -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; uint8_t x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; -x_531 = lean_ctor_get(x_2, 0); -x_532 = lean_ctor_get(x_2, 1); -x_533 = lean_ctor_get(x_2, 2); -x_534 = lean_ctor_get(x_2, 3); -x_535 = lean_ctor_get(x_2, 4); -x_536 = lean_ctor_get(x_2, 5); -x_537 = lean_ctor_get(x_2, 6); -x_538 = lean_ctor_get(x_2, 7); -x_539 = lean_ctor_get(x_2, 8); -x_540 = lean_ctor_get(x_2, 9); -x_541 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -lean_inc(x_540); -lean_inc(x_539); -lean_inc(x_538); -lean_inc(x_537); -lean_inc(x_536); -lean_inc(x_535); -lean_inc(x_534); -lean_inc(x_533); -lean_inc(x_532); -lean_inc(x_531); +lean_inc(x_509); +lean_inc(x_508); +lean_inc(x_507); +lean_inc(x_506); +lean_inc(x_505); +lean_inc(x_504); +lean_inc(x_503); lean_dec(x_2); -x_542 = lean_ctor_get(x_531, 0); -lean_inc(x_542); -x_543 = lean_ctor_get(x_531, 2); +x_514 = lean_ctor_get(x_503, 0); +lean_inc(x_514); +x_515 = lean_ctor_get(x_503, 2); +lean_inc(x_515); +x_516 = lean_ctor_get(x_503, 3); +lean_inc(x_516); +x_517 = lean_ctor_get(x_503, 4); +lean_inc(x_517); +if (lean_is_exclusive(x_503)) { + lean_ctor_release(x_503, 0); + lean_ctor_release(x_503, 1); + lean_ctor_release(x_503, 2); + lean_ctor_release(x_503, 3); + lean_ctor_release(x_503, 4); + x_518 = x_503; +} else { + lean_dec_ref(x_503); + x_518 = lean_box(0); +} +lean_inc(x_447); +if (lean_is_scalar(x_518)) { + x_519 = lean_alloc_ctor(0, 5, 0); +} else { + x_519 = x_518; +} +lean_ctor_set(x_519, 0, x_514); +lean_ctor_set(x_519, 1, x_447); +lean_ctor_set(x_519, 2, x_515); +lean_ctor_set(x_519, 3, x_516); +lean_ctor_set(x_519, 4, x_517); +x_520 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_520, 0, x_519); +lean_ctor_set(x_520, 1, x_504); +lean_ctor_set(x_520, 2, x_505); +lean_ctor_set(x_520, 3, x_506); +lean_ctor_set(x_520, 4, x_507); +lean_ctor_set(x_520, 5, x_508); +lean_ctor_set(x_520, 6, x_509); +lean_ctor_set(x_520, 7, x_510); +lean_ctor_set(x_520, 8, x_511); +lean_ctor_set(x_520, 9, x_512); +lean_ctor_set_uint8(x_520, sizeof(void*)*10, x_513); +x_521 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_462, x_520, x_450); +if (lean_obj_tag(x_521) == 0) +{ +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; +x_522 = lean_ctor_get(x_521, 0); +lean_inc(x_522); +x_523 = lean_ctor_get(x_521, 1); +lean_inc(x_523); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_524 = x_521; +} else { + lean_dec_ref(x_521); + x_524 = lean_box(0); +} +x_525 = l_Lean_mkFVar(x_441); +x_526 = l_Lean_FileMap_ofString___closed__1; +x_527 = lean_array_push(x_526, x_525); +x_528 = l_Lean_LocalContext_mkLambda(x_447, x_527, x_522); +lean_dec(x_522); +lean_dec(x_527); +if (lean_is_scalar(x_524)) { + x_529 = lean_alloc_ctor(0, 2, 0); +} else { + x_529 = x_524; +} +lean_ctor_set(x_529, 0, x_528); +lean_ctor_set(x_529, 1, x_523); +return x_529; +} +else +{ +lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +lean_dec(x_447); +lean_dec(x_441); +x_530 = lean_ctor_get(x_521, 0); +lean_inc(x_530); +x_531 = lean_ctor_get(x_521, 1); +lean_inc(x_531); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_532 = x_521; +} else { + lean_dec_ref(x_521); + x_532 = lean_box(0); +} +if (lean_is_scalar(x_532)) { + x_533 = lean_alloc_ctor(1, 2, 0); +} else { + x_533 = x_532; +} +lean_ctor_set(x_533, 0, x_530); +lean_ctor_set(x_533, 1, x_531); +return x_533; +} +} +} +} +else +{ +lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; uint8_t 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; 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; uint8_t x_556; +x_534 = l_Lean_Syntax_getIdAt(x_327, x_325); +lean_dec(x_327); +x_535 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_536 = lean_ctor_get(x_535, 0); +lean_inc(x_536); +x_537 = lean_ctor_get(x_535, 1); +lean_inc(x_537); +lean_dec(x_535); +x_538 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_539 = 0; +lean_inc_n(x_534, 2); +x_540 = lean_local_ctx_mk_local_decl(x_536, x_534, x_534, x_538, x_539); +x_541 = l_Array_eraseIdx___rarg(x_321, x_325); +x_542 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_537); +x_543 = lean_ctor_get(x_542, 1); lean_inc(x_543); -x_544 = lean_ctor_get(x_531, 3); -lean_inc(x_544); -x_545 = lean_ctor_get(x_531, 4); -lean_inc(x_545); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - lean_ctor_release(x_531, 2); - lean_ctor_release(x_531, 3); - lean_ctor_release(x_531, 4); - x_546 = x_531; -} else { - lean_dec_ref(x_531); - x_546 = lean_box(0); -} -lean_inc(x_475); -if (lean_is_scalar(x_546)) { - x_547 = lean_alloc_ctor(0, 5, 0); -} else { - x_547 = x_546; -} -lean_ctor_set(x_547, 0, x_542); -lean_ctor_set(x_547, 1, x_475); -lean_ctor_set(x_547, 2, x_543); -lean_ctor_set(x_547, 3, x_544); -lean_ctor_set(x_547, 4, x_545); -x_548 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_532); -lean_ctor_set(x_548, 2, x_533); -lean_ctor_set(x_548, 3, x_534); -lean_ctor_set(x_548, 4, x_535); -lean_ctor_set(x_548, 5, x_536); -lean_ctor_set(x_548, 6, x_537); -lean_ctor_set(x_548, 7, x_538); -lean_ctor_set(x_548, 8, x_539); -lean_ctor_set(x_548, 9, x_540); -lean_ctor_set_uint8(x_548, sizeof(void*)*10, x_541); -x_549 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_490, x_548, x_478); -if (lean_obj_tag(x_549) == 0) +lean_dec(x_542); +x_544 = lean_name_mk_string(x_330, x_155); +x_545 = l_Lean_nullKind___closed__1; +x_546 = lean_name_mk_string(x_117, x_545); +x_547 = l_Array_empty___closed__1; +x_548 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_541, x_541, x_325, x_547); +lean_dec(x_541); +x_549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_549, 0, x_546); +lean_ctor_set(x_549, 1, x_548); +x_550 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_551 = lean_array_push(x_550, x_549); +x_552 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_553 = lean_array_push(x_551, x_552); +x_554 = lean_array_push(x_553, x_323); +x_555 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_555, 0, x_544); +lean_ctor_set(x_555, 1, x_554); +x_556 = !lean_is_exclusive(x_2); +if (x_556 == 0) { -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; -x_550 = lean_ctor_get(x_549, 0); -lean_inc(x_550); -x_551 = lean_ctor_get(x_549, 1); -lean_inc(x_551); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - lean_ctor_release(x_549, 1); - x_552 = x_549; -} else { - lean_dec_ref(x_549); - x_552 = lean_box(0); -} -x_553 = l_Lean_mkFVar(x_469); -x_554 = l_Lean_FileMap_ofString___closed__1; -x_555 = lean_array_push(x_554, x_553); -x_556 = l_Lean_LocalContext_mkLambda(x_475, x_555, x_550); -lean_dec(x_550); -lean_dec(x_555); -if (lean_is_scalar(x_552)) { - x_557 = lean_alloc_ctor(0, 2, 0); -} else { - x_557 = x_552; -} -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_551); -return x_557; -} -else +lean_object* x_557; uint8_t x_558; +x_557 = lean_ctor_get(x_2, 0); +x_558 = !lean_is_exclusive(x_557); +if (x_558 == 0) { -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; -lean_dec(x_475); -lean_dec(x_469); -x_558 = lean_ctor_get(x_549, 0); -lean_inc(x_558); -x_559 = lean_ctor_get(x_549, 1); -lean_inc(x_559); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - lean_ctor_release(x_549, 1); - x_560 = x_549; -} else { - lean_dec_ref(x_549); - x_560 = lean_box(0); -} -if (lean_is_scalar(x_560)) { - x_561 = lean_alloc_ctor(1, 2, 0); -} else { - x_561 = x_560; -} -lean_ctor_set(x_561, 0, x_558); -lean_ctor_set(x_561, 1, x_559); -return x_561; -} -} -} -} -else +lean_object* x_559; lean_object* x_560; +x_559 = lean_ctor_get(x_557, 1); +lean_dec(x_559); +lean_inc(x_540); +lean_ctor_set(x_557, 1, x_540); +x_560 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_555, x_2, x_543); +if (lean_obj_tag(x_560) == 0) { -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; uint8_t 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; uint8_t x_584; -x_562 = l_Lean_Syntax_getIdAt(x_355, x_353); -lean_dec(x_355); -x_563 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_564 = lean_ctor_get(x_563, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_563, 1); -lean_inc(x_565); -lean_dec(x_563); -x_566 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_567 = 0; -lean_inc_n(x_562, 2); -x_568 = lean_local_ctx_mk_local_decl(x_564, x_562, x_562, x_566, x_567); -x_569 = l_Array_eraseIdx___rarg(x_349, x_353); -x_570 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_565); -x_571 = lean_ctor_get(x_570, 1); -lean_inc(x_571); -lean_dec(x_570); -x_572 = lean_name_mk_string(x_358, x_155); -x_573 = l_Lean_nullKind___closed__1; -x_574 = lean_name_mk_string(x_117, x_573); -x_575 = l_Array_empty___closed__1; -x_576 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_569, x_569, x_353, x_575); -lean_dec(x_569); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_574); -lean_ctor_set(x_577, 1, x_576); -x_578 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_579 = lean_array_push(x_578, x_577); -x_580 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_581 = lean_array_push(x_579, x_580); -x_582 = lean_array_push(x_581, x_351); -x_583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_583, 0, x_572); -lean_ctor_set(x_583, 1, x_582); -x_584 = !lean_is_exclusive(x_2); -if (x_584 == 0) +uint8_t x_561; +x_561 = !lean_is_exclusive(x_560); +if (x_561 == 0) { -lean_object* x_585; uint8_t x_586; -x_585 = lean_ctor_get(x_2, 0); -x_586 = !lean_is_exclusive(x_585); -if (x_586 == 0) -{ -lean_object* x_587; lean_object* x_588; -x_587 = lean_ctor_get(x_585, 1); -lean_dec(x_587); -lean_inc(x_568); -lean_ctor_set(x_585, 1, x_568); -x_588 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_583, x_2, x_571); -if (lean_obj_tag(x_588) == 0) -{ -uint8_t x_589; -x_589 = !lean_is_exclusive(x_588); -if (x_589 == 0) -{ -lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -x_590 = lean_ctor_get(x_588, 0); -x_591 = l_Lean_mkFVar(x_562); -x_592 = l_Lean_FileMap_ofString___closed__1; -x_593 = lean_array_push(x_592, x_591); -x_594 = l_Lean_LocalContext_mkLambda(x_568, x_593, x_590); -lean_dec(x_590); -lean_dec(x_593); -lean_ctor_set(x_588, 0, x_594); -return x_588; -} -else -{ -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; -x_595 = lean_ctor_get(x_588, 0); -x_596 = lean_ctor_get(x_588, 1); -lean_inc(x_596); -lean_inc(x_595); -lean_dec(x_588); -x_597 = l_Lean_mkFVar(x_562); -x_598 = l_Lean_FileMap_ofString___closed__1; -x_599 = lean_array_push(x_598, x_597); -x_600 = l_Lean_LocalContext_mkLambda(x_568, x_599, x_595); -lean_dec(x_595); -lean_dec(x_599); -x_601 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_596); -return x_601; -} -} -else -{ -uint8_t x_602; -lean_dec(x_568); +lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; +x_562 = lean_ctor_get(x_560, 0); +x_563 = l_Lean_mkFVar(x_534); +x_564 = l_Lean_FileMap_ofString___closed__1; +x_565 = lean_array_push(x_564, x_563); +x_566 = l_Lean_LocalContext_mkLambda(x_540, x_565, x_562); lean_dec(x_562); -x_602 = !lean_is_exclusive(x_588); -if (x_602 == 0) -{ -return x_588; +lean_dec(x_565); +lean_ctor_set(x_560, 0, x_566); +return x_560; } else { -lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_603 = lean_ctor_get(x_588, 0); -x_604 = lean_ctor_get(x_588, 1); +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; +x_567 = lean_ctor_get(x_560, 0); +x_568 = lean_ctor_get(x_560, 1); +lean_inc(x_568); +lean_inc(x_567); +lean_dec(x_560); +x_569 = l_Lean_mkFVar(x_534); +x_570 = l_Lean_FileMap_ofString___closed__1; +x_571 = lean_array_push(x_570, x_569); +x_572 = l_Lean_LocalContext_mkLambda(x_540, x_571, x_567); +lean_dec(x_567); +lean_dec(x_571); +x_573 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_568); +return x_573; +} +} +else +{ +uint8_t x_574; +lean_dec(x_540); +lean_dec(x_534); +x_574 = !lean_is_exclusive(x_560); +if (x_574 == 0) +{ +return x_560; +} +else +{ +lean_object* x_575; lean_object* x_576; lean_object* x_577; +x_575 = lean_ctor_get(x_560, 0); +x_576 = lean_ctor_get(x_560, 1); +lean_inc(x_576); +lean_inc(x_575); +lean_dec(x_560); +x_577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_577, 0, x_575); +lean_ctor_set(x_577, 1, x_576); +return x_577; +} +} +} +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; +x_578 = lean_ctor_get(x_557, 0); +x_579 = lean_ctor_get(x_557, 2); +x_580 = lean_ctor_get(x_557, 3); +x_581 = lean_ctor_get(x_557, 4); +lean_inc(x_581); +lean_inc(x_580); +lean_inc(x_579); +lean_inc(x_578); +lean_dec(x_557); +lean_inc(x_540); +x_582 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_582, 0, x_578); +lean_ctor_set(x_582, 1, x_540); +lean_ctor_set(x_582, 2, x_579); +lean_ctor_set(x_582, 3, x_580); +lean_ctor_set(x_582, 4, x_581); +lean_ctor_set(x_2, 0, x_582); +x_583 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_555, x_2, x_543); +if (lean_obj_tag(x_583) == 0) +{ +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; +x_584 = lean_ctor_get(x_583, 0); +lean_inc(x_584); +x_585 = lean_ctor_get(x_583, 1); +lean_inc(x_585); +if (lean_is_exclusive(x_583)) { + lean_ctor_release(x_583, 0); + lean_ctor_release(x_583, 1); + x_586 = x_583; +} else { + lean_dec_ref(x_583); + x_586 = lean_box(0); +} +x_587 = l_Lean_mkFVar(x_534); +x_588 = l_Lean_FileMap_ofString___closed__1; +x_589 = lean_array_push(x_588, x_587); +x_590 = l_Lean_LocalContext_mkLambda(x_540, x_589, x_584); +lean_dec(x_584); +lean_dec(x_589); +if (lean_is_scalar(x_586)) { + x_591 = lean_alloc_ctor(0, 2, 0); +} else { + x_591 = x_586; +} +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_585); +return x_591; +} +else +{ +lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; +lean_dec(x_540); +lean_dec(x_534); +x_592 = lean_ctor_get(x_583, 0); +lean_inc(x_592); +x_593 = lean_ctor_get(x_583, 1); +lean_inc(x_593); +if (lean_is_exclusive(x_583)) { + lean_ctor_release(x_583, 0); + lean_ctor_release(x_583, 1); + x_594 = x_583; +} else { + lean_dec_ref(x_583); + x_594 = lean_box(0); +} +if (lean_is_scalar(x_594)) { + x_595 = lean_alloc_ctor(1, 2, 0); +} else { + x_595 = x_594; +} +lean_ctor_set(x_595, 0, x_592); +lean_ctor_set(x_595, 1, x_593); +return x_595; +} +} +} +else +{ +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; uint8_t 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; +x_596 = lean_ctor_get(x_2, 0); +x_597 = lean_ctor_get(x_2, 1); +x_598 = lean_ctor_get(x_2, 2); +x_599 = lean_ctor_get(x_2, 3); +x_600 = lean_ctor_get(x_2, 4); +x_601 = lean_ctor_get(x_2, 5); +x_602 = lean_ctor_get(x_2, 6); +x_603 = lean_ctor_get(x_2, 7); +x_604 = lean_ctor_get(x_2, 8); +x_605 = lean_ctor_get(x_2, 9); +x_606 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_inc(x_605); lean_inc(x_604); lean_inc(x_603); -lean_dec(x_588); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_603); -lean_ctor_set(x_605, 1, x_604); -return x_605; -} -} -} -else -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; -x_606 = lean_ctor_get(x_585, 0); -x_607 = lean_ctor_get(x_585, 2); -x_608 = lean_ctor_get(x_585, 3); -x_609 = lean_ctor_get(x_585, 4); -lean_inc(x_609); -lean_inc(x_608); -lean_inc(x_607); -lean_inc(x_606); -lean_dec(x_585); -lean_inc(x_568); -x_610 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_610, 0, x_606); -lean_ctor_set(x_610, 1, x_568); -lean_ctor_set(x_610, 2, x_607); -lean_ctor_set(x_610, 3, x_608); -lean_ctor_set(x_610, 4, x_609); -lean_ctor_set(x_2, 0, x_610); -x_611 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_583, x_2, x_571); -if (lean_obj_tag(x_611) == 0) -{ -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; -x_612 = lean_ctor_get(x_611, 0); -lean_inc(x_612); -x_613 = lean_ctor_get(x_611, 1); -lean_inc(x_613); -if (lean_is_exclusive(x_611)) { - lean_ctor_release(x_611, 0); - lean_ctor_release(x_611, 1); - x_614 = x_611; -} else { - lean_dec_ref(x_611); - x_614 = lean_box(0); -} -x_615 = l_Lean_mkFVar(x_562); -x_616 = l_Lean_FileMap_ofString___closed__1; -x_617 = lean_array_push(x_616, x_615); -x_618 = l_Lean_LocalContext_mkLambda(x_568, x_617, x_612); -lean_dec(x_612); -lean_dec(x_617); -if (lean_is_scalar(x_614)) { - x_619 = lean_alloc_ctor(0, 2, 0); -} else { - x_619 = x_614; -} -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_613); -return x_619; -} -else -{ -lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; -lean_dec(x_568); -lean_dec(x_562); -x_620 = lean_ctor_get(x_611, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_611, 1); -lean_inc(x_621); -if (lean_is_exclusive(x_611)) { - lean_ctor_release(x_611, 0); - lean_ctor_release(x_611, 1); - x_622 = x_611; -} else { - lean_dec_ref(x_611); - x_622 = lean_box(0); -} -if (lean_is_scalar(x_622)) { - x_623 = lean_alloc_ctor(1, 2, 0); -} else { - x_623 = x_622; -} -lean_ctor_set(x_623, 0, x_620); -lean_ctor_set(x_623, 1, x_621); -return x_623; -} -} -} -else -{ -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; uint8_t 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; -x_624 = lean_ctor_get(x_2, 0); -x_625 = lean_ctor_get(x_2, 1); -x_626 = lean_ctor_get(x_2, 2); -x_627 = lean_ctor_get(x_2, 3); -x_628 = lean_ctor_get(x_2, 4); -x_629 = lean_ctor_get(x_2, 5); -x_630 = lean_ctor_get(x_2, 6); -x_631 = lean_ctor_get(x_2, 7); -x_632 = lean_ctor_get(x_2, 8); -x_633 = lean_ctor_get(x_2, 9); -x_634 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -lean_inc(x_633); -lean_inc(x_632); -lean_inc(x_631); -lean_inc(x_630); -lean_inc(x_629); -lean_inc(x_628); -lean_inc(x_627); -lean_inc(x_626); -lean_inc(x_625); -lean_inc(x_624); +lean_inc(x_602); +lean_inc(x_601); +lean_inc(x_600); +lean_inc(x_599); +lean_inc(x_598); +lean_inc(x_597); +lean_inc(x_596); lean_dec(x_2); -x_635 = lean_ctor_get(x_624, 0); -lean_inc(x_635); -x_636 = lean_ctor_get(x_624, 2); -lean_inc(x_636); -x_637 = lean_ctor_get(x_624, 3); -lean_inc(x_637); -x_638 = lean_ctor_get(x_624, 4); -lean_inc(x_638); -if (lean_is_exclusive(x_624)) { - lean_ctor_release(x_624, 0); - lean_ctor_release(x_624, 1); - lean_ctor_release(x_624, 2); - lean_ctor_release(x_624, 3); - lean_ctor_release(x_624, 4); - x_639 = x_624; +x_607 = lean_ctor_get(x_596, 0); +lean_inc(x_607); +x_608 = lean_ctor_get(x_596, 2); +lean_inc(x_608); +x_609 = lean_ctor_get(x_596, 3); +lean_inc(x_609); +x_610 = lean_ctor_get(x_596, 4); +lean_inc(x_610); +if (lean_is_exclusive(x_596)) { + lean_ctor_release(x_596, 0); + lean_ctor_release(x_596, 1); + lean_ctor_release(x_596, 2); + lean_ctor_release(x_596, 3); + lean_ctor_release(x_596, 4); + x_611 = x_596; } else { - lean_dec_ref(x_624); - x_639 = lean_box(0); + lean_dec_ref(x_596); + x_611 = lean_box(0); } -lean_inc(x_568); -if (lean_is_scalar(x_639)) { - x_640 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_540); +if (lean_is_scalar(x_611)) { + x_612 = lean_alloc_ctor(0, 5, 0); } else { - x_640 = x_639; + x_612 = x_611; } -lean_ctor_set(x_640, 0, x_635); -lean_ctor_set(x_640, 1, x_568); -lean_ctor_set(x_640, 2, x_636); -lean_ctor_set(x_640, 3, x_637); -lean_ctor_set(x_640, 4, x_638); -x_641 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_641, 0, x_640); -lean_ctor_set(x_641, 1, x_625); -lean_ctor_set(x_641, 2, x_626); -lean_ctor_set(x_641, 3, x_627); -lean_ctor_set(x_641, 4, x_628); -lean_ctor_set(x_641, 5, x_629); -lean_ctor_set(x_641, 6, x_630); -lean_ctor_set(x_641, 7, x_631); -lean_ctor_set(x_641, 8, x_632); -lean_ctor_set(x_641, 9, x_633); -lean_ctor_set_uint8(x_641, sizeof(void*)*10, x_634); -x_642 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_583, x_641, x_571); -if (lean_obj_tag(x_642) == 0) +lean_ctor_set(x_612, 0, x_607); +lean_ctor_set(x_612, 1, x_540); +lean_ctor_set(x_612, 2, x_608); +lean_ctor_set(x_612, 3, x_609); +lean_ctor_set(x_612, 4, x_610); +x_613 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_597); +lean_ctor_set(x_613, 2, x_598); +lean_ctor_set(x_613, 3, x_599); +lean_ctor_set(x_613, 4, x_600); +lean_ctor_set(x_613, 5, x_601); +lean_ctor_set(x_613, 6, x_602); +lean_ctor_set(x_613, 7, x_603); +lean_ctor_set(x_613, 8, x_604); +lean_ctor_set(x_613, 9, x_605); +lean_ctor_set_uint8(x_613, sizeof(void*)*10, x_606); +x_614 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_555, x_613, x_543); +if (lean_obj_tag(x_614) == 0) { -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; -x_643 = lean_ctor_get(x_642, 0); -lean_inc(x_643); -x_644 = lean_ctor_get(x_642, 1); -lean_inc(x_644); -if (lean_is_exclusive(x_642)) { - lean_ctor_release(x_642, 0); - lean_ctor_release(x_642, 1); - x_645 = x_642; +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; +x_615 = lean_ctor_get(x_614, 0); +lean_inc(x_615); +x_616 = lean_ctor_get(x_614, 1); +lean_inc(x_616); +if (lean_is_exclusive(x_614)) { + lean_ctor_release(x_614, 0); + lean_ctor_release(x_614, 1); + x_617 = x_614; } else { - lean_dec_ref(x_642); - x_645 = lean_box(0); + lean_dec_ref(x_614); + x_617 = lean_box(0); } -x_646 = l_Lean_mkFVar(x_562); -x_647 = l_Lean_FileMap_ofString___closed__1; -x_648 = lean_array_push(x_647, x_646); -x_649 = l_Lean_LocalContext_mkLambda(x_568, x_648, x_643); -lean_dec(x_643); -lean_dec(x_648); -if (lean_is_scalar(x_645)) { - x_650 = lean_alloc_ctor(0, 2, 0); +x_618 = l_Lean_mkFVar(x_534); +x_619 = l_Lean_FileMap_ofString___closed__1; +x_620 = lean_array_push(x_619, x_618); +x_621 = l_Lean_LocalContext_mkLambda(x_540, x_620, x_615); +lean_dec(x_615); +lean_dec(x_620); +if (lean_is_scalar(x_617)) { + x_622 = lean_alloc_ctor(0, 2, 0); } else { - x_650 = x_645; + x_622 = x_617; } -lean_ctor_set(x_650, 0, x_649); -lean_ctor_set(x_650, 1, x_644); -return x_650; +lean_ctor_set(x_622, 0, x_621); +lean_ctor_set(x_622, 1, x_616); +return x_622; } else { -lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -lean_dec(x_568); -lean_dec(x_562); -x_651 = lean_ctor_get(x_642, 0); -lean_inc(x_651); -x_652 = lean_ctor_get(x_642, 1); -lean_inc(x_652); -if (lean_is_exclusive(x_642)) { - lean_ctor_release(x_642, 0); - lean_ctor_release(x_642, 1); - x_653 = x_642; +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; +lean_dec(x_540); +lean_dec(x_534); +x_623 = lean_ctor_get(x_614, 0); +lean_inc(x_623); +x_624 = lean_ctor_get(x_614, 1); +lean_inc(x_624); +if (lean_is_exclusive(x_614)) { + lean_ctor_release(x_614, 0); + lean_ctor_release(x_614, 1); + x_625 = x_614; } else { - lean_dec_ref(x_642); - x_653 = lean_box(0); + lean_dec_ref(x_614); + x_625 = lean_box(0); } -if (lean_is_scalar(x_653)) { - x_654 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_625)) { + x_626 = lean_alloc_ctor(1, 2, 0); } else { - x_654 = x_653; + x_626 = x_625; } -lean_ctor_set(x_654, 0, x_651); -lean_ctor_set(x_654, 1, x_652); -return x_654; +lean_ctor_set(x_626, 0, x_623); +lean_ctor_set(x_626, 1, x_624); +return x_626; } } } } else { -lean_dec(x_349); -x_1 = x_351; +lean_dec(x_321); +x_1 = x_323; goto _start; } } } else { -lean_object* x_656; lean_object* x_657; lean_object* x_658; +lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_free_object(x_95); lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); -x_656 = l_Lean_Syntax_inhabited; -x_657 = lean_unsigned_to_nat(0u); -x_658 = lean_array_get(x_656, x_4, x_657); +x_628 = l_Lean_Syntax_inhabited; +x_629 = lean_unsigned_to_nat(0u); +x_630 = lean_array_get(x_628, x_4, x_629); lean_dec(x_4); -if (lean_obj_tag(x_658) == 3) +if (lean_obj_tag(x_630) == 3) { -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; -x_659 = lean_ctor_get(x_658, 2); -lean_inc(x_659); -x_660 = lean_ctor_get(x_658, 3); -lean_inc(x_660); -lean_dec(x_658); -x_661 = lean_box(0); +lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; +x_631 = lean_ctor_get(x_630, 2); +lean_inc(x_631); +x_632 = lean_ctor_get(x_630, 3); +lean_inc(x_632); +lean_dec(x_630); +x_633 = lean_box(0); lean_inc(x_2); -x_662 = l_Lean_Elab_Term_resolveName(x_1, x_659, x_660, x_661, x_2, x_3); +x_634 = l_Lean_Elab_Term_resolveName(x_1, x_631, x_632, x_633, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_662) == 0) +if (lean_obj_tag(x_634) == 0) { -lean_object* x_663; -x_663 = lean_ctor_get(x_662, 0); -lean_inc(x_663); -if (lean_obj_tag(x_663) == 0) +lean_object* x_635; +x_635 = lean_ctor_get(x_634, 0); +lean_inc(x_635); +if (lean_obj_tag(x_635) == 0) { -lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; -x_664 = lean_ctor_get(x_662, 1); -lean_inc(x_664); -lean_dec(x_662); -x_665 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_666 = l_unreachable_x21___rarg(x_665); -x_667 = lean_apply_2(x_666, x_2, x_664); -return x_667; +lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; +x_636 = lean_ctor_get(x_634, 1); +lean_inc(x_636); +lean_dec(x_634); +x_637 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_638 = l_unreachable_x21___rarg(x_637); +x_639 = lean_apply_2(x_638, x_2, x_636); +return x_639; } else { -lean_object* x_668; lean_object* x_669; +lean_object* x_640; lean_object* x_641; lean_dec(x_2); -x_668 = lean_ctor_get(x_663, 0); -lean_inc(x_668); -lean_dec(x_663); -x_669 = lean_ctor_get(x_668, 0); -lean_inc(x_669); -switch (lean_obj_tag(x_669)) { +x_640 = lean_ctor_get(x_635, 0); +lean_inc(x_640); +lean_dec(x_635); +x_641 = lean_ctor_get(x_640, 0); +lean_inc(x_641); +switch (lean_obj_tag(x_641)) { case 0: { -uint8_t x_670; -x_670 = !lean_is_exclusive(x_662); -if (x_670 == 0) +uint8_t x_642; +x_642 = !lean_is_exclusive(x_634); +if (x_642 == 0) { -lean_object* x_671; lean_object* x_672; lean_object* x_673; -x_671 = lean_ctor_get(x_662, 0); -lean_dec(x_671); -x_672 = lean_ctor_get(x_668, 1); -lean_inc(x_672); -lean_dec(x_668); -x_673 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_669, x_672); -lean_ctor_set(x_662, 0, x_673); -return x_662; +lean_object* x_643; lean_object* x_644; lean_object* x_645; +x_643 = lean_ctor_get(x_634, 0); +lean_dec(x_643); +x_644 = lean_ctor_get(x_640, 1); +lean_inc(x_644); +lean_dec(x_640); +x_645 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_641, x_644); +lean_ctor_set(x_634, 0, x_645); +return x_634; } else { -lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; -x_674 = lean_ctor_get(x_662, 1); -lean_inc(x_674); -lean_dec(x_662); -x_675 = lean_ctor_get(x_668, 1); -lean_inc(x_675); -lean_dec(x_668); -x_676 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_669, x_675); -x_677 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_677, 0, x_676); -lean_ctor_set(x_677, 1, x_674); -return x_677; +lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; +x_646 = lean_ctor_get(x_634, 1); +lean_inc(x_646); +lean_dec(x_634); +x_647 = lean_ctor_get(x_640, 1); +lean_inc(x_647); +lean_dec(x_640); +x_648 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_641, x_647); +x_649 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_646); +return x_649; } } case 1: { -uint8_t x_678; -x_678 = !lean_is_exclusive(x_662); -if (x_678 == 0) +uint8_t x_650; +x_650 = !lean_is_exclusive(x_634); +if (x_650 == 0) { -lean_object* x_679; lean_object* x_680; lean_object* x_681; -x_679 = lean_ctor_get(x_662, 0); -lean_dec(x_679); -x_680 = lean_ctor_get(x_668, 1); -lean_inc(x_680); -lean_dec(x_668); -x_681 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_669, x_680); -lean_ctor_set(x_662, 0, x_681); -return x_662; +lean_object* x_651; lean_object* x_652; lean_object* x_653; +x_651 = lean_ctor_get(x_634, 0); +lean_dec(x_651); +x_652 = lean_ctor_get(x_640, 1); +lean_inc(x_652); +lean_dec(x_640); +x_653 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_641, x_652); +lean_ctor_set(x_634, 0, x_653); +return x_634; } else { -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; -x_682 = lean_ctor_get(x_662, 1); -lean_inc(x_682); -lean_dec(x_662); -x_683 = lean_ctor_get(x_668, 1); -lean_inc(x_683); -lean_dec(x_668); -x_684 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_669, x_683); -x_685 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_685, 0, x_684); -lean_ctor_set(x_685, 1, x_682); -return x_685; +lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +x_654 = lean_ctor_get(x_634, 1); +lean_inc(x_654); +lean_dec(x_634); +x_655 = lean_ctor_get(x_640, 1); +lean_inc(x_655); +lean_dec(x_640); +x_656 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_641, x_655); +x_657 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_654); +return x_657; } } case 2: { +uint8_t x_658; +x_658 = !lean_is_exclusive(x_634); +if (x_658 == 0) +{ +lean_object* x_659; lean_object* x_660; lean_object* x_661; +x_659 = lean_ctor_get(x_634, 0); +lean_dec(x_659); +x_660 = lean_ctor_get(x_640, 1); +lean_inc(x_660); +lean_dec(x_640); +x_661 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_641, x_660); +lean_ctor_set(x_634, 0, x_661); +return x_634; +} +else +{ +lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; +x_662 = lean_ctor_get(x_634, 1); +lean_inc(x_662); +lean_dec(x_634); +x_663 = lean_ctor_get(x_640, 1); +lean_inc(x_663); +lean_dec(x_640); +x_664 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_641, x_663); +x_665 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_665, 0, x_664); +lean_ctor_set(x_665, 1, x_662); +return x_665; +} +} +case 3: +{ +uint8_t x_666; +x_666 = !lean_is_exclusive(x_634); +if (x_666 == 0) +{ +lean_object* x_667; lean_object* x_668; lean_object* x_669; +x_667 = lean_ctor_get(x_634, 0); +lean_dec(x_667); +x_668 = lean_ctor_get(x_640, 1); +lean_inc(x_668); +lean_dec(x_640); +x_669 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_641, x_668); +lean_ctor_set(x_634, 0, x_669); +return x_634; +} +else +{ +lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; +x_670 = lean_ctor_get(x_634, 1); +lean_inc(x_670); +lean_dec(x_634); +x_671 = lean_ctor_get(x_640, 1); +lean_inc(x_671); +lean_dec(x_640); +x_672 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_641, x_671); +x_673 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_673, 0, x_672); +lean_ctor_set(x_673, 1, x_670); +return x_673; +} +} +case 4: +{ +uint8_t x_674; +x_674 = !lean_is_exclusive(x_634); +if (x_674 == 0) +{ +lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; +x_675 = lean_ctor_get(x_634, 0); +lean_dec(x_675); +x_676 = lean_ctor_get(x_640, 1); +lean_inc(x_676); +lean_dec(x_640); +x_677 = lean_ctor_get(x_641, 0); +lean_inc(x_677); +lean_dec(x_641); +x_678 = l_Lean_mkConst(x_677, x_633); +x_679 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_678, x_676); +lean_ctor_set(x_634, 0, x_679); +return x_634; +} +else +{ +lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; +x_680 = lean_ctor_get(x_634, 1); +lean_inc(x_680); +lean_dec(x_634); +x_681 = lean_ctor_get(x_640, 1); +lean_inc(x_681); +lean_dec(x_640); +x_682 = lean_ctor_get(x_641, 0); +lean_inc(x_682); +lean_dec(x_641); +x_683 = l_Lean_mkConst(x_682, x_633); +x_684 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_683, x_681); +x_685 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_685, 0, x_684); +lean_ctor_set(x_685, 1, x_680); +return x_685; +} +} +case 5: +{ uint8_t x_686; -x_686 = !lean_is_exclusive(x_662); +x_686 = !lean_is_exclusive(x_634); if (x_686 == 0) { lean_object* x_687; lean_object* x_688; lean_object* x_689; -x_687 = lean_ctor_get(x_662, 0); +x_687 = lean_ctor_get(x_634, 0); lean_dec(x_687); -x_688 = lean_ctor_get(x_668, 1); +x_688 = lean_ctor_get(x_640, 1); lean_inc(x_688); -lean_dec(x_668); -x_689 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_669, x_688); -lean_ctor_set(x_662, 0, x_689); -return x_662; +lean_dec(x_640); +x_689 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_641, x_688); +lean_ctor_set(x_634, 0, x_689); +return x_634; } else { lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; -x_690 = lean_ctor_get(x_662, 1); +x_690 = lean_ctor_get(x_634, 1); lean_inc(x_690); -lean_dec(x_662); -x_691 = lean_ctor_get(x_668, 1); +lean_dec(x_634); +x_691 = lean_ctor_get(x_640, 1); lean_inc(x_691); -lean_dec(x_668); -x_692 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_669, x_691); +lean_dec(x_640); +x_692 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_641, x_691); x_693 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_693, 0, x_692); lean_ctor_set(x_693, 1, x_690); return x_693; } } -case 3: +case 6: { uint8_t x_694; -x_694 = !lean_is_exclusive(x_662); +x_694 = !lean_is_exclusive(x_634); if (x_694 == 0) { lean_object* x_695; lean_object* x_696; lean_object* x_697; -x_695 = lean_ctor_get(x_662, 0); +x_695 = lean_ctor_get(x_634, 0); lean_dec(x_695); -x_696 = lean_ctor_get(x_668, 1); +x_696 = lean_ctor_get(x_640, 1); lean_inc(x_696); -lean_dec(x_668); -x_697 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_669, x_696); -lean_ctor_set(x_662, 0, x_697); -return x_662; +lean_dec(x_640); +x_697 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_641, x_696); +lean_ctor_set(x_634, 0, x_697); +return x_634; } else { lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; -x_698 = lean_ctor_get(x_662, 1); +x_698 = lean_ctor_get(x_634, 1); lean_inc(x_698); -lean_dec(x_662); -x_699 = lean_ctor_get(x_668, 1); +lean_dec(x_634); +x_699 = lean_ctor_get(x_640, 1); lean_inc(x_699); -lean_dec(x_668); -x_700 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_669, x_699); +lean_dec(x_640); +x_700 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_641, x_699); x_701 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_701, 0, x_700); lean_ctor_set(x_701, 1, x_698); return x_701; } } -case 4: -{ -uint8_t x_702; -x_702 = !lean_is_exclusive(x_662); -if (x_702 == 0) -{ -lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_703 = lean_ctor_get(x_662, 0); -lean_dec(x_703); -x_704 = lean_ctor_get(x_668, 1); -lean_inc(x_704); -lean_dec(x_668); -x_705 = lean_ctor_get(x_669, 0); -lean_inc(x_705); -lean_dec(x_669); -x_706 = l_Lean_mkConst(x_705, x_661); -x_707 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_706, x_704); -lean_ctor_set(x_662, 0, x_707); -return x_662; -} -else -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; -x_708 = lean_ctor_get(x_662, 1); -lean_inc(x_708); -lean_dec(x_662); -x_709 = lean_ctor_get(x_668, 1); -lean_inc(x_709); -lean_dec(x_668); -x_710 = lean_ctor_get(x_669, 0); -lean_inc(x_710); -lean_dec(x_669); -x_711 = l_Lean_mkConst(x_710, x_661); -x_712 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_711, x_709); -x_713 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_708); -return x_713; -} -} -case 5: -{ -uint8_t x_714; -x_714 = !lean_is_exclusive(x_662); -if (x_714 == 0) -{ -lean_object* x_715; lean_object* x_716; lean_object* x_717; -x_715 = lean_ctor_get(x_662, 0); -lean_dec(x_715); -x_716 = lean_ctor_get(x_668, 1); -lean_inc(x_716); -lean_dec(x_668); -x_717 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_669, x_716); -lean_ctor_set(x_662, 0, x_717); -return x_662; -} -else -{ -lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; -x_718 = lean_ctor_get(x_662, 1); -lean_inc(x_718); -lean_dec(x_662); -x_719 = lean_ctor_get(x_668, 1); -lean_inc(x_719); -lean_dec(x_668); -x_720 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_669, x_719); -x_721 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_721, 0, x_720); -lean_ctor_set(x_721, 1, x_718); -return x_721; -} -} -case 6: -{ -uint8_t x_722; -x_722 = !lean_is_exclusive(x_662); -if (x_722 == 0) -{ -lean_object* x_723; lean_object* x_724; lean_object* x_725; -x_723 = lean_ctor_get(x_662, 0); -lean_dec(x_723); -x_724 = lean_ctor_get(x_668, 1); -lean_inc(x_724); -lean_dec(x_668); -x_725 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_669, x_724); -lean_ctor_set(x_662, 0, x_725); -return x_662; -} -else -{ -lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; -x_726 = lean_ctor_get(x_662, 1); -lean_inc(x_726); -lean_dec(x_662); -x_727 = lean_ctor_get(x_668, 1); -lean_inc(x_727); -lean_dec(x_668); -x_728 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_669, x_727); -x_729 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_729, 0, x_728); -lean_ctor_set(x_729, 1, x_726); -return x_729; -} -} case 7: { -uint8_t x_730; -x_730 = !lean_is_exclusive(x_662); -if (x_730 == 0) +uint8_t x_702; +x_702 = !lean_is_exclusive(x_634); +if (x_702 == 0) { -lean_object* x_731; lean_object* x_732; lean_object* x_733; -x_731 = lean_ctor_get(x_662, 0); -lean_dec(x_731); -x_732 = lean_ctor_get(x_668, 1); -lean_inc(x_732); -lean_dec(x_668); -x_733 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_669, x_732); -lean_ctor_set(x_662, 0, x_733); -return x_662; +lean_object* x_703; lean_object* x_704; lean_object* x_705; +x_703 = lean_ctor_get(x_634, 0); +lean_dec(x_703); +x_704 = lean_ctor_get(x_640, 1); +lean_inc(x_704); +lean_dec(x_640); +x_705 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_641, x_704); +lean_ctor_set(x_634, 0, x_705); +return x_634; } else { -lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_734 = lean_ctor_get(x_662, 1); -lean_inc(x_734); -lean_dec(x_662); -x_735 = lean_ctor_get(x_668, 1); -lean_inc(x_735); -lean_dec(x_668); -x_736 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_669, x_735); -x_737 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_734); -return x_737; +lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; +x_706 = lean_ctor_get(x_634, 1); +lean_inc(x_706); +lean_dec(x_634); +x_707 = lean_ctor_get(x_640, 1); +lean_inc(x_707); +lean_dec(x_640); +x_708 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_641, x_707); +x_709 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_709, 0, x_708); +lean_ctor_set(x_709, 1, x_706); +return x_709; } } case 8: { -uint8_t x_738; -x_738 = !lean_is_exclusive(x_662); -if (x_738 == 0) +uint8_t x_710; +x_710 = !lean_is_exclusive(x_634); +if (x_710 == 0) { -lean_object* x_739; lean_object* x_740; lean_object* x_741; -x_739 = lean_ctor_get(x_662, 0); -lean_dec(x_739); -x_740 = lean_ctor_get(x_668, 1); -lean_inc(x_740); -lean_dec(x_668); -x_741 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_669, x_740); -lean_ctor_set(x_662, 0, x_741); -return x_662; +lean_object* x_711; lean_object* x_712; lean_object* x_713; +x_711 = lean_ctor_get(x_634, 0); +lean_dec(x_711); +x_712 = lean_ctor_get(x_640, 1); +lean_inc(x_712); +lean_dec(x_640); +x_713 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_641, x_712); +lean_ctor_set(x_634, 0, x_713); +return x_634; } else { -lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; -x_742 = lean_ctor_get(x_662, 1); -lean_inc(x_742); -lean_dec(x_662); -x_743 = lean_ctor_get(x_668, 1); -lean_inc(x_743); -lean_dec(x_668); -x_744 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_669, x_743); -x_745 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_745, 0, x_744); -lean_ctor_set(x_745, 1, x_742); -return x_745; +lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_714 = lean_ctor_get(x_634, 1); +lean_inc(x_714); +lean_dec(x_634); +x_715 = lean_ctor_get(x_640, 1); +lean_inc(x_715); +lean_dec(x_640); +x_716 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_641, x_715); +x_717 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_714); +return x_717; } } case 9: { -uint8_t x_746; -x_746 = !lean_is_exclusive(x_662); -if (x_746 == 0) +uint8_t x_718; +x_718 = !lean_is_exclusive(x_634); +if (x_718 == 0) { -lean_object* x_747; lean_object* x_748; lean_object* x_749; -x_747 = lean_ctor_get(x_662, 0); -lean_dec(x_747); -x_748 = lean_ctor_get(x_668, 1); -lean_inc(x_748); -lean_dec(x_668); -x_749 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_669, x_748); -lean_ctor_set(x_662, 0, x_749); -return x_662; +lean_object* x_719; lean_object* x_720; lean_object* x_721; +x_719 = lean_ctor_get(x_634, 0); +lean_dec(x_719); +x_720 = lean_ctor_get(x_640, 1); +lean_inc(x_720); +lean_dec(x_640); +x_721 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_641, x_720); +lean_ctor_set(x_634, 0, x_721); +return x_634; } else { -lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; -x_750 = lean_ctor_get(x_662, 1); -lean_inc(x_750); -lean_dec(x_662); -x_751 = lean_ctor_get(x_668, 1); -lean_inc(x_751); -lean_dec(x_668); -x_752 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_669, x_751); -x_753 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_753, 0, x_752); -lean_ctor_set(x_753, 1, x_750); -return x_753; +lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_722 = lean_ctor_get(x_634, 1); +lean_inc(x_722); +lean_dec(x_634); +x_723 = lean_ctor_get(x_640, 1); +lean_inc(x_723); +lean_dec(x_640); +x_724 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_641, x_723); +x_725 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_722); +return x_725; } } case 10: { -uint8_t x_754; -x_754 = !lean_is_exclusive(x_662); -if (x_754 == 0) +uint8_t x_726; +x_726 = !lean_is_exclusive(x_634); +if (x_726 == 0) { -lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_755 = lean_ctor_get(x_662, 0); -lean_dec(x_755); -x_756 = lean_ctor_get(x_668, 1); -lean_inc(x_756); -lean_dec(x_668); -x_757 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_669, x_756); -lean_ctor_set(x_662, 0, x_757); -return x_662; +lean_object* x_727; lean_object* x_728; lean_object* x_729; +x_727 = lean_ctor_get(x_634, 0); +lean_dec(x_727); +x_728 = lean_ctor_get(x_640, 1); +lean_inc(x_728); +lean_dec(x_640); +x_729 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_641, x_728); +lean_ctor_set(x_634, 0, x_729); +return x_634; } else { -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; -x_758 = lean_ctor_get(x_662, 1); -lean_inc(x_758); -lean_dec(x_662); -x_759 = lean_ctor_get(x_668, 1); -lean_inc(x_759); -lean_dec(x_668); -x_760 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_669, x_759); -x_761 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_761, 0, x_760); -lean_ctor_set(x_761, 1, x_758); -return x_761; +lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; +x_730 = lean_ctor_get(x_634, 1); +lean_inc(x_730); +lean_dec(x_634); +x_731 = lean_ctor_get(x_640, 1); +lean_inc(x_731); +lean_dec(x_640); +x_732 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_641, x_731); +x_733 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_733, 0, x_732); +lean_ctor_set(x_733, 1, x_730); +return x_733; } } case 11: { -uint8_t x_762; -x_762 = !lean_is_exclusive(x_662); -if (x_762 == 0) +uint8_t x_734; +x_734 = !lean_is_exclusive(x_634); +if (x_734 == 0) { -lean_object* x_763; lean_object* x_764; lean_object* x_765; -x_763 = lean_ctor_get(x_662, 0); -lean_dec(x_763); -x_764 = lean_ctor_get(x_668, 1); -lean_inc(x_764); -lean_dec(x_668); -x_765 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_669, x_764); -lean_ctor_set(x_662, 0, x_765); -return x_662; +lean_object* x_735; lean_object* x_736; lean_object* x_737; +x_735 = lean_ctor_get(x_634, 0); +lean_dec(x_735); +x_736 = lean_ctor_get(x_640, 1); +lean_inc(x_736); +lean_dec(x_640); +x_737 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_641, x_736); +lean_ctor_set(x_634, 0, x_737); +return x_634; } else { -lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; -x_766 = lean_ctor_get(x_662, 1); -lean_inc(x_766); -lean_dec(x_662); -x_767 = lean_ctor_get(x_668, 1); -lean_inc(x_767); -lean_dec(x_668); -x_768 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_669, x_767); -x_769 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_769, 0, x_768); -lean_ctor_set(x_769, 1, x_766); -return x_769; +lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; +x_738 = lean_ctor_get(x_634, 1); +lean_inc(x_738); +lean_dec(x_634); +x_739 = lean_ctor_get(x_640, 1); +lean_inc(x_739); +lean_dec(x_640); +x_740 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_641, x_739); +x_741 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_741, 0, x_740); +lean_ctor_set(x_741, 1, x_738); +return x_741; } } default: { -uint8_t x_770; -x_770 = !lean_is_exclusive(x_662); -if (x_770 == 0) +uint8_t x_742; +x_742 = !lean_is_exclusive(x_634); +if (x_742 == 0) { -lean_object* x_771; lean_object* x_772; lean_object* x_773; -x_771 = lean_ctor_get(x_662, 0); -lean_dec(x_771); -x_772 = lean_ctor_get(x_668, 1); -lean_inc(x_772); -lean_dec(x_668); -x_773 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_669, x_772); -lean_ctor_set(x_662, 0, x_773); -return x_662; +lean_object* x_743; lean_object* x_744; lean_object* x_745; +x_743 = lean_ctor_get(x_634, 0); +lean_dec(x_743); +x_744 = lean_ctor_get(x_640, 1); +lean_inc(x_744); +lean_dec(x_640); +x_745 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_641, x_744); +lean_ctor_set(x_634, 0, x_745); +return x_634; } else { -lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; -x_774 = lean_ctor_get(x_662, 1); -lean_inc(x_774); -lean_dec(x_662); -x_775 = lean_ctor_get(x_668, 1); -lean_inc(x_775); -lean_dec(x_668); -x_776 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_669, x_775); -x_777 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_777, 0, x_776); -lean_ctor_set(x_777, 1, x_774); -return x_777; +lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; +x_746 = lean_ctor_get(x_634, 1); +lean_inc(x_746); +lean_dec(x_634); +x_747 = lean_ctor_get(x_640, 1); +lean_inc(x_747); +lean_dec(x_640); +x_748 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_641, x_747); +x_749 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_749, 0, x_748); +lean_ctor_set(x_749, 1, x_746); +return x_749; } } } @@ -16939,37 +16825,37 @@ return x_777; } else { -uint8_t x_778; +uint8_t x_750; lean_dec(x_2); -x_778 = !lean_is_exclusive(x_662); -if (x_778 == 0) +x_750 = !lean_is_exclusive(x_634); +if (x_750 == 0) { -return x_662; +return x_634; } else { -lean_object* x_779; lean_object* x_780; lean_object* x_781; -x_779 = lean_ctor_get(x_662, 0); -x_780 = lean_ctor_get(x_662, 1); -lean_inc(x_780); -lean_inc(x_779); -lean_dec(x_662); -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_779); -lean_ctor_set(x_781, 1, x_780); -return x_781; +lean_object* x_751; lean_object* x_752; lean_object* x_753; +x_751 = lean_ctor_get(x_634, 0); +x_752 = lean_ctor_get(x_634, 1); +lean_inc(x_752); +lean_inc(x_751); +lean_dec(x_634); +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_751); +lean_ctor_set(x_753, 1, x_752); +return x_753; } } } else { -lean_object* x_782; lean_object* x_783; lean_object* x_784; -lean_dec(x_658); +lean_object* x_754; lean_object* x_755; lean_object* x_756; +lean_dec(x_630); lean_dec(x_1); -x_782 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_783 = l_unreachable_x21___rarg(x_782); -x_784 = lean_apply_2(x_783, x_2, x_3); -return x_784; +x_754 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_755 = l_unreachable_x21___rarg(x_754); +x_756 = lean_apply_2(x_755, x_2, x_3); +return x_756; } } } @@ -16977,45 +16863,121 @@ return x_784; } else { -lean_object* x_785; uint8_t x_786; +lean_object* x_757; uint8_t x_758; lean_dec(x_95); -x_785 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_786 = lean_string_dec_eq(x_124, x_785); -if (x_786 == 0) +x_757 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_758 = lean_string_dec_eq(x_124, x_757); +if (x_758 == 0) { -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_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_dec(x_4); lean_ctor_set(x_116, 1, x_129); -x_787 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_787, 0, x_105); -lean_ctor_set(x_787, 1, x_118); -lean_ctor_set_usize(x_787, 2, x_120); -x_788 = l_System_FilePath_dirName___closed__1; -x_789 = l_Lean_Name_toStringWithSep___main(x_788, x_787); -x_790 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_790, 0, x_789); -x_791 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_791, 0, x_790); -x_792 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_793 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_793, 0, x_792); -lean_ctor_set(x_793, 1, x_791); -x_794 = l_Lean_Elab_Term_throwError___rarg(x_1, x_793, x_2, x_3); +x_759 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_759, 0, x_105); +lean_ctor_set(x_759, 1, x_118); +lean_ctor_set_usize(x_759, 2, x_120); +x_760 = l_System_FilePath_dirName___closed__1; +x_761 = l_Lean_Name_toStringWithSep___main(x_760, x_759); +x_762 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_762, 0, x_761); +x_763 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_763, 0, x_762); +x_764 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_765 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_763); +x_766 = l_Lean_Elab_Term_throwError___rarg(x_1, x_765, x_2, x_3); lean_dec(x_1); -return x_794; +return x_766; } else { -lean_object* x_795; uint8_t x_796; +lean_object* x_767; uint8_t x_768; lean_dec(x_124); -x_795 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_796 = lean_string_dec_eq(x_121, x_795); +x_767 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_768 = lean_string_dec_eq(x_121, x_767); +if (x_768 == 0) +{ +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_dec(x_4); +lean_ctor_set(x_116, 1, x_129); +lean_ctor_set(x_115, 1, x_757); +x_769 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_769, 0, x_105); +lean_ctor_set(x_769, 1, x_118); +lean_ctor_set_usize(x_769, 2, x_120); +x_770 = l_System_FilePath_dirName___closed__1; +x_771 = l_Lean_Name_toStringWithSep___main(x_770, x_769); +x_772 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_772, 0, x_771); +x_773 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_773, 0, x_772); +x_774 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_775 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_775, 0, x_774); +lean_ctor_set(x_775, 1, x_773); +x_776 = l_Lean_Elab_Term_throwError___rarg(x_1, x_775, x_2, x_3); +lean_dec(x_1); +return x_776; +} +else +{ +lean_object* x_777; uint8_t x_778; +lean_dec(x_121); +x_777 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_778 = lean_string_dec_eq(x_118, x_777); +if (x_778 == 0) +{ +lean_object* x_779; uint8_t x_780; +x_779 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_780 = lean_string_dec_eq(x_118, x_779); +if (x_780 == 0) +{ +lean_object* x_781; uint8_t x_782; +x_781 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_782 = lean_string_dec_eq(x_118, x_781); +if (x_782 == 0) +{ +lean_object* x_783; uint8_t x_784; +x_783 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_784 = lean_string_dec_eq(x_118, x_783); +if (x_784 == 0) +{ +lean_object* x_785; uint8_t x_786; +x_785 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_786 = lean_string_dec_eq(x_118, x_785); +if (x_786 == 0) +{ +lean_object* x_787; uint8_t x_788; +x_787 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_788 = lean_string_dec_eq(x_118, x_787); +if (x_788 == 0) +{ +lean_object* x_789; uint8_t x_790; +x_789 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_790 = lean_string_dec_eq(x_118, x_789); +if (x_790 == 0) +{ +lean_object* x_791; uint8_t x_792; +x_791 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_792 = lean_string_dec_eq(x_118, x_791); +if (x_792 == 0) +{ +lean_object* x_793; uint8_t x_794; +lean_dec(x_4); +x_793 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_794 = lean_string_dec_eq(x_118, x_793); +if (x_794 == 0) +{ +lean_object* x_795; uint8_t x_796; +x_795 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_796 = lean_string_dec_eq(x_118, x_795); if (x_796 == 0) { 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_dec(x_4); lean_ctor_set(x_116, 1, x_129); -lean_ctor_set(x_115, 1, x_785); +lean_ctor_set(x_115, 1, x_757); +lean_ctor_set(x_105, 1, x_767); x_797 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_797, 0, x_105); lean_ctor_set(x_797, 1, x_118); @@ -17036,833 +16998,644 @@ return x_804; } else { -lean_object* x_805; uint8_t x_806; -lean_dec(x_121); -x_805 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_806 = lean_string_dec_eq(x_118, x_805); -if (x_806 == 0) +lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; +lean_free_object(x_116); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_2); +x_805 = lean_unsigned_to_nat(0u); +x_806 = l_Lean_Syntax_getArg(x_1, x_805); +lean_dec(x_1); +x_807 = l_Lean_numLitKind; +x_808 = l_Lean_Syntax_isNatLitAux(x_807, x_806); +lean_dec(x_806); +if (lean_obj_tag(x_808) == 0) { -lean_object* x_807; uint8_t x_808; -x_807 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_808 = lean_string_dec_eq(x_118, x_807); -if (x_808 == 0) +lean_object* x_809; lean_object* x_810; +x_809 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_810 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_810, 0, x_809); +lean_ctor_set(x_810, 1, x_3); +return x_810; +} +else { -lean_object* x_809; uint8_t x_810; -x_809 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_810 = lean_string_dec_eq(x_118, x_809); -if (x_810 == 0) +lean_object* x_811; lean_object* x_812; lean_object* x_813; +x_811 = lean_ctor_get(x_808, 0); +lean_inc(x_811); +lean_dec(x_808); +x_812 = l_Lean_mkNatLit(x_811); +x_813 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_813, 0, x_812); +lean_ctor_set(x_813, 1, x_3); +return x_813; +} +} +} +else { -lean_object* x_811; uint8_t x_812; -x_811 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_812 = lean_string_dec_eq(x_118, x_811); -if (x_812 == 0) +lean_object* x_814; lean_object* x_815; lean_object* x_816; +lean_free_object(x_116); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_2); +x_814 = lean_unsigned_to_nat(0u); +x_815 = l_Lean_Syntax_getArg(x_1, x_814); +lean_dec(x_1); +x_816 = l_Lean_Syntax_isStrLit_x3f(x_815); +lean_dec(x_815); +if (lean_obj_tag(x_816) == 0) { -lean_object* x_813; uint8_t x_814; -x_813 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; -x_814 = lean_string_dec_eq(x_118, x_813); -if (x_814 == 0) +lean_object* x_817; lean_object* x_818; +x_817 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_818 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_818, 0, x_817); +lean_ctor_set(x_818, 1, x_3); +return x_818; +} +else { -lean_object* x_815; uint8_t x_816; -x_815 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_816 = lean_string_dec_eq(x_118, x_815); -if (x_816 == 0) +lean_object* x_819; lean_object* x_820; lean_object* x_821; +x_819 = lean_ctor_get(x_816, 0); +lean_inc(x_819); +lean_dec(x_816); +x_820 = l_Lean_mkStrLit(x_819); +x_821 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_821, 0, x_820); +lean_ctor_set(x_821, 1, x_3); +return x_821; +} +} +} +else { -lean_object* x_817; uint8_t x_818; -x_817 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_818 = lean_string_dec_eq(x_118, x_817); -if (x_818 == 0) -{ -lean_object* x_819; uint8_t x_820; -x_819 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_820 = lean_string_dec_eq(x_118, x_819); -if (x_820 == 0) -{ -lean_object* x_821; uint8_t x_822; -x_821 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_822 = lean_string_dec_eq(x_118, x_821); -if (x_822 == 0) -{ -lean_object* x_823; uint8_t x_824; +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_free_object(x_116); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_822 = l_Lean_Syntax_inhabited; +x_823 = lean_unsigned_to_nat(0u); +x_824 = lean_array_get(x_822, x_4, x_823); +x_825 = lean_unsigned_to_nat(2u); +x_826 = lean_array_get(x_822, x_4, x_825); lean_dec(x_4); -x_823 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_824 = lean_string_dec_eq(x_118, x_823); -if (x_824 == 0) -{ -lean_object* x_825; uint8_t x_826; -x_825 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_826 = lean_string_dec_eq(x_118, x_825); -if (x_826 == 0) -{ -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_ctor_set(x_116, 1, x_129); -lean_ctor_set(x_115, 1, x_785); -lean_ctor_set(x_105, 1, x_795); -x_827 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_827, 0, x_105); -lean_ctor_set(x_827, 1, x_118); -lean_ctor_set_usize(x_827, 2, x_120); -x_828 = l_System_FilePath_dirName___closed__1; -x_829 = l_Lean_Name_toStringWithSep___main(x_828, x_827); -x_830 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_830, 0, x_829); -x_831 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_831, 0, x_830); -x_832 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_833 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_833, 0, x_832); -lean_ctor_set(x_833, 1, x_831); -x_834 = l_Lean_Elab_Term_throwError___rarg(x_1, x_833, x_2, x_3); -lean_dec(x_1); -return x_834; +x_827 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_827, 0, x_117); +lean_closure_set(x_827, 1, x_824); +lean_closure_set(x_827, 2, x_826); +x_828 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_829 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_829, 0, x_828); +lean_closure_set(x_829, 1, x_827); +x_830 = l_Lean_Unhygienic_run___rarg(x_829); +x_1 = x_830; +goto _start; +} } else { -lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; +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_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); -lean_dec(x_2); -x_835 = lean_unsigned_to_nat(0u); -x_836 = l_Lean_Syntax_getArg(x_1, x_835); lean_dec(x_1); -x_837 = l_Lean_numLitKind; -x_838 = l_Lean_Syntax_isNatLitAux(x_837, x_836); -lean_dec(x_836); -if (lean_obj_tag(x_838) == 0) -{ -lean_object* x_839; lean_object* x_840; -x_839 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_840 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_840, 0, x_839); -lean_ctor_set(x_840, 1, x_3); -return x_840; -} -else -{ -lean_object* x_841; lean_object* x_842; lean_object* x_843; -x_841 = lean_ctor_get(x_838, 0); -lean_inc(x_841); -lean_dec(x_838); -x_842 = l_Lean_mkNatLit(x_841); -x_843 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_843, 0, x_842); -lean_ctor_set(x_843, 1, x_3); -return x_843; -} +x_832 = l_Lean_Syntax_inhabited; +x_833 = lean_unsigned_to_nat(0u); +x_834 = lean_array_get(x_832, x_4, x_833); +x_835 = lean_unsigned_to_nat(2u); +x_836 = lean_array_get(x_832, x_4, x_835); +lean_dec(x_4); +x_837 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_837, 0, x_117); +lean_closure_set(x_837, 1, x_834); +lean_closure_set(x_837, 2, x_836); +x_838 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_839 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_839, 0, x_838); +lean_closure_set(x_839, 1, x_837); +x_840 = l_Lean_Unhygienic_run___rarg(x_839); +x_1 = x_840; +goto _start; } } else { -lean_object* x_844; lean_object* x_845; lean_object* x_846; +lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; uint8_t x_848; lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); -lean_dec(x_2); -x_844 = lean_unsigned_to_nat(0u); -x_845 = l_Lean_Syntax_getArg(x_1, x_844); lean_dec(x_1); -x_846 = l_Lean_Syntax_isStrLit_x3f(x_845); -lean_dec(x_845); -if (lean_obj_tag(x_846) == 0) -{ -lean_object* x_847; lean_object* x_848; -x_847 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_848 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_848, 0, x_847); -lean_ctor_set(x_848, 1, x_3); -return x_848; -} -else -{ -lean_object* x_849; lean_object* x_850; lean_object* x_851; -x_849 = lean_ctor_get(x_846, 0); -lean_inc(x_849); +x_842 = l_Lean_Syntax_inhabited; +x_843 = lean_unsigned_to_nat(1u); +x_844 = lean_array_get(x_842, x_4, x_843); +lean_dec(x_4); +x_845 = l_Lean_Syntax_getArgs(x_844); +lean_dec(x_844); +x_846 = lean_array_get_size(x_845); +x_847 = lean_unsigned_to_nat(0u); +x_848 = lean_nat_dec_eq(x_846, x_847); lean_dec(x_846); -x_850 = l_Lean_mkStrLit(x_849); -x_851 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_851, 0, x_850); -lean_ctor_set(x_851, 1, x_3); -return x_851; +if (x_848 == 0) +{ +lean_object* x_849; +x_849 = lean_array_get(x_842, x_845, x_847); +lean_dec(x_845); +x_1 = x_849; +goto _start; +} +else +{ +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_dec(x_845); +lean_dec(x_2); +x_851 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_852 = lean_name_mk_string(x_117, x_851); +x_853 = l_Lean_Elab_Term_elabParen___closed__4; +x_854 = lean_name_mk_string(x_852, x_853); +x_855 = lean_box(0); +x_856 = l_Lean_mkConst(x_854, x_855); +x_857 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_857, 0, x_856); +lean_ctor_set(x_857, 1, x_3); +return x_857; } } } else { -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; lean_object* x_860; +lean_object* x_858; 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_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_852 = l_Lean_Syntax_inhabited; -x_853 = lean_unsigned_to_nat(0u); -x_854 = lean_array_get(x_852, x_4, x_853); -x_855 = lean_unsigned_to_nat(2u); -x_856 = lean_array_get(x_852, x_4, x_855); +x_858 = l_Lean_Syntax_inhabited; +x_859 = lean_unsigned_to_nat(2u); +x_860 = lean_array_get(x_858, x_4, x_859); +x_861 = lean_unsigned_to_nat(4u); +x_862 = lean_array_get(x_858, x_4, x_861); +x_863 = lean_unsigned_to_nat(6u); +x_864 = lean_array_get(x_858, x_4, x_863); lean_dec(x_4); -x_857 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_857, 0, x_117); -lean_closure_set(x_857, 1, x_854); -lean_closure_set(x_857, 2, x_856); -x_858 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_859 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_859, 0, x_858); -lean_closure_set(x_859, 1, x_857); -x_860 = l_Lean_Unhygienic_run___rarg(x_859); -x_1 = x_860; +x_865 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_865, 0, x_117); +lean_closure_set(x_865, 1, x_860); +lean_closure_set(x_865, 2, x_862); +lean_closure_set(x_865, 3, x_864); +x_866 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_867 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_867, 0, x_866); +lean_closure_set(x_867, 1, x_865); +x_868 = l_Lean_Unhygienic_run___rarg(x_867); +x_1 = x_868; goto _start; } } else { -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; +lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_862 = l_Lean_Syntax_inhabited; -x_863 = lean_unsigned_to_nat(0u); -x_864 = lean_array_get(x_862, x_4, x_863); -x_865 = lean_unsigned_to_nat(2u); -x_866 = lean_array_get(x_862, x_4, x_865); +x_870 = l_Lean_Syntax_inhabited; +x_871 = lean_unsigned_to_nat(0u); +x_872 = lean_array_get(x_870, x_4, x_871); +lean_inc(x_2); +x_873 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_872, x_2, x_3); +if (lean_obj_tag(x_873) == 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; +x_874 = lean_ctor_get(x_873, 0); +lean_inc(x_874); +x_875 = lean_ctor_get(x_873, 1); +lean_inc(x_875); +lean_dec(x_873); +x_876 = lean_unsigned_to_nat(1u); +x_877 = lean_array_get(x_870, x_4, x_876); lean_dec(x_4); -x_867 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_867, 0, x_117); -lean_closure_set(x_867, 1, x_864); -lean_closure_set(x_867, 2, x_866); -x_868 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_869 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_869, 0, x_868); -lean_closure_set(x_869, 1, x_867); -x_870 = l_Lean_Unhygienic_run___rarg(x_869); -x_1 = x_870; -goto _start; +x_878 = l_Lean_Syntax_getArgs(x_877); +lean_dec(x_877); +x_879 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_871, x_878, x_2, x_875); +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; +x_880 = lean_ctor_get(x_879, 0); +lean_inc(x_880); +x_881 = lean_ctor_get(x_879, 1); +lean_inc(x_881); +if (lean_is_exclusive(x_879)) { + lean_ctor_release(x_879, 0); + lean_ctor_release(x_879, 1); + x_882 = x_879; +} else { + lean_dec_ref(x_879); + x_882 = lean_box(0); } +x_883 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_880, x_880, x_871, x_874); +lean_dec(x_880); +if (lean_is_scalar(x_882)) { + x_884 = lean_alloc_ctor(0, 2, 0); +} else { + x_884 = x_882; +} +lean_ctor_set(x_884, 0, x_883); +lean_ctor_set(x_884, 1, x_881); +return x_884; } else { -lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; uint8_t x_878; -lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_872 = l_Lean_Syntax_inhabited; -x_873 = lean_unsigned_to_nat(1u); -x_874 = lean_array_get(x_872, x_4, x_873); -lean_dec(x_4); -x_875 = l_Lean_Syntax_getArgs(x_874); +lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_dec(x_874); -x_876 = lean_array_get_size(x_875); -x_877 = lean_unsigned_to_nat(0u); -x_878 = lean_nat_dec_eq(x_876, x_877); -lean_dec(x_876); -if (x_878 == 0) -{ -lean_object* x_879; -x_879 = lean_array_get(x_872, x_875, x_877); -lean_dec(x_875); -x_1 = x_879; -goto _start; +x_885 = lean_ctor_get(x_879, 0); +lean_inc(x_885); +x_886 = lean_ctor_get(x_879, 1); +lean_inc(x_886); +if (lean_is_exclusive(x_879)) { + lean_ctor_release(x_879, 0); + lean_ctor_release(x_879, 1); + x_887 = x_879; +} else { + lean_dec_ref(x_879); + x_887 = lean_box(0); } -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_dec(x_875); -lean_dec(x_2); -x_881 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_882 = lean_name_mk_string(x_117, x_881); -x_883 = l_Lean_Elab_Term_elabParen___closed__4; -x_884 = lean_name_mk_string(x_882, x_883); -x_885 = lean_box(0); -x_886 = l_Lean_mkConst(x_884, x_885); -x_887 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_887, 0, x_886); -lean_ctor_set(x_887, 1, x_3); -return x_887; +if (lean_is_scalar(x_887)) { + x_888 = lean_alloc_ctor(1, 2, 0); +} else { + x_888 = x_887; } +lean_ctor_set(x_888, 0, x_885); +lean_ctor_set(x_888, 1, x_886); +return x_888; } } else { -lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; 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; -lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_888 = l_Lean_Syntax_inhabited; -x_889 = lean_unsigned_to_nat(2u); -x_890 = lean_array_get(x_888, x_4, x_889); -x_891 = lean_unsigned_to_nat(4u); -x_892 = lean_array_get(x_888, x_4, x_891); -x_893 = lean_unsigned_to_nat(6u); -x_894 = lean_array_get(x_888, x_4, x_893); +lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_dec(x_4); -x_895 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_895, 0, x_117); -lean_closure_set(x_895, 1, x_890); -lean_closure_set(x_895, 2, x_892); -lean_closure_set(x_895, 3, x_894); -x_896 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_897 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_897, 0, x_896); -lean_closure_set(x_897, 1, x_895); -x_898 = l_Lean_Unhygienic_run___rarg(x_897); -x_1 = x_898; -goto _start; +lean_dec(x_2); +x_889 = lean_ctor_get(x_873, 0); +lean_inc(x_889); +x_890 = lean_ctor_get(x_873, 1); +lean_inc(x_890); +if (lean_is_exclusive(x_873)) { + lean_ctor_release(x_873, 0); + lean_ctor_release(x_873, 1); + x_891 = x_873; +} else { + lean_dec_ref(x_873); + x_891 = lean_box(0); +} +if (lean_is_scalar(x_891)) { + x_892 = lean_alloc_ctor(1, 2, 0); +} else { + x_892 = x_891; +} +lean_ctor_set(x_892, 0, x_889); +lean_ctor_set(x_892, 1, x_890); +return x_892; +} } } else { -lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; +lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_900 = l_Lean_Syntax_inhabited; -x_901 = lean_unsigned_to_nat(1u); -x_902 = lean_array_get(x_900, x_4, x_901); -lean_inc(x_2); -x_903 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_902, x_2, x_3); -if (lean_obj_tag(x_903) == 0) +x_893 = l_Lean_Syntax_inhabited; +x_894 = lean_unsigned_to_nat(1u); +x_895 = lean_array_get(x_893, x_4, x_894); +lean_inc(x_895); +x_896 = l_Lean_Syntax_getKind(x_895); +if (lean_obj_tag(x_896) == 1) { -lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; -x_904 = lean_ctor_get(x_903, 0); +lean_object* x_897; +x_897 = lean_ctor_get(x_896, 0); +lean_inc(x_897); +if (lean_obj_tag(x_897) == 1) +{ +lean_object* x_898; +x_898 = lean_ctor_get(x_897, 0); +lean_inc(x_898); +if (lean_obj_tag(x_898) == 1) +{ +lean_object* x_899; +x_899 = lean_ctor_get(x_898, 0); +lean_inc(x_899); +if (lean_obj_tag(x_899) == 1) +{ +lean_object* x_900; +x_900 = lean_ctor_get(x_899, 0); +lean_inc(x_900); +if (lean_obj_tag(x_900) == 0) +{ +lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; uint8_t x_905; +x_901 = lean_ctor_get(x_896, 1); +lean_inc(x_901); +lean_dec(x_896); +x_902 = lean_ctor_get(x_897, 1); +lean_inc(x_902); +lean_dec(x_897); +x_903 = lean_ctor_get(x_898, 1); +lean_inc(x_903); +lean_dec(x_898); +x_904 = lean_ctor_get(x_899, 1); lean_inc(x_904); -x_905 = lean_ctor_get(x_903, 1); -lean_inc(x_905); -lean_dec(x_903); -x_906 = lean_unsigned_to_nat(2u); -x_907 = lean_array_get(x_900, x_4, x_906); -lean_dec(x_4); -x_908 = l_Lean_Syntax_getArgs(x_907); -lean_dec(x_907); -x_909 = lean_unsigned_to_nat(0u); -x_910 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_909, x_908, x_2, x_905); -if (lean_obj_tag(x_910) == 0) -{ -lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; -x_911 = lean_ctor_get(x_910, 0); -lean_inc(x_911); -x_912 = lean_ctor_get(x_910, 1); -lean_inc(x_912); -if (lean_is_exclusive(x_910)) { - lean_ctor_release(x_910, 0); - lean_ctor_release(x_910, 1); - x_913 = x_910; -} else { - lean_dec_ref(x_910); - x_913 = lean_box(0); -} -x_914 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_911, x_911, x_909, x_904); -lean_dec(x_911); -if (lean_is_scalar(x_913)) { - x_915 = lean_alloc_ctor(0, 2, 0); -} else { - x_915 = x_913; -} -lean_ctor_set(x_915, 0, x_914); -lean_ctor_set(x_915, 1, x_912); -return x_915; -} -else -{ -lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; +lean_dec(x_899); +x_905 = lean_string_dec_eq(x_904, x_129); lean_dec(x_904); -x_916 = lean_ctor_get(x_910, 0); -lean_inc(x_916); -x_917 = lean_ctor_get(x_910, 1); -lean_inc(x_917); -if (lean_is_exclusive(x_910)) { - lean_ctor_release(x_910, 0); - lean_ctor_release(x_910, 1); - x_918 = x_910; -} else { - lean_dec_ref(x_910); - x_918 = lean_box(0); +if (x_905 == 0) +{ +lean_object* x_906; lean_object* x_907; +lean_dec(x_903); +lean_dec(x_902); +lean_dec(x_901); +lean_dec(x_895); +x_906 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_907 = l_unreachable_x21___rarg(x_906); +x_5 = x_907; +goto block_94; } -if (lean_is_scalar(x_918)) { - x_919 = lean_alloc_ctor(1, 2, 0); -} else { - x_919 = x_918; +else +{ +uint8_t x_908; +x_908 = lean_string_dec_eq(x_903, x_757); +lean_dec(x_903); +if (x_908 == 0) +{ +lean_object* x_909; lean_object* x_910; +lean_dec(x_902); +lean_dec(x_901); +lean_dec(x_895); +x_909 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_910 = l_unreachable_x21___rarg(x_909); +x_5 = x_910; +goto block_94; } -lean_ctor_set(x_919, 0, x_916); -lean_ctor_set(x_919, 1, x_917); -return x_919; +else +{ +uint8_t x_911; +x_911 = lean_string_dec_eq(x_902, x_767); +lean_dec(x_902); +if (x_911 == 0) +{ +lean_object* x_912; lean_object* x_913; +lean_dec(x_901); +lean_dec(x_895); +x_912 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_913 = l_unreachable_x21___rarg(x_912); +x_5 = x_913; +goto block_94; +} +else +{ +lean_object* x_914; uint8_t x_915; +x_914 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_915 = lean_string_dec_eq(x_901, x_914); +if (x_915 == 0) +{ +lean_object* x_916; uint8_t x_917; +x_916 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_917 = lean_string_dec_eq(x_901, x_916); +lean_dec(x_901); +if (x_917 == 0) +{ +lean_object* x_918; lean_object* x_919; +lean_dec(x_895); +x_918 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_919 = l_unreachable_x21___rarg(x_918); +x_5 = x_919; +goto block_94; +} +else +{ +lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; +x_920 = lean_unsigned_to_nat(0u); +x_921 = l_Lean_Syntax_getArg(x_895, x_920); +x_922 = l_Lean_Syntax_getIdAt(x_921, x_920); +lean_dec(x_921); +x_923 = lean_unsigned_to_nat(3u); +x_924 = l_Lean_Syntax_getArg(x_895, x_923); +lean_dec(x_895); +x_925 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_925, 0, x_922); +lean_ctor_set(x_925, 1, x_924); +x_5 = x_925; +goto block_94; } } else { -lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; -lean_dec(x_4); -lean_dec(x_2); -x_920 = lean_ctor_get(x_903, 0); -lean_inc(x_920); -x_921 = lean_ctor_get(x_903, 1); -lean_inc(x_921); -if (lean_is_exclusive(x_903)) { - lean_ctor_release(x_903, 0); - lean_ctor_release(x_903, 1); - x_922 = x_903; -} else { - lean_dec_ref(x_903); - x_922 = lean_box(0); +lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; +lean_dec(x_901); +x_926 = lean_unsigned_to_nat(0u); +x_927 = l_Lean_Syntax_getIdAt(x_895, x_926); +x_928 = lean_unsigned_to_nat(4u); +x_929 = l_Lean_Syntax_getArg(x_895, x_928); +lean_dec(x_895); +x_930 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_930, 0, x_927); +lean_ctor_set(x_930, 1, x_929); +x_5 = x_930; +goto block_94; } -if (lean_is_scalar(x_922)) { - x_923 = lean_alloc_ctor(1, 2, 0); -} else { - x_923 = x_922; } -lean_ctor_set(x_923, 0, x_920); -lean_ctor_set(x_923, 1, x_921); -return x_923; } } } else { -lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; +lean_object* x_931; lean_object* x_932; +lean_dec(x_900); +lean_dec(x_899); +lean_dec(x_898); +lean_dec(x_897); +lean_dec(x_896); +lean_dec(x_895); +x_931 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_932 = l_unreachable_x21___rarg(x_931); +x_5 = x_932; +goto block_94; +} +} +else +{ +lean_object* x_933; lean_object* x_934; +lean_dec(x_899); +lean_dec(x_898); +lean_dec(x_897); +lean_dec(x_896); +lean_dec(x_895); +x_933 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_934 = l_unreachable_x21___rarg(x_933); +x_5 = x_934; +goto block_94; +} +} +else +{ +lean_object* x_935; lean_object* x_936; +lean_dec(x_898); +lean_dec(x_897); +lean_dec(x_896); +lean_dec(x_895); +x_935 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_936 = l_unreachable_x21___rarg(x_935); +x_5 = x_936; +goto block_94; +} +} +else +{ +lean_object* x_937; lean_object* x_938; +lean_dec(x_897); +lean_dec(x_896); +lean_dec(x_895); +x_937 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_938 = l_unreachable_x21___rarg(x_937); +x_5 = x_938; +goto block_94; +} +} +else +{ +lean_object* x_939; lean_object* x_940; +lean_dec(x_896); +lean_dec(x_895); +x_939 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_940 = l_unreachable_x21___rarg(x_939); +x_5 = x_940; +goto block_94; +} +} +} +else +{ +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; lean_object* x_948; uint8_t x_949; lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_924 = l_Lean_Syntax_inhabited; -x_925 = lean_unsigned_to_nat(0u); -x_926 = lean_array_get(x_924, x_4, x_925); -lean_inc(x_2); -x_927 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_926, x_2, x_3); -if (lean_obj_tag(x_927) == 0) -{ -lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_928 = lean_ctor_get(x_927, 0); -lean_inc(x_928); -x_929 = lean_ctor_get(x_927, 1); -lean_inc(x_929); -lean_dec(x_927); -x_930 = lean_unsigned_to_nat(1u); -x_931 = lean_array_get(x_924, x_4, x_930); +x_941 = l_Lean_Syntax_inhabited; +x_942 = lean_unsigned_to_nat(1u); +x_943 = lean_array_get(x_941, x_4, x_942); +x_944 = l_Lean_Syntax_getArgs(x_943); +lean_dec(x_943); +x_945 = lean_unsigned_to_nat(3u); +x_946 = lean_array_get(x_941, x_4, x_945); lean_dec(x_4); -x_932 = l_Lean_Syntax_getArgs(x_931); -lean_dec(x_931); -x_933 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_925, x_932, x_2, x_929); -if (lean_obj_tag(x_933) == 0) +x_947 = lean_array_get_size(x_944); +x_948 = lean_unsigned_to_nat(0u); +x_949 = lean_nat_dec_eq(x_947, x_948); +lean_dec(x_947); +if (x_949 == 0) { -lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; -x_934 = lean_ctor_get(x_933, 0); -lean_inc(x_934); -x_935 = lean_ctor_get(x_933, 1); -lean_inc(x_935); -if (lean_is_exclusive(x_933)) { - lean_ctor_release(x_933, 0); - lean_ctor_release(x_933, 1); - x_936 = x_933; -} else { - lean_dec_ref(x_933); - x_936 = lean_box(0); -} -x_937 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_934, x_934, x_925, x_928); -lean_dec(x_934); -if (lean_is_scalar(x_936)) { - x_938 = lean_alloc_ctor(0, 2, 0); -} else { - x_938 = x_936; -} -lean_ctor_set(x_938, 0, x_937); -lean_ctor_set(x_938, 1, x_935); -return x_938; -} -else -{ -lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; -lean_dec(x_928); -x_939 = lean_ctor_get(x_933, 0); -lean_inc(x_939); -x_940 = lean_ctor_get(x_933, 1); -lean_inc(x_940); -if (lean_is_exclusive(x_933)) { - lean_ctor_release(x_933, 0); - lean_ctor_release(x_933, 1); - x_941 = x_933; -} else { - lean_dec_ref(x_933); - x_941 = lean_box(0); -} -if (lean_is_scalar(x_941)) { - x_942 = lean_alloc_ctor(1, 2, 0); -} else { - x_942 = x_941; -} -lean_ctor_set(x_942, 0, x_939); -lean_ctor_set(x_942, 1, x_940); -return x_942; -} -} -else -{ -lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; -lean_dec(x_4); -lean_dec(x_2); -x_943 = lean_ctor_get(x_927, 0); -lean_inc(x_943); -x_944 = lean_ctor_get(x_927, 1); -lean_inc(x_944); -if (lean_is_exclusive(x_927)) { - lean_ctor_release(x_927, 0); - lean_ctor_release(x_927, 1); - x_945 = x_927; -} else { - lean_dec_ref(x_927); - x_945 = lean_box(0); -} -if (lean_is_scalar(x_945)) { - x_946 = lean_alloc_ctor(1, 2, 0); -} else { - x_946 = x_945; -} -lean_ctor_set(x_946, 0, x_943); -lean_ctor_set(x_946, 1, x_944); -return x_946; -} -} -} -else -{ -lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; -lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_947 = l_Lean_Syntax_inhabited; -x_948 = lean_unsigned_to_nat(1u); -x_949 = lean_array_get(x_947, x_4, x_948); -lean_inc(x_949); -x_950 = l_Lean_Syntax_getKind(x_949); -if (lean_obj_tag(x_950) == 1) -{ -lean_object* x_951; -x_951 = lean_ctor_get(x_950, 0); -lean_inc(x_951); -if (lean_obj_tag(x_951) == 1) -{ -lean_object* x_952; -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -if (lean_obj_tag(x_952) == 1) -{ -lean_object* x_953; -x_953 = lean_ctor_get(x_952, 0); +lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; uint8_t x_955; +x_950 = lean_array_get(x_941, x_944, x_948); +x_951 = lean_name_mk_string(x_117, x_129); +x_952 = lean_name_mk_string(x_951, x_757); +x_953 = lean_name_mk_string(x_952, x_767); lean_inc(x_953); -if (lean_obj_tag(x_953) == 1) -{ -lean_object* x_954; -x_954 = lean_ctor_get(x_953, 0); -lean_inc(x_954); -if (lean_obj_tag(x_954) == 0) -{ -lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; uint8_t x_959; -x_955 = lean_ctor_get(x_950, 1); -lean_inc(x_955); -lean_dec(x_950); -x_956 = lean_ctor_get(x_951, 1); -lean_inc(x_956); -lean_dec(x_951); -x_957 = lean_ctor_get(x_952, 1); -lean_inc(x_957); -lean_dec(x_952); -x_958 = lean_ctor_get(x_953, 1); -lean_inc(x_958); -lean_dec(x_953); -x_959 = lean_string_dec_eq(x_958, x_129); -lean_dec(x_958); -if (x_959 == 0) -{ -lean_object* x_960; lean_object* x_961; -lean_dec(x_957); -lean_dec(x_956); -lean_dec(x_955); -lean_dec(x_949); -x_960 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_961 = l_unreachable_x21___rarg(x_960); -x_5 = x_961; -goto block_94; -} -else -{ -uint8_t x_962; -x_962 = lean_string_dec_eq(x_957, x_785); -lean_dec(x_957); -if (x_962 == 0) -{ -lean_object* x_963; lean_object* x_964; -lean_dec(x_956); -lean_dec(x_955); -lean_dec(x_949); -x_963 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_964 = l_unreachable_x21___rarg(x_963); -x_5 = x_964; -goto block_94; -} -else -{ -uint8_t x_965; -x_965 = lean_string_dec_eq(x_956, x_795); -lean_dec(x_956); -if (x_965 == 0) -{ -lean_object* x_966; lean_object* x_967; -lean_dec(x_955); -lean_dec(x_949); -x_966 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_967 = l_unreachable_x21___rarg(x_966); -x_5 = x_967; -goto block_94; -} -else -{ -lean_object* x_968; uint8_t x_969; -x_968 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_969 = lean_string_dec_eq(x_955, x_968); -if (x_969 == 0) -{ -lean_object* x_970; uint8_t x_971; -x_970 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_971 = lean_string_dec_eq(x_955, x_970); -lean_dec(x_955); -if (x_971 == 0) -{ -lean_object* x_972; lean_object* x_973; -lean_dec(x_949); -x_972 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_973 = l_unreachable_x21___rarg(x_972); -x_5 = x_973; -goto block_94; -} -else -{ -lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; -x_974 = lean_unsigned_to_nat(0u); -x_975 = l_Lean_Syntax_getArg(x_949, x_974); -x_976 = l_Lean_Syntax_getIdAt(x_975, x_974); -lean_dec(x_975); -x_977 = lean_unsigned_to_nat(3u); -x_978 = l_Lean_Syntax_getArg(x_949, x_977); -lean_dec(x_949); -x_979 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_979, 0, x_976); -lean_ctor_set(x_979, 1, x_978); -x_5 = x_979; -goto block_94; -} -} -else -{ -lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; -lean_dec(x_955); -x_980 = lean_unsigned_to_nat(0u); -x_981 = l_Lean_Syntax_getIdAt(x_949, x_980); -x_982 = lean_unsigned_to_nat(4u); -x_983 = l_Lean_Syntax_getArg(x_949, x_982); -lean_dec(x_949); -x_984 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_984, 0, x_981); -lean_ctor_set(x_984, 1, x_983); -x_5 = x_984; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_985; lean_object* x_986; +x_954 = lean_name_mk_string(x_953, x_777); +lean_inc(x_950); +x_955 = l_Lean_Syntax_isOfKind(x_950, x_954); lean_dec(x_954); -lean_dec(x_953); -lean_dec(x_952); -lean_dec(x_951); +if (x_955 == 0) +{ +lean_object* x_956; lean_object* x_957; uint8_t x_958; +x_956 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_953); +x_957 = lean_name_mk_string(x_953, x_956); +lean_inc(x_950); +x_958 = l_Lean_Syntax_isOfKind(x_950, x_957); +lean_dec(x_957); +if (x_958 == 0) +{ +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; +x_959 = l_Lean_Syntax_getArg(x_950, x_942); lean_dec(x_950); -lean_dec(x_949); -x_985 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_986 = l_unreachable_x21___rarg(x_985); -x_5 = x_986; -goto block_94; -} -} -else -{ -lean_object* x_987; lean_object* x_988; -lean_dec(x_953); -lean_dec(x_952); -lean_dec(x_951); -lean_dec(x_950); -lean_dec(x_949); -x_987 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_988 = l_unreachable_x21___rarg(x_987); -x_5 = x_988; -goto block_94; -} -} -else -{ -lean_object* x_989; lean_object* x_990; -lean_dec(x_952); -lean_dec(x_951); -lean_dec(x_950); -lean_dec(x_949); -x_989 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_990 = l_unreachable_x21___rarg(x_989); -x_5 = x_990; -goto block_94; -} -} -else -{ -lean_object* x_991; lean_object* x_992; -lean_dec(x_951); -lean_dec(x_950); -lean_dec(x_949); -x_991 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_992 = l_unreachable_x21___rarg(x_991); -x_5 = x_992; -goto block_94; -} -} -else -{ -lean_object* x_993; lean_object* x_994; -lean_dec(x_950); -lean_dec(x_949); -x_993 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_994 = l_unreachable_x21___rarg(x_993); -x_5 = x_994; -goto block_94; -} -} -} -else -{ -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; uint8_t x_1003; -lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_995 = l_Lean_Syntax_inhabited; -x_996 = lean_unsigned_to_nat(1u); -x_997 = lean_array_get(x_995, x_4, x_996); -x_998 = l_Lean_Syntax_getArgs(x_997); -lean_dec(x_997); -x_999 = lean_unsigned_to_nat(3u); -x_1000 = lean_array_get(x_995, x_4, x_999); -lean_dec(x_4); -x_1001 = lean_array_get_size(x_998); -x_1002 = lean_unsigned_to_nat(0u); -x_1003 = lean_nat_dec_eq(x_1001, x_1002); -lean_dec(x_1001); -if (x_1003 == 0) -{ -lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; uint8_t x_1009; -x_1004 = lean_array_get(x_995, x_998, x_1002); -x_1005 = lean_name_mk_string(x_117, x_129); -x_1006 = lean_name_mk_string(x_1005, x_785); -x_1007 = lean_name_mk_string(x_1006, x_795); -lean_inc(x_1007); -x_1008 = lean_name_mk_string(x_1007, x_805); -lean_inc(x_1004); -x_1009 = l_Lean_Syntax_isOfKind(x_1004, x_1008); -lean_dec(x_1008); -if (x_1009 == 0) -{ -lean_object* x_1010; lean_object* x_1011; uint8_t x_1012; -x_1010 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_1007); -x_1011 = lean_name_mk_string(x_1007, x_1010); -lean_inc(x_1004); -x_1012 = l_Lean_Syntax_isOfKind(x_1004, x_1011); -lean_dec(x_1011); -if (x_1012 == 0) -{ -lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; -x_1013 = l_Lean_Syntax_getArg(x_1004, x_996); -lean_dec(x_1004); -x_1014 = l_Lean_Syntax_getArg(x_1013, x_1002); -x_1015 = l_Lean_Syntax_getIdAt(x_1014, x_1002); -lean_dec(x_1014); -x_1016 = l_Lean_Syntax_getArg(x_1013, x_996); -lean_dec(x_1013); -x_1017 = l_Lean_Syntax_getArg(x_1016, x_1002); -lean_dec(x_1016); -x_1018 = l_Lean_Syntax_getArg(x_1017, x_996); -lean_dec(x_1017); +x_960 = l_Lean_Syntax_getArg(x_959, x_948); +x_961 = l_Lean_Syntax_getIdAt(x_960, x_948); +lean_dec(x_960); +x_962 = l_Lean_Syntax_getArg(x_959, x_942); +lean_dec(x_959); +x_963 = l_Lean_Syntax_getArg(x_962, x_948); +lean_dec(x_962); +x_964 = l_Lean_Syntax_getArg(x_963, x_942); +lean_dec(x_963); lean_inc(x_2); -x_1019 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1018, x_2, x_3); -if (lean_obj_tag(x_1019) == 0) +x_965 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_964, x_2, x_3); +if (lean_obj_tag(x_965) == 0) { -lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; uint8_t x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; 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; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; uint8_t 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_1020 = lean_ctor_get(x_1019, 0); -lean_inc(x_1020); -x_1021 = lean_ctor_get(x_1019, 1); -lean_inc(x_1021); -lean_dec(x_1019); -x_1022 = l_Lean_Elab_Term_getLCtx(x_2, x_1021); -x_1023 = lean_ctor_get(x_1022, 0); -lean_inc(x_1023); -x_1024 = lean_ctor_get(x_1022, 1); -lean_inc(x_1024); -lean_dec(x_1022); -x_1025 = 0; -lean_inc_n(x_1015, 2); -x_1026 = lean_local_ctx_mk_local_decl(x_1023, x_1015, x_1015, x_1020, x_1025); -x_1027 = l_Array_eraseIdx___rarg(x_998, x_1002); -x_1028 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1024); -x_1029 = lean_ctor_get(x_1028, 1); -lean_inc(x_1029); -lean_dec(x_1028); -x_1030 = lean_name_mk_string(x_1007, x_807); -x_1031 = l_Lean_nullKind___closed__1; -x_1032 = lean_name_mk_string(x_117, x_1031); -x_1033 = l_Array_empty___closed__1; -x_1034 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1027, x_1027, x_1002, x_1033); -lean_dec(x_1027); -x_1035 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1035, 0, x_1032); -lean_ctor_set(x_1035, 1, x_1034); -x_1036 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1037 = lean_array_push(x_1036, x_1035); -x_1038 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1039 = lean_array_push(x_1037, x_1038); -x_1040 = lean_array_push(x_1039, x_1000); -x_1041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1041, 0, x_1030); -lean_ctor_set(x_1041, 1, x_1040); -x_1042 = lean_ctor_get(x_2, 0); -lean_inc(x_1042); -x_1043 = lean_ctor_get(x_2, 1); -lean_inc(x_1043); -x_1044 = lean_ctor_get(x_2, 2); -lean_inc(x_1044); -x_1045 = lean_ctor_get(x_2, 3); -lean_inc(x_1045); -x_1046 = lean_ctor_get(x_2, 4); -lean_inc(x_1046); -x_1047 = lean_ctor_get(x_2, 5); -lean_inc(x_1047); -x_1048 = lean_ctor_get(x_2, 6); -lean_inc(x_1048); -x_1049 = lean_ctor_get(x_2, 7); -lean_inc(x_1049); -x_1050 = lean_ctor_get(x_2, 8); -lean_inc(x_1050); -x_1051 = lean_ctor_get(x_2, 9); -lean_inc(x_1051); -x_1052 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; uint8_t 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; uint8_t 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; +x_966 = lean_ctor_get(x_965, 0); +lean_inc(x_966); +x_967 = lean_ctor_get(x_965, 1); +lean_inc(x_967); +lean_dec(x_965); +x_968 = l_Lean_Elab_Term_getLCtx(x_2, x_967); +x_969 = lean_ctor_get(x_968, 0); +lean_inc(x_969); +x_970 = lean_ctor_get(x_968, 1); +lean_inc(x_970); +lean_dec(x_968); +x_971 = 0; +lean_inc_n(x_961, 2); +x_972 = lean_local_ctx_mk_local_decl(x_969, x_961, x_961, x_966, x_971); +x_973 = l_Array_eraseIdx___rarg(x_944, x_948); +x_974 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_970); +x_975 = lean_ctor_get(x_974, 1); +lean_inc(x_975); +lean_dec(x_974); +x_976 = lean_name_mk_string(x_953, x_779); +x_977 = l_Lean_nullKind___closed__1; +x_978 = lean_name_mk_string(x_117, x_977); +x_979 = l_Array_empty___closed__1; +x_980 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_973, x_973, x_948, x_979); +lean_dec(x_973); +x_981 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_981, 0, x_978); +lean_ctor_set(x_981, 1, x_980); +x_982 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_983 = lean_array_push(x_982, x_981); +x_984 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_985 = lean_array_push(x_983, x_984); +x_986 = lean_array_push(x_985, x_946); +x_987 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_987, 0, x_976); +lean_ctor_set(x_987, 1, x_986); +x_988 = lean_ctor_get(x_2, 0); +lean_inc(x_988); +x_989 = lean_ctor_get(x_2, 1); +lean_inc(x_989); +x_990 = lean_ctor_get(x_2, 2); +lean_inc(x_990); +x_991 = lean_ctor_get(x_2, 3); +lean_inc(x_991); +x_992 = lean_ctor_get(x_2, 4); +lean_inc(x_992); +x_993 = lean_ctor_get(x_2, 5); +lean_inc(x_993); +x_994 = lean_ctor_get(x_2, 6); +lean_inc(x_994); +x_995 = lean_ctor_get(x_2, 7); +lean_inc(x_995); +x_996 = lean_ctor_get(x_2, 8); +lean_inc(x_996); +x_997 = lean_ctor_get(x_2, 9); +lean_inc(x_997); +x_998 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -17874,151 +17647,330 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1053 = x_2; + x_999 = x_2; } else { lean_dec_ref(x_2); - x_1053 = lean_box(0); + x_999 = lean_box(0); } -x_1054 = lean_ctor_get(x_1042, 0); -lean_inc(x_1054); -x_1055 = lean_ctor_get(x_1042, 2); -lean_inc(x_1055); -x_1056 = lean_ctor_get(x_1042, 3); -lean_inc(x_1056); -x_1057 = lean_ctor_get(x_1042, 4); -lean_inc(x_1057); -if (lean_is_exclusive(x_1042)) { - lean_ctor_release(x_1042, 0); - lean_ctor_release(x_1042, 1); - lean_ctor_release(x_1042, 2); - lean_ctor_release(x_1042, 3); - lean_ctor_release(x_1042, 4); - x_1058 = x_1042; +x_1000 = lean_ctor_get(x_988, 0); +lean_inc(x_1000); +x_1001 = lean_ctor_get(x_988, 2); +lean_inc(x_1001); +x_1002 = lean_ctor_get(x_988, 3); +lean_inc(x_1002); +x_1003 = lean_ctor_get(x_988, 4); +lean_inc(x_1003); +if (lean_is_exclusive(x_988)) { + lean_ctor_release(x_988, 0); + lean_ctor_release(x_988, 1); + lean_ctor_release(x_988, 2); + lean_ctor_release(x_988, 3); + lean_ctor_release(x_988, 4); + x_1004 = x_988; } else { - lean_dec_ref(x_1042); + lean_dec_ref(x_988); + x_1004 = lean_box(0); +} +lean_inc(x_972); +if (lean_is_scalar(x_1004)) { + x_1005 = lean_alloc_ctor(0, 5, 0); +} else { + x_1005 = x_1004; +} +lean_ctor_set(x_1005, 0, x_1000); +lean_ctor_set(x_1005, 1, x_972); +lean_ctor_set(x_1005, 2, x_1001); +lean_ctor_set(x_1005, 3, x_1002); +lean_ctor_set(x_1005, 4, x_1003); +if (lean_is_scalar(x_999)) { + x_1006 = lean_alloc_ctor(0, 10, 1); +} else { + x_1006 = x_999; +} +lean_ctor_set(x_1006, 0, x_1005); +lean_ctor_set(x_1006, 1, x_989); +lean_ctor_set(x_1006, 2, x_990); +lean_ctor_set(x_1006, 3, x_991); +lean_ctor_set(x_1006, 4, x_992); +lean_ctor_set(x_1006, 5, x_993); +lean_ctor_set(x_1006, 6, x_994); +lean_ctor_set(x_1006, 7, x_995); +lean_ctor_set(x_1006, 8, x_996); +lean_ctor_set(x_1006, 9, x_997); +lean_ctor_set_uint8(x_1006, sizeof(void*)*10, x_998); +x_1007 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_987, x_1006, x_975); +if (lean_obj_tag(x_1007) == 0) +{ +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; +x_1008 = lean_ctor_get(x_1007, 0); +lean_inc(x_1008); +x_1009 = lean_ctor_get(x_1007, 1); +lean_inc(x_1009); +if (lean_is_exclusive(x_1007)) { + lean_ctor_release(x_1007, 0); + lean_ctor_release(x_1007, 1); + x_1010 = x_1007; +} else { + lean_dec_ref(x_1007); + x_1010 = lean_box(0); +} +x_1011 = l_Lean_mkFVar(x_961); +x_1012 = l_Lean_FileMap_ofString___closed__1; +x_1013 = lean_array_push(x_1012, x_1011); +x_1014 = l_Lean_LocalContext_mkLambda(x_972, x_1013, x_1008); +lean_dec(x_1008); +lean_dec(x_1013); +if (lean_is_scalar(x_1010)) { + x_1015 = lean_alloc_ctor(0, 2, 0); +} else { + x_1015 = x_1010; +} +lean_ctor_set(x_1015, 0, x_1014); +lean_ctor_set(x_1015, 1, x_1009); +return x_1015; +} +else +{ +lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; +lean_dec(x_972); +lean_dec(x_961); +x_1016 = lean_ctor_get(x_1007, 0); +lean_inc(x_1016); +x_1017 = lean_ctor_get(x_1007, 1); +lean_inc(x_1017); +if (lean_is_exclusive(x_1007)) { + lean_ctor_release(x_1007, 0); + lean_ctor_release(x_1007, 1); + x_1018 = x_1007; +} else { + lean_dec_ref(x_1007); + x_1018 = lean_box(0); +} +if (lean_is_scalar(x_1018)) { + x_1019 = lean_alloc_ctor(1, 2, 0); +} else { + x_1019 = x_1018; +} +lean_ctor_set(x_1019, 0, x_1016); +lean_ctor_set(x_1019, 1, x_1017); +return x_1019; +} +} +else +{ +lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; +lean_dec(x_961); +lean_dec(x_953); +lean_dec(x_946); +lean_dec(x_944); +lean_dec(x_2); +x_1020 = lean_ctor_get(x_965, 0); +lean_inc(x_1020); +x_1021 = lean_ctor_get(x_965, 1); +lean_inc(x_1021); +if (lean_is_exclusive(x_965)) { + lean_ctor_release(x_965, 0); + lean_ctor_release(x_965, 1); + x_1022 = x_965; +} else { + lean_dec_ref(x_965); + x_1022 = lean_box(0); +} +if (lean_is_scalar(x_1022)) { + x_1023 = lean_alloc_ctor(1, 2, 0); +} else { + x_1023 = x_1022; +} +lean_ctor_set(x_1023, 0, x_1020); +lean_ctor_set(x_1023, 1, x_1021); +return x_1023; +} +} +else +{ +lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; uint8_t x_1030; 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; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; uint8_t x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; +lean_dec(x_950); +x_1024 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1025 = lean_name_mk_string(x_117, x_1024); +x_1026 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1027 = lean_ctor_get(x_1026, 0); +lean_inc(x_1027); +x_1028 = lean_ctor_get(x_1026, 1); +lean_inc(x_1028); +lean_dec(x_1026); +x_1029 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1030 = 0; +lean_inc_n(x_1025, 2); +x_1031 = lean_local_ctx_mk_local_decl(x_1027, x_1025, x_1025, x_1029, x_1030); +x_1032 = l_Array_eraseIdx___rarg(x_944, x_948); +x_1033 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1028); +x_1034 = lean_ctor_get(x_1033, 1); +lean_inc(x_1034); +lean_dec(x_1033); +x_1035 = lean_name_mk_string(x_953, x_779); +x_1036 = l_Lean_nullKind___closed__1; +x_1037 = lean_name_mk_string(x_117, x_1036); +x_1038 = l_Array_empty___closed__1; +x_1039 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1032, x_1032, x_948, x_1038); +lean_dec(x_1032); +x_1040 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1040, 0, x_1037); +lean_ctor_set(x_1040, 1, x_1039); +x_1041 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1042 = lean_array_push(x_1041, x_1040); +x_1043 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1044 = lean_array_push(x_1042, x_1043); +x_1045 = lean_array_push(x_1044, x_946); +x_1046 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1046, 0, x_1035); +lean_ctor_set(x_1046, 1, x_1045); +x_1047 = lean_ctor_get(x_2, 0); +lean_inc(x_1047); +x_1048 = lean_ctor_get(x_2, 1); +lean_inc(x_1048); +x_1049 = lean_ctor_get(x_2, 2); +lean_inc(x_1049); +x_1050 = lean_ctor_get(x_2, 3); +lean_inc(x_1050); +x_1051 = lean_ctor_get(x_2, 4); +lean_inc(x_1051); +x_1052 = lean_ctor_get(x_2, 5); +lean_inc(x_1052); +x_1053 = lean_ctor_get(x_2, 6); +lean_inc(x_1053); +x_1054 = lean_ctor_get(x_2, 7); +lean_inc(x_1054); +x_1055 = lean_ctor_get(x_2, 8); +lean_inc(x_1055); +x_1056 = lean_ctor_get(x_2, 9); +lean_inc(x_1056); +x_1057 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1058 = x_2; +} else { + lean_dec_ref(x_2); x_1058 = lean_box(0); } -lean_inc(x_1026); -if (lean_is_scalar(x_1058)) { - x_1059 = lean_alloc_ctor(0, 5, 0); -} else { - x_1059 = x_1058; -} -lean_ctor_set(x_1059, 0, x_1054); -lean_ctor_set(x_1059, 1, x_1026); -lean_ctor_set(x_1059, 2, x_1055); -lean_ctor_set(x_1059, 3, x_1056); -lean_ctor_set(x_1059, 4, x_1057); -if (lean_is_scalar(x_1053)) { - x_1060 = lean_alloc_ctor(0, 10, 1); -} else { - x_1060 = x_1053; -} -lean_ctor_set(x_1060, 0, x_1059); -lean_ctor_set(x_1060, 1, x_1043); -lean_ctor_set(x_1060, 2, x_1044); -lean_ctor_set(x_1060, 3, x_1045); -lean_ctor_set(x_1060, 4, x_1046); -lean_ctor_set(x_1060, 5, x_1047); -lean_ctor_set(x_1060, 6, x_1048); -lean_ctor_set(x_1060, 7, x_1049); -lean_ctor_set(x_1060, 8, x_1050); -lean_ctor_set(x_1060, 9, x_1051); -lean_ctor_set_uint8(x_1060, sizeof(void*)*10, x_1052); -x_1061 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1041, x_1060, x_1029); -if (lean_obj_tag(x_1061) == 0) -{ -lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; -x_1062 = lean_ctor_get(x_1061, 0); +x_1059 = lean_ctor_get(x_1047, 0); +lean_inc(x_1059); +x_1060 = lean_ctor_get(x_1047, 2); +lean_inc(x_1060); +x_1061 = lean_ctor_get(x_1047, 3); +lean_inc(x_1061); +x_1062 = lean_ctor_get(x_1047, 4); lean_inc(x_1062); -x_1063 = lean_ctor_get(x_1061, 1); -lean_inc(x_1063); -if (lean_is_exclusive(x_1061)) { - lean_ctor_release(x_1061, 0); - lean_ctor_release(x_1061, 1); - x_1064 = x_1061; +if (lean_is_exclusive(x_1047)) { + lean_ctor_release(x_1047, 0); + lean_ctor_release(x_1047, 1); + lean_ctor_release(x_1047, 2); + lean_ctor_release(x_1047, 3); + lean_ctor_release(x_1047, 4); + x_1063 = x_1047; } else { - lean_dec_ref(x_1061); - x_1064 = lean_box(0); + lean_dec_ref(x_1047); + x_1063 = lean_box(0); } -x_1065 = l_Lean_mkFVar(x_1015); -x_1066 = l_Lean_FileMap_ofString___closed__1; -x_1067 = lean_array_push(x_1066, x_1065); -x_1068 = l_Lean_LocalContext_mkLambda(x_1026, x_1067, x_1062); -lean_dec(x_1062); +lean_inc(x_1031); +if (lean_is_scalar(x_1063)) { + x_1064 = lean_alloc_ctor(0, 5, 0); +} else { + x_1064 = x_1063; +} +lean_ctor_set(x_1064, 0, x_1059); +lean_ctor_set(x_1064, 1, x_1031); +lean_ctor_set(x_1064, 2, x_1060); +lean_ctor_set(x_1064, 3, x_1061); +lean_ctor_set(x_1064, 4, x_1062); +if (lean_is_scalar(x_1058)) { + x_1065 = lean_alloc_ctor(0, 10, 1); +} else { + x_1065 = x_1058; +} +lean_ctor_set(x_1065, 0, x_1064); +lean_ctor_set(x_1065, 1, x_1048); +lean_ctor_set(x_1065, 2, x_1049); +lean_ctor_set(x_1065, 3, x_1050); +lean_ctor_set(x_1065, 4, x_1051); +lean_ctor_set(x_1065, 5, x_1052); +lean_ctor_set(x_1065, 6, x_1053); +lean_ctor_set(x_1065, 7, x_1054); +lean_ctor_set(x_1065, 8, x_1055); +lean_ctor_set(x_1065, 9, x_1056); +lean_ctor_set_uint8(x_1065, sizeof(void*)*10, x_1057); +x_1066 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1046, x_1065, x_1034); +if (lean_obj_tag(x_1066) == 0) +{ +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; +x_1067 = lean_ctor_get(x_1066, 0); +lean_inc(x_1067); +x_1068 = lean_ctor_get(x_1066, 1); +lean_inc(x_1068); +if (lean_is_exclusive(x_1066)) { + lean_ctor_release(x_1066, 0); + lean_ctor_release(x_1066, 1); + x_1069 = x_1066; +} else { + lean_dec_ref(x_1066); + x_1069 = lean_box(0); +} +x_1070 = l_Lean_mkFVar(x_1025); +x_1071 = l_Lean_FileMap_ofString___closed__1; +x_1072 = lean_array_push(x_1071, x_1070); +x_1073 = l_Lean_LocalContext_mkLambda(x_1031, x_1072, x_1067); lean_dec(x_1067); -if (lean_is_scalar(x_1064)) { - x_1069 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_1072); +if (lean_is_scalar(x_1069)) { + x_1074 = lean_alloc_ctor(0, 2, 0); } else { - x_1069 = x_1064; + x_1074 = x_1069; } -lean_ctor_set(x_1069, 0, x_1068); -lean_ctor_set(x_1069, 1, x_1063); -return x_1069; +lean_ctor_set(x_1074, 0, x_1073); +lean_ctor_set(x_1074, 1, x_1068); +return x_1074; } else { -lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; -lean_dec(x_1026); -lean_dec(x_1015); -x_1070 = lean_ctor_get(x_1061, 0); -lean_inc(x_1070); -x_1071 = lean_ctor_get(x_1061, 1); -lean_inc(x_1071); -if (lean_is_exclusive(x_1061)) { - lean_ctor_release(x_1061, 0); - lean_ctor_release(x_1061, 1); - x_1072 = x_1061; -} else { - lean_dec_ref(x_1061); - x_1072 = lean_box(0); -} -if (lean_is_scalar(x_1072)) { - x_1073 = lean_alloc_ctor(1, 2, 0); -} else { - x_1073 = x_1072; -} -lean_ctor_set(x_1073, 0, x_1070); -lean_ctor_set(x_1073, 1, x_1071); -return x_1073; -} -} -else -{ -lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; -lean_dec(x_1015); -lean_dec(x_1007); -lean_dec(x_1000); -lean_dec(x_998); -lean_dec(x_2); -x_1074 = lean_ctor_get(x_1019, 0); -lean_inc(x_1074); -x_1075 = lean_ctor_get(x_1019, 1); +lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; +lean_dec(x_1031); +lean_dec(x_1025); +x_1075 = lean_ctor_get(x_1066, 0); lean_inc(x_1075); -if (lean_is_exclusive(x_1019)) { - lean_ctor_release(x_1019, 0); - lean_ctor_release(x_1019, 1); - x_1076 = x_1019; +x_1076 = lean_ctor_get(x_1066, 1); +lean_inc(x_1076); +if (lean_is_exclusive(x_1066)) { + lean_ctor_release(x_1066, 0); + lean_ctor_release(x_1066, 1); + x_1077 = x_1066; } else { - lean_dec_ref(x_1019); - x_1076 = lean_box(0); + lean_dec_ref(x_1066); + x_1077 = lean_box(0); } -if (lean_is_scalar(x_1076)) { - x_1077 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1077)) { + x_1078 = lean_alloc_ctor(1, 2, 0); } else { - x_1077 = x_1076; + x_1078 = x_1077; +} +lean_ctor_set(x_1078, 0, x_1075); +lean_ctor_set(x_1078, 1, x_1076); +return x_1078; } -lean_ctor_set(x_1077, 0, x_1074); -lean_ctor_set(x_1077, 1, x_1075); -return x_1077; } } else { -lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; uint8_t x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; 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; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; uint8_t x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; -lean_dec(x_1004); -x_1078 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1079 = lean_name_mk_string(x_117, x_1078); +lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; uint8_t x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; 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; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; uint8_t x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; +x_1079 = l_Lean_Syntax_getIdAt(x_950, x_948); +lean_dec(x_950); x_1080 = l_Lean_Elab_Term_getLCtx(x_2, x_3); x_1081 = lean_ctor_get(x_1080, 0); lean_inc(x_1081); @@ -18029,16 +17981,16 @@ x_1083 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; x_1084 = 0; lean_inc_n(x_1079, 2); x_1085 = lean_local_ctx_mk_local_decl(x_1081, x_1079, x_1079, x_1083, x_1084); -x_1086 = l_Array_eraseIdx___rarg(x_998, x_1002); +x_1086 = l_Array_eraseIdx___rarg(x_944, x_948); x_1087 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1082); x_1088 = lean_ctor_get(x_1087, 1); lean_inc(x_1088); lean_dec(x_1087); -x_1089 = lean_name_mk_string(x_1007, x_807); +x_1089 = lean_name_mk_string(x_953, x_779); x_1090 = l_Lean_nullKind___closed__1; x_1091 = lean_name_mk_string(x_117, x_1090); x_1092 = l_Array_empty___closed__1; -x_1093 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1086, x_1086, x_1002, x_1092); +x_1093 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1086, x_1086, x_948, x_1092); lean_dec(x_1086); x_1094 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1094, 0, x_1091); @@ -18047,7 +17999,7 @@ x_1095 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; x_1096 = lean_array_push(x_1095, x_1094); x_1097 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; x_1098 = lean_array_push(x_1096, x_1097); -x_1099 = lean_array_push(x_1098, x_1000); +x_1099 = lean_array_push(x_1098, x_946); x_1100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1100, 0, x_1089); lean_ctor_set(x_1100, 1, x_1099); @@ -18195,620 +18147,441 @@ return x_1132; } else { -lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; uint8_t x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; uint8_t x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; -x_1133 = l_Lean_Syntax_getIdAt(x_1004, x_1002); -lean_dec(x_1004); -x_1134 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1135 = lean_ctor_get(x_1134, 0); -lean_inc(x_1135); -x_1136 = lean_ctor_get(x_1134, 1); -lean_inc(x_1136); -lean_dec(x_1134); -x_1137 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1138 = 0; -lean_inc_n(x_1133, 2); -x_1139 = lean_local_ctx_mk_local_decl(x_1135, x_1133, x_1133, x_1137, x_1138); -x_1140 = l_Array_eraseIdx___rarg(x_998, x_1002); -x_1141 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1136); -x_1142 = lean_ctor_get(x_1141, 1); -lean_inc(x_1142); -lean_dec(x_1141); -x_1143 = lean_name_mk_string(x_1007, x_807); -x_1144 = l_Lean_nullKind___closed__1; -x_1145 = lean_name_mk_string(x_117, x_1144); -x_1146 = l_Array_empty___closed__1; -x_1147 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1140, x_1140, x_1002, x_1146); -lean_dec(x_1140); -x_1148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1148, 0, x_1145); -lean_ctor_set(x_1148, 1, x_1147); -x_1149 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1150 = lean_array_push(x_1149, x_1148); -x_1151 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1152 = lean_array_push(x_1150, x_1151); -x_1153 = lean_array_push(x_1152, x_1000); -x_1154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1154, 0, x_1143); -lean_ctor_set(x_1154, 1, x_1153); -x_1155 = lean_ctor_get(x_2, 0); -lean_inc(x_1155); -x_1156 = lean_ctor_get(x_2, 1); -lean_inc(x_1156); -x_1157 = lean_ctor_get(x_2, 2); -lean_inc(x_1157); -x_1158 = lean_ctor_get(x_2, 3); -lean_inc(x_1158); -x_1159 = lean_ctor_get(x_2, 4); -lean_inc(x_1159); -x_1160 = lean_ctor_get(x_2, 5); -lean_inc(x_1160); -x_1161 = lean_ctor_get(x_2, 6); -lean_inc(x_1161); -x_1162 = lean_ctor_get(x_2, 7); -lean_inc(x_1162); -x_1163 = lean_ctor_get(x_2, 8); -lean_inc(x_1163); -x_1164 = lean_ctor_get(x_2, 9); -lean_inc(x_1164); -x_1165 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_1166 = x_2; -} else { - lean_dec_ref(x_2); - x_1166 = lean_box(0); -} -x_1167 = lean_ctor_get(x_1155, 0); -lean_inc(x_1167); -x_1168 = lean_ctor_get(x_1155, 2); -lean_inc(x_1168); -x_1169 = lean_ctor_get(x_1155, 3); -lean_inc(x_1169); -x_1170 = lean_ctor_get(x_1155, 4); -lean_inc(x_1170); -if (lean_is_exclusive(x_1155)) { - lean_ctor_release(x_1155, 0); - lean_ctor_release(x_1155, 1); - lean_ctor_release(x_1155, 2); - lean_ctor_release(x_1155, 3); - lean_ctor_release(x_1155, 4); - x_1171 = x_1155; -} else { - lean_dec_ref(x_1155); - x_1171 = lean_box(0); -} -lean_inc(x_1139); -if (lean_is_scalar(x_1171)) { - x_1172 = lean_alloc_ctor(0, 5, 0); -} else { - x_1172 = x_1171; -} -lean_ctor_set(x_1172, 0, x_1167); -lean_ctor_set(x_1172, 1, x_1139); -lean_ctor_set(x_1172, 2, x_1168); -lean_ctor_set(x_1172, 3, x_1169); -lean_ctor_set(x_1172, 4, x_1170); -if (lean_is_scalar(x_1166)) { - x_1173 = lean_alloc_ctor(0, 10, 1); -} else { - x_1173 = x_1166; -} -lean_ctor_set(x_1173, 0, x_1172); -lean_ctor_set(x_1173, 1, x_1156); -lean_ctor_set(x_1173, 2, x_1157); -lean_ctor_set(x_1173, 3, x_1158); -lean_ctor_set(x_1173, 4, x_1159); -lean_ctor_set(x_1173, 5, x_1160); -lean_ctor_set(x_1173, 6, x_1161); -lean_ctor_set(x_1173, 7, x_1162); -lean_ctor_set(x_1173, 8, x_1163); -lean_ctor_set(x_1173, 9, x_1164); -lean_ctor_set_uint8(x_1173, sizeof(void*)*10, x_1165); -x_1174 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1154, x_1173, x_1142); -if (lean_obj_tag(x_1174) == 0) -{ -lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; -x_1175 = lean_ctor_get(x_1174, 0); -lean_inc(x_1175); -x_1176 = lean_ctor_get(x_1174, 1); -lean_inc(x_1176); -if (lean_is_exclusive(x_1174)) { - lean_ctor_release(x_1174, 0); - lean_ctor_release(x_1174, 1); - x_1177 = x_1174; -} else { - lean_dec_ref(x_1174); - x_1177 = lean_box(0); -} -x_1178 = l_Lean_mkFVar(x_1133); -x_1179 = l_Lean_FileMap_ofString___closed__1; -x_1180 = lean_array_push(x_1179, x_1178); -x_1181 = l_Lean_LocalContext_mkLambda(x_1139, x_1180, x_1175); -lean_dec(x_1175); -lean_dec(x_1180); -if (lean_is_scalar(x_1177)) { - x_1182 = lean_alloc_ctor(0, 2, 0); -} else { - x_1182 = x_1177; -} -lean_ctor_set(x_1182, 0, x_1181); -lean_ctor_set(x_1182, 1, x_1176); -return x_1182; -} -else -{ -lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; -lean_dec(x_1139); -lean_dec(x_1133); -x_1183 = lean_ctor_get(x_1174, 0); -lean_inc(x_1183); -x_1184 = lean_ctor_get(x_1174, 1); -lean_inc(x_1184); -if (lean_is_exclusive(x_1174)) { - lean_ctor_release(x_1174, 0); - lean_ctor_release(x_1174, 1); - x_1185 = x_1174; -} else { - lean_dec_ref(x_1174); - x_1185 = lean_box(0); -} -if (lean_is_scalar(x_1185)) { - x_1186 = lean_alloc_ctor(1, 2, 0); -} else { - x_1186 = x_1185; -} -lean_ctor_set(x_1186, 0, x_1183); -lean_ctor_set(x_1186, 1, x_1184); -return x_1186; -} -} -} -else -{ -lean_dec(x_998); -x_1 = x_1000; +lean_dec(x_944); +x_1 = x_946; goto _start; } } } else { -lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; +lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_free_object(x_116); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); -x_1188 = l_Lean_Syntax_inhabited; -x_1189 = lean_unsigned_to_nat(0u); -x_1190 = lean_array_get(x_1188, x_4, x_1189); +x_1134 = l_Lean_Syntax_inhabited; +x_1135 = lean_unsigned_to_nat(0u); +x_1136 = lean_array_get(x_1134, x_4, x_1135); lean_dec(x_4); -if (lean_obj_tag(x_1190) == 3) +if (lean_obj_tag(x_1136) == 3) { -lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; -x_1191 = lean_ctor_get(x_1190, 2); -lean_inc(x_1191); -x_1192 = lean_ctor_get(x_1190, 3); -lean_inc(x_1192); -lean_dec(x_1190); -x_1193 = lean_box(0); +lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; +x_1137 = lean_ctor_get(x_1136, 2); +lean_inc(x_1137); +x_1138 = lean_ctor_get(x_1136, 3); +lean_inc(x_1138); +lean_dec(x_1136); +x_1139 = lean_box(0); lean_inc(x_2); -x_1194 = l_Lean_Elab_Term_resolveName(x_1, x_1191, x_1192, x_1193, x_2, x_3); +x_1140 = l_Lean_Elab_Term_resolveName(x_1, x_1137, x_1138, x_1139, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_1194) == 0) +if (lean_obj_tag(x_1140) == 0) { -lean_object* x_1195; -x_1195 = lean_ctor_get(x_1194, 0); -lean_inc(x_1195); -if (lean_obj_tag(x_1195) == 0) +lean_object* x_1141; +x_1141 = lean_ctor_get(x_1140, 0); +lean_inc(x_1141); +if (lean_obj_tag(x_1141) == 0) { -lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -x_1196 = lean_ctor_get(x_1194, 1); -lean_inc(x_1196); -lean_dec(x_1194); -x_1197 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1198 = l_unreachable_x21___rarg(x_1197); -x_1199 = lean_apply_2(x_1198, x_2, x_1196); -return x_1199; +lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; +x_1142 = lean_ctor_get(x_1140, 1); +lean_inc(x_1142); +lean_dec(x_1140); +x_1143 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1144 = l_unreachable_x21___rarg(x_1143); +x_1145 = lean_apply_2(x_1144, x_2, x_1142); +return x_1145; } else { -lean_object* x_1200; lean_object* x_1201; +lean_object* x_1146; lean_object* x_1147; lean_dec(x_2); -x_1200 = lean_ctor_get(x_1195, 0); -lean_inc(x_1200); -lean_dec(x_1195); -x_1201 = lean_ctor_get(x_1200, 0); -lean_inc(x_1201); -switch (lean_obj_tag(x_1201)) { +x_1146 = lean_ctor_get(x_1141, 0); +lean_inc(x_1146); +lean_dec(x_1141); +x_1147 = lean_ctor_get(x_1146, 0); +lean_inc(x_1147); +switch (lean_obj_tag(x_1147)) { case 0: { -lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; -x_1202 = lean_ctor_get(x_1194, 1); -lean_inc(x_1202); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1203 = x_1194; +lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; +x_1148 = lean_ctor_get(x_1140, 1); +lean_inc(x_1148); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1149 = x_1140; } else { - lean_dec_ref(x_1194); - x_1203 = lean_box(0); + lean_dec_ref(x_1140); + x_1149 = lean_box(0); } -x_1204 = lean_ctor_get(x_1200, 1); -lean_inc(x_1204); -lean_dec(x_1200); -x_1205 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_1201, x_1204); -if (lean_is_scalar(x_1203)) { - x_1206 = lean_alloc_ctor(0, 2, 0); +x_1150 = lean_ctor_get(x_1146, 1); +lean_inc(x_1150); +lean_dec(x_1146); +x_1151 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_1147, x_1150); +if (lean_is_scalar(x_1149)) { + x_1152 = lean_alloc_ctor(0, 2, 0); } else { - x_1206 = x_1203; + x_1152 = x_1149; } -lean_ctor_set(x_1206, 0, x_1205); -lean_ctor_set(x_1206, 1, x_1202); -return x_1206; +lean_ctor_set(x_1152, 0, x_1151); +lean_ctor_set(x_1152, 1, x_1148); +return x_1152; } case 1: { -lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; -x_1207 = lean_ctor_get(x_1194, 1); -lean_inc(x_1207); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1208 = x_1194; +lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; +x_1153 = lean_ctor_get(x_1140, 1); +lean_inc(x_1153); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1154 = x_1140; } else { - lean_dec_ref(x_1194); - x_1208 = lean_box(0); + lean_dec_ref(x_1140); + x_1154 = lean_box(0); } -x_1209 = lean_ctor_get(x_1200, 1); -lean_inc(x_1209); -lean_dec(x_1200); -x_1210 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_1201, x_1209); -if (lean_is_scalar(x_1208)) { - x_1211 = lean_alloc_ctor(0, 2, 0); +x_1155 = lean_ctor_get(x_1146, 1); +lean_inc(x_1155); +lean_dec(x_1146); +x_1156 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_1147, x_1155); +if (lean_is_scalar(x_1154)) { + x_1157 = lean_alloc_ctor(0, 2, 0); } else { - x_1211 = x_1208; + x_1157 = x_1154; } -lean_ctor_set(x_1211, 0, x_1210); -lean_ctor_set(x_1211, 1, x_1207); -return x_1211; +lean_ctor_set(x_1157, 0, x_1156); +lean_ctor_set(x_1157, 1, x_1153); +return x_1157; } case 2: { -lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; -x_1212 = lean_ctor_get(x_1194, 1); -lean_inc(x_1212); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1213 = x_1194; +lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; +x_1158 = lean_ctor_get(x_1140, 1); +lean_inc(x_1158); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1159 = x_1140; } else { - lean_dec_ref(x_1194); - x_1213 = lean_box(0); + lean_dec_ref(x_1140); + x_1159 = lean_box(0); } -x_1214 = lean_ctor_get(x_1200, 1); -lean_inc(x_1214); -lean_dec(x_1200); -x_1215 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_1201, x_1214); -if (lean_is_scalar(x_1213)) { - x_1216 = lean_alloc_ctor(0, 2, 0); +x_1160 = lean_ctor_get(x_1146, 1); +lean_inc(x_1160); +lean_dec(x_1146); +x_1161 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_1147, x_1160); +if (lean_is_scalar(x_1159)) { + x_1162 = lean_alloc_ctor(0, 2, 0); } else { - x_1216 = x_1213; + x_1162 = x_1159; } -lean_ctor_set(x_1216, 0, x_1215); -lean_ctor_set(x_1216, 1, x_1212); -return x_1216; +lean_ctor_set(x_1162, 0, x_1161); +lean_ctor_set(x_1162, 1, x_1158); +return x_1162; } case 3: { -lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; -x_1217 = lean_ctor_get(x_1194, 1); -lean_inc(x_1217); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1218 = x_1194; +lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; +x_1163 = lean_ctor_get(x_1140, 1); +lean_inc(x_1163); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1164 = x_1140; } else { - lean_dec_ref(x_1194); - x_1218 = lean_box(0); + lean_dec_ref(x_1140); + x_1164 = lean_box(0); } -x_1219 = lean_ctor_get(x_1200, 1); -lean_inc(x_1219); -lean_dec(x_1200); -x_1220 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_1201, x_1219); -if (lean_is_scalar(x_1218)) { - x_1221 = lean_alloc_ctor(0, 2, 0); +x_1165 = lean_ctor_get(x_1146, 1); +lean_inc(x_1165); +lean_dec(x_1146); +x_1166 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_1147, x_1165); +if (lean_is_scalar(x_1164)) { + x_1167 = lean_alloc_ctor(0, 2, 0); } else { - x_1221 = x_1218; + x_1167 = x_1164; } -lean_ctor_set(x_1221, 0, x_1220); -lean_ctor_set(x_1221, 1, x_1217); -return x_1221; +lean_ctor_set(x_1167, 0, x_1166); +lean_ctor_set(x_1167, 1, x_1163); +return x_1167; } case 4: { -lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; -x_1222 = lean_ctor_get(x_1194, 1); -lean_inc(x_1222); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1223 = x_1194; +lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; +x_1168 = lean_ctor_get(x_1140, 1); +lean_inc(x_1168); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1169 = x_1140; } else { - lean_dec_ref(x_1194); - x_1223 = lean_box(0); + lean_dec_ref(x_1140); + x_1169 = lean_box(0); } -x_1224 = lean_ctor_get(x_1200, 1); -lean_inc(x_1224); -lean_dec(x_1200); -x_1225 = lean_ctor_get(x_1201, 0); -lean_inc(x_1225); -lean_dec(x_1201); -x_1226 = l_Lean_mkConst(x_1225, x_1193); -x_1227 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_1226, x_1224); -if (lean_is_scalar(x_1223)) { - x_1228 = lean_alloc_ctor(0, 2, 0); +x_1170 = lean_ctor_get(x_1146, 1); +lean_inc(x_1170); +lean_dec(x_1146); +x_1171 = lean_ctor_get(x_1147, 0); +lean_inc(x_1171); +lean_dec(x_1147); +x_1172 = l_Lean_mkConst(x_1171, x_1139); +x_1173 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_1172, x_1170); +if (lean_is_scalar(x_1169)) { + x_1174 = lean_alloc_ctor(0, 2, 0); } else { - x_1228 = x_1223; + x_1174 = x_1169; } -lean_ctor_set(x_1228, 0, x_1227); -lean_ctor_set(x_1228, 1, x_1222); -return x_1228; +lean_ctor_set(x_1174, 0, x_1173); +lean_ctor_set(x_1174, 1, x_1168); +return x_1174; } case 5: { -lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; -x_1229 = lean_ctor_get(x_1194, 1); -lean_inc(x_1229); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1230 = x_1194; +lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; +x_1175 = lean_ctor_get(x_1140, 1); +lean_inc(x_1175); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1176 = x_1140; } else { - lean_dec_ref(x_1194); - x_1230 = lean_box(0); + lean_dec_ref(x_1140); + x_1176 = lean_box(0); } -x_1231 = lean_ctor_get(x_1200, 1); -lean_inc(x_1231); -lean_dec(x_1200); -x_1232 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_1201, x_1231); -if (lean_is_scalar(x_1230)) { - x_1233 = lean_alloc_ctor(0, 2, 0); +x_1177 = lean_ctor_get(x_1146, 1); +lean_inc(x_1177); +lean_dec(x_1146); +x_1178 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_1147, x_1177); +if (lean_is_scalar(x_1176)) { + x_1179 = lean_alloc_ctor(0, 2, 0); } else { - x_1233 = x_1230; + x_1179 = x_1176; } -lean_ctor_set(x_1233, 0, x_1232); -lean_ctor_set(x_1233, 1, x_1229); -return x_1233; +lean_ctor_set(x_1179, 0, x_1178); +lean_ctor_set(x_1179, 1, x_1175); +return x_1179; } case 6: { -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; -x_1234 = lean_ctor_get(x_1194, 1); -lean_inc(x_1234); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1235 = x_1194; +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; +x_1180 = lean_ctor_get(x_1140, 1); +lean_inc(x_1180); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1181 = x_1140; } else { - lean_dec_ref(x_1194); - x_1235 = lean_box(0); + lean_dec_ref(x_1140); + x_1181 = lean_box(0); } -x_1236 = lean_ctor_get(x_1200, 1); -lean_inc(x_1236); -lean_dec(x_1200); -x_1237 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_1201, x_1236); -if (lean_is_scalar(x_1235)) { - x_1238 = lean_alloc_ctor(0, 2, 0); +x_1182 = lean_ctor_get(x_1146, 1); +lean_inc(x_1182); +lean_dec(x_1146); +x_1183 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_1147, x_1182); +if (lean_is_scalar(x_1181)) { + x_1184 = lean_alloc_ctor(0, 2, 0); } else { - x_1238 = x_1235; + x_1184 = x_1181; } -lean_ctor_set(x_1238, 0, x_1237); -lean_ctor_set(x_1238, 1, x_1234); -return x_1238; +lean_ctor_set(x_1184, 0, x_1183); +lean_ctor_set(x_1184, 1, x_1180); +return x_1184; } case 7: { -lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; -x_1239 = lean_ctor_get(x_1194, 1); -lean_inc(x_1239); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1240 = x_1194; +lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; +x_1185 = lean_ctor_get(x_1140, 1); +lean_inc(x_1185); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1186 = x_1140; } else { - lean_dec_ref(x_1194); - x_1240 = lean_box(0); + lean_dec_ref(x_1140); + x_1186 = lean_box(0); } -x_1241 = lean_ctor_get(x_1200, 1); -lean_inc(x_1241); -lean_dec(x_1200); -x_1242 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_1201, x_1241); -if (lean_is_scalar(x_1240)) { - x_1243 = lean_alloc_ctor(0, 2, 0); +x_1187 = lean_ctor_get(x_1146, 1); +lean_inc(x_1187); +lean_dec(x_1146); +x_1188 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_1147, x_1187); +if (lean_is_scalar(x_1186)) { + x_1189 = lean_alloc_ctor(0, 2, 0); } else { - x_1243 = x_1240; + x_1189 = x_1186; } -lean_ctor_set(x_1243, 0, x_1242); -lean_ctor_set(x_1243, 1, x_1239); -return x_1243; +lean_ctor_set(x_1189, 0, x_1188); +lean_ctor_set(x_1189, 1, x_1185); +return x_1189; } case 8: { -lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; -x_1244 = lean_ctor_get(x_1194, 1); -lean_inc(x_1244); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1245 = x_1194; +lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; +x_1190 = lean_ctor_get(x_1140, 1); +lean_inc(x_1190); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1191 = x_1140; } else { - lean_dec_ref(x_1194); - x_1245 = lean_box(0); + lean_dec_ref(x_1140); + x_1191 = lean_box(0); } -x_1246 = lean_ctor_get(x_1200, 1); -lean_inc(x_1246); -lean_dec(x_1200); -x_1247 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_1201, x_1246); -if (lean_is_scalar(x_1245)) { - x_1248 = lean_alloc_ctor(0, 2, 0); +x_1192 = lean_ctor_get(x_1146, 1); +lean_inc(x_1192); +lean_dec(x_1146); +x_1193 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_1147, x_1192); +if (lean_is_scalar(x_1191)) { + x_1194 = lean_alloc_ctor(0, 2, 0); } else { - x_1248 = x_1245; + x_1194 = x_1191; } -lean_ctor_set(x_1248, 0, x_1247); -lean_ctor_set(x_1248, 1, x_1244); -return x_1248; +lean_ctor_set(x_1194, 0, x_1193); +lean_ctor_set(x_1194, 1, x_1190); +return x_1194; } case 9: { -lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; -x_1249 = lean_ctor_get(x_1194, 1); -lean_inc(x_1249); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1250 = x_1194; +lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; +x_1195 = lean_ctor_get(x_1140, 1); +lean_inc(x_1195); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1196 = x_1140; } else { - lean_dec_ref(x_1194); - x_1250 = lean_box(0); + lean_dec_ref(x_1140); + x_1196 = lean_box(0); } -x_1251 = lean_ctor_get(x_1200, 1); -lean_inc(x_1251); -lean_dec(x_1200); -x_1252 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_1201, x_1251); -if (lean_is_scalar(x_1250)) { - x_1253 = lean_alloc_ctor(0, 2, 0); +x_1197 = lean_ctor_get(x_1146, 1); +lean_inc(x_1197); +lean_dec(x_1146); +x_1198 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_1147, x_1197); +if (lean_is_scalar(x_1196)) { + x_1199 = lean_alloc_ctor(0, 2, 0); } else { - x_1253 = x_1250; + x_1199 = x_1196; } -lean_ctor_set(x_1253, 0, x_1252); -lean_ctor_set(x_1253, 1, x_1249); -return x_1253; +lean_ctor_set(x_1199, 0, x_1198); +lean_ctor_set(x_1199, 1, x_1195); +return x_1199; } case 10: { -lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; -x_1254 = lean_ctor_get(x_1194, 1); -lean_inc(x_1254); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1255 = x_1194; +lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; +x_1200 = lean_ctor_get(x_1140, 1); +lean_inc(x_1200); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1201 = x_1140; } else { - lean_dec_ref(x_1194); - x_1255 = lean_box(0); + lean_dec_ref(x_1140); + x_1201 = lean_box(0); } -x_1256 = lean_ctor_get(x_1200, 1); -lean_inc(x_1256); -lean_dec(x_1200); -x_1257 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_1201, x_1256); -if (lean_is_scalar(x_1255)) { - x_1258 = lean_alloc_ctor(0, 2, 0); +x_1202 = lean_ctor_get(x_1146, 1); +lean_inc(x_1202); +lean_dec(x_1146); +x_1203 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_1147, x_1202); +if (lean_is_scalar(x_1201)) { + x_1204 = lean_alloc_ctor(0, 2, 0); } else { - x_1258 = x_1255; + x_1204 = x_1201; } -lean_ctor_set(x_1258, 0, x_1257); -lean_ctor_set(x_1258, 1, x_1254); -return x_1258; +lean_ctor_set(x_1204, 0, x_1203); +lean_ctor_set(x_1204, 1, x_1200); +return x_1204; } case 11: { -lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; -x_1259 = lean_ctor_get(x_1194, 1); -lean_inc(x_1259); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1260 = x_1194; +lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; +x_1205 = lean_ctor_get(x_1140, 1); +lean_inc(x_1205); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1206 = x_1140; } else { - lean_dec_ref(x_1194); - x_1260 = lean_box(0); + lean_dec_ref(x_1140); + x_1206 = lean_box(0); } -x_1261 = lean_ctor_get(x_1200, 1); -lean_inc(x_1261); -lean_dec(x_1200); -x_1262 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_1201, x_1261); -if (lean_is_scalar(x_1260)) { - x_1263 = lean_alloc_ctor(0, 2, 0); +x_1207 = lean_ctor_get(x_1146, 1); +lean_inc(x_1207); +lean_dec(x_1146); +x_1208 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_1147, x_1207); +if (lean_is_scalar(x_1206)) { + x_1209 = lean_alloc_ctor(0, 2, 0); } else { - x_1263 = x_1260; + x_1209 = x_1206; } -lean_ctor_set(x_1263, 0, x_1262); -lean_ctor_set(x_1263, 1, x_1259); -return x_1263; +lean_ctor_set(x_1209, 0, x_1208); +lean_ctor_set(x_1209, 1, x_1205); +return x_1209; } default: { -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; -x_1264 = lean_ctor_get(x_1194, 1); -lean_inc(x_1264); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1265 = x_1194; +lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; +x_1210 = lean_ctor_get(x_1140, 1); +lean_inc(x_1210); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1211 = x_1140; } else { - lean_dec_ref(x_1194); - x_1265 = lean_box(0); + lean_dec_ref(x_1140); + x_1211 = lean_box(0); } -x_1266 = lean_ctor_get(x_1200, 1); -lean_inc(x_1266); -lean_dec(x_1200); -x_1267 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_1201, x_1266); -if (lean_is_scalar(x_1265)) { - x_1268 = lean_alloc_ctor(0, 2, 0); +x_1212 = lean_ctor_get(x_1146, 1); +lean_inc(x_1212); +lean_dec(x_1146); +x_1213 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_1147, x_1212); +if (lean_is_scalar(x_1211)) { + x_1214 = lean_alloc_ctor(0, 2, 0); } else { - x_1268 = x_1265; + x_1214 = x_1211; } -lean_ctor_set(x_1268, 0, x_1267); -lean_ctor_set(x_1268, 1, x_1264); -return x_1268; +lean_ctor_set(x_1214, 0, x_1213); +lean_ctor_set(x_1214, 1, x_1210); +return x_1214; } } } } else { -lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; +lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_dec(x_2); -x_1269 = lean_ctor_get(x_1194, 0); -lean_inc(x_1269); -x_1270 = lean_ctor_get(x_1194, 1); -lean_inc(x_1270); -if (lean_is_exclusive(x_1194)) { - lean_ctor_release(x_1194, 0); - lean_ctor_release(x_1194, 1); - x_1271 = x_1194; +x_1215 = lean_ctor_get(x_1140, 0); +lean_inc(x_1215); +x_1216 = lean_ctor_get(x_1140, 1); +lean_inc(x_1216); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1217 = x_1140; } else { - lean_dec_ref(x_1194); - x_1271 = lean_box(0); + lean_dec_ref(x_1140); + x_1217 = lean_box(0); } -if (lean_is_scalar(x_1271)) { - x_1272 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1217)) { + x_1218 = lean_alloc_ctor(1, 2, 0); } else { - x_1272 = x_1271; + x_1218 = x_1217; } -lean_ctor_set(x_1272, 0, x_1269); -lean_ctor_set(x_1272, 1, x_1270); -return x_1272; +lean_ctor_set(x_1218, 0, x_1215); +lean_ctor_set(x_1218, 1, x_1216); +return x_1218; } } else { -lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; -lean_dec(x_1190); +lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; +lean_dec(x_1136); lean_dec(x_1); -x_1273 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1274 = l_unreachable_x21___rarg(x_1273); -x_1275 = lean_apply_2(x_1274, x_2, x_3); -return x_1275; +x_1219 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1220 = l_unreachable_x21___rarg(x_1219); +x_1221 = lean_apply_2(x_1220, x_2, x_3); +return x_1221; } } } @@ -18818,946 +18591,833 @@ return x_1275; } else { -lean_object* x_1276; size_t x_1277; lean_object* x_1278; uint8_t x_1279; -x_1276 = lean_ctor_get(x_116, 1); -x_1277 = lean_ctor_get_usize(x_116, 2); -lean_inc(x_1276); +lean_object* x_1222; size_t x_1223; lean_object* x_1224; uint8_t x_1225; +x_1222 = lean_ctor_get(x_116, 1); +x_1223 = lean_ctor_get_usize(x_116, 2); +lean_inc(x_1222); lean_dec(x_116); -x_1278 = l_Lean_nameToExprAux___main___closed__1; -x_1279 = lean_string_dec_eq(x_1276, x_1278); -lean_dec(x_1276); -if (x_1279 == 0) +x_1224 = l_Lean_nameToExprAux___main___closed__1; +x_1225 = lean_string_dec_eq(x_1222, x_1224); +lean_dec(x_1222); +if (x_1225 == 0) { -lean_object* x_1280; +lean_object* x_1226; lean_free_object(x_115); lean_dec(x_124); lean_free_object(x_105); lean_dec(x_121); lean_dec(x_118); lean_dec(x_4); -x_1280 = lean_box(0); -x_96 = x_1280; +x_1226 = lean_box(0); +x_96 = x_1226; goto block_104; } else { -lean_object* x_1281; lean_object* x_1282; uint8_t x_1283; +lean_object* x_1227; lean_object* x_1228; uint8_t x_1229; if (lean_is_exclusive(x_95)) { lean_ctor_release(x_95, 0); lean_ctor_release(x_95, 1); - x_1281 = x_95; + x_1227 = x_95; } else { lean_dec_ref(x_95); - x_1281 = lean_box(0); + x_1227 = lean_box(0); } -x_1282 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_1283 = lean_string_dec_eq(x_124, x_1282); -if (x_1283 == 0) +x_1228 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_1229 = lean_string_dec_eq(x_124, x_1228); +if (x_1229 == 0) { -lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; +lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_dec(x_4); -x_1284 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1284, 0, x_117); -lean_ctor_set(x_1284, 1, x_1278); -lean_ctor_set_usize(x_1284, 2, x_1277); -lean_ctor_set(x_115, 0, x_1284); -if (lean_is_scalar(x_1281)) { - x_1285 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_1230 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1230, 0, x_117); +lean_ctor_set(x_1230, 1, x_1224); +lean_ctor_set_usize(x_1230, 2, x_1223); +lean_ctor_set(x_115, 0, x_1230); +if (lean_is_scalar(x_1227)) { + x_1231 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1285 = x_1281; + x_1231 = x_1227; } -lean_ctor_set(x_1285, 0, x_105); -lean_ctor_set(x_1285, 1, x_118); -lean_ctor_set_usize(x_1285, 2, x_120); -x_1286 = l_System_FilePath_dirName___closed__1; -x_1287 = l_Lean_Name_toStringWithSep___main(x_1286, x_1285); -x_1288 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1288, 0, x_1287); -x_1289 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1289, 0, x_1288); -x_1290 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1291 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1291, 0, x_1290); -lean_ctor_set(x_1291, 1, x_1289); -x_1292 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1291, x_2, x_3); +lean_ctor_set(x_1231, 0, x_105); +lean_ctor_set(x_1231, 1, x_118); +lean_ctor_set_usize(x_1231, 2, x_120); +x_1232 = l_System_FilePath_dirName___closed__1; +x_1233 = l_Lean_Name_toStringWithSep___main(x_1232, x_1231); +x_1234 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1234, 0, x_1233); +x_1235 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1235, 0, x_1234); +x_1236 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1237 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1237, 0, x_1236); +lean_ctor_set(x_1237, 1, x_1235); +x_1238 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1237, x_2, x_3); lean_dec(x_1); +return x_1238; +} +else +{ +lean_object* x_1239; uint8_t x_1240; +lean_dec(x_124); +x_1239 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_1240 = lean_string_dec_eq(x_121, x_1239); +if (x_1240 == 0) +{ +lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; +lean_dec(x_4); +x_1241 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1241, 0, x_117); +lean_ctor_set(x_1241, 1, x_1224); +lean_ctor_set_usize(x_1241, 2, x_1223); +lean_ctor_set(x_115, 1, x_1228); +lean_ctor_set(x_115, 0, x_1241); +if (lean_is_scalar(x_1227)) { + x_1242 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1242 = x_1227; +} +lean_ctor_set(x_1242, 0, x_105); +lean_ctor_set(x_1242, 1, x_118); +lean_ctor_set_usize(x_1242, 2, x_120); +x_1243 = l_System_FilePath_dirName___closed__1; +x_1244 = l_Lean_Name_toStringWithSep___main(x_1243, x_1242); +x_1245 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1245, 0, x_1244); +x_1246 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1246, 0, x_1245); +x_1247 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1248 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1248, 0, x_1247); +lean_ctor_set(x_1248, 1, x_1246); +x_1249 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1248, x_2, x_3); +lean_dec(x_1); +return x_1249; +} +else +{ +lean_object* x_1250; uint8_t x_1251; +lean_dec(x_121); +x_1250 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_1251 = lean_string_dec_eq(x_118, x_1250); +if (x_1251 == 0) +{ +lean_object* x_1252; uint8_t x_1253; +x_1252 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_1253 = lean_string_dec_eq(x_118, x_1252); +if (x_1253 == 0) +{ +lean_object* x_1254; uint8_t x_1255; +x_1254 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_1255 = lean_string_dec_eq(x_118, x_1254); +if (x_1255 == 0) +{ +lean_object* x_1256; uint8_t x_1257; +x_1256 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_1257 = lean_string_dec_eq(x_118, x_1256); +if (x_1257 == 0) +{ +lean_object* x_1258; uint8_t x_1259; +x_1258 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_1259 = lean_string_dec_eq(x_118, x_1258); +if (x_1259 == 0) +{ +lean_object* x_1260; uint8_t x_1261; +x_1260 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_1261 = lean_string_dec_eq(x_118, x_1260); +if (x_1261 == 0) +{ +lean_object* x_1262; uint8_t x_1263; +x_1262 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_1263 = lean_string_dec_eq(x_118, x_1262); +if (x_1263 == 0) +{ +lean_object* x_1264; uint8_t x_1265; +x_1264 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_1265 = lean_string_dec_eq(x_118, x_1264); +if (x_1265 == 0) +{ +lean_object* x_1266; uint8_t x_1267; +lean_dec(x_4); +x_1266 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_1267 = lean_string_dec_eq(x_118, x_1266); +if (x_1267 == 0) +{ +lean_object* x_1268; uint8_t x_1269; +x_1268 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_1269 = lean_string_dec_eq(x_118, x_1268); +if (x_1269 == 0) +{ +lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; +x_1270 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1270, 0, x_117); +lean_ctor_set(x_1270, 1, x_1224); +lean_ctor_set_usize(x_1270, 2, x_1223); +lean_ctor_set(x_115, 1, x_1228); +lean_ctor_set(x_115, 0, x_1270); +lean_ctor_set(x_105, 1, x_1239); +if (lean_is_scalar(x_1227)) { + x_1271 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1271 = x_1227; +} +lean_ctor_set(x_1271, 0, x_105); +lean_ctor_set(x_1271, 1, x_118); +lean_ctor_set_usize(x_1271, 2, x_120); +x_1272 = l_System_FilePath_dirName___closed__1; +x_1273 = l_Lean_Name_toStringWithSep___main(x_1272, x_1271); +x_1274 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1274, 0, x_1273); +x_1275 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1275, 0, x_1274); +x_1276 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1277 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1277, 0, x_1276); +lean_ctor_set(x_1277, 1, x_1275); +x_1278 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1277, x_2, x_3); +lean_dec(x_1); +return x_1278; +} +else +{ +lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; +lean_dec(x_1227); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_2); +x_1279 = lean_unsigned_to_nat(0u); +x_1280 = l_Lean_Syntax_getArg(x_1, x_1279); +lean_dec(x_1); +x_1281 = l_Lean_numLitKind; +x_1282 = l_Lean_Syntax_isNatLitAux(x_1281, x_1280); +lean_dec(x_1280); +if (lean_obj_tag(x_1282) == 0) +{ +lean_object* x_1283; lean_object* x_1284; +x_1283 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_1284 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1284, 0, x_1283); +lean_ctor_set(x_1284, 1, x_3); +return x_1284; +} +else +{ +lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; +x_1285 = lean_ctor_get(x_1282, 0); +lean_inc(x_1285); +lean_dec(x_1282); +x_1286 = l_Lean_mkNatLit(x_1285); +x_1287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1287, 0, x_1286); +lean_ctor_set(x_1287, 1, x_3); +return x_1287; +} +} +} +else +{ +lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; +lean_dec(x_1227); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_2); +x_1288 = lean_unsigned_to_nat(0u); +x_1289 = l_Lean_Syntax_getArg(x_1, x_1288); +lean_dec(x_1); +x_1290 = l_Lean_Syntax_isStrLit_x3f(x_1289); +lean_dec(x_1289); +if (lean_obj_tag(x_1290) == 0) +{ +lean_object* x_1291; lean_object* x_1292; +x_1291 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_1292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1292, 0, x_1291); +lean_ctor_set(x_1292, 1, x_3); return x_1292; } else { -lean_object* x_1293; uint8_t x_1294; -lean_dec(x_124); -x_1293 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_1294 = lean_string_dec_eq(x_121, x_1293); -if (x_1294 == 0) -{ -lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; -lean_dec(x_4); -x_1295 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1295, 0, x_117); -lean_ctor_set(x_1295, 1, x_1278); -lean_ctor_set_usize(x_1295, 2, x_1277); -lean_ctor_set(x_115, 1, x_1282); -lean_ctor_set(x_115, 0, x_1295); -if (lean_is_scalar(x_1281)) { - x_1296 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1296 = x_1281; +lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; +x_1293 = lean_ctor_get(x_1290, 0); +lean_inc(x_1293); +lean_dec(x_1290); +x_1294 = l_Lean_mkStrLit(x_1293); +x_1295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1295, 0, x_1294); +lean_ctor_set(x_1295, 1, x_3); +return x_1295; +} } -lean_ctor_set(x_1296, 0, x_105); -lean_ctor_set(x_1296, 1, x_118); -lean_ctor_set_usize(x_1296, 2, x_120); -x_1297 = l_System_FilePath_dirName___closed__1; -x_1298 = l_Lean_Name_toStringWithSep___main(x_1297, x_1296); -x_1299 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1299, 0, x_1298); -x_1300 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1300, 0, x_1299); -x_1301 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1302 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1302, 0, x_1301); -lean_ctor_set(x_1302, 1, x_1300); -x_1303 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1302, x_2, x_3); -lean_dec(x_1); -return x_1303; } else { -lean_object* x_1304; uint8_t x_1305; -lean_dec(x_121); -x_1304 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_1305 = lean_string_dec_eq(x_118, x_1304); -if (x_1305 == 0) -{ -lean_object* x_1306; uint8_t x_1307; -x_1306 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1307 = lean_string_dec_eq(x_118, x_1306); -if (x_1307 == 0) -{ -lean_object* x_1308; uint8_t x_1309; -x_1308 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1309 = lean_string_dec_eq(x_118, x_1308); -if (x_1309 == 0) -{ -lean_object* x_1310; uint8_t x_1311; -x_1310 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_1311 = lean_string_dec_eq(x_118, x_1310); -if (x_1311 == 0) -{ -lean_object* x_1312; uint8_t x_1313; -x_1312 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; -x_1313 = lean_string_dec_eq(x_118, x_1312); -if (x_1313 == 0) -{ -lean_object* x_1314; uint8_t x_1315; -x_1314 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_1315 = lean_string_dec_eq(x_118, x_1314); -if (x_1315 == 0) -{ -lean_object* x_1316; uint8_t x_1317; -x_1316 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_1317 = lean_string_dec_eq(x_118, x_1316); -if (x_1317 == 0) -{ -lean_object* x_1318; uint8_t x_1319; -x_1318 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1319 = lean_string_dec_eq(x_118, x_1318); -if (x_1319 == 0) -{ -lean_object* x_1320; uint8_t x_1321; -x_1320 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1321 = lean_string_dec_eq(x_118, x_1320); -if (x_1321 == 0) -{ -lean_object* x_1322; uint8_t x_1323; +lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; +lean_dec(x_1227); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1296 = l_Lean_Syntax_inhabited; +x_1297 = lean_unsigned_to_nat(0u); +x_1298 = lean_array_get(x_1296, x_4, x_1297); +x_1299 = lean_unsigned_to_nat(2u); +x_1300 = lean_array_get(x_1296, x_4, x_1299); lean_dec(x_4); -x_1322 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_1323 = lean_string_dec_eq(x_118, x_1322); -if (x_1323 == 0) -{ -lean_object* x_1324; uint8_t x_1325; -x_1324 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_1325 = lean_string_dec_eq(x_118, x_1324); -if (x_1325 == 0) -{ -lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; -x_1326 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1326, 0, x_117); -lean_ctor_set(x_1326, 1, x_1278); -lean_ctor_set_usize(x_1326, 2, x_1277); -lean_ctor_set(x_115, 1, x_1282); -lean_ctor_set(x_115, 0, x_1326); -lean_ctor_set(x_105, 1, x_1293); -if (lean_is_scalar(x_1281)) { - x_1327 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1327 = x_1281; +x_1301 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_1301, 0, x_117); +lean_closure_set(x_1301, 1, x_1298); +lean_closure_set(x_1301, 2, x_1300); +x_1302 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1303 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1303, 0, x_1302); +lean_closure_set(x_1303, 1, x_1301); +x_1304 = l_Lean_Unhygienic_run___rarg(x_1303); +x_1 = x_1304; +goto _start; } -lean_ctor_set(x_1327, 0, x_105); -lean_ctor_set(x_1327, 1, x_118); -lean_ctor_set_usize(x_1327, 2, x_120); -x_1328 = l_System_FilePath_dirName___closed__1; -x_1329 = l_Lean_Name_toStringWithSep___main(x_1328, x_1327); -x_1330 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1330, 0, x_1329); -x_1331 = lean_alloc_ctor(0, 1, 0); +} +else +{ +lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; +lean_dec(x_1227); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1306 = l_Lean_Syntax_inhabited; +x_1307 = lean_unsigned_to_nat(0u); +x_1308 = lean_array_get(x_1306, x_4, x_1307); +x_1309 = lean_unsigned_to_nat(2u); +x_1310 = lean_array_get(x_1306, x_4, x_1309); +lean_dec(x_4); +x_1311 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_1311, 0, x_117); +lean_closure_set(x_1311, 1, x_1308); +lean_closure_set(x_1311, 2, x_1310); +x_1312 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1313 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1313, 0, x_1312); +lean_closure_set(x_1313, 1, x_1311); +x_1314 = l_Lean_Unhygienic_run___rarg(x_1313); +x_1 = x_1314; +goto _start; +} +} +else +{ +lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; uint8_t x_1322; +lean_dec(x_1227); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1316 = l_Lean_Syntax_inhabited; +x_1317 = lean_unsigned_to_nat(1u); +x_1318 = lean_array_get(x_1316, x_4, x_1317); +lean_dec(x_4); +x_1319 = l_Lean_Syntax_getArgs(x_1318); +lean_dec(x_1318); +x_1320 = lean_array_get_size(x_1319); +x_1321 = lean_unsigned_to_nat(0u); +x_1322 = lean_nat_dec_eq(x_1320, x_1321); +lean_dec(x_1320); +if (x_1322 == 0) +{ +lean_object* x_1323; +x_1323 = lean_array_get(x_1316, x_1319, x_1321); +lean_dec(x_1319); +x_1 = x_1323; +goto _start; +} +else +{ +lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; +lean_dec(x_1319); +lean_dec(x_2); +x_1325 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_1326 = lean_name_mk_string(x_117, x_1325); +x_1327 = l_Lean_Elab_Term_elabParen___closed__4; +x_1328 = lean_name_mk_string(x_1326, x_1327); +x_1329 = lean_box(0); +x_1330 = l_Lean_mkConst(x_1328, x_1329); +x_1331 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1331, 0, x_1330); -x_1332 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1333 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1333, 0, x_1332); -lean_ctor_set(x_1333, 1, x_1331); -x_1334 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1333, x_2, x_3); -lean_dec(x_1); -return x_1334; +lean_ctor_set(x_1331, 1, x_3); +return x_1331; +} +} } else { -lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; -lean_dec(x_1281); +lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; +lean_dec(x_1227); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); -lean_dec(x_2); -x_1335 = lean_unsigned_to_nat(0u); -x_1336 = l_Lean_Syntax_getArg(x_1, x_1335); lean_dec(x_1); -x_1337 = l_Lean_numLitKind; -x_1338 = l_Lean_Syntax_isNatLitAux(x_1337, x_1336); -lean_dec(x_1336); -if (lean_obj_tag(x_1338) == 0) -{ -lean_object* x_1339; lean_object* x_1340; -x_1339 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_1340 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1340, 0, x_1339); -lean_ctor_set(x_1340, 1, x_3); -return x_1340; -} -else -{ -lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; -x_1341 = lean_ctor_get(x_1338, 0); -lean_inc(x_1341); -lean_dec(x_1338); -x_1342 = l_Lean_mkNatLit(x_1341); -x_1343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1343, 0, x_1342); -lean_ctor_set(x_1343, 1, x_3); -return x_1343; -} +x_1332 = l_Lean_Syntax_inhabited; +x_1333 = lean_unsigned_to_nat(2u); +x_1334 = lean_array_get(x_1332, x_4, x_1333); +x_1335 = lean_unsigned_to_nat(4u); +x_1336 = lean_array_get(x_1332, x_4, x_1335); +x_1337 = lean_unsigned_to_nat(6u); +x_1338 = lean_array_get(x_1332, x_4, x_1337); +lean_dec(x_4); +x_1339 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_1339, 0, x_117); +lean_closure_set(x_1339, 1, x_1334); +lean_closure_set(x_1339, 2, x_1336); +lean_closure_set(x_1339, 3, x_1338); +x_1340 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1341 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1341, 0, x_1340); +lean_closure_set(x_1341, 1, x_1339); +x_1342 = l_Lean_Unhygienic_run___rarg(x_1341); +x_1 = x_1342; +goto _start; } } else { -lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -lean_dec(x_1281); +lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; +lean_dec(x_1227); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); -lean_dec(x_2); -x_1344 = lean_unsigned_to_nat(0u); -x_1345 = l_Lean_Syntax_getArg(x_1, x_1344); lean_dec(x_1); -x_1346 = l_Lean_Syntax_isStrLit_x3f(x_1345); -lean_dec(x_1345); -if (lean_obj_tag(x_1346) == 0) +x_1344 = l_Lean_Syntax_inhabited; +x_1345 = lean_unsigned_to_nat(0u); +x_1346 = lean_array_get(x_1344, x_4, x_1345); +lean_inc(x_2); +x_1347 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1346, x_2, x_3); +if (lean_obj_tag(x_1347) == 0) { -lean_object* x_1347; lean_object* x_1348; -x_1347 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_1348 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1348, 0, x_1347); -lean_ctor_set(x_1348, 1, x_3); -return x_1348; -} -else -{ -lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; -x_1349 = lean_ctor_get(x_1346, 0); +lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; +x_1348 = lean_ctor_get(x_1347, 0); +lean_inc(x_1348); +x_1349 = lean_ctor_get(x_1347, 1); lean_inc(x_1349); -lean_dec(x_1346); -x_1350 = l_Lean_mkStrLit(x_1349); -x_1351 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1351, 0, x_1350); -lean_ctor_set(x_1351, 1, x_3); -return x_1351; +lean_dec(x_1347); +x_1350 = lean_unsigned_to_nat(1u); +x_1351 = lean_array_get(x_1344, x_4, x_1350); +lean_dec(x_4); +x_1352 = l_Lean_Syntax_getArgs(x_1351); +lean_dec(x_1351); +x_1353 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1345, x_1352, x_2, x_1349); +if (lean_obj_tag(x_1353) == 0) +{ +lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; +x_1354 = lean_ctor_get(x_1353, 0); +lean_inc(x_1354); +x_1355 = lean_ctor_get(x_1353, 1); +lean_inc(x_1355); +if (lean_is_exclusive(x_1353)) { + lean_ctor_release(x_1353, 0); + lean_ctor_release(x_1353, 1); + x_1356 = x_1353; +} else { + lean_dec_ref(x_1353); + x_1356 = lean_box(0); +} +x_1357 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1354, x_1354, x_1345, x_1348); +lean_dec(x_1354); +if (lean_is_scalar(x_1356)) { + x_1358 = lean_alloc_ctor(0, 2, 0); +} else { + x_1358 = x_1356; +} +lean_ctor_set(x_1358, 0, x_1357); +lean_ctor_set(x_1358, 1, x_1355); +return x_1358; +} +else +{ +lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; +lean_dec(x_1348); +x_1359 = lean_ctor_get(x_1353, 0); +lean_inc(x_1359); +x_1360 = lean_ctor_get(x_1353, 1); +lean_inc(x_1360); +if (lean_is_exclusive(x_1353)) { + lean_ctor_release(x_1353, 0); + lean_ctor_release(x_1353, 1); + x_1361 = x_1353; +} else { + lean_dec_ref(x_1353); + x_1361 = lean_box(0); +} +if (lean_is_scalar(x_1361)) { + x_1362 = lean_alloc_ctor(1, 2, 0); +} else { + x_1362 = x_1361; +} +lean_ctor_set(x_1362, 0, x_1359); +lean_ctor_set(x_1362, 1, x_1360); +return x_1362; +} +} +else +{ +lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; +lean_dec(x_4); +lean_dec(x_2); +x_1363 = lean_ctor_get(x_1347, 0); +lean_inc(x_1363); +x_1364 = lean_ctor_get(x_1347, 1); +lean_inc(x_1364); +if (lean_is_exclusive(x_1347)) { + lean_ctor_release(x_1347, 0); + lean_ctor_release(x_1347, 1); + x_1365 = x_1347; +} else { + lean_dec_ref(x_1347); + x_1365 = lean_box(0); +} +if (lean_is_scalar(x_1365)) { + x_1366 = lean_alloc_ctor(1, 2, 0); +} else { + x_1366 = x_1365; +} +lean_ctor_set(x_1366, 0, x_1363); +lean_ctor_set(x_1366, 1, x_1364); +return x_1366; } } } else { -lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; -lean_dec(x_1281); +lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; +lean_dec(x_1227); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_1352 = l_Lean_Syntax_inhabited; -x_1353 = lean_unsigned_to_nat(0u); -x_1354 = lean_array_get(x_1352, x_4, x_1353); -x_1355 = lean_unsigned_to_nat(2u); -x_1356 = lean_array_get(x_1352, x_4, x_1355); -lean_dec(x_4); -x_1357 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_1357, 0, x_117); -lean_closure_set(x_1357, 1, x_1354); -lean_closure_set(x_1357, 2, x_1356); -x_1358 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1359 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1359, 0, x_1358); -lean_closure_set(x_1359, 1, x_1357); -x_1360 = l_Lean_Unhygienic_run___rarg(x_1359); -x_1 = x_1360; -goto _start; -} -} -else +x_1367 = l_Lean_Syntax_inhabited; +x_1368 = lean_unsigned_to_nat(1u); +x_1369 = lean_array_get(x_1367, x_4, x_1368); +lean_inc(x_1369); +x_1370 = l_Lean_Syntax_getKind(x_1369); +if (lean_obj_tag(x_1370) == 1) { -lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1362 = l_Lean_Syntax_inhabited; -x_1363 = lean_unsigned_to_nat(0u); -x_1364 = lean_array_get(x_1362, x_4, x_1363); -x_1365 = lean_unsigned_to_nat(2u); -x_1366 = lean_array_get(x_1362, x_4, x_1365); -lean_dec(x_4); -x_1367 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_1367, 0, x_117); -lean_closure_set(x_1367, 1, x_1364); -lean_closure_set(x_1367, 2, x_1366); -x_1368 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1369 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1369, 0, x_1368); -lean_closure_set(x_1369, 1, x_1367); -x_1370 = l_Lean_Unhygienic_run___rarg(x_1369); -x_1 = x_1370; -goto _start; -} -} -else +lean_object* x_1371; +x_1371 = lean_ctor_get(x_1370, 0); +lean_inc(x_1371); +if (lean_obj_tag(x_1371) == 1) { -lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; uint8_t x_1378; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1372 = l_Lean_Syntax_inhabited; -x_1373 = lean_unsigned_to_nat(1u); -x_1374 = lean_array_get(x_1372, x_4, x_1373); -lean_dec(x_4); -x_1375 = l_Lean_Syntax_getArgs(x_1374); -lean_dec(x_1374); -x_1376 = lean_array_get_size(x_1375); -x_1377 = lean_unsigned_to_nat(0u); -x_1378 = lean_nat_dec_eq(x_1376, x_1377); +lean_object* x_1372; +x_1372 = lean_ctor_get(x_1371, 0); +lean_inc(x_1372); +if (lean_obj_tag(x_1372) == 1) +{ +lean_object* x_1373; +x_1373 = lean_ctor_get(x_1372, 0); +lean_inc(x_1373); +if (lean_obj_tag(x_1373) == 1) +{ +lean_object* x_1374; +x_1374 = lean_ctor_get(x_1373, 0); +lean_inc(x_1374); +if (lean_obj_tag(x_1374) == 0) +{ +lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; uint8_t x_1379; +x_1375 = lean_ctor_get(x_1370, 1); +lean_inc(x_1375); +lean_dec(x_1370); +x_1376 = lean_ctor_get(x_1371, 1); +lean_inc(x_1376); +lean_dec(x_1371); +x_1377 = lean_ctor_get(x_1372, 1); +lean_inc(x_1377); +lean_dec(x_1372); +x_1378 = lean_ctor_get(x_1373, 1); +lean_inc(x_1378); +lean_dec(x_1373); +x_1379 = lean_string_dec_eq(x_1378, x_1224); +lean_dec(x_1378); +if (x_1379 == 0) +{ +lean_object* x_1380; lean_object* x_1381; +lean_dec(x_1377); lean_dec(x_1376); -if (x_1378 == 0) -{ -lean_object* x_1379; -x_1379 = lean_array_get(x_1372, x_1375, x_1377); lean_dec(x_1375); -x_1 = x_1379; -goto _start; +lean_dec(x_1369); +x_1380 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1381 = l_unreachable_x21___rarg(x_1380); +x_5 = x_1381; +goto block_94; } else { -lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; +uint8_t x_1382; +x_1382 = lean_string_dec_eq(x_1377, x_1228); +lean_dec(x_1377); +if (x_1382 == 0) +{ +lean_object* x_1383; lean_object* x_1384; +lean_dec(x_1376); lean_dec(x_1375); -lean_dec(x_2); -x_1381 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1382 = lean_name_mk_string(x_117, x_1381); -x_1383 = l_Lean_Elab_Term_elabParen___closed__4; -x_1384 = lean_name_mk_string(x_1382, x_1383); -x_1385 = lean_box(0); -x_1386 = l_Lean_mkConst(x_1384, x_1385); -x_1387 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1387, 0, x_1386); -lean_ctor_set(x_1387, 1, x_3); -return x_1387; +lean_dec(x_1369); +x_1383 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1384 = l_unreachable_x21___rarg(x_1383); +x_5 = x_1384; +goto block_94; +} +else +{ +uint8_t x_1385; +x_1385 = lean_string_dec_eq(x_1376, x_1239); +lean_dec(x_1376); +if (x_1385 == 0) +{ +lean_object* x_1386; lean_object* x_1387; +lean_dec(x_1375); +lean_dec(x_1369); +x_1386 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1387 = l_unreachable_x21___rarg(x_1386); +x_5 = x_1387; +goto block_94; +} +else +{ +lean_object* x_1388; uint8_t x_1389; +x_1388 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_1389 = lean_string_dec_eq(x_1375, x_1388); +if (x_1389 == 0) +{ +lean_object* x_1390; uint8_t x_1391; +x_1390 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_1391 = lean_string_dec_eq(x_1375, x_1390); +lean_dec(x_1375); +if (x_1391 == 0) +{ +lean_object* x_1392; lean_object* x_1393; +lean_dec(x_1369); +x_1392 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1393 = l_unreachable_x21___rarg(x_1392); +x_5 = x_1393; +goto block_94; +} +else +{ +lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; +x_1394 = lean_unsigned_to_nat(0u); +x_1395 = l_Lean_Syntax_getArg(x_1369, x_1394); +x_1396 = l_Lean_Syntax_getIdAt(x_1395, x_1394); +lean_dec(x_1395); +x_1397 = lean_unsigned_to_nat(3u); +x_1398 = l_Lean_Syntax_getArg(x_1369, x_1397); +lean_dec(x_1369); +x_1399 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1399, 0, x_1396); +lean_ctor_set(x_1399, 1, x_1398); +x_5 = x_1399; +goto block_94; +} +} +else +{ +lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; +lean_dec(x_1375); +x_1400 = lean_unsigned_to_nat(0u); +x_1401 = l_Lean_Syntax_getIdAt(x_1369, x_1400); +x_1402 = lean_unsigned_to_nat(4u); +x_1403 = l_Lean_Syntax_getArg(x_1369, x_1402); +lean_dec(x_1369); +x_1404 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1404, 0, x_1401); +lean_ctor_set(x_1404, 1, x_1403); +x_5 = x_1404; +goto block_94; +} +} } } } else { -lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; -lean_dec(x_1281); +lean_object* x_1405; lean_object* x_1406; +lean_dec(x_1374); +lean_dec(x_1373); +lean_dec(x_1372); +lean_dec(x_1371); +lean_dec(x_1370); +lean_dec(x_1369); +x_1405 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1406 = l_unreachable_x21___rarg(x_1405); +x_5 = x_1406; +goto block_94; +} +} +else +{ +lean_object* x_1407; lean_object* x_1408; +lean_dec(x_1373); +lean_dec(x_1372); +lean_dec(x_1371); +lean_dec(x_1370); +lean_dec(x_1369); +x_1407 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1408 = l_unreachable_x21___rarg(x_1407); +x_5 = x_1408; +goto block_94; +} +} +else +{ +lean_object* x_1409; lean_object* x_1410; +lean_dec(x_1372); +lean_dec(x_1371); +lean_dec(x_1370); +lean_dec(x_1369); +x_1409 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1410 = l_unreachable_x21___rarg(x_1409); +x_5 = x_1410; +goto block_94; +} +} +else +{ +lean_object* x_1411; lean_object* x_1412; +lean_dec(x_1371); +lean_dec(x_1370); +lean_dec(x_1369); +x_1411 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1412 = l_unreachable_x21___rarg(x_1411); +x_5 = x_1412; +goto block_94; +} +} +else +{ +lean_object* x_1413; lean_object* x_1414; +lean_dec(x_1370); +lean_dec(x_1369); +x_1413 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1414 = l_unreachable_x21___rarg(x_1413); +x_5 = x_1414; +goto block_94; +} +} +} +else +{ +lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; uint8_t x_1423; +lean_dec(x_1227); lean_free_object(x_115); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_1388 = l_Lean_Syntax_inhabited; -x_1389 = lean_unsigned_to_nat(2u); -x_1390 = lean_array_get(x_1388, x_4, x_1389); -x_1391 = lean_unsigned_to_nat(4u); -x_1392 = lean_array_get(x_1388, x_4, x_1391); -x_1393 = lean_unsigned_to_nat(6u); -x_1394 = lean_array_get(x_1388, x_4, x_1393); +x_1415 = l_Lean_Syntax_inhabited; +x_1416 = lean_unsigned_to_nat(1u); +x_1417 = lean_array_get(x_1415, x_4, x_1416); +x_1418 = l_Lean_Syntax_getArgs(x_1417); +lean_dec(x_1417); +x_1419 = lean_unsigned_to_nat(3u); +x_1420 = lean_array_get(x_1415, x_4, x_1419); lean_dec(x_4); -x_1395 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_1395, 0, x_117); -lean_closure_set(x_1395, 1, x_1390); -lean_closure_set(x_1395, 2, x_1392); -lean_closure_set(x_1395, 3, x_1394); -x_1396 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1397 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1397, 0, x_1396); -lean_closure_set(x_1397, 1, x_1395); -x_1398 = l_Lean_Unhygienic_run___rarg(x_1397); -x_1 = x_1398; -goto _start; -} -} -else +x_1421 = lean_array_get_size(x_1418); +x_1422 = lean_unsigned_to_nat(0u); +x_1423 = lean_nat_dec_eq(x_1421, x_1422); +lean_dec(x_1421); +if (x_1423 == 0) { -lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1400 = l_Lean_Syntax_inhabited; -x_1401 = lean_unsigned_to_nat(1u); -x_1402 = lean_array_get(x_1400, x_4, x_1401); -lean_inc(x_2); -x_1403 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1402, x_2, x_3); -if (lean_obj_tag(x_1403) == 0) -{ -lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; -x_1404 = lean_ctor_get(x_1403, 0); -lean_inc(x_1404); -x_1405 = lean_ctor_get(x_1403, 1); -lean_inc(x_1405); -lean_dec(x_1403); -x_1406 = lean_unsigned_to_nat(2u); -x_1407 = lean_array_get(x_1400, x_4, x_1406); -lean_dec(x_4); -x_1408 = l_Lean_Syntax_getArgs(x_1407); -lean_dec(x_1407); -x_1409 = lean_unsigned_to_nat(0u); -x_1410 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1409, x_1408, x_2, x_1405); -if (lean_obj_tag(x_1410) == 0) -{ -lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; -x_1411 = lean_ctor_get(x_1410, 0); -lean_inc(x_1411); -x_1412 = lean_ctor_get(x_1410, 1); -lean_inc(x_1412); -if (lean_is_exclusive(x_1410)) { - lean_ctor_release(x_1410, 0); - lean_ctor_release(x_1410, 1); - x_1413 = x_1410; -} else { - lean_dec_ref(x_1410); - x_1413 = lean_box(0); -} -x_1414 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1411, x_1411, x_1409, x_1404); -lean_dec(x_1411); -if (lean_is_scalar(x_1413)) { - x_1415 = lean_alloc_ctor(0, 2, 0); -} else { - x_1415 = x_1413; -} -lean_ctor_set(x_1415, 0, x_1414); -lean_ctor_set(x_1415, 1, x_1412); -return x_1415; -} -else -{ -lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; -lean_dec(x_1404); -x_1416 = lean_ctor_get(x_1410, 0); -lean_inc(x_1416); -x_1417 = lean_ctor_get(x_1410, 1); -lean_inc(x_1417); -if (lean_is_exclusive(x_1410)) { - lean_ctor_release(x_1410, 0); - lean_ctor_release(x_1410, 1); - x_1418 = x_1410; -} else { - lean_dec_ref(x_1410); - x_1418 = lean_box(0); -} -if (lean_is_scalar(x_1418)) { - x_1419 = lean_alloc_ctor(1, 2, 0); -} else { - x_1419 = x_1418; -} -lean_ctor_set(x_1419, 0, x_1416); -lean_ctor_set(x_1419, 1, x_1417); -return x_1419; -} -} -else -{ -lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; -lean_dec(x_4); -lean_dec(x_2); -x_1420 = lean_ctor_get(x_1403, 0); -lean_inc(x_1420); -x_1421 = lean_ctor_get(x_1403, 1); -lean_inc(x_1421); -if (lean_is_exclusive(x_1403)) { - lean_ctor_release(x_1403, 0); - lean_ctor_release(x_1403, 1); - x_1422 = x_1403; -} else { - lean_dec_ref(x_1403); - x_1422 = lean_box(0); -} -if (lean_is_scalar(x_1422)) { - x_1423 = lean_alloc_ctor(1, 2, 0); -} else { - x_1423 = x_1422; -} -lean_ctor_set(x_1423, 0, x_1420); -lean_ctor_set(x_1423, 1, x_1421); -return x_1423; -} -} -} -else -{ -lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1424 = l_Lean_Syntax_inhabited; -x_1425 = lean_unsigned_to_nat(0u); -x_1426 = lean_array_get(x_1424, x_4, x_1425); -lean_inc(x_2); -x_1427 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1426, x_2, x_3); -if (lean_obj_tag(x_1427) == 0) -{ -lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; -x_1428 = lean_ctor_get(x_1427, 0); -lean_inc(x_1428); -x_1429 = lean_ctor_get(x_1427, 1); -lean_inc(x_1429); -lean_dec(x_1427); -x_1430 = lean_unsigned_to_nat(1u); -x_1431 = lean_array_get(x_1424, x_4, x_1430); -lean_dec(x_4); -x_1432 = l_Lean_Syntax_getArgs(x_1431); -lean_dec(x_1431); -x_1433 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1425, x_1432, x_2, x_1429); -if (lean_obj_tag(x_1433) == 0) -{ -lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; -x_1434 = lean_ctor_get(x_1433, 0); -lean_inc(x_1434); -x_1435 = lean_ctor_get(x_1433, 1); -lean_inc(x_1435); -if (lean_is_exclusive(x_1433)) { - lean_ctor_release(x_1433, 0); - lean_ctor_release(x_1433, 1); - x_1436 = x_1433; -} else { - lean_dec_ref(x_1433); - x_1436 = lean_box(0); -} -x_1437 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1434, x_1434, x_1425, x_1428); -lean_dec(x_1434); -if (lean_is_scalar(x_1436)) { - x_1438 = lean_alloc_ctor(0, 2, 0); -} else { - x_1438 = x_1436; -} -lean_ctor_set(x_1438, 0, x_1437); -lean_ctor_set(x_1438, 1, x_1435); -return x_1438; -} -else -{ -lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; +lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; uint8_t x_1429; +x_1424 = lean_array_get(x_1415, x_1418, x_1422); +x_1425 = lean_name_mk_string(x_117, x_1224); +x_1426 = lean_name_mk_string(x_1425, x_1228); +x_1427 = lean_name_mk_string(x_1426, x_1239); +lean_inc(x_1427); +x_1428 = lean_name_mk_string(x_1427, x_1250); +lean_inc(x_1424); +x_1429 = l_Lean_Syntax_isOfKind(x_1424, x_1428); lean_dec(x_1428); -x_1439 = lean_ctor_get(x_1433, 0); -lean_inc(x_1439); -x_1440 = lean_ctor_get(x_1433, 1); -lean_inc(x_1440); -if (lean_is_exclusive(x_1433)) { - lean_ctor_release(x_1433, 0); - lean_ctor_release(x_1433, 1); - x_1441 = x_1433; -} else { - lean_dec_ref(x_1433); - x_1441 = lean_box(0); -} -if (lean_is_scalar(x_1441)) { - x_1442 = lean_alloc_ctor(1, 2, 0); -} else { - x_1442 = x_1441; -} -lean_ctor_set(x_1442, 0, x_1439); -lean_ctor_set(x_1442, 1, x_1440); -return x_1442; -} -} -else +if (x_1429 == 0) { -lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; -lean_dec(x_4); -lean_dec(x_2); -x_1443 = lean_ctor_get(x_1427, 0); -lean_inc(x_1443); -x_1444 = lean_ctor_get(x_1427, 1); -lean_inc(x_1444); -if (lean_is_exclusive(x_1427)) { - lean_ctor_release(x_1427, 0); - lean_ctor_release(x_1427, 1); - x_1445 = x_1427; -} else { - lean_dec_ref(x_1427); - x_1445 = lean_box(0); -} -if (lean_is_scalar(x_1445)) { - x_1446 = lean_alloc_ctor(1, 2, 0); -} else { - x_1446 = x_1445; -} -lean_ctor_set(x_1446, 0, x_1443); -lean_ctor_set(x_1446, 1, x_1444); -return x_1446; -} -} -} -else +lean_object* x_1430; lean_object* x_1431; uint8_t x_1432; +x_1430 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_1427); +x_1431 = lean_name_mk_string(x_1427, x_1430); +lean_inc(x_1424); +x_1432 = l_Lean_Syntax_isOfKind(x_1424, x_1431); +lean_dec(x_1431); +if (x_1432 == 0) { -lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1447 = l_Lean_Syntax_inhabited; -x_1448 = lean_unsigned_to_nat(1u); -x_1449 = lean_array_get(x_1447, x_4, x_1448); -lean_inc(x_1449); -x_1450 = l_Lean_Syntax_getKind(x_1449); -if (lean_obj_tag(x_1450) == 1) -{ -lean_object* x_1451; -x_1451 = lean_ctor_get(x_1450, 0); -lean_inc(x_1451); -if (lean_obj_tag(x_1451) == 1) -{ -lean_object* x_1452; -x_1452 = lean_ctor_get(x_1451, 0); -lean_inc(x_1452); -if (lean_obj_tag(x_1452) == 1) -{ -lean_object* x_1453; -x_1453 = lean_ctor_get(x_1452, 0); -lean_inc(x_1453); -if (lean_obj_tag(x_1453) == 1) -{ -lean_object* x_1454; -x_1454 = lean_ctor_get(x_1453, 0); -lean_inc(x_1454); -if (lean_obj_tag(x_1454) == 0) -{ -lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; uint8_t x_1459; -x_1455 = lean_ctor_get(x_1450, 1); -lean_inc(x_1455); -lean_dec(x_1450); -x_1456 = lean_ctor_get(x_1451, 1); -lean_inc(x_1456); -lean_dec(x_1451); -x_1457 = lean_ctor_get(x_1452, 1); -lean_inc(x_1457); -lean_dec(x_1452); -x_1458 = lean_ctor_get(x_1453, 1); -lean_inc(x_1458); -lean_dec(x_1453); -x_1459 = lean_string_dec_eq(x_1458, x_1278); -lean_dec(x_1458); -if (x_1459 == 0) -{ -lean_object* x_1460; lean_object* x_1461; -lean_dec(x_1457); -lean_dec(x_1456); -lean_dec(x_1455); -lean_dec(x_1449); -x_1460 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1461 = l_unreachable_x21___rarg(x_1460); -x_5 = x_1461; -goto block_94; -} -else -{ -uint8_t x_1462; -x_1462 = lean_string_dec_eq(x_1457, x_1282); -lean_dec(x_1457); -if (x_1462 == 0) -{ -lean_object* x_1463; lean_object* x_1464; -lean_dec(x_1456); -lean_dec(x_1455); -lean_dec(x_1449); -x_1463 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1464 = l_unreachable_x21___rarg(x_1463); -x_5 = x_1464; -goto block_94; -} -else -{ -uint8_t x_1465; -x_1465 = lean_string_dec_eq(x_1456, x_1293); -lean_dec(x_1456); -if (x_1465 == 0) -{ -lean_object* x_1466; lean_object* x_1467; -lean_dec(x_1455); -lean_dec(x_1449); -x_1466 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1467 = l_unreachable_x21___rarg(x_1466); -x_5 = x_1467; -goto block_94; -} -else -{ -lean_object* x_1468; uint8_t x_1469; -x_1468 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_1469 = lean_string_dec_eq(x_1455, x_1468); -if (x_1469 == 0) -{ -lean_object* x_1470; uint8_t x_1471; -x_1470 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_1471 = lean_string_dec_eq(x_1455, x_1470); -lean_dec(x_1455); -if (x_1471 == 0) -{ -lean_object* x_1472; lean_object* x_1473; -lean_dec(x_1449); -x_1472 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1473 = l_unreachable_x21___rarg(x_1472); -x_5 = x_1473; -goto block_94; -} -else -{ -lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; -x_1474 = lean_unsigned_to_nat(0u); -x_1475 = l_Lean_Syntax_getArg(x_1449, x_1474); -x_1476 = l_Lean_Syntax_getIdAt(x_1475, x_1474); -lean_dec(x_1475); -x_1477 = lean_unsigned_to_nat(3u); -x_1478 = l_Lean_Syntax_getArg(x_1449, x_1477); -lean_dec(x_1449); -x_1479 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1479, 0, x_1476); -lean_ctor_set(x_1479, 1, x_1478); -x_5 = x_1479; -goto block_94; -} -} -else -{ -lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; -lean_dec(x_1455); -x_1480 = lean_unsigned_to_nat(0u); -x_1481 = l_Lean_Syntax_getIdAt(x_1449, x_1480); -x_1482 = lean_unsigned_to_nat(4u); -x_1483 = l_Lean_Syntax_getArg(x_1449, x_1482); -lean_dec(x_1449); -x_1484 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1484, 0, x_1481); -lean_ctor_set(x_1484, 1, x_1483); -x_5 = x_1484; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_1485; lean_object* x_1486; -lean_dec(x_1454); -lean_dec(x_1453); -lean_dec(x_1452); -lean_dec(x_1451); -lean_dec(x_1450); -lean_dec(x_1449); -x_1485 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1486 = l_unreachable_x21___rarg(x_1485); -x_5 = x_1486; -goto block_94; -} -} -else -{ -lean_object* x_1487; lean_object* x_1488; -lean_dec(x_1453); -lean_dec(x_1452); -lean_dec(x_1451); -lean_dec(x_1450); -lean_dec(x_1449); -x_1487 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1488 = l_unreachable_x21___rarg(x_1487); -x_5 = x_1488; -goto block_94; -} -} -else -{ -lean_object* x_1489; lean_object* x_1490; -lean_dec(x_1452); -lean_dec(x_1451); -lean_dec(x_1450); -lean_dec(x_1449); -x_1489 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1490 = l_unreachable_x21___rarg(x_1489); -x_5 = x_1490; -goto block_94; -} -} -else -{ -lean_object* x_1491; lean_object* x_1492; -lean_dec(x_1451); -lean_dec(x_1450); -lean_dec(x_1449); -x_1491 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1492 = l_unreachable_x21___rarg(x_1491); -x_5 = x_1492; -goto block_94; -} -} -else -{ -lean_object* x_1493; lean_object* x_1494; -lean_dec(x_1450); -lean_dec(x_1449); -x_1493 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1494 = l_unreachable_x21___rarg(x_1493); -x_5 = x_1494; -goto block_94; -} -} -} -else -{ -lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; uint8_t x_1503; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1495 = l_Lean_Syntax_inhabited; -x_1496 = lean_unsigned_to_nat(1u); -x_1497 = lean_array_get(x_1495, x_4, x_1496); -x_1498 = l_Lean_Syntax_getArgs(x_1497); -lean_dec(x_1497); -x_1499 = lean_unsigned_to_nat(3u); -x_1500 = lean_array_get(x_1495, x_4, x_1499); -lean_dec(x_4); -x_1501 = lean_array_get_size(x_1498); -x_1502 = lean_unsigned_to_nat(0u); -x_1503 = lean_nat_dec_eq(x_1501, x_1502); -lean_dec(x_1501); -if (x_1503 == 0) -{ -lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; uint8_t x_1509; -x_1504 = lean_array_get(x_1495, x_1498, x_1502); -x_1505 = lean_name_mk_string(x_117, x_1278); -x_1506 = lean_name_mk_string(x_1505, x_1282); -x_1507 = lean_name_mk_string(x_1506, x_1293); -lean_inc(x_1507); -x_1508 = lean_name_mk_string(x_1507, x_1304); -lean_inc(x_1504); -x_1509 = l_Lean_Syntax_isOfKind(x_1504, x_1508); -lean_dec(x_1508); -if (x_1509 == 0) -{ -lean_object* x_1510; lean_object* x_1511; uint8_t x_1512; -x_1510 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_1507); -x_1511 = lean_name_mk_string(x_1507, x_1510); -lean_inc(x_1504); -x_1512 = l_Lean_Syntax_isOfKind(x_1504, x_1511); -lean_dec(x_1511); -if (x_1512 == 0) -{ -lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; -x_1513 = l_Lean_Syntax_getArg(x_1504, x_1496); -lean_dec(x_1504); -x_1514 = l_Lean_Syntax_getArg(x_1513, x_1502); -x_1515 = l_Lean_Syntax_getIdAt(x_1514, x_1502); -lean_dec(x_1514); -x_1516 = l_Lean_Syntax_getArg(x_1513, x_1496); -lean_dec(x_1513); -x_1517 = l_Lean_Syntax_getArg(x_1516, x_1502); -lean_dec(x_1516); -x_1518 = l_Lean_Syntax_getArg(x_1517, x_1496); -lean_dec(x_1517); +lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; +x_1433 = l_Lean_Syntax_getArg(x_1424, x_1416); +lean_dec(x_1424); +x_1434 = l_Lean_Syntax_getArg(x_1433, x_1422); +x_1435 = l_Lean_Syntax_getIdAt(x_1434, x_1422); +lean_dec(x_1434); +x_1436 = l_Lean_Syntax_getArg(x_1433, x_1416); +lean_dec(x_1433); +x_1437 = l_Lean_Syntax_getArg(x_1436, x_1422); +lean_dec(x_1436); +x_1438 = l_Lean_Syntax_getArg(x_1437, x_1416); +lean_dec(x_1437); lean_inc(x_2); -x_1519 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1518, x_2, x_3); -if (lean_obj_tag(x_1519) == 0) +x_1439 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1438, x_2, x_3); +if (lean_obj_tag(x_1439) == 0) { -lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; uint8_t x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; uint8_t x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; -x_1520 = lean_ctor_get(x_1519, 0); -lean_inc(x_1520); -x_1521 = lean_ctor_get(x_1519, 1); -lean_inc(x_1521); -lean_dec(x_1519); -x_1522 = l_Lean_Elab_Term_getLCtx(x_2, x_1521); -x_1523 = lean_ctor_get(x_1522, 0); -lean_inc(x_1523); -x_1524 = lean_ctor_get(x_1522, 1); -lean_inc(x_1524); -lean_dec(x_1522); -x_1525 = 0; -lean_inc_n(x_1515, 2); -x_1526 = lean_local_ctx_mk_local_decl(x_1523, x_1515, x_1515, x_1520, x_1525); -x_1527 = l_Array_eraseIdx___rarg(x_1498, x_1502); -x_1528 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1524); -x_1529 = lean_ctor_get(x_1528, 1); -lean_inc(x_1529); -lean_dec(x_1528); -x_1530 = lean_name_mk_string(x_1507, x_1306); -x_1531 = l_Lean_nullKind___closed__1; -x_1532 = lean_name_mk_string(x_117, x_1531); -x_1533 = l_Array_empty___closed__1; -x_1534 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1527, x_1527, x_1502, x_1533); -lean_dec(x_1527); -x_1535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1535, 0, x_1532); -lean_ctor_set(x_1535, 1, x_1534); -x_1536 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1537 = lean_array_push(x_1536, x_1535); -x_1538 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1539 = lean_array_push(x_1537, x_1538); -x_1540 = lean_array_push(x_1539, x_1500); -x_1541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1541, 0, x_1530); -lean_ctor_set(x_1541, 1, x_1540); -x_1542 = lean_ctor_get(x_2, 0); -lean_inc(x_1542); -x_1543 = lean_ctor_get(x_2, 1); -lean_inc(x_1543); -x_1544 = lean_ctor_get(x_2, 2); -lean_inc(x_1544); -x_1545 = lean_ctor_get(x_2, 3); -lean_inc(x_1545); -x_1546 = lean_ctor_get(x_2, 4); -lean_inc(x_1546); -x_1547 = lean_ctor_get(x_2, 5); -lean_inc(x_1547); -x_1548 = lean_ctor_get(x_2, 6); -lean_inc(x_1548); -x_1549 = lean_ctor_get(x_2, 7); -lean_inc(x_1549); -x_1550 = lean_ctor_get(x_2, 8); -lean_inc(x_1550); -x_1551 = lean_ctor_get(x_2, 9); -lean_inc(x_1551); -x_1552 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; uint8_t x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; uint8_t x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; +x_1440 = lean_ctor_get(x_1439, 0); +lean_inc(x_1440); +x_1441 = lean_ctor_get(x_1439, 1); +lean_inc(x_1441); +lean_dec(x_1439); +x_1442 = l_Lean_Elab_Term_getLCtx(x_2, x_1441); +x_1443 = lean_ctor_get(x_1442, 0); +lean_inc(x_1443); +x_1444 = lean_ctor_get(x_1442, 1); +lean_inc(x_1444); +lean_dec(x_1442); +x_1445 = 0; +lean_inc_n(x_1435, 2); +x_1446 = lean_local_ctx_mk_local_decl(x_1443, x_1435, x_1435, x_1440, x_1445); +x_1447 = l_Array_eraseIdx___rarg(x_1418, x_1422); +x_1448 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1444); +x_1449 = lean_ctor_get(x_1448, 1); +lean_inc(x_1449); +lean_dec(x_1448); +x_1450 = lean_name_mk_string(x_1427, x_1252); +x_1451 = l_Lean_nullKind___closed__1; +x_1452 = lean_name_mk_string(x_117, x_1451); +x_1453 = l_Array_empty___closed__1; +x_1454 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1447, x_1447, x_1422, x_1453); +lean_dec(x_1447); +x_1455 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1455, 0, x_1452); +lean_ctor_set(x_1455, 1, x_1454); +x_1456 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1457 = lean_array_push(x_1456, x_1455); +x_1458 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1459 = lean_array_push(x_1457, x_1458); +x_1460 = lean_array_push(x_1459, x_1420); +x_1461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1461, 0, x_1450); +lean_ctor_set(x_1461, 1, x_1460); +x_1462 = lean_ctor_get(x_2, 0); +lean_inc(x_1462); +x_1463 = lean_ctor_get(x_2, 1); +lean_inc(x_1463); +x_1464 = lean_ctor_get(x_2, 2); +lean_inc(x_1464); +x_1465 = lean_ctor_get(x_2, 3); +lean_inc(x_1465); +x_1466 = lean_ctor_get(x_2, 4); +lean_inc(x_1466); +x_1467 = lean_ctor_get(x_2, 5); +lean_inc(x_1467); +x_1468 = lean_ctor_get(x_2, 6); +lean_inc(x_1468); +x_1469 = lean_ctor_get(x_2, 7); +lean_inc(x_1469); +x_1470 = lean_ctor_get(x_2, 8); +lean_inc(x_1470); +x_1471 = lean_ctor_get(x_2, 9); +lean_inc(x_1471); +x_1472 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -19769,204 +19429,204 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1553 = x_2; + x_1473 = x_2; } else { lean_dec_ref(x_2); - x_1553 = lean_box(0); + x_1473 = lean_box(0); } -x_1554 = lean_ctor_get(x_1542, 0); -lean_inc(x_1554); -x_1555 = lean_ctor_get(x_1542, 2); -lean_inc(x_1555); -x_1556 = lean_ctor_get(x_1542, 3); -lean_inc(x_1556); -x_1557 = lean_ctor_get(x_1542, 4); -lean_inc(x_1557); -if (lean_is_exclusive(x_1542)) { - lean_ctor_release(x_1542, 0); - lean_ctor_release(x_1542, 1); - lean_ctor_release(x_1542, 2); - lean_ctor_release(x_1542, 3); - lean_ctor_release(x_1542, 4); - x_1558 = x_1542; +x_1474 = lean_ctor_get(x_1462, 0); +lean_inc(x_1474); +x_1475 = lean_ctor_get(x_1462, 2); +lean_inc(x_1475); +x_1476 = lean_ctor_get(x_1462, 3); +lean_inc(x_1476); +x_1477 = lean_ctor_get(x_1462, 4); +lean_inc(x_1477); +if (lean_is_exclusive(x_1462)) { + lean_ctor_release(x_1462, 0); + lean_ctor_release(x_1462, 1); + lean_ctor_release(x_1462, 2); + lean_ctor_release(x_1462, 3); + lean_ctor_release(x_1462, 4); + x_1478 = x_1462; } else { - lean_dec_ref(x_1542); - x_1558 = lean_box(0); + lean_dec_ref(x_1462); + x_1478 = lean_box(0); } -lean_inc(x_1526); -if (lean_is_scalar(x_1558)) { - x_1559 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_1446); +if (lean_is_scalar(x_1478)) { + x_1479 = lean_alloc_ctor(0, 5, 0); } else { - x_1559 = x_1558; + x_1479 = x_1478; } -lean_ctor_set(x_1559, 0, x_1554); -lean_ctor_set(x_1559, 1, x_1526); -lean_ctor_set(x_1559, 2, x_1555); -lean_ctor_set(x_1559, 3, x_1556); -lean_ctor_set(x_1559, 4, x_1557); -if (lean_is_scalar(x_1553)) { - x_1560 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_1479, 0, x_1474); +lean_ctor_set(x_1479, 1, x_1446); +lean_ctor_set(x_1479, 2, x_1475); +lean_ctor_set(x_1479, 3, x_1476); +lean_ctor_set(x_1479, 4, x_1477); +if (lean_is_scalar(x_1473)) { + x_1480 = lean_alloc_ctor(0, 10, 1); } else { - x_1560 = x_1553; + x_1480 = x_1473; } -lean_ctor_set(x_1560, 0, x_1559); -lean_ctor_set(x_1560, 1, x_1543); -lean_ctor_set(x_1560, 2, x_1544); -lean_ctor_set(x_1560, 3, x_1545); -lean_ctor_set(x_1560, 4, x_1546); -lean_ctor_set(x_1560, 5, x_1547); -lean_ctor_set(x_1560, 6, x_1548); -lean_ctor_set(x_1560, 7, x_1549); -lean_ctor_set(x_1560, 8, x_1550); -lean_ctor_set(x_1560, 9, x_1551); -lean_ctor_set_uint8(x_1560, sizeof(void*)*10, x_1552); -x_1561 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1541, x_1560, x_1529); -if (lean_obj_tag(x_1561) == 0) +lean_ctor_set(x_1480, 0, x_1479); +lean_ctor_set(x_1480, 1, x_1463); +lean_ctor_set(x_1480, 2, x_1464); +lean_ctor_set(x_1480, 3, x_1465); +lean_ctor_set(x_1480, 4, x_1466); +lean_ctor_set(x_1480, 5, x_1467); +lean_ctor_set(x_1480, 6, x_1468); +lean_ctor_set(x_1480, 7, x_1469); +lean_ctor_set(x_1480, 8, x_1470); +lean_ctor_set(x_1480, 9, x_1471); +lean_ctor_set_uint8(x_1480, sizeof(void*)*10, x_1472); +x_1481 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1461, x_1480, x_1449); +if (lean_obj_tag(x_1481) == 0) { -lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; -x_1562 = lean_ctor_get(x_1561, 0); -lean_inc(x_1562); -x_1563 = lean_ctor_get(x_1561, 1); -lean_inc(x_1563); -if (lean_is_exclusive(x_1561)) { - lean_ctor_release(x_1561, 0); - lean_ctor_release(x_1561, 1); - x_1564 = x_1561; +lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; +x_1482 = lean_ctor_get(x_1481, 0); +lean_inc(x_1482); +x_1483 = lean_ctor_get(x_1481, 1); +lean_inc(x_1483); +if (lean_is_exclusive(x_1481)) { + lean_ctor_release(x_1481, 0); + lean_ctor_release(x_1481, 1); + x_1484 = x_1481; } else { - lean_dec_ref(x_1561); - x_1564 = lean_box(0); + lean_dec_ref(x_1481); + x_1484 = lean_box(0); } -x_1565 = l_Lean_mkFVar(x_1515); -x_1566 = l_Lean_FileMap_ofString___closed__1; -x_1567 = lean_array_push(x_1566, x_1565); -x_1568 = l_Lean_LocalContext_mkLambda(x_1526, x_1567, x_1562); -lean_dec(x_1562); -lean_dec(x_1567); -if (lean_is_scalar(x_1564)) { - x_1569 = lean_alloc_ctor(0, 2, 0); +x_1485 = l_Lean_mkFVar(x_1435); +x_1486 = l_Lean_FileMap_ofString___closed__1; +x_1487 = lean_array_push(x_1486, x_1485); +x_1488 = l_Lean_LocalContext_mkLambda(x_1446, x_1487, x_1482); +lean_dec(x_1482); +lean_dec(x_1487); +if (lean_is_scalar(x_1484)) { + x_1489 = lean_alloc_ctor(0, 2, 0); } else { - x_1569 = x_1564; + x_1489 = x_1484; } -lean_ctor_set(x_1569, 0, x_1568); -lean_ctor_set(x_1569, 1, x_1563); -return x_1569; +lean_ctor_set(x_1489, 0, x_1488); +lean_ctor_set(x_1489, 1, x_1483); +return x_1489; } else { -lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; -lean_dec(x_1526); -lean_dec(x_1515); -x_1570 = lean_ctor_get(x_1561, 0); -lean_inc(x_1570); -x_1571 = lean_ctor_get(x_1561, 1); -lean_inc(x_1571); -if (lean_is_exclusive(x_1561)) { - lean_ctor_release(x_1561, 0); - lean_ctor_release(x_1561, 1); - x_1572 = x_1561; +lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; +lean_dec(x_1446); +lean_dec(x_1435); +x_1490 = lean_ctor_get(x_1481, 0); +lean_inc(x_1490); +x_1491 = lean_ctor_get(x_1481, 1); +lean_inc(x_1491); +if (lean_is_exclusive(x_1481)) { + lean_ctor_release(x_1481, 0); + lean_ctor_release(x_1481, 1); + x_1492 = x_1481; } else { - lean_dec_ref(x_1561); - x_1572 = lean_box(0); + lean_dec_ref(x_1481); + x_1492 = lean_box(0); } -if (lean_is_scalar(x_1572)) { - x_1573 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1492)) { + x_1493 = lean_alloc_ctor(1, 2, 0); } else { - x_1573 = x_1572; + x_1493 = x_1492; } -lean_ctor_set(x_1573, 0, x_1570); -lean_ctor_set(x_1573, 1, x_1571); -return x_1573; +lean_ctor_set(x_1493, 0, x_1490); +lean_ctor_set(x_1493, 1, x_1491); +return x_1493; } } else { -lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; -lean_dec(x_1515); -lean_dec(x_1507); -lean_dec(x_1500); -lean_dec(x_1498); +lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; +lean_dec(x_1435); +lean_dec(x_1427); +lean_dec(x_1420); +lean_dec(x_1418); lean_dec(x_2); -x_1574 = lean_ctor_get(x_1519, 0); -lean_inc(x_1574); -x_1575 = lean_ctor_get(x_1519, 1); -lean_inc(x_1575); -if (lean_is_exclusive(x_1519)) { - lean_ctor_release(x_1519, 0); - lean_ctor_release(x_1519, 1); - x_1576 = x_1519; +x_1494 = lean_ctor_get(x_1439, 0); +lean_inc(x_1494); +x_1495 = lean_ctor_get(x_1439, 1); +lean_inc(x_1495); +if (lean_is_exclusive(x_1439)) { + lean_ctor_release(x_1439, 0); + lean_ctor_release(x_1439, 1); + x_1496 = x_1439; } else { - lean_dec_ref(x_1519); - x_1576 = lean_box(0); + lean_dec_ref(x_1439); + x_1496 = lean_box(0); } -if (lean_is_scalar(x_1576)) { - x_1577 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1496)) { + x_1497 = lean_alloc_ctor(1, 2, 0); } else { - x_1577 = x_1576; + x_1497 = x_1496; } -lean_ctor_set(x_1577, 0, x_1574); -lean_ctor_set(x_1577, 1, x_1575); -return x_1577; +lean_ctor_set(x_1497, 0, x_1494); +lean_ctor_set(x_1497, 1, x_1495); +return x_1497; } } else { -lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; uint8_t x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; uint8_t x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; -lean_dec(x_1504); -x_1578 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1579 = lean_name_mk_string(x_117, x_1578); -x_1580 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1581 = lean_ctor_get(x_1580, 0); -lean_inc(x_1581); -x_1582 = lean_ctor_get(x_1580, 1); -lean_inc(x_1582); -lean_dec(x_1580); -x_1583 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1584 = 0; -lean_inc_n(x_1579, 2); -x_1585 = lean_local_ctx_mk_local_decl(x_1581, x_1579, x_1579, x_1583, x_1584); -x_1586 = l_Array_eraseIdx___rarg(x_1498, x_1502); -x_1587 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1582); -x_1588 = lean_ctor_get(x_1587, 1); -lean_inc(x_1588); -lean_dec(x_1587); -x_1589 = lean_name_mk_string(x_1507, x_1306); -x_1590 = l_Lean_nullKind___closed__1; -x_1591 = lean_name_mk_string(x_117, x_1590); -x_1592 = l_Array_empty___closed__1; -x_1593 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1586, x_1586, x_1502, x_1592); -lean_dec(x_1586); -x_1594 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1594, 0, x_1591); -lean_ctor_set(x_1594, 1, x_1593); -x_1595 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1596 = lean_array_push(x_1595, x_1594); -x_1597 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1598 = lean_array_push(x_1596, x_1597); -x_1599 = lean_array_push(x_1598, x_1500); -x_1600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1600, 0, x_1589); -lean_ctor_set(x_1600, 1, x_1599); -x_1601 = lean_ctor_get(x_2, 0); -lean_inc(x_1601); -x_1602 = lean_ctor_get(x_2, 1); -lean_inc(x_1602); -x_1603 = lean_ctor_get(x_2, 2); -lean_inc(x_1603); -x_1604 = lean_ctor_get(x_2, 3); -lean_inc(x_1604); -x_1605 = lean_ctor_get(x_2, 4); -lean_inc(x_1605); -x_1606 = lean_ctor_get(x_2, 5); -lean_inc(x_1606); -x_1607 = lean_ctor_get(x_2, 6); -lean_inc(x_1607); -x_1608 = lean_ctor_get(x_2, 7); -lean_inc(x_1608); -x_1609 = lean_ctor_get(x_2, 8); -lean_inc(x_1609); -x_1610 = lean_ctor_get(x_2, 9); -lean_inc(x_1610); -x_1611 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; uint8_t x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; uint8_t x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; +lean_dec(x_1424); +x_1498 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1499 = lean_name_mk_string(x_117, x_1498); +x_1500 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1501 = lean_ctor_get(x_1500, 0); +lean_inc(x_1501); +x_1502 = lean_ctor_get(x_1500, 1); +lean_inc(x_1502); +lean_dec(x_1500); +x_1503 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1504 = 0; +lean_inc_n(x_1499, 2); +x_1505 = lean_local_ctx_mk_local_decl(x_1501, x_1499, x_1499, x_1503, x_1504); +x_1506 = l_Array_eraseIdx___rarg(x_1418, x_1422); +x_1507 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1502); +x_1508 = lean_ctor_get(x_1507, 1); +lean_inc(x_1508); +lean_dec(x_1507); +x_1509 = lean_name_mk_string(x_1427, x_1252); +x_1510 = l_Lean_nullKind___closed__1; +x_1511 = lean_name_mk_string(x_117, x_1510); +x_1512 = l_Array_empty___closed__1; +x_1513 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1506, x_1506, x_1422, x_1512); +lean_dec(x_1506); +x_1514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1514, 0, x_1511); +lean_ctor_set(x_1514, 1, x_1513); +x_1515 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1516 = lean_array_push(x_1515, x_1514); +x_1517 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1518 = lean_array_push(x_1516, x_1517); +x_1519 = lean_array_push(x_1518, x_1420); +x_1520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1520, 0, x_1509); +lean_ctor_set(x_1520, 1, x_1519); +x_1521 = lean_ctor_get(x_2, 0); +lean_inc(x_1521); +x_1522 = lean_ctor_get(x_2, 1); +lean_inc(x_1522); +x_1523 = lean_ctor_get(x_2, 2); +lean_inc(x_1523); +x_1524 = lean_ctor_get(x_2, 3); +lean_inc(x_1524); +x_1525 = lean_ctor_get(x_2, 4); +lean_inc(x_1525); +x_1526 = lean_ctor_get(x_2, 5); +lean_inc(x_1526); +x_1527 = lean_ctor_get(x_2, 6); +lean_inc(x_1527); +x_1528 = lean_ctor_get(x_2, 7); +lean_inc(x_1528); +x_1529 = lean_ctor_get(x_2, 8); +lean_inc(x_1529); +x_1530 = lean_ctor_get(x_2, 9); +lean_inc(x_1530); +x_1531 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -19978,1923 +19638,1810 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1612 = x_2; + x_1532 = x_2; } else { lean_dec_ref(x_2); - x_1612 = lean_box(0); + x_1532 = lean_box(0); } -x_1613 = lean_ctor_get(x_1601, 0); -lean_inc(x_1613); -x_1614 = lean_ctor_get(x_1601, 2); -lean_inc(x_1614); -x_1615 = lean_ctor_get(x_1601, 3); -lean_inc(x_1615); -x_1616 = lean_ctor_get(x_1601, 4); -lean_inc(x_1616); -if (lean_is_exclusive(x_1601)) { - lean_ctor_release(x_1601, 0); - lean_ctor_release(x_1601, 1); - lean_ctor_release(x_1601, 2); - lean_ctor_release(x_1601, 3); - lean_ctor_release(x_1601, 4); - x_1617 = x_1601; +x_1533 = lean_ctor_get(x_1521, 0); +lean_inc(x_1533); +x_1534 = lean_ctor_get(x_1521, 2); +lean_inc(x_1534); +x_1535 = lean_ctor_get(x_1521, 3); +lean_inc(x_1535); +x_1536 = lean_ctor_get(x_1521, 4); +lean_inc(x_1536); +if (lean_is_exclusive(x_1521)) { + lean_ctor_release(x_1521, 0); + lean_ctor_release(x_1521, 1); + lean_ctor_release(x_1521, 2); + lean_ctor_release(x_1521, 3); + lean_ctor_release(x_1521, 4); + x_1537 = x_1521; } else { - lean_dec_ref(x_1601); - x_1617 = lean_box(0); + lean_dec_ref(x_1521); + x_1537 = lean_box(0); } -lean_inc(x_1585); -if (lean_is_scalar(x_1617)) { - x_1618 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_1505); +if (lean_is_scalar(x_1537)) { + x_1538 = lean_alloc_ctor(0, 5, 0); } else { - x_1618 = x_1617; + x_1538 = x_1537; } -lean_ctor_set(x_1618, 0, x_1613); -lean_ctor_set(x_1618, 1, x_1585); -lean_ctor_set(x_1618, 2, x_1614); -lean_ctor_set(x_1618, 3, x_1615); -lean_ctor_set(x_1618, 4, x_1616); -if (lean_is_scalar(x_1612)) { - x_1619 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_1538, 0, x_1533); +lean_ctor_set(x_1538, 1, x_1505); +lean_ctor_set(x_1538, 2, x_1534); +lean_ctor_set(x_1538, 3, x_1535); +lean_ctor_set(x_1538, 4, x_1536); +if (lean_is_scalar(x_1532)) { + x_1539 = lean_alloc_ctor(0, 10, 1); } else { - x_1619 = x_1612; + x_1539 = x_1532; } -lean_ctor_set(x_1619, 0, x_1618); -lean_ctor_set(x_1619, 1, x_1602); -lean_ctor_set(x_1619, 2, x_1603); -lean_ctor_set(x_1619, 3, x_1604); -lean_ctor_set(x_1619, 4, x_1605); -lean_ctor_set(x_1619, 5, x_1606); -lean_ctor_set(x_1619, 6, x_1607); -lean_ctor_set(x_1619, 7, x_1608); -lean_ctor_set(x_1619, 8, x_1609); -lean_ctor_set(x_1619, 9, x_1610); -lean_ctor_set_uint8(x_1619, sizeof(void*)*10, x_1611); -x_1620 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1600, x_1619, x_1588); -if (lean_obj_tag(x_1620) == 0) +lean_ctor_set(x_1539, 0, x_1538); +lean_ctor_set(x_1539, 1, x_1522); +lean_ctor_set(x_1539, 2, x_1523); +lean_ctor_set(x_1539, 3, x_1524); +lean_ctor_set(x_1539, 4, x_1525); +lean_ctor_set(x_1539, 5, x_1526); +lean_ctor_set(x_1539, 6, x_1527); +lean_ctor_set(x_1539, 7, x_1528); +lean_ctor_set(x_1539, 8, x_1529); +lean_ctor_set(x_1539, 9, x_1530); +lean_ctor_set_uint8(x_1539, sizeof(void*)*10, x_1531); +x_1540 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1520, x_1539, x_1508); +if (lean_obj_tag(x_1540) == 0) { -lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; +lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; +x_1541 = lean_ctor_get(x_1540, 0); +lean_inc(x_1541); +x_1542 = lean_ctor_get(x_1540, 1); +lean_inc(x_1542); +if (lean_is_exclusive(x_1540)) { + lean_ctor_release(x_1540, 0); + lean_ctor_release(x_1540, 1); + x_1543 = x_1540; +} else { + lean_dec_ref(x_1540); + x_1543 = lean_box(0); +} +x_1544 = l_Lean_mkFVar(x_1499); +x_1545 = l_Lean_FileMap_ofString___closed__1; +x_1546 = lean_array_push(x_1545, x_1544); +x_1547 = l_Lean_LocalContext_mkLambda(x_1505, x_1546, x_1541); +lean_dec(x_1541); +lean_dec(x_1546); +if (lean_is_scalar(x_1543)) { + x_1548 = lean_alloc_ctor(0, 2, 0); +} else { + x_1548 = x_1543; +} +lean_ctor_set(x_1548, 0, x_1547); +lean_ctor_set(x_1548, 1, x_1542); +return x_1548; +} +else +{ +lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; +lean_dec(x_1505); +lean_dec(x_1499); +x_1549 = lean_ctor_get(x_1540, 0); +lean_inc(x_1549); +x_1550 = lean_ctor_get(x_1540, 1); +lean_inc(x_1550); +if (lean_is_exclusive(x_1540)) { + lean_ctor_release(x_1540, 0); + lean_ctor_release(x_1540, 1); + x_1551 = x_1540; +} else { + lean_dec_ref(x_1540); + x_1551 = lean_box(0); +} +if (lean_is_scalar(x_1551)) { + x_1552 = lean_alloc_ctor(1, 2, 0); +} else { + x_1552 = x_1551; +} +lean_ctor_set(x_1552, 0, x_1549); +lean_ctor_set(x_1552, 1, x_1550); +return x_1552; +} +} +} +else +{ +lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; uint8_t x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; uint8_t x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; +x_1553 = l_Lean_Syntax_getIdAt(x_1424, x_1422); +lean_dec(x_1424); +x_1554 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1555 = lean_ctor_get(x_1554, 0); +lean_inc(x_1555); +x_1556 = lean_ctor_get(x_1554, 1); +lean_inc(x_1556); +lean_dec(x_1554); +x_1557 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1558 = 0; +lean_inc_n(x_1553, 2); +x_1559 = lean_local_ctx_mk_local_decl(x_1555, x_1553, x_1553, x_1557, x_1558); +x_1560 = l_Array_eraseIdx___rarg(x_1418, x_1422); +x_1561 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1556); +x_1562 = lean_ctor_get(x_1561, 1); +lean_inc(x_1562); +lean_dec(x_1561); +x_1563 = lean_name_mk_string(x_1427, x_1252); +x_1564 = l_Lean_nullKind___closed__1; +x_1565 = lean_name_mk_string(x_117, x_1564); +x_1566 = l_Array_empty___closed__1; +x_1567 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1560, x_1560, x_1422, x_1566); +lean_dec(x_1560); +x_1568 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1568, 0, x_1565); +lean_ctor_set(x_1568, 1, x_1567); +x_1569 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1570 = lean_array_push(x_1569, x_1568); +x_1571 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1572 = lean_array_push(x_1570, x_1571); +x_1573 = lean_array_push(x_1572, x_1420); +x_1574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1574, 0, x_1563); +lean_ctor_set(x_1574, 1, x_1573); +x_1575 = lean_ctor_get(x_2, 0); +lean_inc(x_1575); +x_1576 = lean_ctor_get(x_2, 1); +lean_inc(x_1576); +x_1577 = lean_ctor_get(x_2, 2); +lean_inc(x_1577); +x_1578 = lean_ctor_get(x_2, 3); +lean_inc(x_1578); +x_1579 = lean_ctor_get(x_2, 4); +lean_inc(x_1579); +x_1580 = lean_ctor_get(x_2, 5); +lean_inc(x_1580); +x_1581 = lean_ctor_get(x_2, 6); +lean_inc(x_1581); +x_1582 = lean_ctor_get(x_2, 7); +lean_inc(x_1582); +x_1583 = lean_ctor_get(x_2, 8); +lean_inc(x_1583); +x_1584 = lean_ctor_get(x_2, 9); +lean_inc(x_1584); +x_1585 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1586 = x_2; +} else { + lean_dec_ref(x_2); + x_1586 = lean_box(0); +} +x_1587 = lean_ctor_get(x_1575, 0); +lean_inc(x_1587); +x_1588 = lean_ctor_get(x_1575, 2); +lean_inc(x_1588); +x_1589 = lean_ctor_get(x_1575, 3); +lean_inc(x_1589); +x_1590 = lean_ctor_get(x_1575, 4); +lean_inc(x_1590); +if (lean_is_exclusive(x_1575)) { + lean_ctor_release(x_1575, 0); + lean_ctor_release(x_1575, 1); + lean_ctor_release(x_1575, 2); + lean_ctor_release(x_1575, 3); + lean_ctor_release(x_1575, 4); + x_1591 = x_1575; +} else { + lean_dec_ref(x_1575); + x_1591 = lean_box(0); +} +lean_inc(x_1559); +if (lean_is_scalar(x_1591)) { + x_1592 = lean_alloc_ctor(0, 5, 0); +} else { + x_1592 = x_1591; +} +lean_ctor_set(x_1592, 0, x_1587); +lean_ctor_set(x_1592, 1, x_1559); +lean_ctor_set(x_1592, 2, x_1588); +lean_ctor_set(x_1592, 3, x_1589); +lean_ctor_set(x_1592, 4, x_1590); +if (lean_is_scalar(x_1586)) { + x_1593 = lean_alloc_ctor(0, 10, 1); +} else { + x_1593 = x_1586; +} +lean_ctor_set(x_1593, 0, x_1592); +lean_ctor_set(x_1593, 1, x_1576); +lean_ctor_set(x_1593, 2, x_1577); +lean_ctor_set(x_1593, 3, x_1578); +lean_ctor_set(x_1593, 4, x_1579); +lean_ctor_set(x_1593, 5, x_1580); +lean_ctor_set(x_1593, 6, x_1581); +lean_ctor_set(x_1593, 7, x_1582); +lean_ctor_set(x_1593, 8, x_1583); +lean_ctor_set(x_1593, 9, x_1584); +lean_ctor_set_uint8(x_1593, sizeof(void*)*10, x_1585); +x_1594 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1574, x_1593, x_1562); +if (lean_obj_tag(x_1594) == 0) +{ +lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; +x_1595 = lean_ctor_get(x_1594, 0); +lean_inc(x_1595); +x_1596 = lean_ctor_get(x_1594, 1); +lean_inc(x_1596); +if (lean_is_exclusive(x_1594)) { + lean_ctor_release(x_1594, 0); + lean_ctor_release(x_1594, 1); + x_1597 = x_1594; +} else { + lean_dec_ref(x_1594); + x_1597 = lean_box(0); +} +x_1598 = l_Lean_mkFVar(x_1553); +x_1599 = l_Lean_FileMap_ofString___closed__1; +x_1600 = lean_array_push(x_1599, x_1598); +x_1601 = l_Lean_LocalContext_mkLambda(x_1559, x_1600, x_1595); +lean_dec(x_1595); +lean_dec(x_1600); +if (lean_is_scalar(x_1597)) { + x_1602 = lean_alloc_ctor(0, 2, 0); +} else { + x_1602 = x_1597; +} +lean_ctor_set(x_1602, 0, x_1601); +lean_ctor_set(x_1602, 1, x_1596); +return x_1602; +} +else +{ +lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; +lean_dec(x_1559); +lean_dec(x_1553); +x_1603 = lean_ctor_get(x_1594, 0); +lean_inc(x_1603); +x_1604 = lean_ctor_get(x_1594, 1); +lean_inc(x_1604); +if (lean_is_exclusive(x_1594)) { + lean_ctor_release(x_1594, 0); + lean_ctor_release(x_1594, 1); + x_1605 = x_1594; +} else { + lean_dec_ref(x_1594); + x_1605 = lean_box(0); +} +if (lean_is_scalar(x_1605)) { + x_1606 = lean_alloc_ctor(1, 2, 0); +} else { + x_1606 = x_1605; +} +lean_ctor_set(x_1606, 0, x_1603); +lean_ctor_set(x_1606, 1, x_1604); +return x_1606; +} +} +} +else +{ +lean_dec(x_1418); +x_1 = x_1420; +goto _start; +} +} +} +else +{ +lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; +lean_dec(x_1227); +lean_free_object(x_115); +lean_free_object(x_105); +lean_dec(x_118); +x_1608 = l_Lean_Syntax_inhabited; +x_1609 = lean_unsigned_to_nat(0u); +x_1610 = lean_array_get(x_1608, x_4, x_1609); +lean_dec(x_4); +if (lean_obj_tag(x_1610) == 3) +{ +lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; +x_1611 = lean_ctor_get(x_1610, 2); +lean_inc(x_1611); +x_1612 = lean_ctor_get(x_1610, 3); +lean_inc(x_1612); +lean_dec(x_1610); +x_1613 = lean_box(0); +lean_inc(x_2); +x_1614 = l_Lean_Elab_Term_resolveName(x_1, x_1611, x_1612, x_1613, x_2, x_3); +lean_dec(x_1); +if (lean_obj_tag(x_1614) == 0) +{ +lean_object* x_1615; +x_1615 = lean_ctor_get(x_1614, 0); +lean_inc(x_1615); +if (lean_obj_tag(x_1615) == 0) +{ +lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; +x_1616 = lean_ctor_get(x_1614, 1); +lean_inc(x_1616); +lean_dec(x_1614); +x_1617 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1618 = l_unreachable_x21___rarg(x_1617); +x_1619 = lean_apply_2(x_1618, x_2, x_1616); +return x_1619; +} +else +{ +lean_object* x_1620; lean_object* x_1621; +lean_dec(x_2); +x_1620 = lean_ctor_get(x_1615, 0); +lean_inc(x_1620); +lean_dec(x_1615); x_1621 = lean_ctor_get(x_1620, 0); lean_inc(x_1621); -x_1622 = lean_ctor_get(x_1620, 1); -lean_inc(x_1622); -if (lean_is_exclusive(x_1620)) { - lean_ctor_release(x_1620, 0); - lean_ctor_release(x_1620, 1); - x_1623 = x_1620; -} else { - lean_dec_ref(x_1620); - x_1623 = lean_box(0); -} -x_1624 = l_Lean_mkFVar(x_1579); -x_1625 = l_Lean_FileMap_ofString___closed__1; -x_1626 = lean_array_push(x_1625, x_1624); -x_1627 = l_Lean_LocalContext_mkLambda(x_1585, x_1626, x_1621); -lean_dec(x_1621); -lean_dec(x_1626); -if (lean_is_scalar(x_1623)) { - x_1628 = lean_alloc_ctor(0, 2, 0); -} else { - x_1628 = x_1623; -} -lean_ctor_set(x_1628, 0, x_1627); -lean_ctor_set(x_1628, 1, x_1622); -return x_1628; -} -else -{ -lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; -lean_dec(x_1585); -lean_dec(x_1579); -x_1629 = lean_ctor_get(x_1620, 0); -lean_inc(x_1629); -x_1630 = lean_ctor_get(x_1620, 1); -lean_inc(x_1630); -if (lean_is_exclusive(x_1620)) { - lean_ctor_release(x_1620, 0); - lean_ctor_release(x_1620, 1); - x_1631 = x_1620; -} else { - lean_dec_ref(x_1620); - x_1631 = lean_box(0); -} -if (lean_is_scalar(x_1631)) { - x_1632 = lean_alloc_ctor(1, 2, 0); -} else { - x_1632 = x_1631; -} -lean_ctor_set(x_1632, 0, x_1629); -lean_ctor_set(x_1632, 1, x_1630); -return x_1632; -} -} -} -else -{ -lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; uint8_t x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; uint8_t x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; -x_1633 = l_Lean_Syntax_getIdAt(x_1504, x_1502); -lean_dec(x_1504); -x_1634 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1635 = lean_ctor_get(x_1634, 0); -lean_inc(x_1635); -x_1636 = lean_ctor_get(x_1634, 1); -lean_inc(x_1636); -lean_dec(x_1634); -x_1637 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1638 = 0; -lean_inc_n(x_1633, 2); -x_1639 = lean_local_ctx_mk_local_decl(x_1635, x_1633, x_1633, x_1637, x_1638); -x_1640 = l_Array_eraseIdx___rarg(x_1498, x_1502); -x_1641 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1636); -x_1642 = lean_ctor_get(x_1641, 1); -lean_inc(x_1642); -lean_dec(x_1641); -x_1643 = lean_name_mk_string(x_1507, x_1306); -x_1644 = l_Lean_nullKind___closed__1; -x_1645 = lean_name_mk_string(x_117, x_1644); -x_1646 = l_Array_empty___closed__1; -x_1647 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1640, x_1640, x_1502, x_1646); -lean_dec(x_1640); -x_1648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1648, 0, x_1645); -lean_ctor_set(x_1648, 1, x_1647); -x_1649 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1650 = lean_array_push(x_1649, x_1648); -x_1651 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1652 = lean_array_push(x_1650, x_1651); -x_1653 = lean_array_push(x_1652, x_1500); -x_1654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1654, 0, x_1643); -lean_ctor_set(x_1654, 1, x_1653); -x_1655 = lean_ctor_get(x_2, 0); -lean_inc(x_1655); -x_1656 = lean_ctor_get(x_2, 1); -lean_inc(x_1656); -x_1657 = lean_ctor_get(x_2, 2); -lean_inc(x_1657); -x_1658 = lean_ctor_get(x_2, 3); -lean_inc(x_1658); -x_1659 = lean_ctor_get(x_2, 4); -lean_inc(x_1659); -x_1660 = lean_ctor_get(x_2, 5); -lean_inc(x_1660); -x_1661 = lean_ctor_get(x_2, 6); -lean_inc(x_1661); -x_1662 = lean_ctor_get(x_2, 7); -lean_inc(x_1662); -x_1663 = lean_ctor_get(x_2, 8); -lean_inc(x_1663); -x_1664 = lean_ctor_get(x_2, 9); -lean_inc(x_1664); -x_1665 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_1666 = x_2; -} else { - lean_dec_ref(x_2); - x_1666 = lean_box(0); -} -x_1667 = lean_ctor_get(x_1655, 0); -lean_inc(x_1667); -x_1668 = lean_ctor_get(x_1655, 2); -lean_inc(x_1668); -x_1669 = lean_ctor_get(x_1655, 3); -lean_inc(x_1669); -x_1670 = lean_ctor_get(x_1655, 4); -lean_inc(x_1670); -if (lean_is_exclusive(x_1655)) { - lean_ctor_release(x_1655, 0); - lean_ctor_release(x_1655, 1); - lean_ctor_release(x_1655, 2); - lean_ctor_release(x_1655, 3); - lean_ctor_release(x_1655, 4); - x_1671 = x_1655; -} else { - lean_dec_ref(x_1655); - x_1671 = lean_box(0); -} -lean_inc(x_1639); -if (lean_is_scalar(x_1671)) { - x_1672 = lean_alloc_ctor(0, 5, 0); -} else { - x_1672 = x_1671; -} -lean_ctor_set(x_1672, 0, x_1667); -lean_ctor_set(x_1672, 1, x_1639); -lean_ctor_set(x_1672, 2, x_1668); -lean_ctor_set(x_1672, 3, x_1669); -lean_ctor_set(x_1672, 4, x_1670); -if (lean_is_scalar(x_1666)) { - x_1673 = lean_alloc_ctor(0, 10, 1); -} else { - x_1673 = x_1666; -} -lean_ctor_set(x_1673, 0, x_1672); -lean_ctor_set(x_1673, 1, x_1656); -lean_ctor_set(x_1673, 2, x_1657); -lean_ctor_set(x_1673, 3, x_1658); -lean_ctor_set(x_1673, 4, x_1659); -lean_ctor_set(x_1673, 5, x_1660); -lean_ctor_set(x_1673, 6, x_1661); -lean_ctor_set(x_1673, 7, x_1662); -lean_ctor_set(x_1673, 8, x_1663); -lean_ctor_set(x_1673, 9, x_1664); -lean_ctor_set_uint8(x_1673, sizeof(void*)*10, x_1665); -x_1674 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1654, x_1673, x_1642); -if (lean_obj_tag(x_1674) == 0) -{ -lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; -x_1675 = lean_ctor_get(x_1674, 0); -lean_inc(x_1675); -x_1676 = lean_ctor_get(x_1674, 1); -lean_inc(x_1676); -if (lean_is_exclusive(x_1674)) { - lean_ctor_release(x_1674, 0); - lean_ctor_release(x_1674, 1); - x_1677 = x_1674; -} else { - lean_dec_ref(x_1674); - x_1677 = lean_box(0); -} -x_1678 = l_Lean_mkFVar(x_1633); -x_1679 = l_Lean_FileMap_ofString___closed__1; -x_1680 = lean_array_push(x_1679, x_1678); -x_1681 = l_Lean_LocalContext_mkLambda(x_1639, x_1680, x_1675); -lean_dec(x_1675); -lean_dec(x_1680); -if (lean_is_scalar(x_1677)) { - x_1682 = lean_alloc_ctor(0, 2, 0); -} else { - x_1682 = x_1677; -} -lean_ctor_set(x_1682, 0, x_1681); -lean_ctor_set(x_1682, 1, x_1676); -return x_1682; -} -else -{ -lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; -lean_dec(x_1639); -lean_dec(x_1633); -x_1683 = lean_ctor_get(x_1674, 0); -lean_inc(x_1683); -x_1684 = lean_ctor_get(x_1674, 1); -lean_inc(x_1684); -if (lean_is_exclusive(x_1674)) { - lean_ctor_release(x_1674, 0); - lean_ctor_release(x_1674, 1); - x_1685 = x_1674; -} else { - lean_dec_ref(x_1674); - x_1685 = lean_box(0); -} -if (lean_is_scalar(x_1685)) { - x_1686 = lean_alloc_ctor(1, 2, 0); -} else { - x_1686 = x_1685; -} -lean_ctor_set(x_1686, 0, x_1683); -lean_ctor_set(x_1686, 1, x_1684); -return x_1686; -} -} -} -else -{ -lean_dec(x_1498); -x_1 = x_1500; -goto _start; -} -} -} -else -{ -lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; -lean_dec(x_1281); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -x_1688 = l_Lean_Syntax_inhabited; -x_1689 = lean_unsigned_to_nat(0u); -x_1690 = lean_array_get(x_1688, x_4, x_1689); -lean_dec(x_4); -if (lean_obj_tag(x_1690) == 3) -{ -lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; -x_1691 = lean_ctor_get(x_1690, 2); -lean_inc(x_1691); -x_1692 = lean_ctor_get(x_1690, 3); -lean_inc(x_1692); -lean_dec(x_1690); -x_1693 = lean_box(0); -lean_inc(x_2); -x_1694 = l_Lean_Elab_Term_resolveName(x_1, x_1691, x_1692, x_1693, x_2, x_3); -lean_dec(x_1); -if (lean_obj_tag(x_1694) == 0) -{ -lean_object* x_1695; -x_1695 = lean_ctor_get(x_1694, 0); -lean_inc(x_1695); -if (lean_obj_tag(x_1695) == 0) -{ -lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; -x_1696 = lean_ctor_get(x_1694, 1); -lean_inc(x_1696); -lean_dec(x_1694); -x_1697 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1698 = l_unreachable_x21___rarg(x_1697); -x_1699 = lean_apply_2(x_1698, x_2, x_1696); -return x_1699; -} -else -{ -lean_object* x_1700; lean_object* x_1701; -lean_dec(x_2); -x_1700 = lean_ctor_get(x_1695, 0); -lean_inc(x_1700); -lean_dec(x_1695); -x_1701 = lean_ctor_get(x_1700, 0); -lean_inc(x_1701); -switch (lean_obj_tag(x_1701)) { +switch (lean_obj_tag(x_1621)) { case 0: { -lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; -x_1702 = lean_ctor_get(x_1694, 1); -lean_inc(x_1702); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1703 = x_1694; +lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; +x_1622 = lean_ctor_get(x_1614, 1); +lean_inc(x_1622); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1623 = x_1614; } else { - lean_dec_ref(x_1694); - x_1703 = lean_box(0); + lean_dec_ref(x_1614); + x_1623 = lean_box(0); } -x_1704 = lean_ctor_get(x_1700, 1); -lean_inc(x_1704); -lean_dec(x_1700); -x_1705 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_1701, x_1704); -if (lean_is_scalar(x_1703)) { - x_1706 = lean_alloc_ctor(0, 2, 0); +x_1624 = lean_ctor_get(x_1620, 1); +lean_inc(x_1624); +lean_dec(x_1620); +x_1625 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_1621, x_1624); +if (lean_is_scalar(x_1623)) { + x_1626 = lean_alloc_ctor(0, 2, 0); } else { - x_1706 = x_1703; + x_1626 = x_1623; } -lean_ctor_set(x_1706, 0, x_1705); -lean_ctor_set(x_1706, 1, x_1702); -return x_1706; +lean_ctor_set(x_1626, 0, x_1625); +lean_ctor_set(x_1626, 1, x_1622); +return x_1626; } case 1: { -lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; -x_1707 = lean_ctor_get(x_1694, 1); -lean_inc(x_1707); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1708 = x_1694; +lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; +x_1627 = lean_ctor_get(x_1614, 1); +lean_inc(x_1627); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1628 = x_1614; } else { - lean_dec_ref(x_1694); - x_1708 = lean_box(0); + lean_dec_ref(x_1614); + x_1628 = lean_box(0); } -x_1709 = lean_ctor_get(x_1700, 1); -lean_inc(x_1709); -lean_dec(x_1700); -x_1710 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_1701, x_1709); -if (lean_is_scalar(x_1708)) { - x_1711 = lean_alloc_ctor(0, 2, 0); +x_1629 = lean_ctor_get(x_1620, 1); +lean_inc(x_1629); +lean_dec(x_1620); +x_1630 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_1621, x_1629); +if (lean_is_scalar(x_1628)) { + x_1631 = lean_alloc_ctor(0, 2, 0); } else { - x_1711 = x_1708; + x_1631 = x_1628; } -lean_ctor_set(x_1711, 0, x_1710); -lean_ctor_set(x_1711, 1, x_1707); -return x_1711; +lean_ctor_set(x_1631, 0, x_1630); +lean_ctor_set(x_1631, 1, x_1627); +return x_1631; } case 2: { -lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; -x_1712 = lean_ctor_get(x_1694, 1); -lean_inc(x_1712); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1713 = x_1694; +lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; +x_1632 = lean_ctor_get(x_1614, 1); +lean_inc(x_1632); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1633 = x_1614; } else { - lean_dec_ref(x_1694); - x_1713 = lean_box(0); + lean_dec_ref(x_1614); + x_1633 = lean_box(0); } -x_1714 = lean_ctor_get(x_1700, 1); -lean_inc(x_1714); -lean_dec(x_1700); -x_1715 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_1701, x_1714); -if (lean_is_scalar(x_1713)) { - x_1716 = lean_alloc_ctor(0, 2, 0); +x_1634 = lean_ctor_get(x_1620, 1); +lean_inc(x_1634); +lean_dec(x_1620); +x_1635 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_1621, x_1634); +if (lean_is_scalar(x_1633)) { + x_1636 = lean_alloc_ctor(0, 2, 0); } else { - x_1716 = x_1713; + x_1636 = x_1633; } -lean_ctor_set(x_1716, 0, x_1715); -lean_ctor_set(x_1716, 1, x_1712); -return x_1716; +lean_ctor_set(x_1636, 0, x_1635); +lean_ctor_set(x_1636, 1, x_1632); +return x_1636; } case 3: { -lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; -x_1717 = lean_ctor_get(x_1694, 1); -lean_inc(x_1717); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1718 = x_1694; +lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; +x_1637 = lean_ctor_get(x_1614, 1); +lean_inc(x_1637); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1638 = x_1614; } else { - lean_dec_ref(x_1694); - x_1718 = lean_box(0); + lean_dec_ref(x_1614); + x_1638 = lean_box(0); } -x_1719 = lean_ctor_get(x_1700, 1); -lean_inc(x_1719); -lean_dec(x_1700); -x_1720 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_1701, x_1719); -if (lean_is_scalar(x_1718)) { - x_1721 = lean_alloc_ctor(0, 2, 0); +x_1639 = lean_ctor_get(x_1620, 1); +lean_inc(x_1639); +lean_dec(x_1620); +x_1640 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_1621, x_1639); +if (lean_is_scalar(x_1638)) { + x_1641 = lean_alloc_ctor(0, 2, 0); } else { - x_1721 = x_1718; + x_1641 = x_1638; } -lean_ctor_set(x_1721, 0, x_1720); -lean_ctor_set(x_1721, 1, x_1717); -return x_1721; +lean_ctor_set(x_1641, 0, x_1640); +lean_ctor_set(x_1641, 1, x_1637); +return x_1641; } case 4: { -lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; -x_1722 = lean_ctor_get(x_1694, 1); -lean_inc(x_1722); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1723 = x_1694; +lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; +x_1642 = lean_ctor_get(x_1614, 1); +lean_inc(x_1642); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1643 = x_1614; } else { - lean_dec_ref(x_1694); - x_1723 = lean_box(0); + lean_dec_ref(x_1614); + x_1643 = lean_box(0); } -x_1724 = lean_ctor_get(x_1700, 1); -lean_inc(x_1724); -lean_dec(x_1700); -x_1725 = lean_ctor_get(x_1701, 0); -lean_inc(x_1725); -lean_dec(x_1701); -x_1726 = l_Lean_mkConst(x_1725, x_1693); -x_1727 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_1726, x_1724); -if (lean_is_scalar(x_1723)) { - x_1728 = lean_alloc_ctor(0, 2, 0); +x_1644 = lean_ctor_get(x_1620, 1); +lean_inc(x_1644); +lean_dec(x_1620); +x_1645 = lean_ctor_get(x_1621, 0); +lean_inc(x_1645); +lean_dec(x_1621); +x_1646 = l_Lean_mkConst(x_1645, x_1613); +x_1647 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_1646, x_1644); +if (lean_is_scalar(x_1643)) { + x_1648 = lean_alloc_ctor(0, 2, 0); } else { - x_1728 = x_1723; + x_1648 = x_1643; } -lean_ctor_set(x_1728, 0, x_1727); -lean_ctor_set(x_1728, 1, x_1722); -return x_1728; +lean_ctor_set(x_1648, 0, x_1647); +lean_ctor_set(x_1648, 1, x_1642); +return x_1648; } case 5: { -lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; -x_1729 = lean_ctor_get(x_1694, 1); -lean_inc(x_1729); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1730 = x_1694; +lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; +x_1649 = lean_ctor_get(x_1614, 1); +lean_inc(x_1649); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1650 = x_1614; } else { - lean_dec_ref(x_1694); - x_1730 = lean_box(0); + lean_dec_ref(x_1614); + x_1650 = lean_box(0); } -x_1731 = lean_ctor_get(x_1700, 1); -lean_inc(x_1731); -lean_dec(x_1700); -x_1732 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_1701, x_1731); -if (lean_is_scalar(x_1730)) { - x_1733 = lean_alloc_ctor(0, 2, 0); +x_1651 = lean_ctor_get(x_1620, 1); +lean_inc(x_1651); +lean_dec(x_1620); +x_1652 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_1621, x_1651); +if (lean_is_scalar(x_1650)) { + x_1653 = lean_alloc_ctor(0, 2, 0); } else { - x_1733 = x_1730; + x_1653 = x_1650; } -lean_ctor_set(x_1733, 0, x_1732); -lean_ctor_set(x_1733, 1, x_1729); -return x_1733; +lean_ctor_set(x_1653, 0, x_1652); +lean_ctor_set(x_1653, 1, x_1649); +return x_1653; } case 6: { -lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; -x_1734 = lean_ctor_get(x_1694, 1); -lean_inc(x_1734); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1735 = x_1694; +lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; +x_1654 = lean_ctor_get(x_1614, 1); +lean_inc(x_1654); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1655 = x_1614; } else { - lean_dec_ref(x_1694); - x_1735 = lean_box(0); + lean_dec_ref(x_1614); + x_1655 = lean_box(0); } -x_1736 = lean_ctor_get(x_1700, 1); -lean_inc(x_1736); -lean_dec(x_1700); -x_1737 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_1701, x_1736); -if (lean_is_scalar(x_1735)) { - x_1738 = lean_alloc_ctor(0, 2, 0); +x_1656 = lean_ctor_get(x_1620, 1); +lean_inc(x_1656); +lean_dec(x_1620); +x_1657 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_1621, x_1656); +if (lean_is_scalar(x_1655)) { + x_1658 = lean_alloc_ctor(0, 2, 0); } else { - x_1738 = x_1735; + x_1658 = x_1655; } -lean_ctor_set(x_1738, 0, x_1737); -lean_ctor_set(x_1738, 1, x_1734); -return x_1738; +lean_ctor_set(x_1658, 0, x_1657); +lean_ctor_set(x_1658, 1, x_1654); +return x_1658; } case 7: { -lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; -x_1739 = lean_ctor_get(x_1694, 1); -lean_inc(x_1739); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1740 = x_1694; +lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; +x_1659 = lean_ctor_get(x_1614, 1); +lean_inc(x_1659); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1660 = x_1614; } else { - lean_dec_ref(x_1694); - x_1740 = lean_box(0); + lean_dec_ref(x_1614); + x_1660 = lean_box(0); } -x_1741 = lean_ctor_get(x_1700, 1); -lean_inc(x_1741); -lean_dec(x_1700); -x_1742 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_1701, x_1741); -if (lean_is_scalar(x_1740)) { - x_1743 = lean_alloc_ctor(0, 2, 0); +x_1661 = lean_ctor_get(x_1620, 1); +lean_inc(x_1661); +lean_dec(x_1620); +x_1662 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_1621, x_1661); +if (lean_is_scalar(x_1660)) { + x_1663 = lean_alloc_ctor(0, 2, 0); } else { - x_1743 = x_1740; + x_1663 = x_1660; } -lean_ctor_set(x_1743, 0, x_1742); -lean_ctor_set(x_1743, 1, x_1739); -return x_1743; +lean_ctor_set(x_1663, 0, x_1662); +lean_ctor_set(x_1663, 1, x_1659); +return x_1663; } case 8: { -lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; -x_1744 = lean_ctor_get(x_1694, 1); -lean_inc(x_1744); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1745 = x_1694; +lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; +x_1664 = lean_ctor_get(x_1614, 1); +lean_inc(x_1664); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1665 = x_1614; } else { - lean_dec_ref(x_1694); - x_1745 = lean_box(0); + lean_dec_ref(x_1614); + x_1665 = lean_box(0); } -x_1746 = lean_ctor_get(x_1700, 1); -lean_inc(x_1746); -lean_dec(x_1700); -x_1747 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_1701, x_1746); -if (lean_is_scalar(x_1745)) { - x_1748 = lean_alloc_ctor(0, 2, 0); +x_1666 = lean_ctor_get(x_1620, 1); +lean_inc(x_1666); +lean_dec(x_1620); +x_1667 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_1621, x_1666); +if (lean_is_scalar(x_1665)) { + x_1668 = lean_alloc_ctor(0, 2, 0); } else { - x_1748 = x_1745; + x_1668 = x_1665; } -lean_ctor_set(x_1748, 0, x_1747); -lean_ctor_set(x_1748, 1, x_1744); -return x_1748; +lean_ctor_set(x_1668, 0, x_1667); +lean_ctor_set(x_1668, 1, x_1664); +return x_1668; } case 9: { -lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; -x_1749 = lean_ctor_get(x_1694, 1); -lean_inc(x_1749); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1750 = x_1694; +lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; +x_1669 = lean_ctor_get(x_1614, 1); +lean_inc(x_1669); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1670 = x_1614; } else { - lean_dec_ref(x_1694); - x_1750 = lean_box(0); + lean_dec_ref(x_1614); + x_1670 = lean_box(0); } -x_1751 = lean_ctor_get(x_1700, 1); -lean_inc(x_1751); -lean_dec(x_1700); -x_1752 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_1701, x_1751); -if (lean_is_scalar(x_1750)) { - x_1753 = lean_alloc_ctor(0, 2, 0); +x_1671 = lean_ctor_get(x_1620, 1); +lean_inc(x_1671); +lean_dec(x_1620); +x_1672 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_1621, x_1671); +if (lean_is_scalar(x_1670)) { + x_1673 = lean_alloc_ctor(0, 2, 0); } else { - x_1753 = x_1750; + x_1673 = x_1670; } -lean_ctor_set(x_1753, 0, x_1752); -lean_ctor_set(x_1753, 1, x_1749); -return x_1753; +lean_ctor_set(x_1673, 0, x_1672); +lean_ctor_set(x_1673, 1, x_1669); +return x_1673; } case 10: { -lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; -x_1754 = lean_ctor_get(x_1694, 1); -lean_inc(x_1754); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1755 = x_1694; +lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; +x_1674 = lean_ctor_get(x_1614, 1); +lean_inc(x_1674); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1675 = x_1614; } else { - lean_dec_ref(x_1694); - x_1755 = lean_box(0); + lean_dec_ref(x_1614); + x_1675 = lean_box(0); } -x_1756 = lean_ctor_get(x_1700, 1); -lean_inc(x_1756); -lean_dec(x_1700); -x_1757 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_1701, x_1756); -if (lean_is_scalar(x_1755)) { - x_1758 = lean_alloc_ctor(0, 2, 0); +x_1676 = lean_ctor_get(x_1620, 1); +lean_inc(x_1676); +lean_dec(x_1620); +x_1677 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_1621, x_1676); +if (lean_is_scalar(x_1675)) { + x_1678 = lean_alloc_ctor(0, 2, 0); } else { - x_1758 = x_1755; + x_1678 = x_1675; } -lean_ctor_set(x_1758, 0, x_1757); -lean_ctor_set(x_1758, 1, x_1754); -return x_1758; +lean_ctor_set(x_1678, 0, x_1677); +lean_ctor_set(x_1678, 1, x_1674); +return x_1678; } case 11: { -lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; -x_1759 = lean_ctor_get(x_1694, 1); -lean_inc(x_1759); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1760 = x_1694; +lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; +x_1679 = lean_ctor_get(x_1614, 1); +lean_inc(x_1679); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1680 = x_1614; } else { - lean_dec_ref(x_1694); - x_1760 = lean_box(0); + lean_dec_ref(x_1614); + x_1680 = lean_box(0); } -x_1761 = lean_ctor_get(x_1700, 1); -lean_inc(x_1761); -lean_dec(x_1700); -x_1762 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_1701, x_1761); -if (lean_is_scalar(x_1760)) { - x_1763 = lean_alloc_ctor(0, 2, 0); +x_1681 = lean_ctor_get(x_1620, 1); +lean_inc(x_1681); +lean_dec(x_1620); +x_1682 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_1621, x_1681); +if (lean_is_scalar(x_1680)) { + x_1683 = lean_alloc_ctor(0, 2, 0); } else { - x_1763 = x_1760; + x_1683 = x_1680; } -lean_ctor_set(x_1763, 0, x_1762); -lean_ctor_set(x_1763, 1, x_1759); -return x_1763; +lean_ctor_set(x_1683, 0, x_1682); +lean_ctor_set(x_1683, 1, x_1679); +return x_1683; } default: { -lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; -x_1764 = lean_ctor_get(x_1694, 1); -lean_inc(x_1764); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1765 = x_1694; +lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; +x_1684 = lean_ctor_get(x_1614, 1); +lean_inc(x_1684); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1685 = x_1614; } else { - lean_dec_ref(x_1694); - x_1765 = lean_box(0); + lean_dec_ref(x_1614); + x_1685 = lean_box(0); } -x_1766 = lean_ctor_get(x_1700, 1); -lean_inc(x_1766); -lean_dec(x_1700); -x_1767 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_1701, x_1766); -if (lean_is_scalar(x_1765)) { - x_1768 = lean_alloc_ctor(0, 2, 0); +x_1686 = lean_ctor_get(x_1620, 1); +lean_inc(x_1686); +lean_dec(x_1620); +x_1687 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_1621, x_1686); +if (lean_is_scalar(x_1685)) { + x_1688 = lean_alloc_ctor(0, 2, 0); } else { - x_1768 = x_1765; + x_1688 = x_1685; } -lean_ctor_set(x_1768, 0, x_1767); -lean_ctor_set(x_1768, 1, x_1764); -return x_1768; +lean_ctor_set(x_1688, 0, x_1687); +lean_ctor_set(x_1688, 1, x_1684); +return x_1688; } } } } else { -lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; +lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_dec(x_2); -x_1769 = lean_ctor_get(x_1694, 0); -lean_inc(x_1769); -x_1770 = lean_ctor_get(x_1694, 1); -lean_inc(x_1770); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1771 = x_1694; +x_1689 = lean_ctor_get(x_1614, 0); +lean_inc(x_1689); +x_1690 = lean_ctor_get(x_1614, 1); +lean_inc(x_1690); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1691 = x_1614; } else { - lean_dec_ref(x_1694); - x_1771 = lean_box(0); + lean_dec_ref(x_1614); + x_1691 = lean_box(0); } -if (lean_is_scalar(x_1771)) { - x_1772 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1691)) { + x_1692 = lean_alloc_ctor(1, 2, 0); } else { - x_1772 = x_1771; + x_1692 = x_1691; } -lean_ctor_set(x_1772, 0, x_1769); -lean_ctor_set(x_1772, 1, x_1770); +lean_ctor_set(x_1692, 0, x_1689); +lean_ctor_set(x_1692, 1, x_1690); +return x_1692; +} +} +else +{ +lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; +lean_dec(x_1610); +lean_dec(x_1); +x_1693 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1694 = l_unreachable_x21___rarg(x_1693); +x_1695 = lean_apply_2(x_1694, x_2, x_3); +return x_1695; +} +} +} +} +} +} +} +else +{ +lean_object* x_1696; size_t x_1697; lean_object* x_1698; size_t x_1699; lean_object* x_1700; lean_object* x_1701; uint8_t x_1702; +x_1696 = lean_ctor_get(x_115, 1); +x_1697 = lean_ctor_get_usize(x_115, 2); +lean_inc(x_1696); +lean_dec(x_115); +x_1698 = lean_ctor_get(x_116, 1); +lean_inc(x_1698); +x_1699 = lean_ctor_get_usize(x_116, 2); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_1700 = x_116; +} else { + lean_dec_ref(x_116); + x_1700 = lean_box(0); +} +x_1701 = l_Lean_nameToExprAux___main___closed__1; +x_1702 = lean_string_dec_eq(x_1698, x_1701); +lean_dec(x_1698); +if (x_1702 == 0) +{ +lean_object* x_1703; +lean_dec(x_1700); +lean_dec(x_1696); +lean_free_object(x_105); +lean_dec(x_121); +lean_dec(x_118); +lean_dec(x_4); +x_1703 = lean_box(0); +x_96 = x_1703; +goto block_104; +} +else +{ +lean_object* x_1704; lean_object* x_1705; uint8_t x_1706; +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_1704 = x_95; +} else { + lean_dec_ref(x_95); + x_1704 = lean_box(0); +} +x_1705 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_1706 = lean_string_dec_eq(x_1696, x_1705); +if (x_1706 == 0) +{ +lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; +lean_dec(x_4); +if (lean_is_scalar(x_1700)) { + x_1707 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1707 = x_1700; +} +lean_ctor_set(x_1707, 0, x_117); +lean_ctor_set(x_1707, 1, x_1701); +lean_ctor_set_usize(x_1707, 2, x_1699); +x_1708 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1708, 0, x_1707); +lean_ctor_set(x_1708, 1, x_1696); +lean_ctor_set_usize(x_1708, 2, x_1697); +lean_ctor_set(x_105, 0, x_1708); +if (lean_is_scalar(x_1704)) { + x_1709 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1709 = x_1704; +} +lean_ctor_set(x_1709, 0, x_105); +lean_ctor_set(x_1709, 1, x_118); +lean_ctor_set_usize(x_1709, 2, x_120); +x_1710 = l_System_FilePath_dirName___closed__1; +x_1711 = l_Lean_Name_toStringWithSep___main(x_1710, x_1709); +x_1712 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1712, 0, x_1711); +x_1713 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1713, 0, x_1712); +x_1714 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1715 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1715, 0, x_1714); +lean_ctor_set(x_1715, 1, x_1713); +x_1716 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1715, x_2, x_3); +lean_dec(x_1); +return x_1716; +} +else +{ +lean_object* x_1717; uint8_t x_1718; +lean_dec(x_1696); +x_1717 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_1718 = lean_string_dec_eq(x_121, x_1717); +if (x_1718 == 0) +{ +lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; +lean_dec(x_4); +if (lean_is_scalar(x_1700)) { + x_1719 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1719 = x_1700; +} +lean_ctor_set(x_1719, 0, x_117); +lean_ctor_set(x_1719, 1, x_1701); +lean_ctor_set_usize(x_1719, 2, x_1699); +x_1720 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1720, 0, x_1719); +lean_ctor_set(x_1720, 1, x_1705); +lean_ctor_set_usize(x_1720, 2, x_1697); +lean_ctor_set(x_105, 0, x_1720); +if (lean_is_scalar(x_1704)) { + x_1721 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1721 = x_1704; +} +lean_ctor_set(x_1721, 0, x_105); +lean_ctor_set(x_1721, 1, x_118); +lean_ctor_set_usize(x_1721, 2, x_120); +x_1722 = l_System_FilePath_dirName___closed__1; +x_1723 = l_Lean_Name_toStringWithSep___main(x_1722, x_1721); +x_1724 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1724, 0, x_1723); +x_1725 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1725, 0, x_1724); +x_1726 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1727 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1727, 0, x_1726); +lean_ctor_set(x_1727, 1, x_1725); +x_1728 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1727, x_2, x_3); +lean_dec(x_1); +return x_1728; +} +else +{ +lean_object* x_1729; uint8_t x_1730; +lean_dec(x_121); +x_1729 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_1730 = lean_string_dec_eq(x_118, x_1729); +if (x_1730 == 0) +{ +lean_object* x_1731; uint8_t x_1732; +x_1731 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_1732 = lean_string_dec_eq(x_118, x_1731); +if (x_1732 == 0) +{ +lean_object* x_1733; uint8_t x_1734; +x_1733 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_1734 = lean_string_dec_eq(x_118, x_1733); +if (x_1734 == 0) +{ +lean_object* x_1735; uint8_t x_1736; +x_1735 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_1736 = lean_string_dec_eq(x_118, x_1735); +if (x_1736 == 0) +{ +lean_object* x_1737; uint8_t x_1738; +x_1737 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_1738 = lean_string_dec_eq(x_118, x_1737); +if (x_1738 == 0) +{ +lean_object* x_1739; uint8_t x_1740; +x_1739 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_1740 = lean_string_dec_eq(x_118, x_1739); +if (x_1740 == 0) +{ +lean_object* x_1741; uint8_t x_1742; +x_1741 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_1742 = lean_string_dec_eq(x_118, x_1741); +if (x_1742 == 0) +{ +lean_object* x_1743; uint8_t x_1744; +x_1743 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_1744 = lean_string_dec_eq(x_118, x_1743); +if (x_1744 == 0) +{ +lean_object* x_1745; uint8_t x_1746; +lean_dec(x_4); +x_1745 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_1746 = lean_string_dec_eq(x_118, x_1745); +if (x_1746 == 0) +{ +lean_object* x_1747; uint8_t x_1748; +x_1747 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_1748 = lean_string_dec_eq(x_118, x_1747); +if (x_1748 == 0) +{ +lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; +if (lean_is_scalar(x_1700)) { + x_1749 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1749 = x_1700; +} +lean_ctor_set(x_1749, 0, x_117); +lean_ctor_set(x_1749, 1, x_1701); +lean_ctor_set_usize(x_1749, 2, x_1699); +x_1750 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1750, 0, x_1749); +lean_ctor_set(x_1750, 1, x_1705); +lean_ctor_set_usize(x_1750, 2, x_1697); +lean_ctor_set(x_105, 1, x_1717); +lean_ctor_set(x_105, 0, x_1750); +if (lean_is_scalar(x_1704)) { + x_1751 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1751 = x_1704; +} +lean_ctor_set(x_1751, 0, x_105); +lean_ctor_set(x_1751, 1, x_118); +lean_ctor_set_usize(x_1751, 2, x_120); +x_1752 = l_System_FilePath_dirName___closed__1; +x_1753 = l_Lean_Name_toStringWithSep___main(x_1752, x_1751); +x_1754 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1754, 0, x_1753); +x_1755 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1755, 0, x_1754); +x_1756 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1757 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1757, 0, x_1756); +lean_ctor_set(x_1757, 1, x_1755); +x_1758 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1757, x_2, x_3); +lean_dec(x_1); +return x_1758; +} +else +{ +lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; +lean_dec(x_1704); +lean_dec(x_1700); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_2); +x_1759 = lean_unsigned_to_nat(0u); +x_1760 = l_Lean_Syntax_getArg(x_1, x_1759); +lean_dec(x_1); +x_1761 = l_Lean_numLitKind; +x_1762 = l_Lean_Syntax_isNatLitAux(x_1761, x_1760); +lean_dec(x_1760); +if (lean_obj_tag(x_1762) == 0) +{ +lean_object* x_1763; lean_object* x_1764; +x_1763 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_1764 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1764, 0, x_1763); +lean_ctor_set(x_1764, 1, x_3); +return x_1764; +} +else +{ +lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; +x_1765 = lean_ctor_get(x_1762, 0); +lean_inc(x_1765); +lean_dec(x_1762); +x_1766 = l_Lean_mkNatLit(x_1765); +x_1767 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1767, 0, x_1766); +lean_ctor_set(x_1767, 1, x_3); +return x_1767; +} +} +} +else +{ +lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; +lean_dec(x_1704); +lean_dec(x_1700); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_2); +x_1768 = lean_unsigned_to_nat(0u); +x_1769 = l_Lean_Syntax_getArg(x_1, x_1768); +lean_dec(x_1); +x_1770 = l_Lean_Syntax_isStrLit_x3f(x_1769); +lean_dec(x_1769); +if (lean_obj_tag(x_1770) == 0) +{ +lean_object* x_1771; lean_object* x_1772; +x_1771 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_1772 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1772, 0, x_1771); +lean_ctor_set(x_1772, 1, x_3); return x_1772; } -} else { lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; -lean_dec(x_1690); -lean_dec(x_1); -x_1773 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1774 = l_unreachable_x21___rarg(x_1773); -x_1775 = lean_apply_2(x_1774, x_2, x_3); +x_1773 = lean_ctor_get(x_1770, 0); +lean_inc(x_1773); +lean_dec(x_1770); +x_1774 = l_Lean_mkStrLit(x_1773); +x_1775 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1775, 0, x_1774); +lean_ctor_set(x_1775, 1, x_3); return x_1775; } } } -} -} -} -} else { -lean_object* x_1776; size_t x_1777; lean_object* x_1778; size_t x_1779; lean_object* x_1780; lean_object* x_1781; uint8_t x_1782; -x_1776 = lean_ctor_get(x_115, 1); -x_1777 = lean_ctor_get_usize(x_115, 2); -lean_inc(x_1776); -lean_dec(x_115); -x_1778 = lean_ctor_get(x_116, 1); -lean_inc(x_1778); -x_1779 = lean_ctor_get_usize(x_116, 2); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_1780 = x_116; -} else { - lean_dec_ref(x_116); - x_1780 = lean_box(0); -} -x_1781 = l_Lean_nameToExprAux___main___closed__1; -x_1782 = lean_string_dec_eq(x_1778, x_1781); -lean_dec(x_1778); -if (x_1782 == 0) -{ -lean_object* x_1783; -lean_dec(x_1780); -lean_dec(x_1776); -lean_free_object(x_105); -lean_dec(x_121); -lean_dec(x_118); -lean_dec(x_4); -x_1783 = lean_box(0); -x_96 = x_1783; -goto block_104; -} -else -{ -lean_object* x_1784; lean_object* x_1785; uint8_t x_1786; -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_1784 = x_95; -} else { - lean_dec_ref(x_95); - x_1784 = lean_box(0); -} -x_1785 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_1786 = lean_string_dec_eq(x_1776, x_1785); -if (x_1786 == 0) -{ -lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; -lean_dec(x_4); -if (lean_is_scalar(x_1780)) { - x_1787 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1787 = x_1780; -} -lean_ctor_set(x_1787, 0, x_117); -lean_ctor_set(x_1787, 1, x_1781); -lean_ctor_set_usize(x_1787, 2, x_1779); -x_1788 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1788, 0, x_1787); -lean_ctor_set(x_1788, 1, x_1776); -lean_ctor_set_usize(x_1788, 2, x_1777); -lean_ctor_set(x_105, 0, x_1788); -if (lean_is_scalar(x_1784)) { - x_1789 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1789 = x_1784; -} -lean_ctor_set(x_1789, 0, x_105); -lean_ctor_set(x_1789, 1, x_118); -lean_ctor_set_usize(x_1789, 2, x_120); -x_1790 = l_System_FilePath_dirName___closed__1; -x_1791 = l_Lean_Name_toStringWithSep___main(x_1790, x_1789); -x_1792 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1792, 0, x_1791); -x_1793 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1793, 0, x_1792); -x_1794 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1795 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1795, 0, x_1794); -lean_ctor_set(x_1795, 1, x_1793); -x_1796 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1795, x_2, x_3); -lean_dec(x_1); -return x_1796; -} -else -{ -lean_object* x_1797; uint8_t x_1798; -lean_dec(x_1776); -x_1797 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_1798 = lean_string_dec_eq(x_121, x_1797); -if (x_1798 == 0) -{ -lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; -lean_dec(x_4); -if (lean_is_scalar(x_1780)) { - x_1799 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1799 = x_1780; -} -lean_ctor_set(x_1799, 0, x_117); -lean_ctor_set(x_1799, 1, x_1781); -lean_ctor_set_usize(x_1799, 2, x_1779); -x_1800 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1800, 0, x_1799); -lean_ctor_set(x_1800, 1, x_1785); -lean_ctor_set_usize(x_1800, 2, x_1777); -lean_ctor_set(x_105, 0, x_1800); -if (lean_is_scalar(x_1784)) { - x_1801 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1801 = x_1784; -} -lean_ctor_set(x_1801, 0, x_105); -lean_ctor_set(x_1801, 1, x_118); -lean_ctor_set_usize(x_1801, 2, x_120); -x_1802 = l_System_FilePath_dirName___closed__1; -x_1803 = l_Lean_Name_toStringWithSep___main(x_1802, x_1801); -x_1804 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1804, 0, x_1803); -x_1805 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1805, 0, x_1804); -x_1806 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1807 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1807, 0, x_1806); -lean_ctor_set(x_1807, 1, x_1805); -x_1808 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1807, x_2, x_3); -lean_dec(x_1); -return x_1808; -} -else -{ -lean_object* x_1809; uint8_t x_1810; -lean_dec(x_121); -x_1809 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_1810 = lean_string_dec_eq(x_118, x_1809); -if (x_1810 == 0) -{ -lean_object* x_1811; uint8_t x_1812; -x_1811 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1812 = lean_string_dec_eq(x_118, x_1811); -if (x_1812 == 0) -{ -lean_object* x_1813; uint8_t x_1814; -x_1813 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1814 = lean_string_dec_eq(x_118, x_1813); -if (x_1814 == 0) -{ -lean_object* x_1815; uint8_t x_1816; -x_1815 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_1816 = lean_string_dec_eq(x_118, x_1815); -if (x_1816 == 0) -{ -lean_object* x_1817; uint8_t x_1818; -x_1817 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; -x_1818 = lean_string_dec_eq(x_118, x_1817); -if (x_1818 == 0) -{ -lean_object* x_1819; uint8_t x_1820; -x_1819 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_1820 = lean_string_dec_eq(x_118, x_1819); -if (x_1820 == 0) -{ -lean_object* x_1821; uint8_t x_1822; -x_1821 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_1822 = lean_string_dec_eq(x_118, x_1821); -if (x_1822 == 0) -{ -lean_object* x_1823; uint8_t x_1824; -x_1823 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1824 = lean_string_dec_eq(x_118, x_1823); -if (x_1824 == 0) -{ -lean_object* x_1825; uint8_t x_1826; -x_1825 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1826 = lean_string_dec_eq(x_118, x_1825); -if (x_1826 == 0) -{ -lean_object* x_1827; uint8_t x_1828; -lean_dec(x_4); -x_1827 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_1828 = lean_string_dec_eq(x_118, x_1827); -if (x_1828 == 0) -{ -lean_object* x_1829; uint8_t x_1830; -x_1829 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_1830 = lean_string_dec_eq(x_118, x_1829); -if (x_1830 == 0) -{ -lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; -if (lean_is_scalar(x_1780)) { - x_1831 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1831 = x_1780; -} -lean_ctor_set(x_1831, 0, x_117); -lean_ctor_set(x_1831, 1, x_1781); -lean_ctor_set_usize(x_1831, 2, x_1779); -x_1832 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1832, 0, x_1831); -lean_ctor_set(x_1832, 1, x_1785); -lean_ctor_set_usize(x_1832, 2, x_1777); -lean_ctor_set(x_105, 1, x_1797); -lean_ctor_set(x_105, 0, x_1832); -if (lean_is_scalar(x_1784)) { - x_1833 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1833 = x_1784; -} -lean_ctor_set(x_1833, 0, x_105); -lean_ctor_set(x_1833, 1, x_118); -lean_ctor_set_usize(x_1833, 2, x_120); -x_1834 = l_System_FilePath_dirName___closed__1; -x_1835 = l_Lean_Name_toStringWithSep___main(x_1834, x_1833); -x_1836 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1836, 0, x_1835); -x_1837 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1837, 0, x_1836); -x_1838 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1839 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1839, 0, x_1838); -lean_ctor_set(x_1839, 1, x_1837); -x_1840 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1839, x_2, x_3); -lean_dec(x_1); -return x_1840; -} -else -{ -lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; -lean_dec(x_1784); -lean_dec(x_1780); +lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; +lean_dec(x_1704); +lean_dec(x_1700); lean_free_object(x_105); lean_dec(x_118); +lean_dec(x_1); +x_1776 = l_Lean_Syntax_inhabited; +x_1777 = lean_unsigned_to_nat(0u); +x_1778 = lean_array_get(x_1776, x_4, x_1777); +x_1779 = lean_unsigned_to_nat(2u); +x_1780 = lean_array_get(x_1776, x_4, x_1779); +lean_dec(x_4); +x_1781 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_1781, 0, x_117); +lean_closure_set(x_1781, 1, x_1778); +lean_closure_set(x_1781, 2, x_1780); +x_1782 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1783 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1783, 0, x_1782); +lean_closure_set(x_1783, 1, x_1781); +x_1784 = l_Lean_Unhygienic_run___rarg(x_1783); +x_1 = x_1784; +goto _start; +} +} +else +{ +lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; +lean_dec(x_1704); +lean_dec(x_1700); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1786 = l_Lean_Syntax_inhabited; +x_1787 = lean_unsigned_to_nat(0u); +x_1788 = lean_array_get(x_1786, x_4, x_1787); +x_1789 = lean_unsigned_to_nat(2u); +x_1790 = lean_array_get(x_1786, x_4, x_1789); +lean_dec(x_4); +x_1791 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_1791, 0, x_117); +lean_closure_set(x_1791, 1, x_1788); +lean_closure_set(x_1791, 2, x_1790); +x_1792 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1793 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1793, 0, x_1792); +lean_closure_set(x_1793, 1, x_1791); +x_1794 = l_Lean_Unhygienic_run___rarg(x_1793); +x_1 = x_1794; +goto _start; +} +} +else +{ +lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; uint8_t x_1802; +lean_dec(x_1704); +lean_dec(x_1700); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1796 = l_Lean_Syntax_inhabited; +x_1797 = lean_unsigned_to_nat(1u); +x_1798 = lean_array_get(x_1796, x_4, x_1797); +lean_dec(x_4); +x_1799 = l_Lean_Syntax_getArgs(x_1798); +lean_dec(x_1798); +x_1800 = lean_array_get_size(x_1799); +x_1801 = lean_unsigned_to_nat(0u); +x_1802 = lean_nat_dec_eq(x_1800, x_1801); +lean_dec(x_1800); +if (x_1802 == 0) +{ +lean_object* x_1803; +x_1803 = lean_array_get(x_1796, x_1799, x_1801); +lean_dec(x_1799); +x_1 = x_1803; +goto _start; +} +else +{ +lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; +lean_dec(x_1799); lean_dec(x_2); -x_1841 = lean_unsigned_to_nat(0u); -x_1842 = l_Lean_Syntax_getArg(x_1, x_1841); -lean_dec(x_1); -x_1843 = l_Lean_numLitKind; -x_1844 = l_Lean_Syntax_isNatLitAux(x_1843, x_1842); -lean_dec(x_1842); -if (lean_obj_tag(x_1844) == 0) +x_1805 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_1806 = lean_name_mk_string(x_117, x_1805); +x_1807 = l_Lean_Elab_Term_elabParen___closed__4; +x_1808 = lean_name_mk_string(x_1806, x_1807); +x_1809 = lean_box(0); +x_1810 = l_Lean_mkConst(x_1808, x_1809); +x_1811 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1811, 0, x_1810); +lean_ctor_set(x_1811, 1, x_3); +return x_1811; +} +} +} +else { -lean_object* x_1845; lean_object* x_1846; -x_1845 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_1846 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1846, 0, x_1845); -lean_ctor_set(x_1846, 1, x_3); +lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; +lean_dec(x_1704); +lean_dec(x_1700); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1812 = l_Lean_Syntax_inhabited; +x_1813 = lean_unsigned_to_nat(2u); +x_1814 = lean_array_get(x_1812, x_4, x_1813); +x_1815 = lean_unsigned_to_nat(4u); +x_1816 = lean_array_get(x_1812, x_4, x_1815); +x_1817 = lean_unsigned_to_nat(6u); +x_1818 = lean_array_get(x_1812, x_4, x_1817); +lean_dec(x_4); +x_1819 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_1819, 0, x_117); +lean_closure_set(x_1819, 1, x_1814); +lean_closure_set(x_1819, 2, x_1816); +lean_closure_set(x_1819, 3, x_1818); +x_1820 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1821 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1821, 0, x_1820); +lean_closure_set(x_1821, 1, x_1819); +x_1822 = l_Lean_Unhygienic_run___rarg(x_1821); +x_1 = x_1822; +goto _start; +} +} +else +{ +lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; +lean_dec(x_1704); +lean_dec(x_1700); +lean_free_object(x_105); +lean_dec(x_118); +lean_dec(x_1); +x_1824 = l_Lean_Syntax_inhabited; +x_1825 = lean_unsigned_to_nat(0u); +x_1826 = lean_array_get(x_1824, x_4, x_1825); +lean_inc(x_2); +x_1827 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1826, x_2, x_3); +if (lean_obj_tag(x_1827) == 0) +{ +lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; +x_1828 = lean_ctor_get(x_1827, 0); +lean_inc(x_1828); +x_1829 = lean_ctor_get(x_1827, 1); +lean_inc(x_1829); +lean_dec(x_1827); +x_1830 = lean_unsigned_to_nat(1u); +x_1831 = lean_array_get(x_1824, x_4, x_1830); +lean_dec(x_4); +x_1832 = l_Lean_Syntax_getArgs(x_1831); +lean_dec(x_1831); +x_1833 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1825, x_1832, x_2, x_1829); +if (lean_obj_tag(x_1833) == 0) +{ +lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; +x_1834 = lean_ctor_get(x_1833, 0); +lean_inc(x_1834); +x_1835 = lean_ctor_get(x_1833, 1); +lean_inc(x_1835); +if (lean_is_exclusive(x_1833)) { + lean_ctor_release(x_1833, 0); + lean_ctor_release(x_1833, 1); + x_1836 = x_1833; +} else { + lean_dec_ref(x_1833); + x_1836 = lean_box(0); +} +x_1837 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1834, x_1834, x_1825, x_1828); +lean_dec(x_1834); +if (lean_is_scalar(x_1836)) { + x_1838 = lean_alloc_ctor(0, 2, 0); +} else { + x_1838 = x_1836; +} +lean_ctor_set(x_1838, 0, x_1837); +lean_ctor_set(x_1838, 1, x_1835); +return x_1838; +} +else +{ +lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; +lean_dec(x_1828); +x_1839 = lean_ctor_get(x_1833, 0); +lean_inc(x_1839); +x_1840 = lean_ctor_get(x_1833, 1); +lean_inc(x_1840); +if (lean_is_exclusive(x_1833)) { + lean_ctor_release(x_1833, 0); + lean_ctor_release(x_1833, 1); + x_1841 = x_1833; +} else { + lean_dec_ref(x_1833); + x_1841 = lean_box(0); +} +if (lean_is_scalar(x_1841)) { + x_1842 = lean_alloc_ctor(1, 2, 0); +} else { + x_1842 = x_1841; +} +lean_ctor_set(x_1842, 0, x_1839); +lean_ctor_set(x_1842, 1, x_1840); +return x_1842; +} +} +else +{ +lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; +lean_dec(x_4); +lean_dec(x_2); +x_1843 = lean_ctor_get(x_1827, 0); +lean_inc(x_1843); +x_1844 = lean_ctor_get(x_1827, 1); +lean_inc(x_1844); +if (lean_is_exclusive(x_1827)) { + lean_ctor_release(x_1827, 0); + lean_ctor_release(x_1827, 1); + x_1845 = x_1827; +} else { + lean_dec_ref(x_1827); + x_1845 = lean_box(0); +} +if (lean_is_scalar(x_1845)) { + x_1846 = lean_alloc_ctor(1, 2, 0); +} else { + x_1846 = x_1845; +} +lean_ctor_set(x_1846, 0, x_1843); +lean_ctor_set(x_1846, 1, x_1844); return x_1846; } -else -{ -lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; -x_1847 = lean_ctor_get(x_1844, 0); -lean_inc(x_1847); -lean_dec(x_1844); -x_1848 = l_Lean_mkNatLit(x_1847); -x_1849 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1849, 0, x_1848); -lean_ctor_set(x_1849, 1, x_3); -return x_1849; -} } } else { -lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; -lean_dec(x_1784); -lean_dec(x_1780); +lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; +lean_dec(x_1704); +lean_dec(x_1700); lean_free_object(x_105); lean_dec(x_118); -lean_dec(x_2); -x_1850 = lean_unsigned_to_nat(0u); -x_1851 = l_Lean_Syntax_getArg(x_1, x_1850); lean_dec(x_1); -x_1852 = l_Lean_Syntax_isStrLit_x3f(x_1851); -lean_dec(x_1851); -if (lean_obj_tag(x_1852) == 0) +x_1847 = l_Lean_Syntax_inhabited; +x_1848 = lean_unsigned_to_nat(1u); +x_1849 = lean_array_get(x_1847, x_4, x_1848); +lean_inc(x_1849); +x_1850 = l_Lean_Syntax_getKind(x_1849); +if (lean_obj_tag(x_1850) == 1) { -lean_object* x_1853; lean_object* x_1854; -x_1853 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_1854 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1854, 0, x_1853); -lean_ctor_set(x_1854, 1, x_3); -return x_1854; -} -else +lean_object* x_1851; +x_1851 = lean_ctor_get(x_1850, 0); +lean_inc(x_1851); +if (lean_obj_tag(x_1851) == 1) { -lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; -x_1855 = lean_ctor_get(x_1852, 0); +lean_object* x_1852; +x_1852 = lean_ctor_get(x_1851, 0); +lean_inc(x_1852); +if (lean_obj_tag(x_1852) == 1) +{ +lean_object* x_1853; +x_1853 = lean_ctor_get(x_1852, 0); +lean_inc(x_1853); +if (lean_obj_tag(x_1853) == 1) +{ +lean_object* x_1854; +x_1854 = lean_ctor_get(x_1853, 0); +lean_inc(x_1854); +if (lean_obj_tag(x_1854) == 0) +{ +lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; uint8_t x_1859; +x_1855 = lean_ctor_get(x_1850, 1); lean_inc(x_1855); +lean_dec(x_1850); +x_1856 = lean_ctor_get(x_1851, 1); +lean_inc(x_1856); +lean_dec(x_1851); +x_1857 = lean_ctor_get(x_1852, 1); +lean_inc(x_1857); lean_dec(x_1852); -x_1856 = l_Lean_mkStrLit(x_1855); -x_1857 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1857, 0, x_1856); -lean_ctor_set(x_1857, 1, x_3); -return x_1857; +x_1858 = lean_ctor_get(x_1853, 1); +lean_inc(x_1858); +lean_dec(x_1853); +x_1859 = lean_string_dec_eq(x_1858, x_1701); +lean_dec(x_1858); +if (x_1859 == 0) +{ +lean_object* x_1860; lean_object* x_1861; +lean_dec(x_1857); +lean_dec(x_1856); +lean_dec(x_1855); +lean_dec(x_1849); +x_1860 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1861 = l_unreachable_x21___rarg(x_1860); +x_5 = x_1861; +goto block_94; +} +else +{ +uint8_t x_1862; +x_1862 = lean_string_dec_eq(x_1857, x_1705); +lean_dec(x_1857); +if (x_1862 == 0) +{ +lean_object* x_1863; lean_object* x_1864; +lean_dec(x_1856); +lean_dec(x_1855); +lean_dec(x_1849); +x_1863 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1864 = l_unreachable_x21___rarg(x_1863); +x_5 = x_1864; +goto block_94; +} +else +{ +uint8_t x_1865; +x_1865 = lean_string_dec_eq(x_1856, x_1717); +lean_dec(x_1856); +if (x_1865 == 0) +{ +lean_object* x_1866; lean_object* x_1867; +lean_dec(x_1855); +lean_dec(x_1849); +x_1866 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1867 = l_unreachable_x21___rarg(x_1866); +x_5 = x_1867; +goto block_94; +} +else +{ +lean_object* x_1868; uint8_t x_1869; +x_1868 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_1869 = lean_string_dec_eq(x_1855, x_1868); +if (x_1869 == 0) +{ +lean_object* x_1870; uint8_t x_1871; +x_1870 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_1871 = lean_string_dec_eq(x_1855, x_1870); +lean_dec(x_1855); +if (x_1871 == 0) +{ +lean_object* x_1872; lean_object* x_1873; +lean_dec(x_1849); +x_1872 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1873 = l_unreachable_x21___rarg(x_1872); +x_5 = x_1873; +goto block_94; +} +else +{ +lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; +x_1874 = lean_unsigned_to_nat(0u); +x_1875 = l_Lean_Syntax_getArg(x_1849, x_1874); +x_1876 = l_Lean_Syntax_getIdAt(x_1875, x_1874); +lean_dec(x_1875); +x_1877 = lean_unsigned_to_nat(3u); +x_1878 = l_Lean_Syntax_getArg(x_1849, x_1877); +lean_dec(x_1849); +x_1879 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1879, 0, x_1876); +lean_ctor_set(x_1879, 1, x_1878); +x_5 = x_1879; +goto block_94; +} +} +else +{ +lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; +lean_dec(x_1855); +x_1880 = lean_unsigned_to_nat(0u); +x_1881 = l_Lean_Syntax_getIdAt(x_1849, x_1880); +x_1882 = lean_unsigned_to_nat(4u); +x_1883 = l_Lean_Syntax_getArg(x_1849, x_1882); +lean_dec(x_1849); +x_1884 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1884, 0, x_1881); +lean_ctor_set(x_1884, 1, x_1883); +x_5 = x_1884; +goto block_94; +} +} } } } else { -lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; -lean_dec(x_1784); -lean_dec(x_1780); +lean_object* x_1885; lean_object* x_1886; +lean_dec(x_1854); +lean_dec(x_1853); +lean_dec(x_1852); +lean_dec(x_1851); +lean_dec(x_1850); +lean_dec(x_1849); +x_1885 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1886 = l_unreachable_x21___rarg(x_1885); +x_5 = x_1886; +goto block_94; +} +} +else +{ +lean_object* x_1887; lean_object* x_1888; +lean_dec(x_1853); +lean_dec(x_1852); +lean_dec(x_1851); +lean_dec(x_1850); +lean_dec(x_1849); +x_1887 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1888 = l_unreachable_x21___rarg(x_1887); +x_5 = x_1888; +goto block_94; +} +} +else +{ +lean_object* x_1889; lean_object* x_1890; +lean_dec(x_1852); +lean_dec(x_1851); +lean_dec(x_1850); +lean_dec(x_1849); +x_1889 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1890 = l_unreachable_x21___rarg(x_1889); +x_5 = x_1890; +goto block_94; +} +} +else +{ +lean_object* x_1891; lean_object* x_1892; +lean_dec(x_1851); +lean_dec(x_1850); +lean_dec(x_1849); +x_1891 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1892 = l_unreachable_x21___rarg(x_1891); +x_5 = x_1892; +goto block_94; +} +} +else +{ +lean_object* x_1893; lean_object* x_1894; +lean_dec(x_1850); +lean_dec(x_1849); +x_1893 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1894 = l_unreachable_x21___rarg(x_1893); +x_5 = x_1894; +goto block_94; +} +} +} +else +{ +lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; uint8_t x_1903; +lean_dec(x_1704); +lean_dec(x_1700); lean_free_object(x_105); lean_dec(x_118); lean_dec(x_1); -x_1858 = l_Lean_Syntax_inhabited; -x_1859 = lean_unsigned_to_nat(0u); -x_1860 = lean_array_get(x_1858, x_4, x_1859); -x_1861 = lean_unsigned_to_nat(2u); -x_1862 = lean_array_get(x_1858, x_4, x_1861); +x_1895 = l_Lean_Syntax_inhabited; +x_1896 = lean_unsigned_to_nat(1u); +x_1897 = lean_array_get(x_1895, x_4, x_1896); +x_1898 = l_Lean_Syntax_getArgs(x_1897); +lean_dec(x_1897); +x_1899 = lean_unsigned_to_nat(3u); +x_1900 = lean_array_get(x_1895, x_4, x_1899); lean_dec(x_4); -x_1863 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_1863, 0, x_117); -lean_closure_set(x_1863, 1, x_1860); -lean_closure_set(x_1863, 2, x_1862); -x_1864 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1865 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1865, 0, x_1864); -lean_closure_set(x_1865, 1, x_1863); -x_1866 = l_Lean_Unhygienic_run___rarg(x_1865); -x_1 = x_1866; -goto _start; -} -} -else +x_1901 = lean_array_get_size(x_1898); +x_1902 = lean_unsigned_to_nat(0u); +x_1903 = lean_nat_dec_eq(x_1901, x_1902); +lean_dec(x_1901); +if (x_1903 == 0) { -lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1868 = l_Lean_Syntax_inhabited; -x_1869 = lean_unsigned_to_nat(0u); -x_1870 = lean_array_get(x_1868, x_4, x_1869); -x_1871 = lean_unsigned_to_nat(2u); -x_1872 = lean_array_get(x_1868, x_4, x_1871); -lean_dec(x_4); -x_1873 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_1873, 0, x_117); -lean_closure_set(x_1873, 1, x_1870); -lean_closure_set(x_1873, 2, x_1872); -x_1874 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1875 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1875, 0, x_1874); -lean_closure_set(x_1875, 1, x_1873); -x_1876 = l_Lean_Unhygienic_run___rarg(x_1875); -x_1 = x_1876; -goto _start; -} -} -else +lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; uint8_t x_1909; +x_1904 = lean_array_get(x_1895, x_1898, x_1902); +x_1905 = lean_name_mk_string(x_117, x_1701); +x_1906 = lean_name_mk_string(x_1905, x_1705); +x_1907 = lean_name_mk_string(x_1906, x_1717); +lean_inc(x_1907); +x_1908 = lean_name_mk_string(x_1907, x_1729); +lean_inc(x_1904); +x_1909 = l_Lean_Syntax_isOfKind(x_1904, x_1908); +lean_dec(x_1908); +if (x_1909 == 0) { -lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; uint8_t x_1884; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1878 = l_Lean_Syntax_inhabited; -x_1879 = lean_unsigned_to_nat(1u); -x_1880 = lean_array_get(x_1878, x_4, x_1879); -lean_dec(x_4); -x_1881 = l_Lean_Syntax_getArgs(x_1880); -lean_dec(x_1880); -x_1882 = lean_array_get_size(x_1881); -x_1883 = lean_unsigned_to_nat(0u); -x_1884 = lean_nat_dec_eq(x_1882, x_1883); -lean_dec(x_1882); -if (x_1884 == 0) +lean_object* x_1910; lean_object* x_1911; uint8_t x_1912; +x_1910 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_1907); +x_1911 = lean_name_mk_string(x_1907, x_1910); +lean_inc(x_1904); +x_1912 = l_Lean_Syntax_isOfKind(x_1904, x_1911); +lean_dec(x_1911); +if (x_1912 == 0) { -lean_object* x_1885; -x_1885 = lean_array_get(x_1878, x_1881, x_1883); -lean_dec(x_1881); -x_1 = x_1885; -goto _start; -} -else -{ -lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; -lean_dec(x_1881); -lean_dec(x_2); -x_1887 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1888 = lean_name_mk_string(x_117, x_1887); -x_1889 = l_Lean_Elab_Term_elabParen___closed__4; -x_1890 = lean_name_mk_string(x_1888, x_1889); -x_1891 = lean_box(0); -x_1892 = l_Lean_mkConst(x_1890, x_1891); -x_1893 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1893, 0, x_1892); -lean_ctor_set(x_1893, 1, x_3); -return x_1893; -} -} -} -else -{ -lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1894 = l_Lean_Syntax_inhabited; -x_1895 = lean_unsigned_to_nat(2u); -x_1896 = lean_array_get(x_1894, x_4, x_1895); -x_1897 = lean_unsigned_to_nat(4u); -x_1898 = lean_array_get(x_1894, x_4, x_1897); -x_1899 = lean_unsigned_to_nat(6u); -x_1900 = lean_array_get(x_1894, x_4, x_1899); -lean_dec(x_4); -x_1901 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_1901, 0, x_117); -lean_closure_set(x_1901, 1, x_1896); -lean_closure_set(x_1901, 2, x_1898); -lean_closure_set(x_1901, 3, x_1900); -x_1902 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1903 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1903, 0, x_1902); -lean_closure_set(x_1903, 1, x_1901); -x_1904 = l_Lean_Unhygienic_run___rarg(x_1903); -x_1 = x_1904; -goto _start; -} -} -else -{ -lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1906 = l_Lean_Syntax_inhabited; -x_1907 = lean_unsigned_to_nat(1u); -x_1908 = lean_array_get(x_1906, x_4, x_1907); -lean_inc(x_2); -x_1909 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1908, x_2, x_3); -if (lean_obj_tag(x_1909) == 0) -{ -lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; -x_1910 = lean_ctor_get(x_1909, 0); -lean_inc(x_1910); -x_1911 = lean_ctor_get(x_1909, 1); -lean_inc(x_1911); -lean_dec(x_1909); -x_1912 = lean_unsigned_to_nat(2u); -x_1913 = lean_array_get(x_1906, x_4, x_1912); -lean_dec(x_4); -x_1914 = l_Lean_Syntax_getArgs(x_1913); +lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; +x_1913 = l_Lean_Syntax_getArg(x_1904, x_1896); +lean_dec(x_1904); +x_1914 = l_Lean_Syntax_getArg(x_1913, x_1902); +x_1915 = l_Lean_Syntax_getIdAt(x_1914, x_1902); +lean_dec(x_1914); +x_1916 = l_Lean_Syntax_getArg(x_1913, x_1896); lean_dec(x_1913); -x_1915 = lean_unsigned_to_nat(0u); -x_1916 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1915, x_1914, x_2, x_1911); -if (lean_obj_tag(x_1916) == 0) -{ -lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; -x_1917 = lean_ctor_get(x_1916, 0); -lean_inc(x_1917); -x_1918 = lean_ctor_get(x_1916, 1); -lean_inc(x_1918); -if (lean_is_exclusive(x_1916)) { - lean_ctor_release(x_1916, 0); - lean_ctor_release(x_1916, 1); - x_1919 = x_1916; -} else { - lean_dec_ref(x_1916); - x_1919 = lean_box(0); -} -x_1920 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1917, x_1917, x_1915, x_1910); +x_1917 = l_Lean_Syntax_getArg(x_1916, x_1902); +lean_dec(x_1916); +x_1918 = l_Lean_Syntax_getArg(x_1917, x_1896); lean_dec(x_1917); -if (lean_is_scalar(x_1919)) { - x_1921 = lean_alloc_ctor(0, 2, 0); -} else { - x_1921 = x_1919; -} -lean_ctor_set(x_1921, 0, x_1920); -lean_ctor_set(x_1921, 1, x_1918); -return x_1921; -} -else +lean_inc(x_2); +x_1919 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1918, x_2, x_3); +if (lean_obj_tag(x_1919) == 0) { -lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; -lean_dec(x_1910); -x_1922 = lean_ctor_get(x_1916, 0); -lean_inc(x_1922); -x_1923 = lean_ctor_get(x_1916, 1); +lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; uint8_t x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; uint8_t x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; +x_1920 = lean_ctor_get(x_1919, 0); +lean_inc(x_1920); +x_1921 = lean_ctor_get(x_1919, 1); +lean_inc(x_1921); +lean_dec(x_1919); +x_1922 = l_Lean_Elab_Term_getLCtx(x_2, x_1921); +x_1923 = lean_ctor_get(x_1922, 0); lean_inc(x_1923); -if (lean_is_exclusive(x_1916)) { - lean_ctor_release(x_1916, 0); - lean_ctor_release(x_1916, 1); - x_1924 = x_1916; -} else { - lean_dec_ref(x_1916); - x_1924 = lean_box(0); -} -if (lean_is_scalar(x_1924)) { - x_1925 = lean_alloc_ctor(1, 2, 0); -} else { - x_1925 = x_1924; -} -lean_ctor_set(x_1925, 0, x_1922); -lean_ctor_set(x_1925, 1, x_1923); -return x_1925; -} -} -else -{ -lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; -lean_dec(x_4); -lean_dec(x_2); -x_1926 = lean_ctor_get(x_1909, 0); -lean_inc(x_1926); -x_1927 = lean_ctor_get(x_1909, 1); -lean_inc(x_1927); -if (lean_is_exclusive(x_1909)) { - lean_ctor_release(x_1909, 0); - lean_ctor_release(x_1909, 1); - x_1928 = x_1909; -} else { - lean_dec_ref(x_1909); - x_1928 = lean_box(0); -} -if (lean_is_scalar(x_1928)) { - x_1929 = lean_alloc_ctor(1, 2, 0); -} else { - x_1929 = x_1928; -} -lean_ctor_set(x_1929, 0, x_1926); -lean_ctor_set(x_1929, 1, x_1927); -return x_1929; -} -} -} -else -{ -lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1930 = l_Lean_Syntax_inhabited; -x_1931 = lean_unsigned_to_nat(0u); -x_1932 = lean_array_get(x_1930, x_4, x_1931); -lean_inc(x_2); -x_1933 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1932, x_2, x_3); -if (lean_obj_tag(x_1933) == 0) -{ -lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; -x_1934 = lean_ctor_get(x_1933, 0); -lean_inc(x_1934); -x_1935 = lean_ctor_get(x_1933, 1); -lean_inc(x_1935); -lean_dec(x_1933); -x_1936 = lean_unsigned_to_nat(1u); -x_1937 = lean_array_get(x_1930, x_4, x_1936); -lean_dec(x_4); -x_1938 = l_Lean_Syntax_getArgs(x_1937); -lean_dec(x_1937); -x_1939 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1931, x_1938, x_2, x_1935); -if (lean_obj_tag(x_1939) == 0) -{ -lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; -x_1940 = lean_ctor_get(x_1939, 0); -lean_inc(x_1940); -x_1941 = lean_ctor_get(x_1939, 1); -lean_inc(x_1941); -if (lean_is_exclusive(x_1939)) { - lean_ctor_release(x_1939, 0); - lean_ctor_release(x_1939, 1); - x_1942 = x_1939; -} else { - lean_dec_ref(x_1939); - x_1942 = lean_box(0); -} -x_1943 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1940, x_1940, x_1931, x_1934); -lean_dec(x_1940); -if (lean_is_scalar(x_1942)) { - x_1944 = lean_alloc_ctor(0, 2, 0); -} else { - x_1944 = x_1942; -} -lean_ctor_set(x_1944, 0, x_1943); -lean_ctor_set(x_1944, 1, x_1941); -return x_1944; -} -else -{ -lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; -lean_dec(x_1934); -x_1945 = lean_ctor_get(x_1939, 0); +x_1924 = lean_ctor_get(x_1922, 1); +lean_inc(x_1924); +lean_dec(x_1922); +x_1925 = 0; +lean_inc_n(x_1915, 2); +x_1926 = lean_local_ctx_mk_local_decl(x_1923, x_1915, x_1915, x_1920, x_1925); +x_1927 = l_Array_eraseIdx___rarg(x_1898, x_1902); +x_1928 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1924); +x_1929 = lean_ctor_get(x_1928, 1); +lean_inc(x_1929); +lean_dec(x_1928); +x_1930 = lean_name_mk_string(x_1907, x_1731); +x_1931 = l_Lean_nullKind___closed__1; +x_1932 = lean_name_mk_string(x_117, x_1931); +x_1933 = l_Array_empty___closed__1; +x_1934 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1927, x_1927, x_1902, x_1933); +lean_dec(x_1927); +x_1935 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1935, 0, x_1932); +lean_ctor_set(x_1935, 1, x_1934); +x_1936 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1937 = lean_array_push(x_1936, x_1935); +x_1938 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1939 = lean_array_push(x_1937, x_1938); +x_1940 = lean_array_push(x_1939, x_1900); +x_1941 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1941, 0, x_1930); +lean_ctor_set(x_1941, 1, x_1940); +x_1942 = lean_ctor_get(x_2, 0); +lean_inc(x_1942); +x_1943 = lean_ctor_get(x_2, 1); +lean_inc(x_1943); +x_1944 = lean_ctor_get(x_2, 2); +lean_inc(x_1944); +x_1945 = lean_ctor_get(x_2, 3); lean_inc(x_1945); -x_1946 = lean_ctor_get(x_1939, 1); +x_1946 = lean_ctor_get(x_2, 4); lean_inc(x_1946); -if (lean_is_exclusive(x_1939)) { - lean_ctor_release(x_1939, 0); - lean_ctor_release(x_1939, 1); - x_1947 = x_1939; -} else { - lean_dec_ref(x_1939); - x_1947 = lean_box(0); -} -if (lean_is_scalar(x_1947)) { - x_1948 = lean_alloc_ctor(1, 2, 0); -} else { - x_1948 = x_1947; -} -lean_ctor_set(x_1948, 0, x_1945); -lean_ctor_set(x_1948, 1, x_1946); -return x_1948; -} -} -else -{ -lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; -lean_dec(x_4); -lean_dec(x_2); -x_1949 = lean_ctor_get(x_1933, 0); +x_1947 = lean_ctor_get(x_2, 5); +lean_inc(x_1947); +x_1948 = lean_ctor_get(x_2, 6); +lean_inc(x_1948); +x_1949 = lean_ctor_get(x_2, 7); lean_inc(x_1949); -x_1950 = lean_ctor_get(x_1933, 1); +x_1950 = lean_ctor_get(x_2, 8); lean_inc(x_1950); -if (lean_is_exclusive(x_1933)) { - lean_ctor_release(x_1933, 0); - lean_ctor_release(x_1933, 1); - x_1951 = x_1933; +x_1951 = lean_ctor_get(x_2, 9); +lean_inc(x_1951); +x_1952 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1953 = x_2; } else { - lean_dec_ref(x_1933); - x_1951 = lean_box(0); + lean_dec_ref(x_2); + x_1953 = lean_box(0); } -if (lean_is_scalar(x_1951)) { - x_1952 = lean_alloc_ctor(1, 2, 0); -} else { - x_1952 = x_1951; -} -lean_ctor_set(x_1952, 0, x_1949); -lean_ctor_set(x_1952, 1, x_1950); -return x_1952; -} -} -} -else -{ -lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1953 = l_Lean_Syntax_inhabited; -x_1954 = lean_unsigned_to_nat(1u); -x_1955 = lean_array_get(x_1953, x_4, x_1954); +x_1954 = lean_ctor_get(x_1942, 0); +lean_inc(x_1954); +x_1955 = lean_ctor_get(x_1942, 2); lean_inc(x_1955); -x_1956 = l_Lean_Syntax_getKind(x_1955); -if (lean_obj_tag(x_1956) == 1) -{ -lean_object* x_1957; -x_1957 = lean_ctor_get(x_1956, 0); +x_1956 = lean_ctor_get(x_1942, 3); +lean_inc(x_1956); +x_1957 = lean_ctor_get(x_1942, 4); lean_inc(x_1957); -if (lean_obj_tag(x_1957) == 1) +if (lean_is_exclusive(x_1942)) { + lean_ctor_release(x_1942, 0); + lean_ctor_release(x_1942, 1); + lean_ctor_release(x_1942, 2); + lean_ctor_release(x_1942, 3); + lean_ctor_release(x_1942, 4); + x_1958 = x_1942; +} else { + lean_dec_ref(x_1942); + x_1958 = lean_box(0); +} +lean_inc(x_1926); +if (lean_is_scalar(x_1958)) { + x_1959 = lean_alloc_ctor(0, 5, 0); +} else { + x_1959 = x_1958; +} +lean_ctor_set(x_1959, 0, x_1954); +lean_ctor_set(x_1959, 1, x_1926); +lean_ctor_set(x_1959, 2, x_1955); +lean_ctor_set(x_1959, 3, x_1956); +lean_ctor_set(x_1959, 4, x_1957); +if (lean_is_scalar(x_1953)) { + x_1960 = lean_alloc_ctor(0, 10, 1); +} else { + x_1960 = x_1953; +} +lean_ctor_set(x_1960, 0, x_1959); +lean_ctor_set(x_1960, 1, x_1943); +lean_ctor_set(x_1960, 2, x_1944); +lean_ctor_set(x_1960, 3, x_1945); +lean_ctor_set(x_1960, 4, x_1946); +lean_ctor_set(x_1960, 5, x_1947); +lean_ctor_set(x_1960, 6, x_1948); +lean_ctor_set(x_1960, 7, x_1949); +lean_ctor_set(x_1960, 8, x_1950); +lean_ctor_set(x_1960, 9, x_1951); +lean_ctor_set_uint8(x_1960, sizeof(void*)*10, x_1952); +x_1961 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1941, x_1960, x_1929); +if (lean_obj_tag(x_1961) == 0) { -lean_object* x_1958; -x_1958 = lean_ctor_get(x_1957, 0); -lean_inc(x_1958); -if (lean_obj_tag(x_1958) == 1) -{ -lean_object* x_1959; -x_1959 = lean_ctor_get(x_1958, 0); -lean_inc(x_1959); -if (lean_obj_tag(x_1959) == 1) -{ -lean_object* x_1960; -x_1960 = lean_ctor_get(x_1959, 0); -lean_inc(x_1960); -if (lean_obj_tag(x_1960) == 0) -{ -lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; uint8_t x_1965; -x_1961 = lean_ctor_get(x_1956, 1); -lean_inc(x_1961); -lean_dec(x_1956); -x_1962 = lean_ctor_get(x_1957, 1); +lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; +x_1962 = lean_ctor_get(x_1961, 0); lean_inc(x_1962); -lean_dec(x_1957); -x_1963 = lean_ctor_get(x_1958, 1); +x_1963 = lean_ctor_get(x_1961, 1); lean_inc(x_1963); -lean_dec(x_1958); -x_1964 = lean_ctor_get(x_1959, 1); -lean_inc(x_1964); -lean_dec(x_1959); -x_1965 = lean_string_dec_eq(x_1964, x_1781); -lean_dec(x_1964); -if (x_1965 == 0) -{ -lean_object* x_1966; lean_object* x_1967; -lean_dec(x_1963); +if (lean_is_exclusive(x_1961)) { + lean_ctor_release(x_1961, 0); + lean_ctor_release(x_1961, 1); + x_1964 = x_1961; +} else { + lean_dec_ref(x_1961); + x_1964 = lean_box(0); +} +x_1965 = l_Lean_mkFVar(x_1915); +x_1966 = l_Lean_FileMap_ofString___closed__1; +x_1967 = lean_array_push(x_1966, x_1965); +x_1968 = l_Lean_LocalContext_mkLambda(x_1926, x_1967, x_1962); lean_dec(x_1962); -lean_dec(x_1961); -lean_dec(x_1955); -x_1966 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1967 = l_unreachable_x21___rarg(x_1966); -x_5 = x_1967; -goto block_94; -} -else -{ -uint8_t x_1968; -x_1968 = lean_string_dec_eq(x_1963, x_1785); -lean_dec(x_1963); -if (x_1968 == 0) -{ -lean_object* x_1969; lean_object* x_1970; -lean_dec(x_1962); -lean_dec(x_1961); -lean_dec(x_1955); -x_1969 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1970 = l_unreachable_x21___rarg(x_1969); -x_5 = x_1970; -goto block_94; -} -else -{ -uint8_t x_1971; -x_1971 = lean_string_dec_eq(x_1962, x_1797); -lean_dec(x_1962); -if (x_1971 == 0) -{ -lean_object* x_1972; lean_object* x_1973; -lean_dec(x_1961); -lean_dec(x_1955); -x_1972 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1973 = l_unreachable_x21___rarg(x_1972); -x_5 = x_1973; -goto block_94; -} -else -{ -lean_object* x_1974; uint8_t x_1975; -x_1974 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_1975 = lean_string_dec_eq(x_1961, x_1974); -if (x_1975 == 0) -{ -lean_object* x_1976; uint8_t x_1977; -x_1976 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_1977 = lean_string_dec_eq(x_1961, x_1976); -lean_dec(x_1961); -if (x_1977 == 0) -{ -lean_object* x_1978; lean_object* x_1979; -lean_dec(x_1955); -x_1978 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1979 = l_unreachable_x21___rarg(x_1978); -x_5 = x_1979; -goto block_94; -} -else -{ -lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; -x_1980 = lean_unsigned_to_nat(0u); -x_1981 = l_Lean_Syntax_getArg(x_1955, x_1980); -x_1982 = l_Lean_Syntax_getIdAt(x_1981, x_1980); -lean_dec(x_1981); -x_1983 = lean_unsigned_to_nat(3u); -x_1984 = l_Lean_Syntax_getArg(x_1955, x_1983); -lean_dec(x_1955); -x_1985 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1985, 0, x_1982); -lean_ctor_set(x_1985, 1, x_1984); -x_5 = x_1985; -goto block_94; -} -} -else -{ -lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; -lean_dec(x_1961); -x_1986 = lean_unsigned_to_nat(0u); -x_1987 = l_Lean_Syntax_getIdAt(x_1955, x_1986); -x_1988 = lean_unsigned_to_nat(4u); -x_1989 = l_Lean_Syntax_getArg(x_1955, x_1988); -lean_dec(x_1955); -x_1990 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1990, 0, x_1987); -lean_ctor_set(x_1990, 1, x_1989); -x_5 = x_1990; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_1991; lean_object* x_1992; -lean_dec(x_1960); -lean_dec(x_1959); -lean_dec(x_1958); -lean_dec(x_1957); -lean_dec(x_1956); -lean_dec(x_1955); -x_1991 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1992 = l_unreachable_x21___rarg(x_1991); -x_5 = x_1992; -goto block_94; -} -} -else -{ -lean_object* x_1993; lean_object* x_1994; -lean_dec(x_1959); -lean_dec(x_1958); -lean_dec(x_1957); -lean_dec(x_1956); -lean_dec(x_1955); -x_1993 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1994 = l_unreachable_x21___rarg(x_1993); -x_5 = x_1994; -goto block_94; -} -} -else -{ -lean_object* x_1995; lean_object* x_1996; -lean_dec(x_1958); -lean_dec(x_1957); -lean_dec(x_1956); -lean_dec(x_1955); -x_1995 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1996 = l_unreachable_x21___rarg(x_1995); -x_5 = x_1996; -goto block_94; -} -} -else -{ -lean_object* x_1997; lean_object* x_1998; -lean_dec(x_1957); -lean_dec(x_1956); -lean_dec(x_1955); -x_1997 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1998 = l_unreachable_x21___rarg(x_1997); -x_5 = x_1998; -goto block_94; -} -} -else -{ -lean_object* x_1999; lean_object* x_2000; -lean_dec(x_1956); -lean_dec(x_1955); -x_1999 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2000 = l_unreachable_x21___rarg(x_1999); -x_5 = x_2000; -goto block_94; -} -} -} -else -{ -lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; uint8_t x_2009; -lean_dec(x_1784); -lean_dec(x_1780); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_2001 = l_Lean_Syntax_inhabited; -x_2002 = lean_unsigned_to_nat(1u); -x_2003 = lean_array_get(x_2001, x_4, x_2002); -x_2004 = l_Lean_Syntax_getArgs(x_2003); -lean_dec(x_2003); -x_2005 = lean_unsigned_to_nat(3u); -x_2006 = lean_array_get(x_2001, x_4, x_2005); -lean_dec(x_4); -x_2007 = lean_array_get_size(x_2004); -x_2008 = lean_unsigned_to_nat(0u); -x_2009 = lean_nat_dec_eq(x_2007, x_2008); -lean_dec(x_2007); -if (x_2009 == 0) -{ -lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; uint8_t x_2015; -x_2010 = lean_array_get(x_2001, x_2004, x_2008); -x_2011 = lean_name_mk_string(x_117, x_1781); -x_2012 = lean_name_mk_string(x_2011, x_1785); -x_2013 = lean_name_mk_string(x_2012, x_1797); -lean_inc(x_2013); -x_2014 = lean_name_mk_string(x_2013, x_1809); -lean_inc(x_2010); -x_2015 = l_Lean_Syntax_isOfKind(x_2010, x_2014); -lean_dec(x_2014); -if (x_2015 == 0) -{ -lean_object* x_2016; lean_object* x_2017; uint8_t x_2018; -x_2016 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_2013); -x_2017 = lean_name_mk_string(x_2013, x_2016); -lean_inc(x_2010); -x_2018 = l_Lean_Syntax_isOfKind(x_2010, x_2017); -lean_dec(x_2017); -if (x_2018 == 0) -{ -lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; -x_2019 = l_Lean_Syntax_getArg(x_2010, x_2002); -lean_dec(x_2010); -x_2020 = l_Lean_Syntax_getArg(x_2019, x_2008); -x_2021 = l_Lean_Syntax_getIdAt(x_2020, x_2008); -lean_dec(x_2020); -x_2022 = l_Lean_Syntax_getArg(x_2019, x_2002); -lean_dec(x_2019); -x_2023 = l_Lean_Syntax_getArg(x_2022, x_2008); -lean_dec(x_2022); -x_2024 = l_Lean_Syntax_getArg(x_2023, x_2002); -lean_dec(x_2023); -lean_inc(x_2); -x_2025 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2024, x_2, x_3); -if (lean_obj_tag(x_2025) == 0) -{ -lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; uint8_t x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; uint8_t x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; -x_2026 = lean_ctor_get(x_2025, 0); -lean_inc(x_2026); -x_2027 = lean_ctor_get(x_2025, 1); -lean_inc(x_2027); -lean_dec(x_2025); -x_2028 = l_Lean_Elab_Term_getLCtx(x_2, x_2027); -x_2029 = lean_ctor_get(x_2028, 0); -lean_inc(x_2029); -x_2030 = lean_ctor_get(x_2028, 1); -lean_inc(x_2030); -lean_dec(x_2028); -x_2031 = 0; -lean_inc_n(x_2021, 2); -x_2032 = lean_local_ctx_mk_local_decl(x_2029, x_2021, x_2021, x_2026, x_2031); -x_2033 = l_Array_eraseIdx___rarg(x_2004, x_2008); -x_2034 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2030); -x_2035 = lean_ctor_get(x_2034, 1); -lean_inc(x_2035); -lean_dec(x_2034); -x_2036 = lean_name_mk_string(x_2013, x_1811); -x_2037 = l_Lean_nullKind___closed__1; -x_2038 = lean_name_mk_string(x_117, x_2037); -x_2039 = l_Array_empty___closed__1; -x_2040 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2033, x_2033, x_2008, x_2039); -lean_dec(x_2033); -x_2041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2041, 0, x_2038); -lean_ctor_set(x_2041, 1, x_2040); -x_2042 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2043 = lean_array_push(x_2042, x_2041); -x_2044 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2045 = lean_array_push(x_2043, x_2044); -x_2046 = lean_array_push(x_2045, x_2006); -x_2047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2047, 0, x_2036); -lean_ctor_set(x_2047, 1, x_2046); -x_2048 = lean_ctor_get(x_2, 0); -lean_inc(x_2048); -x_2049 = lean_ctor_get(x_2, 1); -lean_inc(x_2049); -x_2050 = lean_ctor_get(x_2, 2); -lean_inc(x_2050); -x_2051 = lean_ctor_get(x_2, 3); -lean_inc(x_2051); -x_2052 = lean_ctor_get(x_2, 4); -lean_inc(x_2052); -x_2053 = lean_ctor_get(x_2, 5); -lean_inc(x_2053); -x_2054 = lean_ctor_get(x_2, 6); -lean_inc(x_2054); -x_2055 = lean_ctor_get(x_2, 7); -lean_inc(x_2055); -x_2056 = lean_ctor_get(x_2, 8); -lean_inc(x_2056); -x_2057 = lean_ctor_get(x_2, 9); -lean_inc(x_2057); -x_2058 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2059 = x_2; +lean_dec(x_1967); +if (lean_is_scalar(x_1964)) { + x_1969 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_2); - x_2059 = lean_box(0); + x_1969 = x_1964; } -x_2060 = lean_ctor_get(x_2048, 0); -lean_inc(x_2060); -x_2061 = lean_ctor_get(x_2048, 2); -lean_inc(x_2061); -x_2062 = lean_ctor_get(x_2048, 3); -lean_inc(x_2062); -x_2063 = lean_ctor_get(x_2048, 4); -lean_inc(x_2063); -if (lean_is_exclusive(x_2048)) { - lean_ctor_release(x_2048, 0); - lean_ctor_release(x_2048, 1); - lean_ctor_release(x_2048, 2); - lean_ctor_release(x_2048, 3); - lean_ctor_release(x_2048, 4); - x_2064 = x_2048; -} else { - lean_dec_ref(x_2048); - x_2064 = lean_box(0); -} -lean_inc(x_2032); -if (lean_is_scalar(x_2064)) { - x_2065 = lean_alloc_ctor(0, 5, 0); -} else { - x_2065 = x_2064; -} -lean_ctor_set(x_2065, 0, x_2060); -lean_ctor_set(x_2065, 1, x_2032); -lean_ctor_set(x_2065, 2, x_2061); -lean_ctor_set(x_2065, 3, x_2062); -lean_ctor_set(x_2065, 4, x_2063); -if (lean_is_scalar(x_2059)) { - x_2066 = lean_alloc_ctor(0, 10, 1); -} else { - x_2066 = x_2059; -} -lean_ctor_set(x_2066, 0, x_2065); -lean_ctor_set(x_2066, 1, x_2049); -lean_ctor_set(x_2066, 2, x_2050); -lean_ctor_set(x_2066, 3, x_2051); -lean_ctor_set(x_2066, 4, x_2052); -lean_ctor_set(x_2066, 5, x_2053); -lean_ctor_set(x_2066, 6, x_2054); -lean_ctor_set(x_2066, 7, x_2055); -lean_ctor_set(x_2066, 8, x_2056); -lean_ctor_set(x_2066, 9, x_2057); -lean_ctor_set_uint8(x_2066, sizeof(void*)*10, x_2058); -x_2067 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2047, x_2066, x_2035); -if (lean_obj_tag(x_2067) == 0) -{ -lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; -x_2068 = lean_ctor_get(x_2067, 0); -lean_inc(x_2068); -x_2069 = lean_ctor_get(x_2067, 1); -lean_inc(x_2069); -if (lean_is_exclusive(x_2067)) { - lean_ctor_release(x_2067, 0); - lean_ctor_release(x_2067, 1); - x_2070 = x_2067; -} else { - lean_dec_ref(x_2067); - x_2070 = lean_box(0); -} -x_2071 = l_Lean_mkFVar(x_2021); -x_2072 = l_Lean_FileMap_ofString___closed__1; -x_2073 = lean_array_push(x_2072, x_2071); -x_2074 = l_Lean_LocalContext_mkLambda(x_2032, x_2073, x_2068); -lean_dec(x_2068); -lean_dec(x_2073); -if (lean_is_scalar(x_2070)) { - x_2075 = lean_alloc_ctor(0, 2, 0); -} else { - x_2075 = x_2070; -} -lean_ctor_set(x_2075, 0, x_2074); -lean_ctor_set(x_2075, 1, x_2069); -return x_2075; +lean_ctor_set(x_1969, 0, x_1968); +lean_ctor_set(x_1969, 1, x_1963); +return x_1969; } else { -lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; -lean_dec(x_2032); -lean_dec(x_2021); -x_2076 = lean_ctor_get(x_2067, 0); -lean_inc(x_2076); -x_2077 = lean_ctor_get(x_2067, 1); -lean_inc(x_2077); -if (lean_is_exclusive(x_2067)) { - lean_ctor_release(x_2067, 0); - lean_ctor_release(x_2067, 1); - x_2078 = x_2067; +lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; +lean_dec(x_1926); +lean_dec(x_1915); +x_1970 = lean_ctor_get(x_1961, 0); +lean_inc(x_1970); +x_1971 = lean_ctor_get(x_1961, 1); +lean_inc(x_1971); +if (lean_is_exclusive(x_1961)) { + lean_ctor_release(x_1961, 0); + lean_ctor_release(x_1961, 1); + x_1972 = x_1961; } else { - lean_dec_ref(x_2067); - x_2078 = lean_box(0); + lean_dec_ref(x_1961); + x_1972 = lean_box(0); } -if (lean_is_scalar(x_2078)) { - x_2079 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1972)) { + x_1973 = lean_alloc_ctor(1, 2, 0); } else { - x_2079 = x_2078; + x_1973 = x_1972; } -lean_ctor_set(x_2079, 0, x_2076); -lean_ctor_set(x_2079, 1, x_2077); -return x_2079; +lean_ctor_set(x_1973, 0, x_1970); +lean_ctor_set(x_1973, 1, x_1971); +return x_1973; } } else { -lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; -lean_dec(x_2021); -lean_dec(x_2013); -lean_dec(x_2006); -lean_dec(x_2004); +lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; +lean_dec(x_1915); +lean_dec(x_1907); +lean_dec(x_1900); +lean_dec(x_1898); lean_dec(x_2); -x_2080 = lean_ctor_get(x_2025, 0); -lean_inc(x_2080); -x_2081 = lean_ctor_get(x_2025, 1); -lean_inc(x_2081); -if (lean_is_exclusive(x_2025)) { - lean_ctor_release(x_2025, 0); - lean_ctor_release(x_2025, 1); - x_2082 = x_2025; +x_1974 = lean_ctor_get(x_1919, 0); +lean_inc(x_1974); +x_1975 = lean_ctor_get(x_1919, 1); +lean_inc(x_1975); +if (lean_is_exclusive(x_1919)) { + lean_ctor_release(x_1919, 0); + lean_ctor_release(x_1919, 1); + x_1976 = x_1919; } else { - lean_dec_ref(x_2025); - x_2082 = lean_box(0); + lean_dec_ref(x_1919); + x_1976 = lean_box(0); } -if (lean_is_scalar(x_2082)) { - x_2083 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1976)) { + x_1977 = lean_alloc_ctor(1, 2, 0); } else { - x_2083 = x_2082; + x_1977 = x_1976; } -lean_ctor_set(x_2083, 0, x_2080); -lean_ctor_set(x_2083, 1, x_2081); -return x_2083; +lean_ctor_set(x_1977, 0, x_1974); +lean_ctor_set(x_1977, 1, x_1975); +return x_1977; } } else { -lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; uint8_t x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; uint8_t x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; -lean_dec(x_2010); -x_2084 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_2085 = lean_name_mk_string(x_117, x_2084); -x_2086 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2087 = lean_ctor_get(x_2086, 0); -lean_inc(x_2087); -x_2088 = lean_ctor_get(x_2086, 1); -lean_inc(x_2088); -lean_dec(x_2086); -x_2089 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2090 = 0; -lean_inc_n(x_2085, 2); -x_2091 = lean_local_ctx_mk_local_decl(x_2087, x_2085, x_2085, x_2089, x_2090); -x_2092 = l_Array_eraseIdx___rarg(x_2004, x_2008); -x_2093 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2088); -x_2094 = lean_ctor_get(x_2093, 1); -lean_inc(x_2094); -lean_dec(x_2093); -x_2095 = lean_name_mk_string(x_2013, x_1811); -x_2096 = l_Lean_nullKind___closed__1; -x_2097 = lean_name_mk_string(x_117, x_2096); -x_2098 = l_Array_empty___closed__1; -x_2099 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2092, x_2092, x_2008, x_2098); -lean_dec(x_2092); -x_2100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2100, 0, x_2097); -lean_ctor_set(x_2100, 1, x_2099); -x_2101 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2102 = lean_array_push(x_2101, x_2100); -x_2103 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2104 = lean_array_push(x_2102, x_2103); -x_2105 = lean_array_push(x_2104, x_2006); -x_2106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2106, 0, x_2095); -lean_ctor_set(x_2106, 1, x_2105); -x_2107 = lean_ctor_get(x_2, 0); -lean_inc(x_2107); -x_2108 = lean_ctor_get(x_2, 1); -lean_inc(x_2108); -x_2109 = lean_ctor_get(x_2, 2); -lean_inc(x_2109); -x_2110 = lean_ctor_get(x_2, 3); -lean_inc(x_2110); -x_2111 = lean_ctor_get(x_2, 4); -lean_inc(x_2111); -x_2112 = lean_ctor_get(x_2, 5); -lean_inc(x_2112); -x_2113 = lean_ctor_get(x_2, 6); -lean_inc(x_2113); -x_2114 = lean_ctor_get(x_2, 7); -lean_inc(x_2114); -x_2115 = lean_ctor_get(x_2, 8); -lean_inc(x_2115); -x_2116 = lean_ctor_get(x_2, 9); -lean_inc(x_2116); -x_2117 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; uint8_t x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; uint8_t x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; +lean_dec(x_1904); +x_1978 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1979 = lean_name_mk_string(x_117, x_1978); +x_1980 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1981 = lean_ctor_get(x_1980, 0); +lean_inc(x_1981); +x_1982 = lean_ctor_get(x_1980, 1); +lean_inc(x_1982); +lean_dec(x_1980); +x_1983 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1984 = 0; +lean_inc_n(x_1979, 2); +x_1985 = lean_local_ctx_mk_local_decl(x_1981, x_1979, x_1979, x_1983, x_1984); +x_1986 = l_Array_eraseIdx___rarg(x_1898, x_1902); +x_1987 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1982); +x_1988 = lean_ctor_get(x_1987, 1); +lean_inc(x_1988); +lean_dec(x_1987); +x_1989 = lean_name_mk_string(x_1907, x_1731); +x_1990 = l_Lean_nullKind___closed__1; +x_1991 = lean_name_mk_string(x_117, x_1990); +x_1992 = l_Array_empty___closed__1; +x_1993 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1986, x_1986, x_1902, x_1992); +lean_dec(x_1986); +x_1994 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1994, 0, x_1991); +lean_ctor_set(x_1994, 1, x_1993); +x_1995 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1996 = lean_array_push(x_1995, x_1994); +x_1997 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1998 = lean_array_push(x_1996, x_1997); +x_1999 = lean_array_push(x_1998, x_1900); +x_2000 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2000, 0, x_1989); +lean_ctor_set(x_2000, 1, x_1999); +x_2001 = lean_ctor_get(x_2, 0); +lean_inc(x_2001); +x_2002 = lean_ctor_get(x_2, 1); +lean_inc(x_2002); +x_2003 = lean_ctor_get(x_2, 2); +lean_inc(x_2003); +x_2004 = lean_ctor_get(x_2, 3); +lean_inc(x_2004); +x_2005 = lean_ctor_get(x_2, 4); +lean_inc(x_2005); +x_2006 = lean_ctor_get(x_2, 5); +lean_inc(x_2006); +x_2007 = lean_ctor_get(x_2, 6); +lean_inc(x_2007); +x_2008 = lean_ctor_get(x_2, 7); +lean_inc(x_2008); +x_2009 = lean_ctor_get(x_2, 8); +lean_inc(x_2009); +x_2010 = lean_ctor_get(x_2, 9); +lean_inc(x_2010); +x_2011 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -21906,174 +21453,174 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2118 = x_2; + x_2012 = x_2; } else { lean_dec_ref(x_2); - x_2118 = lean_box(0); + x_2012 = lean_box(0); } -x_2119 = lean_ctor_get(x_2107, 0); -lean_inc(x_2119); -x_2120 = lean_ctor_get(x_2107, 2); -lean_inc(x_2120); -x_2121 = lean_ctor_get(x_2107, 3); -lean_inc(x_2121); -x_2122 = lean_ctor_get(x_2107, 4); -lean_inc(x_2122); -if (lean_is_exclusive(x_2107)) { - lean_ctor_release(x_2107, 0); - lean_ctor_release(x_2107, 1); - lean_ctor_release(x_2107, 2); - lean_ctor_release(x_2107, 3); - lean_ctor_release(x_2107, 4); - x_2123 = x_2107; +x_2013 = lean_ctor_get(x_2001, 0); +lean_inc(x_2013); +x_2014 = lean_ctor_get(x_2001, 2); +lean_inc(x_2014); +x_2015 = lean_ctor_get(x_2001, 3); +lean_inc(x_2015); +x_2016 = lean_ctor_get(x_2001, 4); +lean_inc(x_2016); +if (lean_is_exclusive(x_2001)) { + lean_ctor_release(x_2001, 0); + lean_ctor_release(x_2001, 1); + lean_ctor_release(x_2001, 2); + lean_ctor_release(x_2001, 3); + lean_ctor_release(x_2001, 4); + x_2017 = x_2001; } else { - lean_dec_ref(x_2107); - x_2123 = lean_box(0); + lean_dec_ref(x_2001); + x_2017 = lean_box(0); } -lean_inc(x_2091); -if (lean_is_scalar(x_2123)) { - x_2124 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_1985); +if (lean_is_scalar(x_2017)) { + x_2018 = lean_alloc_ctor(0, 5, 0); } else { - x_2124 = x_2123; + x_2018 = x_2017; } -lean_ctor_set(x_2124, 0, x_2119); -lean_ctor_set(x_2124, 1, x_2091); -lean_ctor_set(x_2124, 2, x_2120); -lean_ctor_set(x_2124, 3, x_2121); -lean_ctor_set(x_2124, 4, x_2122); -if (lean_is_scalar(x_2118)) { - x_2125 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_2018, 0, x_2013); +lean_ctor_set(x_2018, 1, x_1985); +lean_ctor_set(x_2018, 2, x_2014); +lean_ctor_set(x_2018, 3, x_2015); +lean_ctor_set(x_2018, 4, x_2016); +if (lean_is_scalar(x_2012)) { + x_2019 = lean_alloc_ctor(0, 10, 1); } else { - x_2125 = x_2118; + x_2019 = x_2012; } -lean_ctor_set(x_2125, 0, x_2124); -lean_ctor_set(x_2125, 1, x_2108); -lean_ctor_set(x_2125, 2, x_2109); -lean_ctor_set(x_2125, 3, x_2110); -lean_ctor_set(x_2125, 4, x_2111); -lean_ctor_set(x_2125, 5, x_2112); -lean_ctor_set(x_2125, 6, x_2113); -lean_ctor_set(x_2125, 7, x_2114); -lean_ctor_set(x_2125, 8, x_2115); -lean_ctor_set(x_2125, 9, x_2116); -lean_ctor_set_uint8(x_2125, sizeof(void*)*10, x_2117); -x_2126 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2106, x_2125, x_2094); -if (lean_obj_tag(x_2126) == 0) +lean_ctor_set(x_2019, 0, x_2018); +lean_ctor_set(x_2019, 1, x_2002); +lean_ctor_set(x_2019, 2, x_2003); +lean_ctor_set(x_2019, 3, x_2004); +lean_ctor_set(x_2019, 4, x_2005); +lean_ctor_set(x_2019, 5, x_2006); +lean_ctor_set(x_2019, 6, x_2007); +lean_ctor_set(x_2019, 7, x_2008); +lean_ctor_set(x_2019, 8, x_2009); +lean_ctor_set(x_2019, 9, x_2010); +lean_ctor_set_uint8(x_2019, sizeof(void*)*10, x_2011); +x_2020 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2000, x_2019, x_1988); +if (lean_obj_tag(x_2020) == 0) { -lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; -x_2127 = lean_ctor_get(x_2126, 0); -lean_inc(x_2127); -x_2128 = lean_ctor_get(x_2126, 1); -lean_inc(x_2128); -if (lean_is_exclusive(x_2126)) { - lean_ctor_release(x_2126, 0); - lean_ctor_release(x_2126, 1); - x_2129 = x_2126; +lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; +x_2021 = lean_ctor_get(x_2020, 0); +lean_inc(x_2021); +x_2022 = lean_ctor_get(x_2020, 1); +lean_inc(x_2022); +if (lean_is_exclusive(x_2020)) { + lean_ctor_release(x_2020, 0); + lean_ctor_release(x_2020, 1); + x_2023 = x_2020; } else { - lean_dec_ref(x_2126); - x_2129 = lean_box(0); + lean_dec_ref(x_2020); + x_2023 = lean_box(0); } -x_2130 = l_Lean_mkFVar(x_2085); -x_2131 = l_Lean_FileMap_ofString___closed__1; -x_2132 = lean_array_push(x_2131, x_2130); -x_2133 = l_Lean_LocalContext_mkLambda(x_2091, x_2132, x_2127); -lean_dec(x_2127); -lean_dec(x_2132); -if (lean_is_scalar(x_2129)) { - x_2134 = lean_alloc_ctor(0, 2, 0); +x_2024 = l_Lean_mkFVar(x_1979); +x_2025 = l_Lean_FileMap_ofString___closed__1; +x_2026 = lean_array_push(x_2025, x_2024); +x_2027 = l_Lean_LocalContext_mkLambda(x_1985, x_2026, x_2021); +lean_dec(x_2021); +lean_dec(x_2026); +if (lean_is_scalar(x_2023)) { + x_2028 = lean_alloc_ctor(0, 2, 0); } else { - x_2134 = x_2129; + x_2028 = x_2023; } -lean_ctor_set(x_2134, 0, x_2133); -lean_ctor_set(x_2134, 1, x_2128); -return x_2134; +lean_ctor_set(x_2028, 0, x_2027); +lean_ctor_set(x_2028, 1, x_2022); +return x_2028; } else { -lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; -lean_dec(x_2091); -lean_dec(x_2085); -x_2135 = lean_ctor_get(x_2126, 0); -lean_inc(x_2135); -x_2136 = lean_ctor_get(x_2126, 1); -lean_inc(x_2136); -if (lean_is_exclusive(x_2126)) { - lean_ctor_release(x_2126, 0); - lean_ctor_release(x_2126, 1); - x_2137 = x_2126; +lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; +lean_dec(x_1985); +lean_dec(x_1979); +x_2029 = lean_ctor_get(x_2020, 0); +lean_inc(x_2029); +x_2030 = lean_ctor_get(x_2020, 1); +lean_inc(x_2030); +if (lean_is_exclusive(x_2020)) { + lean_ctor_release(x_2020, 0); + lean_ctor_release(x_2020, 1); + x_2031 = x_2020; } else { - lean_dec_ref(x_2126); - x_2137 = lean_box(0); + lean_dec_ref(x_2020); + x_2031 = lean_box(0); } -if (lean_is_scalar(x_2137)) { - x_2138 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2031)) { + x_2032 = lean_alloc_ctor(1, 2, 0); } else { - x_2138 = x_2137; + x_2032 = x_2031; } -lean_ctor_set(x_2138, 0, x_2135); -lean_ctor_set(x_2138, 1, x_2136); -return x_2138; +lean_ctor_set(x_2032, 0, x_2029); +lean_ctor_set(x_2032, 1, x_2030); +return x_2032; } } } else { -lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; uint8_t x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; uint8_t x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; -x_2139 = l_Lean_Syntax_getIdAt(x_2010, x_2008); -lean_dec(x_2010); -x_2140 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2141 = lean_ctor_get(x_2140, 0); -lean_inc(x_2141); -x_2142 = lean_ctor_get(x_2140, 1); -lean_inc(x_2142); -lean_dec(x_2140); -x_2143 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2144 = 0; -lean_inc_n(x_2139, 2); -x_2145 = lean_local_ctx_mk_local_decl(x_2141, x_2139, x_2139, x_2143, x_2144); -x_2146 = l_Array_eraseIdx___rarg(x_2004, x_2008); -x_2147 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2142); -x_2148 = lean_ctor_get(x_2147, 1); -lean_inc(x_2148); -lean_dec(x_2147); -x_2149 = lean_name_mk_string(x_2013, x_1811); -x_2150 = l_Lean_nullKind___closed__1; -x_2151 = lean_name_mk_string(x_117, x_2150); -x_2152 = l_Array_empty___closed__1; -x_2153 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2146, x_2146, x_2008, x_2152); -lean_dec(x_2146); -x_2154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2154, 0, x_2151); -lean_ctor_set(x_2154, 1, x_2153); -x_2155 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2156 = lean_array_push(x_2155, x_2154); -x_2157 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2158 = lean_array_push(x_2156, x_2157); -x_2159 = lean_array_push(x_2158, x_2006); -x_2160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2160, 0, x_2149); -lean_ctor_set(x_2160, 1, x_2159); -x_2161 = lean_ctor_get(x_2, 0); -lean_inc(x_2161); -x_2162 = lean_ctor_get(x_2, 1); -lean_inc(x_2162); -x_2163 = lean_ctor_get(x_2, 2); -lean_inc(x_2163); -x_2164 = lean_ctor_get(x_2, 3); -lean_inc(x_2164); -x_2165 = lean_ctor_get(x_2, 4); -lean_inc(x_2165); -x_2166 = lean_ctor_get(x_2, 5); -lean_inc(x_2166); -x_2167 = lean_ctor_get(x_2, 6); -lean_inc(x_2167); -x_2168 = lean_ctor_get(x_2, 7); -lean_inc(x_2168); -x_2169 = lean_ctor_get(x_2, 8); -lean_inc(x_2169); -x_2170 = lean_ctor_get(x_2, 9); -lean_inc(x_2170); -x_2171 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; uint8_t x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; uint8_t x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; +x_2033 = l_Lean_Syntax_getIdAt(x_1904, x_1902); +lean_dec(x_1904); +x_2034 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2035 = lean_ctor_get(x_2034, 0); +lean_inc(x_2035); +x_2036 = lean_ctor_get(x_2034, 1); +lean_inc(x_2036); +lean_dec(x_2034); +x_2037 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_2038 = 0; +lean_inc_n(x_2033, 2); +x_2039 = lean_local_ctx_mk_local_decl(x_2035, x_2033, x_2033, x_2037, x_2038); +x_2040 = l_Array_eraseIdx___rarg(x_1898, x_1902); +x_2041 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2036); +x_2042 = lean_ctor_get(x_2041, 1); +lean_inc(x_2042); +lean_dec(x_2041); +x_2043 = lean_name_mk_string(x_1907, x_1731); +x_2044 = l_Lean_nullKind___closed__1; +x_2045 = lean_name_mk_string(x_117, x_2044); +x_2046 = l_Array_empty___closed__1; +x_2047 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2040, x_2040, x_1902, x_2046); +lean_dec(x_2040); +x_2048 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2048, 0, x_2045); +lean_ctor_set(x_2048, 1, x_2047); +x_2049 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2050 = lean_array_push(x_2049, x_2048); +x_2051 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2052 = lean_array_push(x_2050, x_2051); +x_2053 = lean_array_push(x_2052, x_1900); +x_2054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2054, 0, x_2043); +lean_ctor_set(x_2054, 1, x_2053); +x_2055 = lean_ctor_get(x_2, 0); +lean_inc(x_2055); +x_2056 = lean_ctor_get(x_2, 1); +lean_inc(x_2056); +x_2057 = lean_ctor_get(x_2, 2); +lean_inc(x_2057); +x_2058 = lean_ctor_get(x_2, 3); +lean_inc(x_2058); +x_2059 = lean_ctor_get(x_2, 4); +lean_inc(x_2059); +x_2060 = lean_ctor_get(x_2, 5); +lean_inc(x_2060); +x_2061 = lean_ctor_get(x_2, 6); +lean_inc(x_2061); +x_2062 = lean_ctor_get(x_2, 7); +lean_inc(x_2062); +x_2063 = lean_ctor_get(x_2, 8); +lean_inc(x_2063); +x_2064 = lean_ctor_get(x_2, 9); +lean_inc(x_2064); +x_2065 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -22085,553 +21632,553 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2172 = x_2; + x_2066 = x_2; } else { lean_dec_ref(x_2); - x_2172 = lean_box(0); + x_2066 = lean_box(0); } -x_2173 = lean_ctor_get(x_2161, 0); -lean_inc(x_2173); -x_2174 = lean_ctor_get(x_2161, 2); -lean_inc(x_2174); -x_2175 = lean_ctor_get(x_2161, 3); -lean_inc(x_2175); -x_2176 = lean_ctor_get(x_2161, 4); -lean_inc(x_2176); -if (lean_is_exclusive(x_2161)) { - lean_ctor_release(x_2161, 0); - lean_ctor_release(x_2161, 1); - lean_ctor_release(x_2161, 2); - lean_ctor_release(x_2161, 3); - lean_ctor_release(x_2161, 4); - x_2177 = x_2161; +x_2067 = lean_ctor_get(x_2055, 0); +lean_inc(x_2067); +x_2068 = lean_ctor_get(x_2055, 2); +lean_inc(x_2068); +x_2069 = lean_ctor_get(x_2055, 3); +lean_inc(x_2069); +x_2070 = lean_ctor_get(x_2055, 4); +lean_inc(x_2070); +if (lean_is_exclusive(x_2055)) { + lean_ctor_release(x_2055, 0); + lean_ctor_release(x_2055, 1); + lean_ctor_release(x_2055, 2); + lean_ctor_release(x_2055, 3); + lean_ctor_release(x_2055, 4); + x_2071 = x_2055; } else { - lean_dec_ref(x_2161); - x_2177 = lean_box(0); + lean_dec_ref(x_2055); + x_2071 = lean_box(0); } -lean_inc(x_2145); -if (lean_is_scalar(x_2177)) { - x_2178 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_2039); +if (lean_is_scalar(x_2071)) { + x_2072 = lean_alloc_ctor(0, 5, 0); } else { - x_2178 = x_2177; + x_2072 = x_2071; } -lean_ctor_set(x_2178, 0, x_2173); -lean_ctor_set(x_2178, 1, x_2145); -lean_ctor_set(x_2178, 2, x_2174); -lean_ctor_set(x_2178, 3, x_2175); -lean_ctor_set(x_2178, 4, x_2176); -if (lean_is_scalar(x_2172)) { - x_2179 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_2072, 0, x_2067); +lean_ctor_set(x_2072, 1, x_2039); +lean_ctor_set(x_2072, 2, x_2068); +lean_ctor_set(x_2072, 3, x_2069); +lean_ctor_set(x_2072, 4, x_2070); +if (lean_is_scalar(x_2066)) { + x_2073 = lean_alloc_ctor(0, 10, 1); } else { - x_2179 = x_2172; + x_2073 = x_2066; } -lean_ctor_set(x_2179, 0, x_2178); -lean_ctor_set(x_2179, 1, x_2162); -lean_ctor_set(x_2179, 2, x_2163); -lean_ctor_set(x_2179, 3, x_2164); -lean_ctor_set(x_2179, 4, x_2165); -lean_ctor_set(x_2179, 5, x_2166); -lean_ctor_set(x_2179, 6, x_2167); -lean_ctor_set(x_2179, 7, x_2168); -lean_ctor_set(x_2179, 8, x_2169); -lean_ctor_set(x_2179, 9, x_2170); -lean_ctor_set_uint8(x_2179, sizeof(void*)*10, x_2171); -x_2180 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2160, x_2179, x_2148); -if (lean_obj_tag(x_2180) == 0) +lean_ctor_set(x_2073, 0, x_2072); +lean_ctor_set(x_2073, 1, x_2056); +lean_ctor_set(x_2073, 2, x_2057); +lean_ctor_set(x_2073, 3, x_2058); +lean_ctor_set(x_2073, 4, x_2059); +lean_ctor_set(x_2073, 5, x_2060); +lean_ctor_set(x_2073, 6, x_2061); +lean_ctor_set(x_2073, 7, x_2062); +lean_ctor_set(x_2073, 8, x_2063); +lean_ctor_set(x_2073, 9, x_2064); +lean_ctor_set_uint8(x_2073, sizeof(void*)*10, x_2065); +x_2074 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2054, x_2073, x_2042); +if (lean_obj_tag(x_2074) == 0) { -lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; -x_2181 = lean_ctor_get(x_2180, 0); -lean_inc(x_2181); -x_2182 = lean_ctor_get(x_2180, 1); -lean_inc(x_2182); -if (lean_is_exclusive(x_2180)) { - lean_ctor_release(x_2180, 0); - lean_ctor_release(x_2180, 1); - x_2183 = x_2180; +lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; +x_2075 = lean_ctor_get(x_2074, 0); +lean_inc(x_2075); +x_2076 = lean_ctor_get(x_2074, 1); +lean_inc(x_2076); +if (lean_is_exclusive(x_2074)) { + lean_ctor_release(x_2074, 0); + lean_ctor_release(x_2074, 1); + x_2077 = x_2074; } else { - lean_dec_ref(x_2180); - x_2183 = lean_box(0); + lean_dec_ref(x_2074); + x_2077 = lean_box(0); } -x_2184 = l_Lean_mkFVar(x_2139); -x_2185 = l_Lean_FileMap_ofString___closed__1; -x_2186 = lean_array_push(x_2185, x_2184); -x_2187 = l_Lean_LocalContext_mkLambda(x_2145, x_2186, x_2181); -lean_dec(x_2181); -lean_dec(x_2186); -if (lean_is_scalar(x_2183)) { - x_2188 = lean_alloc_ctor(0, 2, 0); +x_2078 = l_Lean_mkFVar(x_2033); +x_2079 = l_Lean_FileMap_ofString___closed__1; +x_2080 = lean_array_push(x_2079, x_2078); +x_2081 = l_Lean_LocalContext_mkLambda(x_2039, x_2080, x_2075); +lean_dec(x_2075); +lean_dec(x_2080); +if (lean_is_scalar(x_2077)) { + x_2082 = lean_alloc_ctor(0, 2, 0); } else { - x_2188 = x_2183; + x_2082 = x_2077; } -lean_ctor_set(x_2188, 0, x_2187); -lean_ctor_set(x_2188, 1, x_2182); -return x_2188; +lean_ctor_set(x_2082, 0, x_2081); +lean_ctor_set(x_2082, 1, x_2076); +return x_2082; } else { -lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; -lean_dec(x_2145); -lean_dec(x_2139); -x_2189 = lean_ctor_get(x_2180, 0); -lean_inc(x_2189); -x_2190 = lean_ctor_get(x_2180, 1); -lean_inc(x_2190); -if (lean_is_exclusive(x_2180)) { - lean_ctor_release(x_2180, 0); - lean_ctor_release(x_2180, 1); - x_2191 = x_2180; +lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; +lean_dec(x_2039); +lean_dec(x_2033); +x_2083 = lean_ctor_get(x_2074, 0); +lean_inc(x_2083); +x_2084 = lean_ctor_get(x_2074, 1); +lean_inc(x_2084); +if (lean_is_exclusive(x_2074)) { + lean_ctor_release(x_2074, 0); + lean_ctor_release(x_2074, 1); + x_2085 = x_2074; } else { - lean_dec_ref(x_2180); - x_2191 = lean_box(0); + lean_dec_ref(x_2074); + x_2085 = lean_box(0); } -if (lean_is_scalar(x_2191)) { - x_2192 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2085)) { + x_2086 = lean_alloc_ctor(1, 2, 0); } else { - x_2192 = x_2191; + x_2086 = x_2085; } -lean_ctor_set(x_2192, 0, x_2189); -lean_ctor_set(x_2192, 1, x_2190); -return x_2192; +lean_ctor_set(x_2086, 0, x_2083); +lean_ctor_set(x_2086, 1, x_2084); +return x_2086; } } } else { -lean_dec(x_2004); -x_1 = x_2006; +lean_dec(x_1898); +x_1 = x_1900; goto _start; } } } else { -lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; -lean_dec(x_1784); -lean_dec(x_1780); +lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; +lean_dec(x_1704); +lean_dec(x_1700); lean_free_object(x_105); lean_dec(x_118); -x_2194 = l_Lean_Syntax_inhabited; -x_2195 = lean_unsigned_to_nat(0u); -x_2196 = lean_array_get(x_2194, x_4, x_2195); +x_2088 = l_Lean_Syntax_inhabited; +x_2089 = lean_unsigned_to_nat(0u); +x_2090 = lean_array_get(x_2088, x_4, x_2089); lean_dec(x_4); -if (lean_obj_tag(x_2196) == 3) +if (lean_obj_tag(x_2090) == 3) { -lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; -x_2197 = lean_ctor_get(x_2196, 2); -lean_inc(x_2197); -x_2198 = lean_ctor_get(x_2196, 3); -lean_inc(x_2198); -lean_dec(x_2196); -x_2199 = lean_box(0); +lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; +x_2091 = lean_ctor_get(x_2090, 2); +lean_inc(x_2091); +x_2092 = lean_ctor_get(x_2090, 3); +lean_inc(x_2092); +lean_dec(x_2090); +x_2093 = lean_box(0); lean_inc(x_2); -x_2200 = l_Lean_Elab_Term_resolveName(x_1, x_2197, x_2198, x_2199, x_2, x_3); +x_2094 = l_Lean_Elab_Term_resolveName(x_1, x_2091, x_2092, x_2093, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_2200) == 0) +if (lean_obj_tag(x_2094) == 0) { -lean_object* x_2201; -x_2201 = lean_ctor_get(x_2200, 0); -lean_inc(x_2201); -if (lean_obj_tag(x_2201) == 0) +lean_object* x_2095; +x_2095 = lean_ctor_get(x_2094, 0); +lean_inc(x_2095); +if (lean_obj_tag(x_2095) == 0) { -lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; -x_2202 = lean_ctor_get(x_2200, 1); -lean_inc(x_2202); -lean_dec(x_2200); -x_2203 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2204 = l_unreachable_x21___rarg(x_2203); -x_2205 = lean_apply_2(x_2204, x_2, x_2202); -return x_2205; +lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; +x_2096 = lean_ctor_get(x_2094, 1); +lean_inc(x_2096); +lean_dec(x_2094); +x_2097 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2098 = l_unreachable_x21___rarg(x_2097); +x_2099 = lean_apply_2(x_2098, x_2, x_2096); +return x_2099; } else { -lean_object* x_2206; lean_object* x_2207; +lean_object* x_2100; lean_object* x_2101; lean_dec(x_2); -x_2206 = lean_ctor_get(x_2201, 0); -lean_inc(x_2206); -lean_dec(x_2201); -x_2207 = lean_ctor_get(x_2206, 0); -lean_inc(x_2207); -switch (lean_obj_tag(x_2207)) { +x_2100 = lean_ctor_get(x_2095, 0); +lean_inc(x_2100); +lean_dec(x_2095); +x_2101 = lean_ctor_get(x_2100, 0); +lean_inc(x_2101); +switch (lean_obj_tag(x_2101)) { case 0: { -lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; -x_2208 = lean_ctor_get(x_2200, 1); -lean_inc(x_2208); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2209 = x_2200; +lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; +x_2102 = lean_ctor_get(x_2094, 1); +lean_inc(x_2102); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2103 = x_2094; } else { - lean_dec_ref(x_2200); - x_2209 = lean_box(0); + lean_dec_ref(x_2094); + x_2103 = lean_box(0); } -x_2210 = lean_ctor_get(x_2206, 1); -lean_inc(x_2210); -lean_dec(x_2206); -x_2211 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_2207, x_2210); -if (lean_is_scalar(x_2209)) { - x_2212 = lean_alloc_ctor(0, 2, 0); +x_2104 = lean_ctor_get(x_2100, 1); +lean_inc(x_2104); +lean_dec(x_2100); +x_2105 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_2101, x_2104); +if (lean_is_scalar(x_2103)) { + x_2106 = lean_alloc_ctor(0, 2, 0); } else { - x_2212 = x_2209; + x_2106 = x_2103; } -lean_ctor_set(x_2212, 0, x_2211); -lean_ctor_set(x_2212, 1, x_2208); -return x_2212; +lean_ctor_set(x_2106, 0, x_2105); +lean_ctor_set(x_2106, 1, x_2102); +return x_2106; } case 1: { -lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; -x_2213 = lean_ctor_get(x_2200, 1); -lean_inc(x_2213); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2214 = x_2200; +lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; +x_2107 = lean_ctor_get(x_2094, 1); +lean_inc(x_2107); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2108 = x_2094; } else { - lean_dec_ref(x_2200); - x_2214 = lean_box(0); + lean_dec_ref(x_2094); + x_2108 = lean_box(0); } -x_2215 = lean_ctor_get(x_2206, 1); -lean_inc(x_2215); -lean_dec(x_2206); -x_2216 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_2207, x_2215); -if (lean_is_scalar(x_2214)) { - x_2217 = lean_alloc_ctor(0, 2, 0); +x_2109 = lean_ctor_get(x_2100, 1); +lean_inc(x_2109); +lean_dec(x_2100); +x_2110 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_2101, x_2109); +if (lean_is_scalar(x_2108)) { + x_2111 = lean_alloc_ctor(0, 2, 0); } else { - x_2217 = x_2214; + x_2111 = x_2108; } -lean_ctor_set(x_2217, 0, x_2216); -lean_ctor_set(x_2217, 1, x_2213); -return x_2217; +lean_ctor_set(x_2111, 0, x_2110); +lean_ctor_set(x_2111, 1, x_2107); +return x_2111; } case 2: { -lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; -x_2218 = lean_ctor_get(x_2200, 1); -lean_inc(x_2218); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2219 = x_2200; +lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; +x_2112 = lean_ctor_get(x_2094, 1); +lean_inc(x_2112); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2113 = x_2094; } else { - lean_dec_ref(x_2200); - x_2219 = lean_box(0); + lean_dec_ref(x_2094); + x_2113 = lean_box(0); } -x_2220 = lean_ctor_get(x_2206, 1); -lean_inc(x_2220); -lean_dec(x_2206); -x_2221 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_2207, x_2220); -if (lean_is_scalar(x_2219)) { - x_2222 = lean_alloc_ctor(0, 2, 0); +x_2114 = lean_ctor_get(x_2100, 1); +lean_inc(x_2114); +lean_dec(x_2100); +x_2115 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_2101, x_2114); +if (lean_is_scalar(x_2113)) { + x_2116 = lean_alloc_ctor(0, 2, 0); } else { - x_2222 = x_2219; + x_2116 = x_2113; } -lean_ctor_set(x_2222, 0, x_2221); -lean_ctor_set(x_2222, 1, x_2218); -return x_2222; +lean_ctor_set(x_2116, 0, x_2115); +lean_ctor_set(x_2116, 1, x_2112); +return x_2116; } case 3: { -lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; -x_2223 = lean_ctor_get(x_2200, 1); -lean_inc(x_2223); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2224 = x_2200; +lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; +x_2117 = lean_ctor_get(x_2094, 1); +lean_inc(x_2117); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2118 = x_2094; } else { - lean_dec_ref(x_2200); - x_2224 = lean_box(0); + lean_dec_ref(x_2094); + x_2118 = lean_box(0); } -x_2225 = lean_ctor_get(x_2206, 1); -lean_inc(x_2225); -lean_dec(x_2206); -x_2226 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_2207, x_2225); -if (lean_is_scalar(x_2224)) { - x_2227 = lean_alloc_ctor(0, 2, 0); +x_2119 = lean_ctor_get(x_2100, 1); +lean_inc(x_2119); +lean_dec(x_2100); +x_2120 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_2101, x_2119); +if (lean_is_scalar(x_2118)) { + x_2121 = lean_alloc_ctor(0, 2, 0); } else { - x_2227 = x_2224; + x_2121 = x_2118; } -lean_ctor_set(x_2227, 0, x_2226); -lean_ctor_set(x_2227, 1, x_2223); -return x_2227; +lean_ctor_set(x_2121, 0, x_2120); +lean_ctor_set(x_2121, 1, x_2117); +return x_2121; } case 4: { -lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; -x_2228 = lean_ctor_get(x_2200, 1); -lean_inc(x_2228); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2229 = x_2200; +lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; +x_2122 = lean_ctor_get(x_2094, 1); +lean_inc(x_2122); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2123 = x_2094; } else { - lean_dec_ref(x_2200); - x_2229 = lean_box(0); + lean_dec_ref(x_2094); + x_2123 = lean_box(0); } -x_2230 = lean_ctor_get(x_2206, 1); -lean_inc(x_2230); -lean_dec(x_2206); -x_2231 = lean_ctor_get(x_2207, 0); -lean_inc(x_2231); -lean_dec(x_2207); -x_2232 = l_Lean_mkConst(x_2231, x_2199); -x_2233 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_2232, x_2230); -if (lean_is_scalar(x_2229)) { - x_2234 = lean_alloc_ctor(0, 2, 0); +x_2124 = lean_ctor_get(x_2100, 1); +lean_inc(x_2124); +lean_dec(x_2100); +x_2125 = lean_ctor_get(x_2101, 0); +lean_inc(x_2125); +lean_dec(x_2101); +x_2126 = l_Lean_mkConst(x_2125, x_2093); +x_2127 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_2126, x_2124); +if (lean_is_scalar(x_2123)) { + x_2128 = lean_alloc_ctor(0, 2, 0); } else { - x_2234 = x_2229; + x_2128 = x_2123; } -lean_ctor_set(x_2234, 0, x_2233); -lean_ctor_set(x_2234, 1, x_2228); -return x_2234; +lean_ctor_set(x_2128, 0, x_2127); +lean_ctor_set(x_2128, 1, x_2122); +return x_2128; } case 5: { -lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; -x_2235 = lean_ctor_get(x_2200, 1); -lean_inc(x_2235); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2236 = x_2200; +lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; +x_2129 = lean_ctor_get(x_2094, 1); +lean_inc(x_2129); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2130 = x_2094; } else { - lean_dec_ref(x_2200); - x_2236 = lean_box(0); + lean_dec_ref(x_2094); + x_2130 = lean_box(0); } -x_2237 = lean_ctor_get(x_2206, 1); -lean_inc(x_2237); -lean_dec(x_2206); -x_2238 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_2207, x_2237); -if (lean_is_scalar(x_2236)) { - x_2239 = lean_alloc_ctor(0, 2, 0); +x_2131 = lean_ctor_get(x_2100, 1); +lean_inc(x_2131); +lean_dec(x_2100); +x_2132 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_2101, x_2131); +if (lean_is_scalar(x_2130)) { + x_2133 = lean_alloc_ctor(0, 2, 0); } else { - x_2239 = x_2236; + x_2133 = x_2130; } -lean_ctor_set(x_2239, 0, x_2238); -lean_ctor_set(x_2239, 1, x_2235); -return x_2239; +lean_ctor_set(x_2133, 0, x_2132); +lean_ctor_set(x_2133, 1, x_2129); +return x_2133; } case 6: { -lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; -x_2240 = lean_ctor_get(x_2200, 1); -lean_inc(x_2240); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2241 = x_2200; +lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; +x_2134 = lean_ctor_get(x_2094, 1); +lean_inc(x_2134); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2135 = x_2094; } else { - lean_dec_ref(x_2200); - x_2241 = lean_box(0); + lean_dec_ref(x_2094); + x_2135 = lean_box(0); } -x_2242 = lean_ctor_get(x_2206, 1); -lean_inc(x_2242); -lean_dec(x_2206); -x_2243 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_2207, x_2242); -if (lean_is_scalar(x_2241)) { - x_2244 = lean_alloc_ctor(0, 2, 0); +x_2136 = lean_ctor_get(x_2100, 1); +lean_inc(x_2136); +lean_dec(x_2100); +x_2137 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_2101, x_2136); +if (lean_is_scalar(x_2135)) { + x_2138 = lean_alloc_ctor(0, 2, 0); } else { - x_2244 = x_2241; + x_2138 = x_2135; } -lean_ctor_set(x_2244, 0, x_2243); -lean_ctor_set(x_2244, 1, x_2240); -return x_2244; +lean_ctor_set(x_2138, 0, x_2137); +lean_ctor_set(x_2138, 1, x_2134); +return x_2138; } case 7: { -lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; -x_2245 = lean_ctor_get(x_2200, 1); -lean_inc(x_2245); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2246 = x_2200; +lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; +x_2139 = lean_ctor_get(x_2094, 1); +lean_inc(x_2139); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2140 = x_2094; } else { - lean_dec_ref(x_2200); - x_2246 = lean_box(0); + lean_dec_ref(x_2094); + x_2140 = lean_box(0); } -x_2247 = lean_ctor_get(x_2206, 1); -lean_inc(x_2247); -lean_dec(x_2206); -x_2248 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_2207, x_2247); -if (lean_is_scalar(x_2246)) { - x_2249 = lean_alloc_ctor(0, 2, 0); +x_2141 = lean_ctor_get(x_2100, 1); +lean_inc(x_2141); +lean_dec(x_2100); +x_2142 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_2101, x_2141); +if (lean_is_scalar(x_2140)) { + x_2143 = lean_alloc_ctor(0, 2, 0); } else { - x_2249 = x_2246; + x_2143 = x_2140; } -lean_ctor_set(x_2249, 0, x_2248); -lean_ctor_set(x_2249, 1, x_2245); -return x_2249; +lean_ctor_set(x_2143, 0, x_2142); +lean_ctor_set(x_2143, 1, x_2139); +return x_2143; } case 8: { -lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; -x_2250 = lean_ctor_get(x_2200, 1); -lean_inc(x_2250); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2251 = x_2200; +lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; +x_2144 = lean_ctor_get(x_2094, 1); +lean_inc(x_2144); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2145 = x_2094; } else { - lean_dec_ref(x_2200); - x_2251 = lean_box(0); + lean_dec_ref(x_2094); + x_2145 = lean_box(0); } -x_2252 = lean_ctor_get(x_2206, 1); -lean_inc(x_2252); -lean_dec(x_2206); -x_2253 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_2207, x_2252); -if (lean_is_scalar(x_2251)) { - x_2254 = lean_alloc_ctor(0, 2, 0); +x_2146 = lean_ctor_get(x_2100, 1); +lean_inc(x_2146); +lean_dec(x_2100); +x_2147 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_2101, x_2146); +if (lean_is_scalar(x_2145)) { + x_2148 = lean_alloc_ctor(0, 2, 0); } else { - x_2254 = x_2251; + x_2148 = x_2145; } -lean_ctor_set(x_2254, 0, x_2253); -lean_ctor_set(x_2254, 1, x_2250); -return x_2254; +lean_ctor_set(x_2148, 0, x_2147); +lean_ctor_set(x_2148, 1, x_2144); +return x_2148; } case 9: { -lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; -x_2255 = lean_ctor_get(x_2200, 1); -lean_inc(x_2255); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2256 = x_2200; +lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; +x_2149 = lean_ctor_get(x_2094, 1); +lean_inc(x_2149); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2150 = x_2094; } else { - lean_dec_ref(x_2200); - x_2256 = lean_box(0); + lean_dec_ref(x_2094); + x_2150 = lean_box(0); } -x_2257 = lean_ctor_get(x_2206, 1); -lean_inc(x_2257); -lean_dec(x_2206); -x_2258 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_2207, x_2257); -if (lean_is_scalar(x_2256)) { - x_2259 = lean_alloc_ctor(0, 2, 0); +x_2151 = lean_ctor_get(x_2100, 1); +lean_inc(x_2151); +lean_dec(x_2100); +x_2152 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_2101, x_2151); +if (lean_is_scalar(x_2150)) { + x_2153 = lean_alloc_ctor(0, 2, 0); } else { - x_2259 = x_2256; + x_2153 = x_2150; } -lean_ctor_set(x_2259, 0, x_2258); -lean_ctor_set(x_2259, 1, x_2255); -return x_2259; +lean_ctor_set(x_2153, 0, x_2152); +lean_ctor_set(x_2153, 1, x_2149); +return x_2153; } case 10: { -lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; -x_2260 = lean_ctor_get(x_2200, 1); -lean_inc(x_2260); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2261 = x_2200; +lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; +x_2154 = lean_ctor_get(x_2094, 1); +lean_inc(x_2154); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2155 = x_2094; } else { - lean_dec_ref(x_2200); - x_2261 = lean_box(0); + lean_dec_ref(x_2094); + x_2155 = lean_box(0); } -x_2262 = lean_ctor_get(x_2206, 1); -lean_inc(x_2262); -lean_dec(x_2206); -x_2263 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_2207, x_2262); -if (lean_is_scalar(x_2261)) { - x_2264 = lean_alloc_ctor(0, 2, 0); +x_2156 = lean_ctor_get(x_2100, 1); +lean_inc(x_2156); +lean_dec(x_2100); +x_2157 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_2101, x_2156); +if (lean_is_scalar(x_2155)) { + x_2158 = lean_alloc_ctor(0, 2, 0); } else { - x_2264 = x_2261; + x_2158 = x_2155; } -lean_ctor_set(x_2264, 0, x_2263); -lean_ctor_set(x_2264, 1, x_2260); -return x_2264; +lean_ctor_set(x_2158, 0, x_2157); +lean_ctor_set(x_2158, 1, x_2154); +return x_2158; } case 11: { -lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; -x_2265 = lean_ctor_get(x_2200, 1); -lean_inc(x_2265); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2266 = x_2200; +lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; +x_2159 = lean_ctor_get(x_2094, 1); +lean_inc(x_2159); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2160 = x_2094; } else { - lean_dec_ref(x_2200); - x_2266 = lean_box(0); + lean_dec_ref(x_2094); + x_2160 = lean_box(0); } -x_2267 = lean_ctor_get(x_2206, 1); -lean_inc(x_2267); -lean_dec(x_2206); -x_2268 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_2207, x_2267); -if (lean_is_scalar(x_2266)) { - x_2269 = lean_alloc_ctor(0, 2, 0); +x_2161 = lean_ctor_get(x_2100, 1); +lean_inc(x_2161); +lean_dec(x_2100); +x_2162 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_2101, x_2161); +if (lean_is_scalar(x_2160)) { + x_2163 = lean_alloc_ctor(0, 2, 0); } else { - x_2269 = x_2266; + x_2163 = x_2160; } -lean_ctor_set(x_2269, 0, x_2268); -lean_ctor_set(x_2269, 1, x_2265); -return x_2269; +lean_ctor_set(x_2163, 0, x_2162); +lean_ctor_set(x_2163, 1, x_2159); +return x_2163; } default: { -lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; -x_2270 = lean_ctor_get(x_2200, 1); -lean_inc(x_2270); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2271 = x_2200; +lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; +x_2164 = lean_ctor_get(x_2094, 1); +lean_inc(x_2164); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2165 = x_2094; } else { - lean_dec_ref(x_2200); - x_2271 = lean_box(0); + lean_dec_ref(x_2094); + x_2165 = lean_box(0); } -x_2272 = lean_ctor_get(x_2206, 1); -lean_inc(x_2272); -lean_dec(x_2206); -x_2273 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_2207, x_2272); -if (lean_is_scalar(x_2271)) { - x_2274 = lean_alloc_ctor(0, 2, 0); +x_2166 = lean_ctor_get(x_2100, 1); +lean_inc(x_2166); +lean_dec(x_2100); +x_2167 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_2101, x_2166); +if (lean_is_scalar(x_2165)) { + x_2168 = lean_alloc_ctor(0, 2, 0); } else { - x_2274 = x_2271; + x_2168 = x_2165; } -lean_ctor_set(x_2274, 0, x_2273); -lean_ctor_set(x_2274, 1, x_2270); -return x_2274; +lean_ctor_set(x_2168, 0, x_2167); +lean_ctor_set(x_2168, 1, x_2164); +return x_2168; } } } } else { -lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; +lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_dec(x_2); -x_2275 = lean_ctor_get(x_2200, 0); -lean_inc(x_2275); -x_2276 = lean_ctor_get(x_2200, 1); -lean_inc(x_2276); -if (lean_is_exclusive(x_2200)) { - lean_ctor_release(x_2200, 0); - lean_ctor_release(x_2200, 1); - x_2277 = x_2200; +x_2169 = lean_ctor_get(x_2094, 0); +lean_inc(x_2169); +x_2170 = lean_ctor_get(x_2094, 1); +lean_inc(x_2170); +if (lean_is_exclusive(x_2094)) { + lean_ctor_release(x_2094, 0); + lean_ctor_release(x_2094, 1); + x_2171 = x_2094; } else { - lean_dec_ref(x_2200); - x_2277 = lean_box(0); + lean_dec_ref(x_2094); + x_2171 = lean_box(0); } -if (lean_is_scalar(x_2277)) { - x_2278 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2171)) { + x_2172 = lean_alloc_ctor(1, 2, 0); } else { - x_2278 = x_2277; + x_2172 = x_2171; } -lean_ctor_set(x_2278, 0, x_2275); -lean_ctor_set(x_2278, 1, x_2276); -return x_2278; +lean_ctor_set(x_2172, 0, x_2169); +lean_ctor_set(x_2172, 1, x_2170); +return x_2172; } } else { -lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; -lean_dec(x_2196); +lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; +lean_dec(x_2090); lean_dec(x_1); -x_2279 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2280 = l_unreachable_x21___rarg(x_2279); -x_2281 = lean_apply_2(x_2280, x_2, x_3); -return x_2281; +x_2173 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2174 = l_unreachable_x21___rarg(x_2173); +x_2175 = lean_apply_2(x_2174, x_2, x_3); +return x_2175; } } } @@ -22641,1011 +22188,898 @@ return x_2281; } else { -size_t x_2282; lean_object* x_2283; size_t x_2284; lean_object* x_2285; size_t x_2286; lean_object* x_2287; lean_object* x_2288; size_t x_2289; lean_object* x_2290; lean_object* x_2291; uint8_t x_2292; -x_2282 = lean_ctor_get_usize(x_95, 2); -x_2283 = lean_ctor_get(x_105, 1); -x_2284 = lean_ctor_get_usize(x_105, 2); -lean_inc(x_2283); +size_t x_2176; lean_object* x_2177; size_t x_2178; lean_object* x_2179; size_t x_2180; lean_object* x_2181; lean_object* x_2182; size_t x_2183; lean_object* x_2184; lean_object* x_2185; uint8_t x_2186; +x_2176 = lean_ctor_get_usize(x_95, 2); +x_2177 = lean_ctor_get(x_105, 1); +x_2178 = lean_ctor_get_usize(x_105, 2); +lean_inc(x_2177); lean_dec(x_105); -x_2285 = lean_ctor_get(x_115, 1); -lean_inc(x_2285); -x_2286 = lean_ctor_get_usize(x_115, 2); +x_2179 = lean_ctor_get(x_115, 1); +lean_inc(x_2179); +x_2180 = lean_ctor_get_usize(x_115, 2); if (lean_is_exclusive(x_115)) { lean_ctor_release(x_115, 0); lean_ctor_release(x_115, 1); - x_2287 = x_115; + x_2181 = x_115; } else { lean_dec_ref(x_115); - x_2287 = lean_box(0); + x_2181 = lean_box(0); } -x_2288 = lean_ctor_get(x_116, 1); -lean_inc(x_2288); -x_2289 = lean_ctor_get_usize(x_116, 2); +x_2182 = lean_ctor_get(x_116, 1); +lean_inc(x_2182); +x_2183 = lean_ctor_get_usize(x_116, 2); if (lean_is_exclusive(x_116)) { lean_ctor_release(x_116, 0); lean_ctor_release(x_116, 1); - x_2290 = x_116; + x_2184 = x_116; } else { lean_dec_ref(x_116); - x_2290 = lean_box(0); + x_2184 = lean_box(0); } -x_2291 = l_Lean_nameToExprAux___main___closed__1; -x_2292 = lean_string_dec_eq(x_2288, x_2291); -lean_dec(x_2288); -if (x_2292 == 0) +x_2185 = l_Lean_nameToExprAux___main___closed__1; +x_2186 = lean_string_dec_eq(x_2182, x_2185); +lean_dec(x_2182); +if (x_2186 == 0) { -lean_object* x_2293; -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_2285); -lean_dec(x_2283); +lean_object* x_2187; +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_2179); +lean_dec(x_2177); lean_dec(x_118); lean_dec(x_4); -x_2293 = lean_box(0); -x_96 = x_2293; +x_2187 = lean_box(0); +x_96 = x_2187; goto block_104; } else { -lean_object* x_2294; lean_object* x_2295; uint8_t x_2296; +lean_object* x_2188; lean_object* x_2189; uint8_t x_2190; if (lean_is_exclusive(x_95)) { lean_ctor_release(x_95, 0); lean_ctor_release(x_95, 1); - x_2294 = x_95; + x_2188 = x_95; } else { lean_dec_ref(x_95); - x_2294 = lean_box(0); + x_2188 = lean_box(0); } -x_2295 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_2296 = lean_string_dec_eq(x_2285, x_2295); -if (x_2296 == 0) +x_2189 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_2190 = lean_string_dec_eq(x_2179, x_2189); +if (x_2190 == 0) { -lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; +lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_dec(x_4); -if (lean_is_scalar(x_2290)) { - x_2297 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_2184)) { + x_2191 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2297 = x_2290; + x_2191 = x_2184; } -lean_ctor_set(x_2297, 0, x_117); -lean_ctor_set(x_2297, 1, x_2291); -lean_ctor_set_usize(x_2297, 2, x_2289); -if (lean_is_scalar(x_2287)) { - x_2298 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2191, 0, x_117); +lean_ctor_set(x_2191, 1, x_2185); +lean_ctor_set_usize(x_2191, 2, x_2183); +if (lean_is_scalar(x_2181)) { + x_2192 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2298 = x_2287; + x_2192 = x_2181; } -lean_ctor_set(x_2298, 0, x_2297); -lean_ctor_set(x_2298, 1, x_2285); -lean_ctor_set_usize(x_2298, 2, x_2286); -x_2299 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2299, 0, x_2298); -lean_ctor_set(x_2299, 1, x_2283); -lean_ctor_set_usize(x_2299, 2, x_2284); -if (lean_is_scalar(x_2294)) { - x_2300 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2192, 0, x_2191); +lean_ctor_set(x_2192, 1, x_2179); +lean_ctor_set_usize(x_2192, 2, x_2180); +x_2193 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2193, 0, x_2192); +lean_ctor_set(x_2193, 1, x_2177); +lean_ctor_set_usize(x_2193, 2, x_2178); +if (lean_is_scalar(x_2188)) { + x_2194 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2300 = x_2294; + x_2194 = x_2188; } -lean_ctor_set(x_2300, 0, x_2299); -lean_ctor_set(x_2300, 1, x_118); -lean_ctor_set_usize(x_2300, 2, x_2282); -x_2301 = l_System_FilePath_dirName___closed__1; -x_2302 = l_Lean_Name_toStringWithSep___main(x_2301, x_2300); -x_2303 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2303, 0, x_2302); -x_2304 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2304, 0, x_2303); -x_2305 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_2306 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2306, 0, x_2305); -lean_ctor_set(x_2306, 1, x_2304); -x_2307 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2306, x_2, x_3); +lean_ctor_set(x_2194, 0, x_2193); +lean_ctor_set(x_2194, 1, x_118); +lean_ctor_set_usize(x_2194, 2, x_2176); +x_2195 = l_System_FilePath_dirName___closed__1; +x_2196 = l_Lean_Name_toStringWithSep___main(x_2195, x_2194); +x_2197 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2197, 0, x_2196); +x_2198 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2198, 0, x_2197); +x_2199 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_2200 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_2200, 0, x_2199); +lean_ctor_set(x_2200, 1, x_2198); +x_2201 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2200, x_2, x_3); lean_dec(x_1); -return x_2307; +return x_2201; } else { -lean_object* x_2308; uint8_t x_2309; +lean_object* x_2202; uint8_t x_2203; +lean_dec(x_2179); +x_2202 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_2203 = lean_string_dec_eq(x_2177, x_2202); +if (x_2203 == 0) +{ +lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; +lean_dec(x_4); +if (lean_is_scalar(x_2184)) { + x_2204 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2204 = x_2184; +} +lean_ctor_set(x_2204, 0, x_117); +lean_ctor_set(x_2204, 1, x_2185); +lean_ctor_set_usize(x_2204, 2, x_2183); +if (lean_is_scalar(x_2181)) { + x_2205 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2205 = x_2181; +} +lean_ctor_set(x_2205, 0, x_2204); +lean_ctor_set(x_2205, 1, x_2189); +lean_ctor_set_usize(x_2205, 2, x_2180); +x_2206 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2206, 0, x_2205); +lean_ctor_set(x_2206, 1, x_2177); +lean_ctor_set_usize(x_2206, 2, x_2178); +if (lean_is_scalar(x_2188)) { + x_2207 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2207 = x_2188; +} +lean_ctor_set(x_2207, 0, x_2206); +lean_ctor_set(x_2207, 1, x_118); +lean_ctor_set_usize(x_2207, 2, x_2176); +x_2208 = l_System_FilePath_dirName___closed__1; +x_2209 = l_Lean_Name_toStringWithSep___main(x_2208, x_2207); +x_2210 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2210, 0, x_2209); +x_2211 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2211, 0, x_2210); +x_2212 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_2213 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_2213, 0, x_2212); +lean_ctor_set(x_2213, 1, x_2211); +x_2214 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2213, x_2, x_3); +lean_dec(x_1); +return x_2214; +} +else +{ +lean_object* x_2215; uint8_t x_2216; +lean_dec(x_2177); +x_2215 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_2216 = lean_string_dec_eq(x_118, x_2215); +if (x_2216 == 0) +{ +lean_object* x_2217; uint8_t x_2218; +x_2217 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_2218 = lean_string_dec_eq(x_118, x_2217); +if (x_2218 == 0) +{ +lean_object* x_2219; uint8_t x_2220; +x_2219 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_2220 = lean_string_dec_eq(x_118, x_2219); +if (x_2220 == 0) +{ +lean_object* x_2221; uint8_t x_2222; +x_2221 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_2222 = lean_string_dec_eq(x_118, x_2221); +if (x_2222 == 0) +{ +lean_object* x_2223; uint8_t x_2224; +x_2223 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_2224 = lean_string_dec_eq(x_118, x_2223); +if (x_2224 == 0) +{ +lean_object* x_2225; uint8_t x_2226; +x_2225 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_2226 = lean_string_dec_eq(x_118, x_2225); +if (x_2226 == 0) +{ +lean_object* x_2227; uint8_t x_2228; +x_2227 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_2228 = lean_string_dec_eq(x_118, x_2227); +if (x_2228 == 0) +{ +lean_object* x_2229; uint8_t x_2230; +x_2229 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_2230 = lean_string_dec_eq(x_118, x_2229); +if (x_2230 == 0) +{ +lean_object* x_2231; uint8_t x_2232; +lean_dec(x_4); +x_2231 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_2232 = lean_string_dec_eq(x_118, x_2231); +if (x_2232 == 0) +{ +lean_object* x_2233; uint8_t x_2234; +x_2233 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_2234 = lean_string_dec_eq(x_118, x_2233); +if (x_2234 == 0) +{ +lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; +if (lean_is_scalar(x_2184)) { + x_2235 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2235 = x_2184; +} +lean_ctor_set(x_2235, 0, x_117); +lean_ctor_set(x_2235, 1, x_2185); +lean_ctor_set_usize(x_2235, 2, x_2183); +if (lean_is_scalar(x_2181)) { + x_2236 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2236 = x_2181; +} +lean_ctor_set(x_2236, 0, x_2235); +lean_ctor_set(x_2236, 1, x_2189); +lean_ctor_set_usize(x_2236, 2, x_2180); +x_2237 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2237, 0, x_2236); +lean_ctor_set(x_2237, 1, x_2202); +lean_ctor_set_usize(x_2237, 2, x_2178); +if (lean_is_scalar(x_2188)) { + x_2238 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2238 = x_2188; +} +lean_ctor_set(x_2238, 0, x_2237); +lean_ctor_set(x_2238, 1, x_118); +lean_ctor_set_usize(x_2238, 2, x_2176); +x_2239 = l_System_FilePath_dirName___closed__1; +x_2240 = l_Lean_Name_toStringWithSep___main(x_2239, x_2238); +x_2241 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2241, 0, x_2240); +x_2242 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2242, 0, x_2241); +x_2243 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_2244 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_2244, 0, x_2243); +lean_ctor_set(x_2244, 1, x_2242); +x_2245 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2244, x_2, x_3); +lean_dec(x_1); +return x_2245; +} +else +{ +lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_118); +lean_dec(x_2); +x_2246 = lean_unsigned_to_nat(0u); +x_2247 = l_Lean_Syntax_getArg(x_1, x_2246); +lean_dec(x_1); +x_2248 = l_Lean_numLitKind; +x_2249 = l_Lean_Syntax_isNatLitAux(x_2248, x_2247); +lean_dec(x_2247); +if (lean_obj_tag(x_2249) == 0) +{ +lean_object* x_2250; lean_object* x_2251; +x_2250 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_2251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2251, 0, x_2250); +lean_ctor_set(x_2251, 1, x_3); +return x_2251; +} +else +{ +lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; +x_2252 = lean_ctor_get(x_2249, 0); +lean_inc(x_2252); +lean_dec(x_2249); +x_2253 = l_Lean_mkNatLit(x_2252); +x_2254 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2254, 0, x_2253); +lean_ctor_set(x_2254, 1, x_3); +return x_2254; +} +} +} +else +{ +lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_118); +lean_dec(x_2); +x_2255 = lean_unsigned_to_nat(0u); +x_2256 = l_Lean_Syntax_getArg(x_1, x_2255); +lean_dec(x_1); +x_2257 = l_Lean_Syntax_isStrLit_x3f(x_2256); +lean_dec(x_2256); +if (lean_obj_tag(x_2257) == 0) +{ +lean_object* x_2258; lean_object* x_2259; +x_2258 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_2259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2259, 0, x_2258); +lean_ctor_set(x_2259, 1, x_3); +return x_2259; +} +else +{ +lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; +x_2260 = lean_ctor_get(x_2257, 0); +lean_inc(x_2260); +lean_dec(x_2257); +x_2261 = l_Lean_mkStrLit(x_2260); +x_2262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2262, 0, x_2261); +lean_ctor_set(x_2262, 1, x_3); +return x_2262; +} +} +} +else +{ +lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_118); +lean_dec(x_1); +x_2263 = l_Lean_Syntax_inhabited; +x_2264 = lean_unsigned_to_nat(0u); +x_2265 = lean_array_get(x_2263, x_4, x_2264); +x_2266 = lean_unsigned_to_nat(2u); +x_2267 = lean_array_get(x_2263, x_4, x_2266); +lean_dec(x_4); +x_2268 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_2268, 0, x_117); +lean_closure_set(x_2268, 1, x_2265); +lean_closure_set(x_2268, 2, x_2267); +x_2269 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2270 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2270, 0, x_2269); +lean_closure_set(x_2270, 1, x_2268); +x_2271 = l_Lean_Unhygienic_run___rarg(x_2270); +x_1 = x_2271; +goto _start; +} +} +else +{ +lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_118); +lean_dec(x_1); +x_2273 = l_Lean_Syntax_inhabited; +x_2274 = lean_unsigned_to_nat(0u); +x_2275 = lean_array_get(x_2273, x_4, x_2274); +x_2276 = lean_unsigned_to_nat(2u); +x_2277 = lean_array_get(x_2273, x_4, x_2276); +lean_dec(x_4); +x_2278 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_2278, 0, x_117); +lean_closure_set(x_2278, 1, x_2275); +lean_closure_set(x_2278, 2, x_2277); +x_2279 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2280 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2280, 0, x_2279); +lean_closure_set(x_2280, 1, x_2278); +x_2281 = l_Lean_Unhygienic_run___rarg(x_2280); +x_1 = x_2281; +goto _start; +} +} +else +{ +lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; uint8_t x_2289; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_118); +lean_dec(x_1); +x_2283 = l_Lean_Syntax_inhabited; +x_2284 = lean_unsigned_to_nat(1u); +x_2285 = lean_array_get(x_2283, x_4, x_2284); +lean_dec(x_4); +x_2286 = l_Lean_Syntax_getArgs(x_2285); lean_dec(x_2285); -x_2308 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_2309 = lean_string_dec_eq(x_2283, x_2308); -if (x_2309 == 0) -{ -lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; -lean_dec(x_4); -if (lean_is_scalar(x_2290)) { - x_2310 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2310 = x_2290; -} -lean_ctor_set(x_2310, 0, x_117); -lean_ctor_set(x_2310, 1, x_2291); -lean_ctor_set_usize(x_2310, 2, x_2289); -if (lean_is_scalar(x_2287)) { - x_2311 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2311 = x_2287; -} -lean_ctor_set(x_2311, 0, x_2310); -lean_ctor_set(x_2311, 1, x_2295); -lean_ctor_set_usize(x_2311, 2, x_2286); -x_2312 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2312, 0, x_2311); -lean_ctor_set(x_2312, 1, x_2283); -lean_ctor_set_usize(x_2312, 2, x_2284); -if (lean_is_scalar(x_2294)) { - x_2313 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2313 = x_2294; -} -lean_ctor_set(x_2313, 0, x_2312); -lean_ctor_set(x_2313, 1, x_118); -lean_ctor_set_usize(x_2313, 2, x_2282); -x_2314 = l_System_FilePath_dirName___closed__1; -x_2315 = l_Lean_Name_toStringWithSep___main(x_2314, x_2313); -x_2316 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2316, 0, x_2315); -x_2317 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2317, 0, x_2316); -x_2318 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_2319 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2319, 0, x_2318); -lean_ctor_set(x_2319, 1, x_2317); -x_2320 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2319, x_2, x_3); -lean_dec(x_1); -return x_2320; -} -else -{ -lean_object* x_2321; uint8_t x_2322; -lean_dec(x_2283); -x_2321 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_2322 = lean_string_dec_eq(x_118, x_2321); -if (x_2322 == 0) -{ -lean_object* x_2323; uint8_t x_2324; -x_2323 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_2324 = lean_string_dec_eq(x_118, x_2323); -if (x_2324 == 0) -{ -lean_object* x_2325; uint8_t x_2326; -x_2325 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_2326 = lean_string_dec_eq(x_118, x_2325); -if (x_2326 == 0) -{ -lean_object* x_2327; uint8_t x_2328; -x_2327 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_2328 = lean_string_dec_eq(x_118, x_2327); -if (x_2328 == 0) -{ -lean_object* x_2329; uint8_t x_2330; -x_2329 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; -x_2330 = lean_string_dec_eq(x_118, x_2329); -if (x_2330 == 0) -{ -lean_object* x_2331; uint8_t x_2332; -x_2331 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_2332 = lean_string_dec_eq(x_118, x_2331); -if (x_2332 == 0) -{ -lean_object* x_2333; uint8_t x_2334; -x_2333 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_2334 = lean_string_dec_eq(x_118, x_2333); -if (x_2334 == 0) -{ -lean_object* x_2335; uint8_t x_2336; -x_2335 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_2336 = lean_string_dec_eq(x_118, x_2335); -if (x_2336 == 0) -{ -lean_object* x_2337; uint8_t x_2338; -x_2337 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_2338 = lean_string_dec_eq(x_118, x_2337); -if (x_2338 == 0) -{ -lean_object* x_2339; uint8_t x_2340; -lean_dec(x_4); -x_2339 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_2340 = lean_string_dec_eq(x_118, x_2339); -if (x_2340 == 0) -{ -lean_object* x_2341; uint8_t x_2342; -x_2341 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_2342 = lean_string_dec_eq(x_118, x_2341); -if (x_2342 == 0) -{ -lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; -if (lean_is_scalar(x_2290)) { - x_2343 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2343 = x_2290; -} -lean_ctor_set(x_2343, 0, x_117); -lean_ctor_set(x_2343, 1, x_2291); -lean_ctor_set_usize(x_2343, 2, x_2289); -if (lean_is_scalar(x_2287)) { - x_2344 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2344 = x_2287; -} -lean_ctor_set(x_2344, 0, x_2343); -lean_ctor_set(x_2344, 1, x_2295); -lean_ctor_set_usize(x_2344, 2, x_2286); -x_2345 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2345, 0, x_2344); -lean_ctor_set(x_2345, 1, x_2308); -lean_ctor_set_usize(x_2345, 2, x_2284); -if (lean_is_scalar(x_2294)) { - x_2346 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2346 = x_2294; -} -lean_ctor_set(x_2346, 0, x_2345); -lean_ctor_set(x_2346, 1, x_118); -lean_ctor_set_usize(x_2346, 2, x_2282); -x_2347 = l_System_FilePath_dirName___closed__1; -x_2348 = l_Lean_Name_toStringWithSep___main(x_2347, x_2346); -x_2349 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2349, 0, x_2348); -x_2350 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2350, 0, x_2349); -x_2351 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_2352 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2352, 0, x_2351); -lean_ctor_set(x_2352, 1, x_2350); -x_2353 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2352, x_2, x_3); -lean_dec(x_1); -return x_2353; -} -else -{ -lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; -lean_dec(x_2294); -lean_dec(x_2290); +x_2287 = lean_array_get_size(x_2286); +x_2288 = lean_unsigned_to_nat(0u); +x_2289 = lean_nat_dec_eq(x_2287, x_2288); lean_dec(x_2287); -lean_dec(x_118); +if (x_2289 == 0) +{ +lean_object* x_2290; +x_2290 = lean_array_get(x_2283, x_2286, x_2288); +lean_dec(x_2286); +x_1 = x_2290; +goto _start; +} +else +{ +lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; +lean_dec(x_2286); lean_dec(x_2); -x_2354 = lean_unsigned_to_nat(0u); -x_2355 = l_Lean_Syntax_getArg(x_1, x_2354); -lean_dec(x_1); -x_2356 = l_Lean_numLitKind; -x_2357 = l_Lean_Syntax_isNatLitAux(x_2356, x_2355); -lean_dec(x_2355); -if (lean_obj_tag(x_2357) == 0) -{ -lean_object* x_2358; lean_object* x_2359; -x_2358 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_2359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2359, 0, x_2358); -lean_ctor_set(x_2359, 1, x_3); -return x_2359; -} -else -{ -lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; -x_2360 = lean_ctor_get(x_2357, 0); -lean_inc(x_2360); -lean_dec(x_2357); -x_2361 = l_Lean_mkNatLit(x_2360); -x_2362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2362, 0, x_2361); -lean_ctor_set(x_2362, 1, x_3); -return x_2362; +x_2292 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_2293 = lean_name_mk_string(x_117, x_2292); +x_2294 = l_Lean_Elab_Term_elabParen___closed__4; +x_2295 = lean_name_mk_string(x_2293, x_2294); +x_2296 = lean_box(0); +x_2297 = l_Lean_mkConst(x_2295, x_2296); +x_2298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2298, 0, x_2297); +lean_ctor_set(x_2298, 1, x_3); +return x_2298; } } } else { -lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_118); -lean_dec(x_2); -x_2363 = lean_unsigned_to_nat(0u); -x_2364 = l_Lean_Syntax_getArg(x_1, x_2363); -lean_dec(x_1); -x_2365 = l_Lean_Syntax_isStrLit_x3f(x_2364); -lean_dec(x_2364); -if (lean_obj_tag(x_2365) == 0) -{ -lean_object* x_2366; lean_object* x_2367; -x_2366 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_2367 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2367, 0, x_2366); -lean_ctor_set(x_2367, 1, x_3); -return x_2367; -} -else -{ -lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; -x_2368 = lean_ctor_get(x_2365, 0); -lean_inc(x_2368); -lean_dec(x_2365); -x_2369 = l_Lean_mkStrLit(x_2368); -x_2370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2370, 0, x_2369); -lean_ctor_set(x_2370, 1, x_3); -return x_2370; -} -} -} -else -{ -lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); +lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); lean_dec(x_118); lean_dec(x_1); -x_2371 = l_Lean_Syntax_inhabited; -x_2372 = lean_unsigned_to_nat(0u); -x_2373 = lean_array_get(x_2371, x_4, x_2372); -x_2374 = lean_unsigned_to_nat(2u); -x_2375 = lean_array_get(x_2371, x_4, x_2374); +x_2299 = l_Lean_Syntax_inhabited; +x_2300 = lean_unsigned_to_nat(2u); +x_2301 = lean_array_get(x_2299, x_4, x_2300); +x_2302 = lean_unsigned_to_nat(4u); +x_2303 = lean_array_get(x_2299, x_4, x_2302); +x_2304 = lean_unsigned_to_nat(6u); +x_2305 = lean_array_get(x_2299, x_4, x_2304); lean_dec(x_4); -x_2376 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_2376, 0, x_117); -lean_closure_set(x_2376, 1, x_2373); -lean_closure_set(x_2376, 2, x_2375); -x_2377 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_2378 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2378, 0, x_2377); -lean_closure_set(x_2378, 1, x_2376); -x_2379 = l_Lean_Unhygienic_run___rarg(x_2378); -x_1 = x_2379; +x_2306 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_2306, 0, x_117); +lean_closure_set(x_2306, 1, x_2301); +lean_closure_set(x_2306, 2, x_2303); +lean_closure_set(x_2306, 3, x_2305); +x_2307 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2308 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2308, 0, x_2307); +lean_closure_set(x_2308, 1, x_2306); +x_2309 = l_Lean_Unhygienic_run___rarg(x_2308); +x_1 = x_2309; goto _start; } } else { -lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); +lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); lean_dec(x_118); lean_dec(x_1); -x_2381 = l_Lean_Syntax_inhabited; -x_2382 = lean_unsigned_to_nat(0u); -x_2383 = lean_array_get(x_2381, x_4, x_2382); -x_2384 = lean_unsigned_to_nat(2u); -x_2385 = lean_array_get(x_2381, x_4, x_2384); +x_2311 = l_Lean_Syntax_inhabited; +x_2312 = lean_unsigned_to_nat(0u); +x_2313 = lean_array_get(x_2311, x_4, x_2312); +lean_inc(x_2); +x_2314 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2313, x_2, x_3); +if (lean_obj_tag(x_2314) == 0) +{ +lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; +x_2315 = lean_ctor_get(x_2314, 0); +lean_inc(x_2315); +x_2316 = lean_ctor_get(x_2314, 1); +lean_inc(x_2316); +lean_dec(x_2314); +x_2317 = lean_unsigned_to_nat(1u); +x_2318 = lean_array_get(x_2311, x_4, x_2317); lean_dec(x_4); -x_2386 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_2386, 0, x_117); -lean_closure_set(x_2386, 1, x_2383); -lean_closure_set(x_2386, 2, x_2385); -x_2387 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_2388 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2388, 0, x_2387); -lean_closure_set(x_2388, 1, x_2386); -x_2389 = l_Lean_Unhygienic_run___rarg(x_2388); -x_1 = x_2389; -goto _start; +x_2319 = l_Lean_Syntax_getArgs(x_2318); +lean_dec(x_2318); +x_2320 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_2312, x_2319, x_2, x_2316); +if (lean_obj_tag(x_2320) == 0) +{ +lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; +x_2321 = lean_ctor_get(x_2320, 0); +lean_inc(x_2321); +x_2322 = lean_ctor_get(x_2320, 1); +lean_inc(x_2322); +if (lean_is_exclusive(x_2320)) { + lean_ctor_release(x_2320, 0); + lean_ctor_release(x_2320, 1); + x_2323 = x_2320; +} else { + lean_dec_ref(x_2320); + x_2323 = lean_box(0); +} +x_2324 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2321, x_2321, x_2312, x_2315); +lean_dec(x_2321); +if (lean_is_scalar(x_2323)) { + x_2325 = lean_alloc_ctor(0, 2, 0); +} else { + x_2325 = x_2323; +} +lean_ctor_set(x_2325, 0, x_2324); +lean_ctor_set(x_2325, 1, x_2322); +return x_2325; +} +else +{ +lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; +lean_dec(x_2315); +x_2326 = lean_ctor_get(x_2320, 0); +lean_inc(x_2326); +x_2327 = lean_ctor_get(x_2320, 1); +lean_inc(x_2327); +if (lean_is_exclusive(x_2320)) { + lean_ctor_release(x_2320, 0); + lean_ctor_release(x_2320, 1); + x_2328 = x_2320; +} else { + lean_dec_ref(x_2320); + x_2328 = lean_box(0); +} +if (lean_is_scalar(x_2328)) { + x_2329 = lean_alloc_ctor(1, 2, 0); +} else { + x_2329 = x_2328; +} +lean_ctor_set(x_2329, 0, x_2326); +lean_ctor_set(x_2329, 1, x_2327); +return x_2329; } } else { -lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; uint8_t x_2397; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); +lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; +lean_dec(x_4); +lean_dec(x_2); +x_2330 = lean_ctor_get(x_2314, 0); +lean_inc(x_2330); +x_2331 = lean_ctor_get(x_2314, 1); +lean_inc(x_2331); +if (lean_is_exclusive(x_2314)) { + lean_ctor_release(x_2314, 0); + lean_ctor_release(x_2314, 1); + x_2332 = x_2314; +} else { + lean_dec_ref(x_2314); + x_2332 = lean_box(0); +} +if (lean_is_scalar(x_2332)) { + x_2333 = lean_alloc_ctor(1, 2, 0); +} else { + x_2333 = x_2332; +} +lean_ctor_set(x_2333, 0, x_2330); +lean_ctor_set(x_2333, 1, x_2331); +return x_2333; +} +} +} +else +{ +lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); lean_dec(x_118); lean_dec(x_1); -x_2391 = l_Lean_Syntax_inhabited; -x_2392 = lean_unsigned_to_nat(1u); -x_2393 = lean_array_get(x_2391, x_4, x_2392); +x_2334 = l_Lean_Syntax_inhabited; +x_2335 = lean_unsigned_to_nat(1u); +x_2336 = lean_array_get(x_2334, x_4, x_2335); +lean_inc(x_2336); +x_2337 = l_Lean_Syntax_getKind(x_2336); +if (lean_obj_tag(x_2337) == 1) +{ +lean_object* x_2338; +x_2338 = lean_ctor_get(x_2337, 0); +lean_inc(x_2338); +if (lean_obj_tag(x_2338) == 1) +{ +lean_object* x_2339; +x_2339 = lean_ctor_get(x_2338, 0); +lean_inc(x_2339); +if (lean_obj_tag(x_2339) == 1) +{ +lean_object* x_2340; +x_2340 = lean_ctor_get(x_2339, 0); +lean_inc(x_2340); +if (lean_obj_tag(x_2340) == 1) +{ +lean_object* x_2341; +x_2341 = lean_ctor_get(x_2340, 0); +lean_inc(x_2341); +if (lean_obj_tag(x_2341) == 0) +{ +lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; uint8_t x_2346; +x_2342 = lean_ctor_get(x_2337, 1); +lean_inc(x_2342); +lean_dec(x_2337); +x_2343 = lean_ctor_get(x_2338, 1); +lean_inc(x_2343); +lean_dec(x_2338); +x_2344 = lean_ctor_get(x_2339, 1); +lean_inc(x_2344); +lean_dec(x_2339); +x_2345 = lean_ctor_get(x_2340, 1); +lean_inc(x_2345); +lean_dec(x_2340); +x_2346 = lean_string_dec_eq(x_2345, x_2185); +lean_dec(x_2345); +if (x_2346 == 0) +{ +lean_object* x_2347; lean_object* x_2348; +lean_dec(x_2344); +lean_dec(x_2343); +lean_dec(x_2342); +lean_dec(x_2336); +x_2347 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2348 = l_unreachable_x21___rarg(x_2347); +x_5 = x_2348; +goto block_94; +} +else +{ +uint8_t x_2349; +x_2349 = lean_string_dec_eq(x_2344, x_2189); +lean_dec(x_2344); +if (x_2349 == 0) +{ +lean_object* x_2350; lean_object* x_2351; +lean_dec(x_2343); +lean_dec(x_2342); +lean_dec(x_2336); +x_2350 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2351 = l_unreachable_x21___rarg(x_2350); +x_5 = x_2351; +goto block_94; +} +else +{ +uint8_t x_2352; +x_2352 = lean_string_dec_eq(x_2343, x_2202); +lean_dec(x_2343); +if (x_2352 == 0) +{ +lean_object* x_2353; lean_object* x_2354; +lean_dec(x_2342); +lean_dec(x_2336); +x_2353 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2354 = l_unreachable_x21___rarg(x_2353); +x_5 = x_2354; +goto block_94; +} +else +{ +lean_object* x_2355; uint8_t x_2356; +x_2355 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_2356 = lean_string_dec_eq(x_2342, x_2355); +if (x_2356 == 0) +{ +lean_object* x_2357; uint8_t x_2358; +x_2357 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_2358 = lean_string_dec_eq(x_2342, x_2357); +lean_dec(x_2342); +if (x_2358 == 0) +{ +lean_object* x_2359; lean_object* x_2360; +lean_dec(x_2336); +x_2359 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2360 = l_unreachable_x21___rarg(x_2359); +x_5 = x_2360; +goto block_94; +} +else +{ +lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; +x_2361 = lean_unsigned_to_nat(0u); +x_2362 = l_Lean_Syntax_getArg(x_2336, x_2361); +x_2363 = l_Lean_Syntax_getIdAt(x_2362, x_2361); +lean_dec(x_2362); +x_2364 = lean_unsigned_to_nat(3u); +x_2365 = l_Lean_Syntax_getArg(x_2336, x_2364); +lean_dec(x_2336); +x_2366 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2366, 0, x_2363); +lean_ctor_set(x_2366, 1, x_2365); +x_5 = x_2366; +goto block_94; +} +} +else +{ +lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; +lean_dec(x_2342); +x_2367 = lean_unsigned_to_nat(0u); +x_2368 = l_Lean_Syntax_getIdAt(x_2336, x_2367); +x_2369 = lean_unsigned_to_nat(4u); +x_2370 = l_Lean_Syntax_getArg(x_2336, x_2369); +lean_dec(x_2336); +x_2371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2371, 0, x_2368); +lean_ctor_set(x_2371, 1, x_2370); +x_5 = x_2371; +goto block_94; +} +} +} +} +} +else +{ +lean_object* x_2372; lean_object* x_2373; +lean_dec(x_2341); +lean_dec(x_2340); +lean_dec(x_2339); +lean_dec(x_2338); +lean_dec(x_2337); +lean_dec(x_2336); +x_2372 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2373 = l_unreachable_x21___rarg(x_2372); +x_5 = x_2373; +goto block_94; +} +} +else +{ +lean_object* x_2374; lean_object* x_2375; +lean_dec(x_2340); +lean_dec(x_2339); +lean_dec(x_2338); +lean_dec(x_2337); +lean_dec(x_2336); +x_2374 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2375 = l_unreachable_x21___rarg(x_2374); +x_5 = x_2375; +goto block_94; +} +} +else +{ +lean_object* x_2376; lean_object* x_2377; +lean_dec(x_2339); +lean_dec(x_2338); +lean_dec(x_2337); +lean_dec(x_2336); +x_2376 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2377 = l_unreachable_x21___rarg(x_2376); +x_5 = x_2377; +goto block_94; +} +} +else +{ +lean_object* x_2378; lean_object* x_2379; +lean_dec(x_2338); +lean_dec(x_2337); +lean_dec(x_2336); +x_2378 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2379 = l_unreachable_x21___rarg(x_2378); +x_5 = x_2379; +goto block_94; +} +} +else +{ +lean_object* x_2380; lean_object* x_2381; +lean_dec(x_2337); +lean_dec(x_2336); +x_2380 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2381 = l_unreachable_x21___rarg(x_2380); +x_5 = x_2381; +goto block_94; +} +} +} +else +{ +lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; uint8_t x_2390; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); +lean_dec(x_118); +lean_dec(x_1); +x_2382 = l_Lean_Syntax_inhabited; +x_2383 = lean_unsigned_to_nat(1u); +x_2384 = lean_array_get(x_2382, x_4, x_2383); +x_2385 = l_Lean_Syntax_getArgs(x_2384); +lean_dec(x_2384); +x_2386 = lean_unsigned_to_nat(3u); +x_2387 = lean_array_get(x_2382, x_4, x_2386); lean_dec(x_4); -x_2394 = l_Lean_Syntax_getArgs(x_2393); -lean_dec(x_2393); -x_2395 = lean_array_get_size(x_2394); -x_2396 = lean_unsigned_to_nat(0u); -x_2397 = lean_nat_dec_eq(x_2395, x_2396); +x_2388 = lean_array_get_size(x_2385); +x_2389 = lean_unsigned_to_nat(0u); +x_2390 = lean_nat_dec_eq(x_2388, x_2389); +lean_dec(x_2388); +if (x_2390 == 0) +{ +lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; uint8_t x_2396; +x_2391 = lean_array_get(x_2382, x_2385, x_2389); +x_2392 = lean_name_mk_string(x_117, x_2185); +x_2393 = lean_name_mk_string(x_2392, x_2189); +x_2394 = lean_name_mk_string(x_2393, x_2202); +lean_inc(x_2394); +x_2395 = lean_name_mk_string(x_2394, x_2215); +lean_inc(x_2391); +x_2396 = l_Lean_Syntax_isOfKind(x_2391, x_2395); lean_dec(x_2395); -if (x_2397 == 0) +if (x_2396 == 0) { -lean_object* x_2398; -x_2398 = lean_array_get(x_2391, x_2394, x_2396); -lean_dec(x_2394); -x_1 = x_2398; -goto _start; -} -else +lean_object* x_2397; lean_object* x_2398; uint8_t x_2399; +x_2397 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_2394); +x_2398 = lean_name_mk_string(x_2394, x_2397); +lean_inc(x_2391); +x_2399 = l_Lean_Syntax_isOfKind(x_2391, x_2398); +lean_dec(x_2398); +if (x_2399 == 0) { lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; -lean_dec(x_2394); -lean_dec(x_2); -x_2400 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_2401 = lean_name_mk_string(x_117, x_2400); -x_2402 = l_Lean_Elab_Term_elabParen___closed__4; -x_2403 = lean_name_mk_string(x_2401, x_2402); -x_2404 = lean_box(0); -x_2405 = l_Lean_mkConst(x_2403, x_2404); -x_2406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2406, 0, x_2405); -lean_ctor_set(x_2406, 1, x_3); -return x_2406; -} -} -} -else -{ -lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_118); -lean_dec(x_1); -x_2407 = l_Lean_Syntax_inhabited; -x_2408 = lean_unsigned_to_nat(2u); -x_2409 = lean_array_get(x_2407, x_4, x_2408); -x_2410 = lean_unsigned_to_nat(4u); -x_2411 = lean_array_get(x_2407, x_4, x_2410); -x_2412 = lean_unsigned_to_nat(6u); -x_2413 = lean_array_get(x_2407, x_4, x_2412); -lean_dec(x_4); -x_2414 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_2414, 0, x_117); -lean_closure_set(x_2414, 1, x_2409); -lean_closure_set(x_2414, 2, x_2411); -lean_closure_set(x_2414, 3, x_2413); -x_2415 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_2416 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2416, 0, x_2415); -lean_closure_set(x_2416, 1, x_2414); -x_2417 = l_Lean_Unhygienic_run___rarg(x_2416); -x_1 = x_2417; -goto _start; -} -} -else -{ -lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_118); -lean_dec(x_1); -x_2419 = l_Lean_Syntax_inhabited; -x_2420 = lean_unsigned_to_nat(1u); -x_2421 = lean_array_get(x_2419, x_4, x_2420); +x_2400 = l_Lean_Syntax_getArg(x_2391, x_2383); +lean_dec(x_2391); +x_2401 = l_Lean_Syntax_getArg(x_2400, x_2389); +x_2402 = l_Lean_Syntax_getIdAt(x_2401, x_2389); +lean_dec(x_2401); +x_2403 = l_Lean_Syntax_getArg(x_2400, x_2383); +lean_dec(x_2400); +x_2404 = l_Lean_Syntax_getArg(x_2403, x_2389); +lean_dec(x_2403); +x_2405 = l_Lean_Syntax_getArg(x_2404, x_2383); +lean_dec(x_2404); lean_inc(x_2); -x_2422 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2421, x_2, x_3); -if (lean_obj_tag(x_2422) == 0) +x_2406 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2405, x_2, x_3); +if (lean_obj_tag(x_2406) == 0) { -lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; -x_2423 = lean_ctor_get(x_2422, 0); -lean_inc(x_2423); -x_2424 = lean_ctor_get(x_2422, 1); -lean_inc(x_2424); -lean_dec(x_2422); -x_2425 = lean_unsigned_to_nat(2u); -x_2426 = lean_array_get(x_2419, x_4, x_2425); -lean_dec(x_4); -x_2427 = l_Lean_Syntax_getArgs(x_2426); -lean_dec(x_2426); -x_2428 = lean_unsigned_to_nat(0u); -x_2429 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_2428, x_2427, x_2, x_2424); -if (lean_obj_tag(x_2429) == 0) -{ -lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; -x_2430 = lean_ctor_get(x_2429, 0); +lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; uint8_t x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; uint8_t x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; +x_2407 = lean_ctor_get(x_2406, 0); +lean_inc(x_2407); +x_2408 = lean_ctor_get(x_2406, 1); +lean_inc(x_2408); +lean_dec(x_2406); +x_2409 = l_Lean_Elab_Term_getLCtx(x_2, x_2408); +x_2410 = lean_ctor_get(x_2409, 0); +lean_inc(x_2410); +x_2411 = lean_ctor_get(x_2409, 1); +lean_inc(x_2411); +lean_dec(x_2409); +x_2412 = 0; +lean_inc_n(x_2402, 2); +x_2413 = lean_local_ctx_mk_local_decl(x_2410, x_2402, x_2402, x_2407, x_2412); +x_2414 = l_Array_eraseIdx___rarg(x_2385, x_2389); +x_2415 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2411); +x_2416 = lean_ctor_get(x_2415, 1); +lean_inc(x_2416); +lean_dec(x_2415); +x_2417 = lean_name_mk_string(x_2394, x_2217); +x_2418 = l_Lean_nullKind___closed__1; +x_2419 = lean_name_mk_string(x_117, x_2418); +x_2420 = l_Array_empty___closed__1; +x_2421 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2414, x_2414, x_2389, x_2420); +lean_dec(x_2414); +x_2422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2422, 0, x_2419); +lean_ctor_set(x_2422, 1, x_2421); +x_2423 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2424 = lean_array_push(x_2423, x_2422); +x_2425 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2426 = lean_array_push(x_2424, x_2425); +x_2427 = lean_array_push(x_2426, x_2387); +x_2428 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2428, 0, x_2417); +lean_ctor_set(x_2428, 1, x_2427); +x_2429 = lean_ctor_get(x_2, 0); +lean_inc(x_2429); +x_2430 = lean_ctor_get(x_2, 1); lean_inc(x_2430); -x_2431 = lean_ctor_get(x_2429, 1); +x_2431 = lean_ctor_get(x_2, 2); lean_inc(x_2431); -if (lean_is_exclusive(x_2429)) { - lean_ctor_release(x_2429, 0); - lean_ctor_release(x_2429, 1); - x_2432 = x_2429; -} else { - lean_dec_ref(x_2429); - x_2432 = lean_box(0); -} -x_2433 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2430, x_2430, x_2428, x_2423); -lean_dec(x_2430); -if (lean_is_scalar(x_2432)) { - x_2434 = lean_alloc_ctor(0, 2, 0); -} else { - x_2434 = x_2432; -} -lean_ctor_set(x_2434, 0, x_2433); -lean_ctor_set(x_2434, 1, x_2431); -return x_2434; -} -else -{ -lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; -lean_dec(x_2423); -x_2435 = lean_ctor_get(x_2429, 0); +x_2432 = lean_ctor_get(x_2, 3); +lean_inc(x_2432); +x_2433 = lean_ctor_get(x_2, 4); +lean_inc(x_2433); +x_2434 = lean_ctor_get(x_2, 5); +lean_inc(x_2434); +x_2435 = lean_ctor_get(x_2, 6); lean_inc(x_2435); -x_2436 = lean_ctor_get(x_2429, 1); +x_2436 = lean_ctor_get(x_2, 7); lean_inc(x_2436); -if (lean_is_exclusive(x_2429)) { - lean_ctor_release(x_2429, 0); - lean_ctor_release(x_2429, 1); - x_2437 = x_2429; -} else { - lean_dec_ref(x_2429); - x_2437 = lean_box(0); -} -if (lean_is_scalar(x_2437)) { - x_2438 = lean_alloc_ctor(1, 2, 0); -} else { - x_2438 = x_2437; -} -lean_ctor_set(x_2438, 0, x_2435); -lean_ctor_set(x_2438, 1, x_2436); -return x_2438; -} -} -else -{ -lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; -lean_dec(x_4); -lean_dec(x_2); -x_2439 = lean_ctor_get(x_2422, 0); -lean_inc(x_2439); -x_2440 = lean_ctor_get(x_2422, 1); -lean_inc(x_2440); -if (lean_is_exclusive(x_2422)) { - lean_ctor_release(x_2422, 0); - lean_ctor_release(x_2422, 1); - x_2441 = x_2422; -} else { - lean_dec_ref(x_2422); - x_2441 = lean_box(0); -} -if (lean_is_scalar(x_2441)) { - x_2442 = lean_alloc_ctor(1, 2, 0); -} else { - x_2442 = x_2441; -} -lean_ctor_set(x_2442, 0, x_2439); -lean_ctor_set(x_2442, 1, x_2440); -return x_2442; -} -} -} -else -{ -lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_118); -lean_dec(x_1); -x_2443 = l_Lean_Syntax_inhabited; -x_2444 = lean_unsigned_to_nat(0u); -x_2445 = lean_array_get(x_2443, x_4, x_2444); -lean_inc(x_2); -x_2446 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2445, x_2, x_3); -if (lean_obj_tag(x_2446) == 0) -{ -lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; -x_2447 = lean_ctor_get(x_2446, 0); -lean_inc(x_2447); -x_2448 = lean_ctor_get(x_2446, 1); -lean_inc(x_2448); -lean_dec(x_2446); -x_2449 = lean_unsigned_to_nat(1u); -x_2450 = lean_array_get(x_2443, x_4, x_2449); -lean_dec(x_4); -x_2451 = l_Lean_Syntax_getArgs(x_2450); -lean_dec(x_2450); -x_2452 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_2444, x_2451, x_2, x_2448); -if (lean_obj_tag(x_2452) == 0) -{ -lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; -x_2453 = lean_ctor_get(x_2452, 0); -lean_inc(x_2453); -x_2454 = lean_ctor_get(x_2452, 1); -lean_inc(x_2454); -if (lean_is_exclusive(x_2452)) { - lean_ctor_release(x_2452, 0); - lean_ctor_release(x_2452, 1); - x_2455 = x_2452; -} else { - lean_dec_ref(x_2452); - x_2455 = lean_box(0); -} -x_2456 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2453, x_2453, x_2444, x_2447); -lean_dec(x_2453); -if (lean_is_scalar(x_2455)) { - x_2457 = lean_alloc_ctor(0, 2, 0); -} else { - x_2457 = x_2455; -} -lean_ctor_set(x_2457, 0, x_2456); -lean_ctor_set(x_2457, 1, x_2454); -return x_2457; -} -else -{ -lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; -lean_dec(x_2447); -x_2458 = lean_ctor_get(x_2452, 0); -lean_inc(x_2458); -x_2459 = lean_ctor_get(x_2452, 1); -lean_inc(x_2459); -if (lean_is_exclusive(x_2452)) { - lean_ctor_release(x_2452, 0); - lean_ctor_release(x_2452, 1); - x_2460 = x_2452; -} else { - lean_dec_ref(x_2452); - x_2460 = lean_box(0); -} -if (lean_is_scalar(x_2460)) { - x_2461 = lean_alloc_ctor(1, 2, 0); -} else { - x_2461 = x_2460; -} -lean_ctor_set(x_2461, 0, x_2458); -lean_ctor_set(x_2461, 1, x_2459); -return x_2461; -} -} -else -{ -lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; -lean_dec(x_4); -lean_dec(x_2); -x_2462 = lean_ctor_get(x_2446, 0); -lean_inc(x_2462); -x_2463 = lean_ctor_get(x_2446, 1); -lean_inc(x_2463); -if (lean_is_exclusive(x_2446)) { - lean_ctor_release(x_2446, 0); - lean_ctor_release(x_2446, 1); - x_2464 = x_2446; -} else { - lean_dec_ref(x_2446); - x_2464 = lean_box(0); -} -if (lean_is_scalar(x_2464)) { - x_2465 = lean_alloc_ctor(1, 2, 0); -} else { - x_2465 = x_2464; -} -lean_ctor_set(x_2465, 0, x_2462); -lean_ctor_set(x_2465, 1, x_2463); -return x_2465; -} -} -} -else -{ -lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_118); -lean_dec(x_1); -x_2466 = l_Lean_Syntax_inhabited; -x_2467 = lean_unsigned_to_nat(1u); -x_2468 = lean_array_get(x_2466, x_4, x_2467); -lean_inc(x_2468); -x_2469 = l_Lean_Syntax_getKind(x_2468); -if (lean_obj_tag(x_2469) == 1) -{ -lean_object* x_2470; -x_2470 = lean_ctor_get(x_2469, 0); -lean_inc(x_2470); -if (lean_obj_tag(x_2470) == 1) -{ -lean_object* x_2471; -x_2471 = lean_ctor_get(x_2470, 0); -lean_inc(x_2471); -if (lean_obj_tag(x_2471) == 1) -{ -lean_object* x_2472; -x_2472 = lean_ctor_get(x_2471, 0); -lean_inc(x_2472); -if (lean_obj_tag(x_2472) == 1) -{ -lean_object* x_2473; -x_2473 = lean_ctor_get(x_2472, 0); -lean_inc(x_2473); -if (lean_obj_tag(x_2473) == 0) -{ -lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; uint8_t x_2478; -x_2474 = lean_ctor_get(x_2469, 1); -lean_inc(x_2474); -lean_dec(x_2469); -x_2475 = lean_ctor_get(x_2470, 1); -lean_inc(x_2475); -lean_dec(x_2470); -x_2476 = lean_ctor_get(x_2471, 1); -lean_inc(x_2476); -lean_dec(x_2471); -x_2477 = lean_ctor_get(x_2472, 1); -lean_inc(x_2477); -lean_dec(x_2472); -x_2478 = lean_string_dec_eq(x_2477, x_2291); -lean_dec(x_2477); -if (x_2478 == 0) -{ -lean_object* x_2479; lean_object* x_2480; -lean_dec(x_2476); -lean_dec(x_2475); -lean_dec(x_2474); -lean_dec(x_2468); -x_2479 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2480 = l_unreachable_x21___rarg(x_2479); -x_5 = x_2480; -goto block_94; -} -else -{ -uint8_t x_2481; -x_2481 = lean_string_dec_eq(x_2476, x_2295); -lean_dec(x_2476); -if (x_2481 == 0) -{ -lean_object* x_2482; lean_object* x_2483; -lean_dec(x_2475); -lean_dec(x_2474); -lean_dec(x_2468); -x_2482 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2483 = l_unreachable_x21___rarg(x_2482); -x_5 = x_2483; -goto block_94; -} -else -{ -uint8_t x_2484; -x_2484 = lean_string_dec_eq(x_2475, x_2308); -lean_dec(x_2475); -if (x_2484 == 0) -{ -lean_object* x_2485; lean_object* x_2486; -lean_dec(x_2474); -lean_dec(x_2468); -x_2485 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2486 = l_unreachable_x21___rarg(x_2485); -x_5 = x_2486; -goto block_94; -} -else -{ -lean_object* x_2487; uint8_t x_2488; -x_2487 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_2488 = lean_string_dec_eq(x_2474, x_2487); -if (x_2488 == 0) -{ -lean_object* x_2489; uint8_t x_2490; -x_2489 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_2490 = lean_string_dec_eq(x_2474, x_2489); -lean_dec(x_2474); -if (x_2490 == 0) -{ -lean_object* x_2491; lean_object* x_2492; -lean_dec(x_2468); -x_2491 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2492 = l_unreachable_x21___rarg(x_2491); -x_5 = x_2492; -goto block_94; -} -else -{ -lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; -x_2493 = lean_unsigned_to_nat(0u); -x_2494 = l_Lean_Syntax_getArg(x_2468, x_2493); -x_2495 = l_Lean_Syntax_getIdAt(x_2494, x_2493); -lean_dec(x_2494); -x_2496 = lean_unsigned_to_nat(3u); -x_2497 = l_Lean_Syntax_getArg(x_2468, x_2496); -lean_dec(x_2468); -x_2498 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2498, 0, x_2495); -lean_ctor_set(x_2498, 1, x_2497); -x_5 = x_2498; -goto block_94; -} -} -else -{ -lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; -lean_dec(x_2474); -x_2499 = lean_unsigned_to_nat(0u); -x_2500 = l_Lean_Syntax_getIdAt(x_2468, x_2499); -x_2501 = lean_unsigned_to_nat(4u); -x_2502 = l_Lean_Syntax_getArg(x_2468, x_2501); -lean_dec(x_2468); -x_2503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2503, 0, x_2500); -lean_ctor_set(x_2503, 1, x_2502); -x_5 = x_2503; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_2504; lean_object* x_2505; -lean_dec(x_2473); -lean_dec(x_2472); -lean_dec(x_2471); -lean_dec(x_2470); -lean_dec(x_2469); -lean_dec(x_2468); -x_2504 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2505 = l_unreachable_x21___rarg(x_2504); -x_5 = x_2505; -goto block_94; -} -} -else -{ -lean_object* x_2506; lean_object* x_2507; -lean_dec(x_2472); -lean_dec(x_2471); -lean_dec(x_2470); -lean_dec(x_2469); -lean_dec(x_2468); -x_2506 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2507 = l_unreachable_x21___rarg(x_2506); -x_5 = x_2507; -goto block_94; -} -} -else -{ -lean_object* x_2508; lean_object* x_2509; -lean_dec(x_2471); -lean_dec(x_2470); -lean_dec(x_2469); -lean_dec(x_2468); -x_2508 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2509 = l_unreachable_x21___rarg(x_2508); -x_5 = x_2509; -goto block_94; -} -} -else -{ -lean_object* x_2510; lean_object* x_2511; -lean_dec(x_2470); -lean_dec(x_2469); -lean_dec(x_2468); -x_2510 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2511 = l_unreachable_x21___rarg(x_2510); -x_5 = x_2511; -goto block_94; -} -} -else -{ -lean_object* x_2512; lean_object* x_2513; -lean_dec(x_2469); -lean_dec(x_2468); -x_2512 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2513 = l_unreachable_x21___rarg(x_2512); -x_5 = x_2513; -goto block_94; -} -} -} -else -{ -lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; uint8_t x_2522; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); -lean_dec(x_118); -lean_dec(x_1); -x_2514 = l_Lean_Syntax_inhabited; -x_2515 = lean_unsigned_to_nat(1u); -x_2516 = lean_array_get(x_2514, x_4, x_2515); -x_2517 = l_Lean_Syntax_getArgs(x_2516); -lean_dec(x_2516); -x_2518 = lean_unsigned_to_nat(3u); -x_2519 = lean_array_get(x_2514, x_4, x_2518); -lean_dec(x_4); -x_2520 = lean_array_get_size(x_2517); -x_2521 = lean_unsigned_to_nat(0u); -x_2522 = lean_nat_dec_eq(x_2520, x_2521); -lean_dec(x_2520); -if (x_2522 == 0) -{ -lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; uint8_t x_2528; -x_2523 = lean_array_get(x_2514, x_2517, x_2521); -x_2524 = lean_name_mk_string(x_117, x_2291); -x_2525 = lean_name_mk_string(x_2524, x_2295); -x_2526 = lean_name_mk_string(x_2525, x_2308); -lean_inc(x_2526); -x_2527 = lean_name_mk_string(x_2526, x_2321); -lean_inc(x_2523); -x_2528 = l_Lean_Syntax_isOfKind(x_2523, x_2527); -lean_dec(x_2527); -if (x_2528 == 0) -{ -lean_object* x_2529; lean_object* x_2530; uint8_t x_2531; -x_2529 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_2526); -x_2530 = lean_name_mk_string(x_2526, x_2529); -lean_inc(x_2523); -x_2531 = l_Lean_Syntax_isOfKind(x_2523, x_2530); -lean_dec(x_2530); -if (x_2531 == 0) -{ -lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; -x_2532 = l_Lean_Syntax_getArg(x_2523, x_2515); -lean_dec(x_2523); -x_2533 = l_Lean_Syntax_getArg(x_2532, x_2521); -x_2534 = l_Lean_Syntax_getIdAt(x_2533, x_2521); -lean_dec(x_2533); -x_2535 = l_Lean_Syntax_getArg(x_2532, x_2515); -lean_dec(x_2532); -x_2536 = l_Lean_Syntax_getArg(x_2535, x_2521); -lean_dec(x_2535); -x_2537 = l_Lean_Syntax_getArg(x_2536, x_2515); -lean_dec(x_2536); -lean_inc(x_2); -x_2538 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2537, x_2, x_3); -if (lean_obj_tag(x_2538) == 0) -{ -lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; uint8_t x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; uint8_t x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; -x_2539 = lean_ctor_get(x_2538, 0); -lean_inc(x_2539); -x_2540 = lean_ctor_get(x_2538, 1); -lean_inc(x_2540); -lean_dec(x_2538); -x_2541 = l_Lean_Elab_Term_getLCtx(x_2, x_2540); -x_2542 = lean_ctor_get(x_2541, 0); -lean_inc(x_2542); -x_2543 = lean_ctor_get(x_2541, 1); -lean_inc(x_2543); -lean_dec(x_2541); -x_2544 = 0; -lean_inc_n(x_2534, 2); -x_2545 = lean_local_ctx_mk_local_decl(x_2542, x_2534, x_2534, x_2539, x_2544); -x_2546 = l_Array_eraseIdx___rarg(x_2517, x_2521); -x_2547 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2543); -x_2548 = lean_ctor_get(x_2547, 1); -lean_inc(x_2548); -lean_dec(x_2547); -x_2549 = lean_name_mk_string(x_2526, x_2323); -x_2550 = l_Lean_nullKind___closed__1; -x_2551 = lean_name_mk_string(x_117, x_2550); -x_2552 = l_Array_empty___closed__1; -x_2553 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2546, x_2546, x_2521, x_2552); -lean_dec(x_2546); -x_2554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2554, 0, x_2551); -lean_ctor_set(x_2554, 1, x_2553); -x_2555 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2556 = lean_array_push(x_2555, x_2554); -x_2557 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2558 = lean_array_push(x_2556, x_2557); -x_2559 = lean_array_push(x_2558, x_2519); -x_2560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2560, 0, x_2549); -lean_ctor_set(x_2560, 1, x_2559); -x_2561 = lean_ctor_get(x_2, 0); -lean_inc(x_2561); -x_2562 = lean_ctor_get(x_2, 1); -lean_inc(x_2562); -x_2563 = lean_ctor_get(x_2, 2); -lean_inc(x_2563); -x_2564 = lean_ctor_get(x_2, 3); -lean_inc(x_2564); -x_2565 = lean_ctor_get(x_2, 4); -lean_inc(x_2565); -x_2566 = lean_ctor_get(x_2, 5); -lean_inc(x_2566); -x_2567 = lean_ctor_get(x_2, 6); -lean_inc(x_2567); -x_2568 = lean_ctor_get(x_2, 7); -lean_inc(x_2568); -x_2569 = lean_ctor_get(x_2, 8); -lean_inc(x_2569); -x_2570 = lean_ctor_get(x_2, 9); -lean_inc(x_2570); -x_2571 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2437 = lean_ctor_get(x_2, 8); +lean_inc(x_2437); +x_2438 = lean_ctor_get(x_2, 9); +lean_inc(x_2438); +x_2439 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -23657,941 +23091,941 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2572 = x_2; + x_2440 = x_2; } else { lean_dec_ref(x_2); - x_2572 = lean_box(0); + x_2440 = lean_box(0); } -x_2573 = lean_ctor_get(x_2561, 0); -lean_inc(x_2573); -x_2574 = lean_ctor_get(x_2561, 2); -lean_inc(x_2574); -x_2575 = lean_ctor_get(x_2561, 3); -lean_inc(x_2575); -x_2576 = lean_ctor_get(x_2561, 4); -lean_inc(x_2576); +x_2441 = lean_ctor_get(x_2429, 0); +lean_inc(x_2441); +x_2442 = lean_ctor_get(x_2429, 2); +lean_inc(x_2442); +x_2443 = lean_ctor_get(x_2429, 3); +lean_inc(x_2443); +x_2444 = lean_ctor_get(x_2429, 4); +lean_inc(x_2444); +if (lean_is_exclusive(x_2429)) { + lean_ctor_release(x_2429, 0); + lean_ctor_release(x_2429, 1); + lean_ctor_release(x_2429, 2); + lean_ctor_release(x_2429, 3); + lean_ctor_release(x_2429, 4); + x_2445 = x_2429; +} else { + lean_dec_ref(x_2429); + x_2445 = lean_box(0); +} +lean_inc(x_2413); +if (lean_is_scalar(x_2445)) { + x_2446 = lean_alloc_ctor(0, 5, 0); +} else { + x_2446 = x_2445; +} +lean_ctor_set(x_2446, 0, x_2441); +lean_ctor_set(x_2446, 1, x_2413); +lean_ctor_set(x_2446, 2, x_2442); +lean_ctor_set(x_2446, 3, x_2443); +lean_ctor_set(x_2446, 4, x_2444); +if (lean_is_scalar(x_2440)) { + x_2447 = lean_alloc_ctor(0, 10, 1); +} else { + x_2447 = x_2440; +} +lean_ctor_set(x_2447, 0, x_2446); +lean_ctor_set(x_2447, 1, x_2430); +lean_ctor_set(x_2447, 2, x_2431); +lean_ctor_set(x_2447, 3, x_2432); +lean_ctor_set(x_2447, 4, x_2433); +lean_ctor_set(x_2447, 5, x_2434); +lean_ctor_set(x_2447, 6, x_2435); +lean_ctor_set(x_2447, 7, x_2436); +lean_ctor_set(x_2447, 8, x_2437); +lean_ctor_set(x_2447, 9, x_2438); +lean_ctor_set_uint8(x_2447, sizeof(void*)*10, x_2439); +x_2448 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2428, x_2447, x_2416); +if (lean_obj_tag(x_2448) == 0) +{ +lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; +x_2449 = lean_ctor_get(x_2448, 0); +lean_inc(x_2449); +x_2450 = lean_ctor_get(x_2448, 1); +lean_inc(x_2450); +if (lean_is_exclusive(x_2448)) { + lean_ctor_release(x_2448, 0); + lean_ctor_release(x_2448, 1); + x_2451 = x_2448; +} else { + lean_dec_ref(x_2448); + x_2451 = lean_box(0); +} +x_2452 = l_Lean_mkFVar(x_2402); +x_2453 = l_Lean_FileMap_ofString___closed__1; +x_2454 = lean_array_push(x_2453, x_2452); +x_2455 = l_Lean_LocalContext_mkLambda(x_2413, x_2454, x_2449); +lean_dec(x_2449); +lean_dec(x_2454); +if (lean_is_scalar(x_2451)) { + x_2456 = lean_alloc_ctor(0, 2, 0); +} else { + x_2456 = x_2451; +} +lean_ctor_set(x_2456, 0, x_2455); +lean_ctor_set(x_2456, 1, x_2450); +return x_2456; +} +else +{ +lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; +lean_dec(x_2413); +lean_dec(x_2402); +x_2457 = lean_ctor_get(x_2448, 0); +lean_inc(x_2457); +x_2458 = lean_ctor_get(x_2448, 1); +lean_inc(x_2458); +if (lean_is_exclusive(x_2448)) { + lean_ctor_release(x_2448, 0); + lean_ctor_release(x_2448, 1); + x_2459 = x_2448; +} else { + lean_dec_ref(x_2448); + x_2459 = lean_box(0); +} +if (lean_is_scalar(x_2459)) { + x_2460 = lean_alloc_ctor(1, 2, 0); +} else { + x_2460 = x_2459; +} +lean_ctor_set(x_2460, 0, x_2457); +lean_ctor_set(x_2460, 1, x_2458); +return x_2460; +} +} +else +{ +lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; +lean_dec(x_2402); +lean_dec(x_2394); +lean_dec(x_2387); +lean_dec(x_2385); +lean_dec(x_2); +x_2461 = lean_ctor_get(x_2406, 0); +lean_inc(x_2461); +x_2462 = lean_ctor_get(x_2406, 1); +lean_inc(x_2462); +if (lean_is_exclusive(x_2406)) { + lean_ctor_release(x_2406, 0); + lean_ctor_release(x_2406, 1); + x_2463 = x_2406; +} else { + lean_dec_ref(x_2406); + x_2463 = lean_box(0); +} +if (lean_is_scalar(x_2463)) { + x_2464 = lean_alloc_ctor(1, 2, 0); +} else { + x_2464 = x_2463; +} +lean_ctor_set(x_2464, 0, x_2461); +lean_ctor_set(x_2464, 1, x_2462); +return x_2464; +} +} +else +{ +lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; uint8_t x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; uint8_t x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; +lean_dec(x_2391); +x_2465 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_2466 = lean_name_mk_string(x_117, x_2465); +x_2467 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2468 = lean_ctor_get(x_2467, 0); +lean_inc(x_2468); +x_2469 = lean_ctor_get(x_2467, 1); +lean_inc(x_2469); +lean_dec(x_2467); +x_2470 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_2471 = 0; +lean_inc_n(x_2466, 2); +x_2472 = lean_local_ctx_mk_local_decl(x_2468, x_2466, x_2466, x_2470, x_2471); +x_2473 = l_Array_eraseIdx___rarg(x_2385, x_2389); +x_2474 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2469); +x_2475 = lean_ctor_get(x_2474, 1); +lean_inc(x_2475); +lean_dec(x_2474); +x_2476 = lean_name_mk_string(x_2394, x_2217); +x_2477 = l_Lean_nullKind___closed__1; +x_2478 = lean_name_mk_string(x_117, x_2477); +x_2479 = l_Array_empty___closed__1; +x_2480 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2473, x_2473, x_2389, x_2479); +lean_dec(x_2473); +x_2481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2481, 0, x_2478); +lean_ctor_set(x_2481, 1, x_2480); +x_2482 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2483 = lean_array_push(x_2482, x_2481); +x_2484 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2485 = lean_array_push(x_2483, x_2484); +x_2486 = lean_array_push(x_2485, x_2387); +x_2487 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2487, 0, x_2476); +lean_ctor_set(x_2487, 1, x_2486); +x_2488 = lean_ctor_get(x_2, 0); +lean_inc(x_2488); +x_2489 = lean_ctor_get(x_2, 1); +lean_inc(x_2489); +x_2490 = lean_ctor_get(x_2, 2); +lean_inc(x_2490); +x_2491 = lean_ctor_get(x_2, 3); +lean_inc(x_2491); +x_2492 = lean_ctor_get(x_2, 4); +lean_inc(x_2492); +x_2493 = lean_ctor_get(x_2, 5); +lean_inc(x_2493); +x_2494 = lean_ctor_get(x_2, 6); +lean_inc(x_2494); +x_2495 = lean_ctor_get(x_2, 7); +lean_inc(x_2495); +x_2496 = lean_ctor_get(x_2, 8); +lean_inc(x_2496); +x_2497 = lean_ctor_get(x_2, 9); +lean_inc(x_2497); +x_2498 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2499 = x_2; +} else { + lean_dec_ref(x_2); + x_2499 = lean_box(0); +} +x_2500 = lean_ctor_get(x_2488, 0); +lean_inc(x_2500); +x_2501 = lean_ctor_get(x_2488, 2); +lean_inc(x_2501); +x_2502 = lean_ctor_get(x_2488, 3); +lean_inc(x_2502); +x_2503 = lean_ctor_get(x_2488, 4); +lean_inc(x_2503); +if (lean_is_exclusive(x_2488)) { + lean_ctor_release(x_2488, 0); + lean_ctor_release(x_2488, 1); + lean_ctor_release(x_2488, 2); + lean_ctor_release(x_2488, 3); + lean_ctor_release(x_2488, 4); + x_2504 = x_2488; +} else { + lean_dec_ref(x_2488); + x_2504 = lean_box(0); +} +lean_inc(x_2472); +if (lean_is_scalar(x_2504)) { + x_2505 = lean_alloc_ctor(0, 5, 0); +} else { + x_2505 = x_2504; +} +lean_ctor_set(x_2505, 0, x_2500); +lean_ctor_set(x_2505, 1, x_2472); +lean_ctor_set(x_2505, 2, x_2501); +lean_ctor_set(x_2505, 3, x_2502); +lean_ctor_set(x_2505, 4, x_2503); +if (lean_is_scalar(x_2499)) { + x_2506 = lean_alloc_ctor(0, 10, 1); +} else { + x_2506 = x_2499; +} +lean_ctor_set(x_2506, 0, x_2505); +lean_ctor_set(x_2506, 1, x_2489); +lean_ctor_set(x_2506, 2, x_2490); +lean_ctor_set(x_2506, 3, x_2491); +lean_ctor_set(x_2506, 4, x_2492); +lean_ctor_set(x_2506, 5, x_2493); +lean_ctor_set(x_2506, 6, x_2494); +lean_ctor_set(x_2506, 7, x_2495); +lean_ctor_set(x_2506, 8, x_2496); +lean_ctor_set(x_2506, 9, x_2497); +lean_ctor_set_uint8(x_2506, sizeof(void*)*10, x_2498); +x_2507 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2487, x_2506, x_2475); +if (lean_obj_tag(x_2507) == 0) +{ +lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; +x_2508 = lean_ctor_get(x_2507, 0); +lean_inc(x_2508); +x_2509 = lean_ctor_get(x_2507, 1); +lean_inc(x_2509); +if (lean_is_exclusive(x_2507)) { + lean_ctor_release(x_2507, 0); + lean_ctor_release(x_2507, 1); + x_2510 = x_2507; +} else { + lean_dec_ref(x_2507); + x_2510 = lean_box(0); +} +x_2511 = l_Lean_mkFVar(x_2466); +x_2512 = l_Lean_FileMap_ofString___closed__1; +x_2513 = lean_array_push(x_2512, x_2511); +x_2514 = l_Lean_LocalContext_mkLambda(x_2472, x_2513, x_2508); +lean_dec(x_2508); +lean_dec(x_2513); +if (lean_is_scalar(x_2510)) { + x_2515 = lean_alloc_ctor(0, 2, 0); +} else { + x_2515 = x_2510; +} +lean_ctor_set(x_2515, 0, x_2514); +lean_ctor_set(x_2515, 1, x_2509); +return x_2515; +} +else +{ +lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; +lean_dec(x_2472); +lean_dec(x_2466); +x_2516 = lean_ctor_get(x_2507, 0); +lean_inc(x_2516); +x_2517 = lean_ctor_get(x_2507, 1); +lean_inc(x_2517); +if (lean_is_exclusive(x_2507)) { + lean_ctor_release(x_2507, 0); + lean_ctor_release(x_2507, 1); + x_2518 = x_2507; +} else { + lean_dec_ref(x_2507); + x_2518 = lean_box(0); +} +if (lean_is_scalar(x_2518)) { + x_2519 = lean_alloc_ctor(1, 2, 0); +} else { + x_2519 = x_2518; +} +lean_ctor_set(x_2519, 0, x_2516); +lean_ctor_set(x_2519, 1, x_2517); +return x_2519; +} +} +} +else +{ +lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; uint8_t x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; uint8_t x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; +x_2520 = l_Lean_Syntax_getIdAt(x_2391, x_2389); +lean_dec(x_2391); +x_2521 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2522 = lean_ctor_get(x_2521, 0); +lean_inc(x_2522); +x_2523 = lean_ctor_get(x_2521, 1); +lean_inc(x_2523); +lean_dec(x_2521); +x_2524 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_2525 = 0; +lean_inc_n(x_2520, 2); +x_2526 = lean_local_ctx_mk_local_decl(x_2522, x_2520, x_2520, x_2524, x_2525); +x_2527 = l_Array_eraseIdx___rarg(x_2385, x_2389); +x_2528 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2523); +x_2529 = lean_ctor_get(x_2528, 1); +lean_inc(x_2529); +lean_dec(x_2528); +x_2530 = lean_name_mk_string(x_2394, x_2217); +x_2531 = l_Lean_nullKind___closed__1; +x_2532 = lean_name_mk_string(x_117, x_2531); +x_2533 = l_Array_empty___closed__1; +x_2534 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2527, x_2527, x_2389, x_2533); +lean_dec(x_2527); +x_2535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2535, 0, x_2532); +lean_ctor_set(x_2535, 1, x_2534); +x_2536 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2537 = lean_array_push(x_2536, x_2535); +x_2538 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2539 = lean_array_push(x_2537, x_2538); +x_2540 = lean_array_push(x_2539, x_2387); +x_2541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2541, 0, x_2530); +lean_ctor_set(x_2541, 1, x_2540); +x_2542 = lean_ctor_get(x_2, 0); +lean_inc(x_2542); +x_2543 = lean_ctor_get(x_2, 1); +lean_inc(x_2543); +x_2544 = lean_ctor_get(x_2, 2); +lean_inc(x_2544); +x_2545 = lean_ctor_get(x_2, 3); +lean_inc(x_2545); +x_2546 = lean_ctor_get(x_2, 4); +lean_inc(x_2546); +x_2547 = lean_ctor_get(x_2, 5); +lean_inc(x_2547); +x_2548 = lean_ctor_get(x_2, 6); +lean_inc(x_2548); +x_2549 = lean_ctor_get(x_2, 7); +lean_inc(x_2549); +x_2550 = lean_ctor_get(x_2, 8); +lean_inc(x_2550); +x_2551 = lean_ctor_get(x_2, 9); +lean_inc(x_2551); +x_2552 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2553 = x_2; +} else { + lean_dec_ref(x_2); + x_2553 = lean_box(0); +} +x_2554 = lean_ctor_get(x_2542, 0); +lean_inc(x_2554); +x_2555 = lean_ctor_get(x_2542, 2); +lean_inc(x_2555); +x_2556 = lean_ctor_get(x_2542, 3); +lean_inc(x_2556); +x_2557 = lean_ctor_get(x_2542, 4); +lean_inc(x_2557); +if (lean_is_exclusive(x_2542)) { + lean_ctor_release(x_2542, 0); + lean_ctor_release(x_2542, 1); + lean_ctor_release(x_2542, 2); + lean_ctor_release(x_2542, 3); + lean_ctor_release(x_2542, 4); + x_2558 = x_2542; +} else { + lean_dec_ref(x_2542); + x_2558 = lean_box(0); +} +lean_inc(x_2526); +if (lean_is_scalar(x_2558)) { + x_2559 = lean_alloc_ctor(0, 5, 0); +} else { + x_2559 = x_2558; +} +lean_ctor_set(x_2559, 0, x_2554); +lean_ctor_set(x_2559, 1, x_2526); +lean_ctor_set(x_2559, 2, x_2555); +lean_ctor_set(x_2559, 3, x_2556); +lean_ctor_set(x_2559, 4, x_2557); +if (lean_is_scalar(x_2553)) { + x_2560 = lean_alloc_ctor(0, 10, 1); +} else { + x_2560 = x_2553; +} +lean_ctor_set(x_2560, 0, x_2559); +lean_ctor_set(x_2560, 1, x_2543); +lean_ctor_set(x_2560, 2, x_2544); +lean_ctor_set(x_2560, 3, x_2545); +lean_ctor_set(x_2560, 4, x_2546); +lean_ctor_set(x_2560, 5, x_2547); +lean_ctor_set(x_2560, 6, x_2548); +lean_ctor_set(x_2560, 7, x_2549); +lean_ctor_set(x_2560, 8, x_2550); +lean_ctor_set(x_2560, 9, x_2551); +lean_ctor_set_uint8(x_2560, sizeof(void*)*10, x_2552); +x_2561 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2541, x_2560, x_2529); +if (lean_obj_tag(x_2561) == 0) +{ +lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; +x_2562 = lean_ctor_get(x_2561, 0); +lean_inc(x_2562); +x_2563 = lean_ctor_get(x_2561, 1); +lean_inc(x_2563); if (lean_is_exclusive(x_2561)) { lean_ctor_release(x_2561, 0); lean_ctor_release(x_2561, 1); - lean_ctor_release(x_2561, 2); - lean_ctor_release(x_2561, 3); - lean_ctor_release(x_2561, 4); - x_2577 = x_2561; + x_2564 = x_2561; } else { lean_dec_ref(x_2561); - x_2577 = lean_box(0); + x_2564 = lean_box(0); } -lean_inc(x_2545); -if (lean_is_scalar(x_2577)) { - x_2578 = lean_alloc_ctor(0, 5, 0); +x_2565 = l_Lean_mkFVar(x_2520); +x_2566 = l_Lean_FileMap_ofString___closed__1; +x_2567 = lean_array_push(x_2566, x_2565); +x_2568 = l_Lean_LocalContext_mkLambda(x_2526, x_2567, x_2562); +lean_dec(x_2562); +lean_dec(x_2567); +if (lean_is_scalar(x_2564)) { + x_2569 = lean_alloc_ctor(0, 2, 0); } else { - x_2578 = x_2577; + x_2569 = x_2564; } -lean_ctor_set(x_2578, 0, x_2573); -lean_ctor_set(x_2578, 1, x_2545); -lean_ctor_set(x_2578, 2, x_2574); -lean_ctor_set(x_2578, 3, x_2575); -lean_ctor_set(x_2578, 4, x_2576); -if (lean_is_scalar(x_2572)) { - x_2579 = lean_alloc_ctor(0, 10, 1); -} else { - x_2579 = x_2572; -} -lean_ctor_set(x_2579, 0, x_2578); -lean_ctor_set(x_2579, 1, x_2562); -lean_ctor_set(x_2579, 2, x_2563); -lean_ctor_set(x_2579, 3, x_2564); -lean_ctor_set(x_2579, 4, x_2565); -lean_ctor_set(x_2579, 5, x_2566); -lean_ctor_set(x_2579, 6, x_2567); -lean_ctor_set(x_2579, 7, x_2568); -lean_ctor_set(x_2579, 8, x_2569); -lean_ctor_set(x_2579, 9, x_2570); -lean_ctor_set_uint8(x_2579, sizeof(void*)*10, x_2571); -x_2580 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2560, x_2579, x_2548); -if (lean_obj_tag(x_2580) == 0) -{ -lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; -x_2581 = lean_ctor_get(x_2580, 0); -lean_inc(x_2581); -x_2582 = lean_ctor_get(x_2580, 1); -lean_inc(x_2582); -if (lean_is_exclusive(x_2580)) { - lean_ctor_release(x_2580, 0); - lean_ctor_release(x_2580, 1); - x_2583 = x_2580; -} else { - lean_dec_ref(x_2580); - x_2583 = lean_box(0); -} -x_2584 = l_Lean_mkFVar(x_2534); -x_2585 = l_Lean_FileMap_ofString___closed__1; -x_2586 = lean_array_push(x_2585, x_2584); -x_2587 = l_Lean_LocalContext_mkLambda(x_2545, x_2586, x_2581); -lean_dec(x_2581); -lean_dec(x_2586); -if (lean_is_scalar(x_2583)) { - x_2588 = lean_alloc_ctor(0, 2, 0); -} else { - x_2588 = x_2583; -} -lean_ctor_set(x_2588, 0, x_2587); -lean_ctor_set(x_2588, 1, x_2582); -return x_2588; +lean_ctor_set(x_2569, 0, x_2568); +lean_ctor_set(x_2569, 1, x_2563); +return x_2569; } else { -lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; -lean_dec(x_2545); -lean_dec(x_2534); -x_2589 = lean_ctor_get(x_2580, 0); -lean_inc(x_2589); -x_2590 = lean_ctor_get(x_2580, 1); -lean_inc(x_2590); -if (lean_is_exclusive(x_2580)) { - lean_ctor_release(x_2580, 0); - lean_ctor_release(x_2580, 1); - x_2591 = x_2580; -} else { - lean_dec_ref(x_2580); - x_2591 = lean_box(0); -} -if (lean_is_scalar(x_2591)) { - x_2592 = lean_alloc_ctor(1, 2, 0); -} else { - x_2592 = x_2591; -} -lean_ctor_set(x_2592, 0, x_2589); -lean_ctor_set(x_2592, 1, x_2590); -return x_2592; -} -} -else -{ -lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; -lean_dec(x_2534); +lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_dec(x_2526); -lean_dec(x_2519); -lean_dec(x_2517); -lean_dec(x_2); -x_2593 = lean_ctor_get(x_2538, 0); -lean_inc(x_2593); -x_2594 = lean_ctor_get(x_2538, 1); -lean_inc(x_2594); -if (lean_is_exclusive(x_2538)) { - lean_ctor_release(x_2538, 0); - lean_ctor_release(x_2538, 1); - x_2595 = x_2538; +lean_dec(x_2520); +x_2570 = lean_ctor_get(x_2561, 0); +lean_inc(x_2570); +x_2571 = lean_ctor_get(x_2561, 1); +lean_inc(x_2571); +if (lean_is_exclusive(x_2561)) { + lean_ctor_release(x_2561, 0); + lean_ctor_release(x_2561, 1); + x_2572 = x_2561; } else { - lean_dec_ref(x_2538); - x_2595 = lean_box(0); + lean_dec_ref(x_2561); + x_2572 = lean_box(0); } -if (lean_is_scalar(x_2595)) { - x_2596 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2572)) { + x_2573 = lean_alloc_ctor(1, 2, 0); } else { - x_2596 = x_2595; + x_2573 = x_2572; } -lean_ctor_set(x_2596, 0, x_2593); -lean_ctor_set(x_2596, 1, x_2594); -return x_2596; -} -} -else -{ -lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; uint8_t x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; uint8_t x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; -lean_dec(x_2523); -x_2597 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_2598 = lean_name_mk_string(x_117, x_2597); -x_2599 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2600 = lean_ctor_get(x_2599, 0); -lean_inc(x_2600); -x_2601 = lean_ctor_get(x_2599, 1); -lean_inc(x_2601); -lean_dec(x_2599); -x_2602 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2603 = 0; -lean_inc_n(x_2598, 2); -x_2604 = lean_local_ctx_mk_local_decl(x_2600, x_2598, x_2598, x_2602, x_2603); -x_2605 = l_Array_eraseIdx___rarg(x_2517, x_2521); -x_2606 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2601); -x_2607 = lean_ctor_get(x_2606, 1); -lean_inc(x_2607); -lean_dec(x_2606); -x_2608 = lean_name_mk_string(x_2526, x_2323); -x_2609 = l_Lean_nullKind___closed__1; -x_2610 = lean_name_mk_string(x_117, x_2609); -x_2611 = l_Array_empty___closed__1; -x_2612 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2605, x_2605, x_2521, x_2611); -lean_dec(x_2605); -x_2613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2613, 0, x_2610); -lean_ctor_set(x_2613, 1, x_2612); -x_2614 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2615 = lean_array_push(x_2614, x_2613); -x_2616 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2617 = lean_array_push(x_2615, x_2616); -x_2618 = lean_array_push(x_2617, x_2519); -x_2619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2619, 0, x_2608); -lean_ctor_set(x_2619, 1, x_2618); -x_2620 = lean_ctor_get(x_2, 0); -lean_inc(x_2620); -x_2621 = lean_ctor_get(x_2, 1); -lean_inc(x_2621); -x_2622 = lean_ctor_get(x_2, 2); -lean_inc(x_2622); -x_2623 = lean_ctor_get(x_2, 3); -lean_inc(x_2623); -x_2624 = lean_ctor_get(x_2, 4); -lean_inc(x_2624); -x_2625 = lean_ctor_get(x_2, 5); -lean_inc(x_2625); -x_2626 = lean_ctor_get(x_2, 6); -lean_inc(x_2626); -x_2627 = lean_ctor_get(x_2, 7); -lean_inc(x_2627); -x_2628 = lean_ctor_get(x_2, 8); -lean_inc(x_2628); -x_2629 = lean_ctor_get(x_2, 9); -lean_inc(x_2629); -x_2630 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2631 = x_2; -} else { - lean_dec_ref(x_2); - x_2631 = lean_box(0); -} -x_2632 = lean_ctor_get(x_2620, 0); -lean_inc(x_2632); -x_2633 = lean_ctor_get(x_2620, 2); -lean_inc(x_2633); -x_2634 = lean_ctor_get(x_2620, 3); -lean_inc(x_2634); -x_2635 = lean_ctor_get(x_2620, 4); -lean_inc(x_2635); -if (lean_is_exclusive(x_2620)) { - lean_ctor_release(x_2620, 0); - lean_ctor_release(x_2620, 1); - lean_ctor_release(x_2620, 2); - lean_ctor_release(x_2620, 3); - lean_ctor_release(x_2620, 4); - x_2636 = x_2620; -} else { - lean_dec_ref(x_2620); - x_2636 = lean_box(0); -} -lean_inc(x_2604); -if (lean_is_scalar(x_2636)) { - x_2637 = lean_alloc_ctor(0, 5, 0); -} else { - x_2637 = x_2636; -} -lean_ctor_set(x_2637, 0, x_2632); -lean_ctor_set(x_2637, 1, x_2604); -lean_ctor_set(x_2637, 2, x_2633); -lean_ctor_set(x_2637, 3, x_2634); -lean_ctor_set(x_2637, 4, x_2635); -if (lean_is_scalar(x_2631)) { - x_2638 = lean_alloc_ctor(0, 10, 1); -} else { - x_2638 = x_2631; -} -lean_ctor_set(x_2638, 0, x_2637); -lean_ctor_set(x_2638, 1, x_2621); -lean_ctor_set(x_2638, 2, x_2622); -lean_ctor_set(x_2638, 3, x_2623); -lean_ctor_set(x_2638, 4, x_2624); -lean_ctor_set(x_2638, 5, x_2625); -lean_ctor_set(x_2638, 6, x_2626); -lean_ctor_set(x_2638, 7, x_2627); -lean_ctor_set(x_2638, 8, x_2628); -lean_ctor_set(x_2638, 9, x_2629); -lean_ctor_set_uint8(x_2638, sizeof(void*)*10, x_2630); -x_2639 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2619, x_2638, x_2607); -if (lean_obj_tag(x_2639) == 0) -{ -lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; -x_2640 = lean_ctor_get(x_2639, 0); -lean_inc(x_2640); -x_2641 = lean_ctor_get(x_2639, 1); -lean_inc(x_2641); -if (lean_is_exclusive(x_2639)) { - lean_ctor_release(x_2639, 0); - lean_ctor_release(x_2639, 1); - x_2642 = x_2639; -} else { - lean_dec_ref(x_2639); - x_2642 = lean_box(0); -} -x_2643 = l_Lean_mkFVar(x_2598); -x_2644 = l_Lean_FileMap_ofString___closed__1; -x_2645 = lean_array_push(x_2644, x_2643); -x_2646 = l_Lean_LocalContext_mkLambda(x_2604, x_2645, x_2640); -lean_dec(x_2640); -lean_dec(x_2645); -if (lean_is_scalar(x_2642)) { - x_2647 = lean_alloc_ctor(0, 2, 0); -} else { - x_2647 = x_2642; -} -lean_ctor_set(x_2647, 0, x_2646); -lean_ctor_set(x_2647, 1, x_2641); -return x_2647; -} -else -{ -lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; -lean_dec(x_2604); -lean_dec(x_2598); -x_2648 = lean_ctor_get(x_2639, 0); -lean_inc(x_2648); -x_2649 = lean_ctor_get(x_2639, 1); -lean_inc(x_2649); -if (lean_is_exclusive(x_2639)) { - lean_ctor_release(x_2639, 0); - lean_ctor_release(x_2639, 1); - x_2650 = x_2639; -} else { - lean_dec_ref(x_2639); - x_2650 = lean_box(0); -} -if (lean_is_scalar(x_2650)) { - x_2651 = lean_alloc_ctor(1, 2, 0); -} else { - x_2651 = x_2650; -} -lean_ctor_set(x_2651, 0, x_2648); -lean_ctor_set(x_2651, 1, x_2649); -return x_2651; +lean_ctor_set(x_2573, 0, x_2570); +lean_ctor_set(x_2573, 1, x_2571); +return x_2573; } } } else { -lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; uint8_t x_2657; lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; uint8_t x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; -x_2652 = l_Lean_Syntax_getIdAt(x_2523, x_2521); -lean_dec(x_2523); -x_2653 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2654 = lean_ctor_get(x_2653, 0); -lean_inc(x_2654); -x_2655 = lean_ctor_get(x_2653, 1); -lean_inc(x_2655); -lean_dec(x_2653); -x_2656 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2657 = 0; -lean_inc_n(x_2652, 2); -x_2658 = lean_local_ctx_mk_local_decl(x_2654, x_2652, x_2652, x_2656, x_2657); -x_2659 = l_Array_eraseIdx___rarg(x_2517, x_2521); -x_2660 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2655); -x_2661 = lean_ctor_get(x_2660, 1); -lean_inc(x_2661); -lean_dec(x_2660); -x_2662 = lean_name_mk_string(x_2526, x_2323); -x_2663 = l_Lean_nullKind___closed__1; -x_2664 = lean_name_mk_string(x_117, x_2663); -x_2665 = l_Array_empty___closed__1; -x_2666 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2659, x_2659, x_2521, x_2665); -lean_dec(x_2659); -x_2667 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2667, 0, x_2664); -lean_ctor_set(x_2667, 1, x_2666); -x_2668 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2669 = lean_array_push(x_2668, x_2667); -x_2670 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2671 = lean_array_push(x_2669, x_2670); -x_2672 = lean_array_push(x_2671, x_2519); -x_2673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2673, 0, x_2662); -lean_ctor_set(x_2673, 1, x_2672); -x_2674 = lean_ctor_get(x_2, 0); -lean_inc(x_2674); -x_2675 = lean_ctor_get(x_2, 1); -lean_inc(x_2675); -x_2676 = lean_ctor_get(x_2, 2); -lean_inc(x_2676); -x_2677 = lean_ctor_get(x_2, 3); -lean_inc(x_2677); -x_2678 = lean_ctor_get(x_2, 4); -lean_inc(x_2678); -x_2679 = lean_ctor_get(x_2, 5); -lean_inc(x_2679); -x_2680 = lean_ctor_get(x_2, 6); -lean_inc(x_2680); -x_2681 = lean_ctor_get(x_2, 7); -lean_inc(x_2681); -x_2682 = lean_ctor_get(x_2, 8); -lean_inc(x_2682); -x_2683 = lean_ctor_get(x_2, 9); -lean_inc(x_2683); -x_2684 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2685 = x_2; -} else { - lean_dec_ref(x_2); - x_2685 = lean_box(0); -} -x_2686 = lean_ctor_get(x_2674, 0); -lean_inc(x_2686); -x_2687 = lean_ctor_get(x_2674, 2); -lean_inc(x_2687); -x_2688 = lean_ctor_get(x_2674, 3); -lean_inc(x_2688); -x_2689 = lean_ctor_get(x_2674, 4); -lean_inc(x_2689); -if (lean_is_exclusive(x_2674)) { - lean_ctor_release(x_2674, 0); - lean_ctor_release(x_2674, 1); - lean_ctor_release(x_2674, 2); - lean_ctor_release(x_2674, 3); - lean_ctor_release(x_2674, 4); - x_2690 = x_2674; -} else { - lean_dec_ref(x_2674); - x_2690 = lean_box(0); -} -lean_inc(x_2658); -if (lean_is_scalar(x_2690)) { - x_2691 = lean_alloc_ctor(0, 5, 0); -} else { - x_2691 = x_2690; -} -lean_ctor_set(x_2691, 0, x_2686); -lean_ctor_set(x_2691, 1, x_2658); -lean_ctor_set(x_2691, 2, x_2687); -lean_ctor_set(x_2691, 3, x_2688); -lean_ctor_set(x_2691, 4, x_2689); -if (lean_is_scalar(x_2685)) { - x_2692 = lean_alloc_ctor(0, 10, 1); -} else { - x_2692 = x_2685; -} -lean_ctor_set(x_2692, 0, x_2691); -lean_ctor_set(x_2692, 1, x_2675); -lean_ctor_set(x_2692, 2, x_2676); -lean_ctor_set(x_2692, 3, x_2677); -lean_ctor_set(x_2692, 4, x_2678); -lean_ctor_set(x_2692, 5, x_2679); -lean_ctor_set(x_2692, 6, x_2680); -lean_ctor_set(x_2692, 7, x_2681); -lean_ctor_set(x_2692, 8, x_2682); -lean_ctor_set(x_2692, 9, x_2683); -lean_ctor_set_uint8(x_2692, sizeof(void*)*10, x_2684); -x_2693 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2673, x_2692, x_2661); -if (lean_obj_tag(x_2693) == 0) -{ -lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; -x_2694 = lean_ctor_get(x_2693, 0); -lean_inc(x_2694); -x_2695 = lean_ctor_get(x_2693, 1); -lean_inc(x_2695); -if (lean_is_exclusive(x_2693)) { - lean_ctor_release(x_2693, 0); - lean_ctor_release(x_2693, 1); - x_2696 = x_2693; -} else { - lean_dec_ref(x_2693); - x_2696 = lean_box(0); -} -x_2697 = l_Lean_mkFVar(x_2652); -x_2698 = l_Lean_FileMap_ofString___closed__1; -x_2699 = lean_array_push(x_2698, x_2697); -x_2700 = l_Lean_LocalContext_mkLambda(x_2658, x_2699, x_2694); -lean_dec(x_2694); -lean_dec(x_2699); -if (lean_is_scalar(x_2696)) { - x_2701 = lean_alloc_ctor(0, 2, 0); -} else { - x_2701 = x_2696; -} -lean_ctor_set(x_2701, 0, x_2700); -lean_ctor_set(x_2701, 1, x_2695); -return x_2701; -} -else -{ -lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; -lean_dec(x_2658); -lean_dec(x_2652); -x_2702 = lean_ctor_get(x_2693, 0); -lean_inc(x_2702); -x_2703 = lean_ctor_get(x_2693, 1); -lean_inc(x_2703); -if (lean_is_exclusive(x_2693)) { - lean_ctor_release(x_2693, 0); - lean_ctor_release(x_2693, 1); - x_2704 = x_2693; -} else { - lean_dec_ref(x_2693); - x_2704 = lean_box(0); -} -if (lean_is_scalar(x_2704)) { - x_2705 = lean_alloc_ctor(1, 2, 0); -} else { - x_2705 = x_2704; -} -lean_ctor_set(x_2705, 0, x_2702); -lean_ctor_set(x_2705, 1, x_2703); -return x_2705; -} -} -} -else -{ -lean_dec(x_2517); -x_1 = x_2519; +lean_dec(x_2385); +x_1 = x_2387; goto _start; } } } else { -lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; -lean_dec(x_2294); -lean_dec(x_2290); -lean_dec(x_2287); +lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; +lean_dec(x_2188); +lean_dec(x_2184); +lean_dec(x_2181); lean_dec(x_118); -x_2707 = l_Lean_Syntax_inhabited; -x_2708 = lean_unsigned_to_nat(0u); -x_2709 = lean_array_get(x_2707, x_4, x_2708); +x_2575 = l_Lean_Syntax_inhabited; +x_2576 = lean_unsigned_to_nat(0u); +x_2577 = lean_array_get(x_2575, x_4, x_2576); lean_dec(x_4); -if (lean_obj_tag(x_2709) == 3) +if (lean_obj_tag(x_2577) == 3) { -lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; -x_2710 = lean_ctor_get(x_2709, 2); -lean_inc(x_2710); -x_2711 = lean_ctor_get(x_2709, 3); -lean_inc(x_2711); -lean_dec(x_2709); -x_2712 = lean_box(0); +lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; +x_2578 = lean_ctor_get(x_2577, 2); +lean_inc(x_2578); +x_2579 = lean_ctor_get(x_2577, 3); +lean_inc(x_2579); +lean_dec(x_2577); +x_2580 = lean_box(0); lean_inc(x_2); -x_2713 = l_Lean_Elab_Term_resolveName(x_1, x_2710, x_2711, x_2712, x_2, x_3); +x_2581 = l_Lean_Elab_Term_resolveName(x_1, x_2578, x_2579, x_2580, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_2713) == 0) +if (lean_obj_tag(x_2581) == 0) { -lean_object* x_2714; -x_2714 = lean_ctor_get(x_2713, 0); -lean_inc(x_2714); -if (lean_obj_tag(x_2714) == 0) +lean_object* x_2582; +x_2582 = lean_ctor_get(x_2581, 0); +lean_inc(x_2582); +if (lean_obj_tag(x_2582) == 0) { -lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; -x_2715 = lean_ctor_get(x_2713, 1); -lean_inc(x_2715); -lean_dec(x_2713); -x_2716 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2717 = l_unreachable_x21___rarg(x_2716); -x_2718 = lean_apply_2(x_2717, x_2, x_2715); -return x_2718; +lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; +x_2583 = lean_ctor_get(x_2581, 1); +lean_inc(x_2583); +lean_dec(x_2581); +x_2584 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2585 = l_unreachable_x21___rarg(x_2584); +x_2586 = lean_apply_2(x_2585, x_2, x_2583); +return x_2586; } else { -lean_object* x_2719; lean_object* x_2720; +lean_object* x_2587; lean_object* x_2588; lean_dec(x_2); -x_2719 = lean_ctor_get(x_2714, 0); -lean_inc(x_2719); -lean_dec(x_2714); -x_2720 = lean_ctor_get(x_2719, 0); -lean_inc(x_2720); -switch (lean_obj_tag(x_2720)) { +x_2587 = lean_ctor_get(x_2582, 0); +lean_inc(x_2587); +lean_dec(x_2582); +x_2588 = lean_ctor_get(x_2587, 0); +lean_inc(x_2588); +switch (lean_obj_tag(x_2588)) { case 0: { -lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; -x_2721 = lean_ctor_get(x_2713, 1); -lean_inc(x_2721); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2722 = x_2713; +lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; +x_2589 = lean_ctor_get(x_2581, 1); +lean_inc(x_2589); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2590 = x_2581; } else { - lean_dec_ref(x_2713); - x_2722 = lean_box(0); + lean_dec_ref(x_2581); + x_2590 = lean_box(0); } -x_2723 = lean_ctor_get(x_2719, 1); -lean_inc(x_2723); -lean_dec(x_2719); -x_2724 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_2720, x_2723); -if (lean_is_scalar(x_2722)) { - x_2725 = lean_alloc_ctor(0, 2, 0); +x_2591 = lean_ctor_get(x_2587, 1); +lean_inc(x_2591); +lean_dec(x_2587); +x_2592 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_2588, x_2591); +if (lean_is_scalar(x_2590)) { + x_2593 = lean_alloc_ctor(0, 2, 0); } else { - x_2725 = x_2722; + x_2593 = x_2590; } -lean_ctor_set(x_2725, 0, x_2724); -lean_ctor_set(x_2725, 1, x_2721); -return x_2725; +lean_ctor_set(x_2593, 0, x_2592); +lean_ctor_set(x_2593, 1, x_2589); +return x_2593; } case 1: { -lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; -x_2726 = lean_ctor_get(x_2713, 1); -lean_inc(x_2726); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2727 = x_2713; +lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; +x_2594 = lean_ctor_get(x_2581, 1); +lean_inc(x_2594); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2595 = x_2581; } else { - lean_dec_ref(x_2713); - x_2727 = lean_box(0); + lean_dec_ref(x_2581); + x_2595 = lean_box(0); } -x_2728 = lean_ctor_get(x_2719, 1); -lean_inc(x_2728); -lean_dec(x_2719); -x_2729 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_2720, x_2728); -if (lean_is_scalar(x_2727)) { - x_2730 = lean_alloc_ctor(0, 2, 0); +x_2596 = lean_ctor_get(x_2587, 1); +lean_inc(x_2596); +lean_dec(x_2587); +x_2597 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_2588, x_2596); +if (lean_is_scalar(x_2595)) { + x_2598 = lean_alloc_ctor(0, 2, 0); } else { - x_2730 = x_2727; + x_2598 = x_2595; } -lean_ctor_set(x_2730, 0, x_2729); -lean_ctor_set(x_2730, 1, x_2726); -return x_2730; +lean_ctor_set(x_2598, 0, x_2597); +lean_ctor_set(x_2598, 1, x_2594); +return x_2598; } case 2: { -lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; -x_2731 = lean_ctor_get(x_2713, 1); -lean_inc(x_2731); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2732 = x_2713; +lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; +x_2599 = lean_ctor_get(x_2581, 1); +lean_inc(x_2599); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2600 = x_2581; } else { - lean_dec_ref(x_2713); - x_2732 = lean_box(0); + lean_dec_ref(x_2581); + x_2600 = lean_box(0); } -x_2733 = lean_ctor_get(x_2719, 1); -lean_inc(x_2733); -lean_dec(x_2719); -x_2734 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_2720, x_2733); -if (lean_is_scalar(x_2732)) { - x_2735 = lean_alloc_ctor(0, 2, 0); +x_2601 = lean_ctor_get(x_2587, 1); +lean_inc(x_2601); +lean_dec(x_2587); +x_2602 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_2588, x_2601); +if (lean_is_scalar(x_2600)) { + x_2603 = lean_alloc_ctor(0, 2, 0); } else { - x_2735 = x_2732; + x_2603 = x_2600; } -lean_ctor_set(x_2735, 0, x_2734); -lean_ctor_set(x_2735, 1, x_2731); -return x_2735; +lean_ctor_set(x_2603, 0, x_2602); +lean_ctor_set(x_2603, 1, x_2599); +return x_2603; } case 3: { -lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; -x_2736 = lean_ctor_get(x_2713, 1); -lean_inc(x_2736); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2737 = x_2713; +lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; +x_2604 = lean_ctor_get(x_2581, 1); +lean_inc(x_2604); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2605 = x_2581; } else { - lean_dec_ref(x_2713); - x_2737 = lean_box(0); + lean_dec_ref(x_2581); + x_2605 = lean_box(0); } -x_2738 = lean_ctor_get(x_2719, 1); -lean_inc(x_2738); -lean_dec(x_2719); -x_2739 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_2720, x_2738); -if (lean_is_scalar(x_2737)) { - x_2740 = lean_alloc_ctor(0, 2, 0); +x_2606 = lean_ctor_get(x_2587, 1); +lean_inc(x_2606); +lean_dec(x_2587); +x_2607 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_2588, x_2606); +if (lean_is_scalar(x_2605)) { + x_2608 = lean_alloc_ctor(0, 2, 0); } else { - x_2740 = x_2737; + x_2608 = x_2605; } -lean_ctor_set(x_2740, 0, x_2739); -lean_ctor_set(x_2740, 1, x_2736); -return x_2740; +lean_ctor_set(x_2608, 0, x_2607); +lean_ctor_set(x_2608, 1, x_2604); +return x_2608; } case 4: { -lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; -x_2741 = lean_ctor_get(x_2713, 1); -lean_inc(x_2741); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2742 = x_2713; +lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; +x_2609 = lean_ctor_get(x_2581, 1); +lean_inc(x_2609); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2610 = x_2581; } else { - lean_dec_ref(x_2713); - x_2742 = lean_box(0); + lean_dec_ref(x_2581); + x_2610 = lean_box(0); } -x_2743 = lean_ctor_get(x_2719, 1); -lean_inc(x_2743); -lean_dec(x_2719); -x_2744 = lean_ctor_get(x_2720, 0); -lean_inc(x_2744); -lean_dec(x_2720); -x_2745 = l_Lean_mkConst(x_2744, x_2712); -x_2746 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_2745, x_2743); -if (lean_is_scalar(x_2742)) { - x_2747 = lean_alloc_ctor(0, 2, 0); +x_2611 = lean_ctor_get(x_2587, 1); +lean_inc(x_2611); +lean_dec(x_2587); +x_2612 = lean_ctor_get(x_2588, 0); +lean_inc(x_2612); +lean_dec(x_2588); +x_2613 = l_Lean_mkConst(x_2612, x_2580); +x_2614 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_2613, x_2611); +if (lean_is_scalar(x_2610)) { + x_2615 = lean_alloc_ctor(0, 2, 0); } else { - x_2747 = x_2742; + x_2615 = x_2610; } -lean_ctor_set(x_2747, 0, x_2746); -lean_ctor_set(x_2747, 1, x_2741); -return x_2747; +lean_ctor_set(x_2615, 0, x_2614); +lean_ctor_set(x_2615, 1, x_2609); +return x_2615; } case 5: { -lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; -x_2748 = lean_ctor_get(x_2713, 1); -lean_inc(x_2748); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2749 = x_2713; +lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; +x_2616 = lean_ctor_get(x_2581, 1); +lean_inc(x_2616); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2617 = x_2581; } else { - lean_dec_ref(x_2713); - x_2749 = lean_box(0); + lean_dec_ref(x_2581); + x_2617 = lean_box(0); } -x_2750 = lean_ctor_get(x_2719, 1); -lean_inc(x_2750); -lean_dec(x_2719); -x_2751 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_2720, x_2750); -if (lean_is_scalar(x_2749)) { - x_2752 = lean_alloc_ctor(0, 2, 0); +x_2618 = lean_ctor_get(x_2587, 1); +lean_inc(x_2618); +lean_dec(x_2587); +x_2619 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_2588, x_2618); +if (lean_is_scalar(x_2617)) { + x_2620 = lean_alloc_ctor(0, 2, 0); } else { - x_2752 = x_2749; + x_2620 = x_2617; } -lean_ctor_set(x_2752, 0, x_2751); -lean_ctor_set(x_2752, 1, x_2748); -return x_2752; +lean_ctor_set(x_2620, 0, x_2619); +lean_ctor_set(x_2620, 1, x_2616); +return x_2620; } case 6: { -lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; -x_2753 = lean_ctor_get(x_2713, 1); -lean_inc(x_2753); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2754 = x_2713; +lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; +x_2621 = lean_ctor_get(x_2581, 1); +lean_inc(x_2621); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2622 = x_2581; } else { - lean_dec_ref(x_2713); - x_2754 = lean_box(0); + lean_dec_ref(x_2581); + x_2622 = lean_box(0); } -x_2755 = lean_ctor_get(x_2719, 1); -lean_inc(x_2755); -lean_dec(x_2719); -x_2756 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_2720, x_2755); -if (lean_is_scalar(x_2754)) { - x_2757 = lean_alloc_ctor(0, 2, 0); +x_2623 = lean_ctor_get(x_2587, 1); +lean_inc(x_2623); +lean_dec(x_2587); +x_2624 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_2588, x_2623); +if (lean_is_scalar(x_2622)) { + x_2625 = lean_alloc_ctor(0, 2, 0); } else { - x_2757 = x_2754; + x_2625 = x_2622; } -lean_ctor_set(x_2757, 0, x_2756); -lean_ctor_set(x_2757, 1, x_2753); -return x_2757; +lean_ctor_set(x_2625, 0, x_2624); +lean_ctor_set(x_2625, 1, x_2621); +return x_2625; } case 7: { -lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; -x_2758 = lean_ctor_get(x_2713, 1); -lean_inc(x_2758); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2759 = x_2713; +lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; +x_2626 = lean_ctor_get(x_2581, 1); +lean_inc(x_2626); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2627 = x_2581; } else { - lean_dec_ref(x_2713); - x_2759 = lean_box(0); + lean_dec_ref(x_2581); + x_2627 = lean_box(0); } -x_2760 = lean_ctor_get(x_2719, 1); -lean_inc(x_2760); -lean_dec(x_2719); -x_2761 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_2720, x_2760); -if (lean_is_scalar(x_2759)) { - x_2762 = lean_alloc_ctor(0, 2, 0); +x_2628 = lean_ctor_get(x_2587, 1); +lean_inc(x_2628); +lean_dec(x_2587); +x_2629 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_2588, x_2628); +if (lean_is_scalar(x_2627)) { + x_2630 = lean_alloc_ctor(0, 2, 0); } else { - x_2762 = x_2759; + x_2630 = x_2627; } -lean_ctor_set(x_2762, 0, x_2761); -lean_ctor_set(x_2762, 1, x_2758); -return x_2762; +lean_ctor_set(x_2630, 0, x_2629); +lean_ctor_set(x_2630, 1, x_2626); +return x_2630; } case 8: { -lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; -x_2763 = lean_ctor_get(x_2713, 1); -lean_inc(x_2763); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2764 = x_2713; +lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; +x_2631 = lean_ctor_get(x_2581, 1); +lean_inc(x_2631); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2632 = x_2581; } else { - lean_dec_ref(x_2713); - x_2764 = lean_box(0); + lean_dec_ref(x_2581); + x_2632 = lean_box(0); } -x_2765 = lean_ctor_get(x_2719, 1); -lean_inc(x_2765); -lean_dec(x_2719); -x_2766 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_2720, x_2765); -if (lean_is_scalar(x_2764)) { - x_2767 = lean_alloc_ctor(0, 2, 0); +x_2633 = lean_ctor_get(x_2587, 1); +lean_inc(x_2633); +lean_dec(x_2587); +x_2634 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_2588, x_2633); +if (lean_is_scalar(x_2632)) { + x_2635 = lean_alloc_ctor(0, 2, 0); } else { - x_2767 = x_2764; + x_2635 = x_2632; } -lean_ctor_set(x_2767, 0, x_2766); -lean_ctor_set(x_2767, 1, x_2763); -return x_2767; +lean_ctor_set(x_2635, 0, x_2634); +lean_ctor_set(x_2635, 1, x_2631); +return x_2635; } case 9: { -lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; -x_2768 = lean_ctor_get(x_2713, 1); -lean_inc(x_2768); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2769 = x_2713; +lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; +x_2636 = lean_ctor_get(x_2581, 1); +lean_inc(x_2636); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2637 = x_2581; } else { - lean_dec_ref(x_2713); - x_2769 = lean_box(0); + lean_dec_ref(x_2581); + x_2637 = lean_box(0); } -x_2770 = lean_ctor_get(x_2719, 1); -lean_inc(x_2770); -lean_dec(x_2719); -x_2771 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_2720, x_2770); -if (lean_is_scalar(x_2769)) { - x_2772 = lean_alloc_ctor(0, 2, 0); +x_2638 = lean_ctor_get(x_2587, 1); +lean_inc(x_2638); +lean_dec(x_2587); +x_2639 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_2588, x_2638); +if (lean_is_scalar(x_2637)) { + x_2640 = lean_alloc_ctor(0, 2, 0); } else { - x_2772 = x_2769; + x_2640 = x_2637; } -lean_ctor_set(x_2772, 0, x_2771); -lean_ctor_set(x_2772, 1, x_2768); -return x_2772; +lean_ctor_set(x_2640, 0, x_2639); +lean_ctor_set(x_2640, 1, x_2636); +return x_2640; } case 10: { -lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; -x_2773 = lean_ctor_get(x_2713, 1); -lean_inc(x_2773); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2774 = x_2713; +lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; +x_2641 = lean_ctor_get(x_2581, 1); +lean_inc(x_2641); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2642 = x_2581; } else { - lean_dec_ref(x_2713); - x_2774 = lean_box(0); + lean_dec_ref(x_2581); + x_2642 = lean_box(0); } -x_2775 = lean_ctor_get(x_2719, 1); -lean_inc(x_2775); -lean_dec(x_2719); -x_2776 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_2720, x_2775); -if (lean_is_scalar(x_2774)) { - x_2777 = lean_alloc_ctor(0, 2, 0); +x_2643 = lean_ctor_get(x_2587, 1); +lean_inc(x_2643); +lean_dec(x_2587); +x_2644 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_2588, x_2643); +if (lean_is_scalar(x_2642)) { + x_2645 = lean_alloc_ctor(0, 2, 0); } else { - x_2777 = x_2774; + x_2645 = x_2642; } -lean_ctor_set(x_2777, 0, x_2776); -lean_ctor_set(x_2777, 1, x_2773); -return x_2777; +lean_ctor_set(x_2645, 0, x_2644); +lean_ctor_set(x_2645, 1, x_2641); +return x_2645; } case 11: { -lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; -x_2778 = lean_ctor_get(x_2713, 1); -lean_inc(x_2778); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2779 = x_2713; +lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; +x_2646 = lean_ctor_get(x_2581, 1); +lean_inc(x_2646); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2647 = x_2581; } else { - lean_dec_ref(x_2713); - x_2779 = lean_box(0); + lean_dec_ref(x_2581); + x_2647 = lean_box(0); } -x_2780 = lean_ctor_get(x_2719, 1); -lean_inc(x_2780); -lean_dec(x_2719); -x_2781 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_2720, x_2780); -if (lean_is_scalar(x_2779)) { - x_2782 = lean_alloc_ctor(0, 2, 0); +x_2648 = lean_ctor_get(x_2587, 1); +lean_inc(x_2648); +lean_dec(x_2587); +x_2649 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_2588, x_2648); +if (lean_is_scalar(x_2647)) { + x_2650 = lean_alloc_ctor(0, 2, 0); } else { - x_2782 = x_2779; + x_2650 = x_2647; } -lean_ctor_set(x_2782, 0, x_2781); -lean_ctor_set(x_2782, 1, x_2778); -return x_2782; +lean_ctor_set(x_2650, 0, x_2649); +lean_ctor_set(x_2650, 1, x_2646); +return x_2650; } default: { -lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; -x_2783 = lean_ctor_get(x_2713, 1); -lean_inc(x_2783); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2784 = x_2713; +lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; +x_2651 = lean_ctor_get(x_2581, 1); +lean_inc(x_2651); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2652 = x_2581; } else { - lean_dec_ref(x_2713); - x_2784 = lean_box(0); + lean_dec_ref(x_2581); + x_2652 = lean_box(0); } -x_2785 = lean_ctor_get(x_2719, 1); -lean_inc(x_2785); -lean_dec(x_2719); -x_2786 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_2720, x_2785); -if (lean_is_scalar(x_2784)) { - x_2787 = lean_alloc_ctor(0, 2, 0); +x_2653 = lean_ctor_get(x_2587, 1); +lean_inc(x_2653); +lean_dec(x_2587); +x_2654 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_2588, x_2653); +if (lean_is_scalar(x_2652)) { + x_2655 = lean_alloc_ctor(0, 2, 0); } else { - x_2787 = x_2784; + x_2655 = x_2652; } -lean_ctor_set(x_2787, 0, x_2786); -lean_ctor_set(x_2787, 1, x_2783); -return x_2787; +lean_ctor_set(x_2655, 0, x_2654); +lean_ctor_set(x_2655, 1, x_2651); +return x_2655; } } } } else { -lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; +lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; lean_dec(x_2); -x_2788 = lean_ctor_get(x_2713, 0); -lean_inc(x_2788); -x_2789 = lean_ctor_get(x_2713, 1); -lean_inc(x_2789); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2790 = x_2713; +x_2656 = lean_ctor_get(x_2581, 0); +lean_inc(x_2656); +x_2657 = lean_ctor_get(x_2581, 1); +lean_inc(x_2657); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2658 = x_2581; } else { - lean_dec_ref(x_2713); - x_2790 = lean_box(0); + lean_dec_ref(x_2581); + x_2658 = lean_box(0); } -if (lean_is_scalar(x_2790)) { - x_2791 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2658)) { + x_2659 = lean_alloc_ctor(1, 2, 0); } else { - x_2791 = x_2790; + x_2659 = x_2658; } -lean_ctor_set(x_2791, 0, x_2788); -lean_ctor_set(x_2791, 1, x_2789); -return x_2791; +lean_ctor_set(x_2659, 0, x_2656); +lean_ctor_set(x_2659, 1, x_2657); +return x_2659; } } else { -lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; -lean_dec(x_2709); +lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; +lean_dec(x_2577); lean_dec(x_1); -x_2792 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2793 = l_unreachable_x21___rarg(x_2792); -x_2794 = lean_apply_2(x_2793, x_2, x_3); -return x_2794; +x_2660 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2661 = l_unreachable_x21___rarg(x_2660); +x_2662 = lean_apply_2(x_2661, x_2, x_3); +return x_2662; } } } @@ -24601,57 +24035,57 @@ return x_2794; } else { -lean_object* x_2795; +lean_object* x_2663; lean_dec(x_117); lean_dec(x_116); lean_dec(x_115); lean_dec(x_105); lean_dec(x_4); -x_2795 = lean_box(0); -x_96 = x_2795; +x_2663 = lean_box(0); +x_96 = x_2663; goto block_104; } } else { -lean_object* x_2796; +lean_object* x_2664; lean_dec(x_116); lean_dec(x_115); lean_dec(x_105); lean_dec(x_4); -x_2796 = lean_box(0); -x_96 = x_2796; +x_2664 = lean_box(0); +x_96 = x_2664; goto block_104; } } else { -lean_object* x_2797; +lean_object* x_2665; lean_dec(x_115); lean_dec(x_105); lean_dec(x_4); -x_2797 = lean_box(0); -x_96 = x_2797; +x_2665 = lean_box(0); +x_96 = x_2665; goto block_104; } } default: { -lean_object* x_2798; +lean_object* x_2666; lean_dec(x_105); lean_dec(x_4); -x_2798 = lean_box(0); -x_96 = x_2798; +x_2666 = lean_box(0); +x_96 = x_2666; goto block_104; } } } else { -lean_object* x_2799; +lean_object* x_2667; lean_dec(x_4); -x_2799 = lean_box(0); -x_96 = x_2799; +x_2667 = lean_box(0); +x_96 = x_2667; goto block_104; } block_94: diff --git a/stage0/stdlib/Init/Lean/Elab/TermApp.c b/stage0/stdlib/Init/Lean/Elab/TermApp.c index 877e8400f8..d2391a7c67 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermApp.c +++ b/stage0/stdlib/Init/Lean/Elab/TermApp.c @@ -36,13 +36,11 @@ lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_ lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_14__elabAppFn___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__3; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabExplicitUniv___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__2; extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_17__mergeFailures___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabAppCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_inferType(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__24; lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___closed__8; @@ -178,7 +176,6 @@ lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__12; lean_object* l_Lean_Elab_Term_elabAtom(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_12__elabAppLValsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,7 +215,6 @@ lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux(lean_object*, lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabProj(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofArray(lean_object*); -extern lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_TermApp_6__throwLValError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__2; lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -309,7 +305,6 @@ lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg___close lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___closed__9; lean_object* l___private_Init_Lean_Elab_TermApp_10__mkBaseProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_elabAppCore___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryEnsureHasType_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__2; lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__5; @@ -329,7 +324,6 @@ uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__1; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_12__elabAppLValsAux___main___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_15__getSuccess(lean_object*); @@ -353,7 +347,6 @@ lean_object* l_Lean_Elab_Term_addNamedArg___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__3; uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__25; -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__2; lean_object* l_Lean_Elab_Term_Arg_inhabited; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* _init_l_Lean_Elab_Term_Arg_inhabited___closed__1() { @@ -9188,97 +9181,6 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_elabAppCore___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_array_get_size(x_2); -x_4 = lean_nat_dec_lt(x_1, x_3); -lean_dec(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_1); -x_5 = l_Array_empty___closed__1; -x_6 = x_2; -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; -x_7 = lean_array_fget(x_2, x_1); -x_8 = lean_box(0); -x_9 = x_8; -x_10 = lean_array_fset(x_2, x_1, x_9); -lean_inc(x_7); -x_11 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_11, 0, x_7); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_1, x_12); -x_14 = x_11; -lean_dec(x_7); -x_15 = lean_array_fset(x_10, x_1, x_14); -lean_dec(x_1); -x_1 = x_13; -x_2 = x_15; -goto _start; -} -} -} -lean_object* l_Lean_Elab_Term_elabAppCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_5 = lean_unsigned_to_nat(1u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = lean_unsigned_to_nat(2u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_Lean_Syntax_getArgs(x_8); -lean_dec(x_8); -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Array_umapMAux___main___at_Lean_Elab_Term_elabAppCore___spec__1(x_10, x_9); -x_12 = l_Array_empty___closed__1; -x_13 = l___private_Init_Lean_Elab_TermApp_18__elabAppAux(x_1, x_6, x_12, x_11, x_2, x_3, x_4); -return x_13; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabAppCore"); -return x_1; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; -x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAppCore), 4, 0); -return x_1; -} -} -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__2; -x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__3; -x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); -return x_5; -} -} lean_object* l_Lean_Elab_Term_elabAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -9900,15 +9802,6 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__3); res = l___regBuiltinTermElab_Lean_Elab_Term_elabApp(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__1(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__1); -l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__2(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__2); -l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__3(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore___closed__3); -res = l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Parser/Term.c b/stage0/stdlib/Init/Lean/Parser/Term.c index 3a14fa064d..76fda06e98 100644 --- a/stage0/stdlib/Init/Lean/Parser/Term.c +++ b/stage0/stdlib/Init/Lean/Parser/Term.c @@ -84,7 +84,6 @@ lean_object* l_Lean_Parser_Term_lt___elambda__1(lean_object*, lean_object*, lean lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_andthen___elambda__1___closed__4; -lean_object* l___regBuiltinParser_Lean_Parser_Term_appCore(lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_have___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; @@ -172,7 +171,6 @@ lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_doExpr___closed__4; lean_object* l_Lean_Parser_Term_where; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_quotedName___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_instBinder___closed__5; @@ -206,7 +204,6 @@ lean_object* l_Lean_Parser_Term_prod___elambda__1(lean_object*, lean_object*, le lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__1; lean_object* l_Lean_Parser_sepByFn___at_Lean_Parser_Term_anonymousCtor___elambda__1___spec__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_type___elambda__1___closed__7; -lean_object* l_Lean_Parser_Term_appCore___closed__5; lean_object* l_Lean_Parser_Term_and___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeq___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__1; @@ -382,7 +379,6 @@ lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__8; lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_explicit___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sorry___closed__2; lean_object* l_Lean_Parser_Term_if___closed__11; @@ -428,7 +424,6 @@ lean_object* l_Lean_Parser_Term_forall___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_tparser_x21(lean_object*); lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__3; extern lean_object* l_List_repr___rarg___closed__3; -lean_object* l_Lean_Parser_Term_appCore___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_antiquot___closed__1; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___rarg___closed__8; lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__1; @@ -941,7 +936,6 @@ lean_object* l_Lean_Parser_Term_structInstSource___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_ge___closed__3; lean_object* l_Lean_Parser_Term_structInstSource; lean_object* l_Lean_Parser_Term_quotedName___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_appCore___closed__6; lean_object* l_Lean_Parser_Term_doSeq___closed__2; lean_object* l_Lean_Parser_Term_doSeq___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doElem___closed__1; @@ -1031,7 +1025,6 @@ lean_object* l_Lean_Parser_Term_match__syntax___elambda__1(lean_object*, lean_ob lean_object* l_Lean_Parser_Term_modN___closed__2; lean_object* l_Lean_Parser_Term_bnot___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_depArrow___closed__5; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__4; @@ -1240,7 +1233,6 @@ lean_object* l_Lean_Parser_Term_if___elambda__1(lean_object*, lean_object*, lean lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_explicitBinder___closed__6; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__7; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__2; lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_typeAscription___closed__7; @@ -1349,7 +1341,6 @@ lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_bor___closed__2; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_dollar___closed__3; -lean_object* l_Lean_Parser_Term_appCore___closed__1; lean_object* l_Lean_Parser_Term_bne___closed__1; lean_object* l_Lean_Parser_Term_matchAlt___closed__4; lean_object* l_Lean_Parser_Term_mapConst___closed__1; @@ -1429,7 +1420,6 @@ lean_object* l_Lean_Parser_Term_anonymousCtor; lean_object* l_Lean_Parser_Term_dollarProj___closed__4; lean_object* l_Lean_Parser_Term_iff___closed__3; lean_object* l_Lean_Parser_Term_forall___closed__9; -lean_object* l_Lean_Parser_Term_appCore___closed__2; lean_object* l_Lean_Parser_Term_parser_x21___closed__1; lean_object* l_Lean_Parser_Term_inaccessible___closed__3; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__4; @@ -1492,7 +1482,6 @@ lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_match___closed__9; lean_object* l_Lean_Parser_Term_tupleTail___closed__5; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_match__syntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_mapRev___elambda__1___closed__2; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__1; lean_object* l_Lean_Parser_Term_id___closed__7; @@ -1527,7 +1516,6 @@ lean_object* l_Lean_Parser_Term_if___elambda__1___closed__17; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_explicitUniv___elambda__1___spec__2___closed__1; lean_object* l_Lean_Parser_Term_forall___closed__4; lean_object* l_Lean_Parser_Term_add___closed__1; -lean_object* l_Lean_Parser_Term_appCore___closed__4; lean_object* l_Lean_Parser_Term_letIdDecl___closed__3; lean_object* l_Lean_Parser_Term_le___closed__2; lean_object* l_Lean_Parser_Term_match___closed__8; @@ -1564,7 +1552,6 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_if___closed__6; lean_object* l_Lean_Parser_Term_letIdDecl___closed__2; lean_object* l_Lean_Parser_Term_char; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_structInstField___closed__5; lean_object* l_Lean_Parser_Term_letIdDecl___elambda__1___closed__4; lean_object* l_Lean_mkCAppStx(lean_object*, lean_object*); @@ -1616,7 +1603,6 @@ lean_object* l_Lean_Parser_Term_parenSpecial___closed__2; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__2; lean_object* l_String_trim(lean_object*); -lean_object* l_Lean_Parser_Term_appCore___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstSource___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_prop(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_antiquot(lean_object*); @@ -1771,7 +1757,6 @@ lean_object* l_Lean_Parser_Term_if___elambda__1___closed__12; lean_object* l_Lean_Parser_sepByFn___at_Lean_Parser_Term_structInst___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_fcomp___closed__2; lean_object* l_Lean_Parser_Term_where___closed__3; -lean_object* l_Lean_Parser_Term_appCore; lean_object* l_Lean_Parser_Term_map___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Term_gt(lean_object*); @@ -1828,7 +1813,6 @@ lean_object* l_Lean_Parser_Term_ne; lean_object* l_Lean_Parser_Term_match___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_binderIdent___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_char___elambda__1___closed__2; -lean_object* l_Lean_Parser_Term_appCore___closed__3; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__6; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_letEqns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_borrowed(lean_object*); @@ -1847,7 +1831,6 @@ lean_object* l_Lean_Parser_Term_dollar___closed__1; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_char___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__11; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_map___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchAlt___closed__6; lean_object* l_Lean_Parser_Term_parenSpecial___closed__4; @@ -1887,7 +1870,6 @@ lean_object* l_Lean_Parser_Term_doLet; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doExpr; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_suffices___closed__6; lean_object* l_Lean_Parser_Term_sortApp___elambda__1___closed__2; @@ -1906,7 +1888,6 @@ lean_object* l_Lean_Parser_Term_doId___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1(lean_object*); lean_object* l_Lean_Parser_Term_unicodeInfixR___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__7; -lean_object* l_Lean_Parser_Term_appCore___elambda__1___closed__4; lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_unicodeInfixL___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -30576,384 +30557,6 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("appCore"); -return x_1; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__4() { -_start: -{ -uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = 0; -x_2 = l_Lean_Parser_Term_appCore___elambda__1___closed__1; -x_3 = l_Lean_Parser_Term_appCore___elambda__1___closed__3; -x_4 = 1; -x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_app_ "); -return x_1; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_appCore___elambda__1___closed__5; -x_2 = l_String_trim(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Char_HasRepr___closed__1; -x_2 = l_Lean_Parser_Term_appCore___elambda__1___closed__6; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_appCore___elambda__1___closed__7; -x_2 = l_Char_HasRepr___closed__1; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___elambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_appCore___elambda__1___closed__8; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Parser_Term_appCore___elambda__1(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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_4 = l_Lean_Parser_Term_appCore___elambda__1___closed__4; -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -x_7 = lean_array_get_size(x_6); -lean_dec(x_6); -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -lean_inc(x_2); -lean_inc(x_1); -x_9 = lean_apply_3(x_5, x_1, x_2, x_3); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -x_13 = lean_nat_dec_eq(x_12, x_8); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_46; lean_object* x_47; -lean_inc(x_8); -x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); -lean_dec(x_7); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -lean_inc(x_2); -x_46 = l_Lean_Parser_tokenFn(x_2, x_14); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -x_49 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_48); -lean_dec(x_48); -if (lean_obj_tag(x_49) == 2) -{ -lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_Parser_Term_appCore___elambda__1___closed__6; -x_52 = lean_string_dec_eq(x_50, x_51); -lean_dec(x_50); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = l_Lean_Parser_Term_appCore___elambda__1___closed__9; -lean_inc(x_8); -x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_53, x_8); -x_17 = x_54; -goto block_45; -} -else -{ -x_17 = x_46; -goto block_45; -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_49); -x_55 = l_Lean_Parser_Term_appCore___elambda__1___closed__9; -lean_inc(x_8); -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_55, x_8); -x_17 = x_56; -goto block_45; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_47); -x_57 = l_Lean_Parser_Term_appCore___elambda__1___closed__9; -lean_inc(x_8); -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_57, x_8); -x_17 = x_58; -goto block_45; -} -block_45: -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = l_Lean_Parser_regBuiltinTermParserAttr___closed__4; -x_20 = l_Lean_Parser_appPrec; -lean_inc(x_2); -x_21 = l_Lean_Parser_categoryParserFn(x_19, x_20, x_2, x_17); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -x_24 = lean_array_get_size(x_23); -lean_dec(x_23); -lean_inc(x_2); -x_25 = l_Lean_Parser_categoryParserFn(x_19, x_20, x_2, x_21); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = 0; -x_28 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_fun___elambda__1___spec__1(x_27, x_1, x_2, x_25); -lean_dec(x_1); -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_24); -x_31 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_16); -x_33 = l_Lean_Parser_mergeOrElseErrors(x_32, x_11, x_8); -lean_dec(x_8); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_26); -lean_dec(x_2); -lean_dec(x_1); -x_34 = l_Lean_nullKind; -x_35 = l_Lean_Parser_ParserState_mkNode(x_25, x_34, x_24); -x_36 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_16); -x_38 = l_Lean_Parser_mergeOrElseErrors(x_37, x_11, x_8); -lean_dec(x_8); -return x_38; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_22); -lean_dec(x_2); -lean_dec(x_1); -x_39 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_40 = l_Lean_Parser_ParserState_mkNode(x_21, x_39, x_16); -x_41 = l_Lean_Parser_mergeOrElseErrors(x_40, x_11, x_8); -lean_dec(x_8); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_18); -lean_dec(x_2); -lean_dec(x_1); -x_42 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_17, x_42, x_16); -x_44 = l_Lean_Parser_mergeOrElseErrors(x_43, x_11, x_8); -lean_dec(x_8); -return x_44; -} -} -} -} -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_appCore___elambda__1___closed__6; -x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_namedPattern___closed__2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -lean_inc(x_2); -x_3 = l_Lean_Parser_andthenInfo(x_2, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_appCore___closed__1; -x_2 = l_Lean_Parser_Term_appCore___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_appCore___closed__3; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_appCore___elambda__1___closed__4; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_appCore___closed__4; -x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); -return x_4; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_appCore___elambda__1), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_appCore___closed__5; -x_2 = l_Lean_Parser_Term_appCore___closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_appCore() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Term_appCore___closed__7; -return x_1; -} -} -lean_object* l___regBuiltinParser_Lean_Parser_Term_appCore(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = 0; -x_3 = l_Lean_Parser_regBuiltinTermParserAttr___closed__4; -x_4 = l_Lean_Parser_Term_appCore___elambda__1___closed__2; -x_5 = l_Lean_Parser_Term_appCore; -x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -39902,43 +39505,6 @@ lean_mark_persistent(l_Lean_Parser_Term_app); res = l___regBuiltinParser_Lean_Parser_Term_app(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Term_appCore___elambda__1___closed__1 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__1); -l_Lean_Parser_Term_appCore___elambda__1___closed__2 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__2); -l_Lean_Parser_Term_appCore___elambda__1___closed__3 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__3); -l_Lean_Parser_Term_appCore___elambda__1___closed__4 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__4); -l_Lean_Parser_Term_appCore___elambda__1___closed__5 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__5); -l_Lean_Parser_Term_appCore___elambda__1___closed__6 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__6); -l_Lean_Parser_Term_appCore___elambda__1___closed__7 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__7); -l_Lean_Parser_Term_appCore___elambda__1___closed__8 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__8); -l_Lean_Parser_Term_appCore___elambda__1___closed__9 = _init_l_Lean_Parser_Term_appCore___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___elambda__1___closed__9); -l_Lean_Parser_Term_appCore___closed__1 = _init_l_Lean_Parser_Term_appCore___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__1); -l_Lean_Parser_Term_appCore___closed__2 = _init_l_Lean_Parser_Term_appCore___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__2); -l_Lean_Parser_Term_appCore___closed__3 = _init_l_Lean_Parser_Term_appCore___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__3); -l_Lean_Parser_Term_appCore___closed__4 = _init_l_Lean_Parser_Term_appCore___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__4); -l_Lean_Parser_Term_appCore___closed__5 = _init_l_Lean_Parser_Term_appCore___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__5); -l_Lean_Parser_Term_appCore___closed__6 = _init_l_Lean_Parser_Term_appCore___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__6); -l_Lean_Parser_Term_appCore___closed__7 = _init_l_Lean_Parser_Term_appCore___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_appCore___closed__7); -l_Lean_Parser_Term_appCore = _init_l_Lean_Parser_Term_appCore(); -lean_mark_persistent(l_Lean_Parser_Term_appCore); -res = l___regBuiltinParser_Lean_Parser_Term_appCore(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_Parser_Term_checkIsSort___closed__1 = _init_l_Lean_Parser_Term_checkIsSort___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_checkIsSort___closed__1); l_Lean_Parser_Term_checkIsSort___closed__2 = _init_l_Lean_Parser_Term_checkIsSort___closed__2();