From 3ad3bacd97a721cdc4bc04d385edce86eebc99ce Mon Sep 17 00:00:00 2001 From: Lean stage0 autoupdater <> Date: Tue, 3 Feb 2026 02:34:19 +0000 Subject: [PATCH] chore: update stage0 --- stage0/src/runtime/object.cpp | 25 +- stage0/stdlib/Lean/Elab/PreDefinition/Basic.c | 2915 +++--- stage0/stdlib/Lean/Elab/PreDefinition/Main.c | 9107 +++++++++-------- .../stdlib/Lean/Elab/PreDefinition/Mutual.c | 811 +- .../Lean/Elab/PreDefinition/Structural/Main.c | 208 +- .../PreDefinition/Structural/SmartUnfolding.c | 97 +- 6 files changed, 6498 insertions(+), 6665 deletions(-) diff --git a/stage0/src/runtime/object.cpp b/stage0/src/runtime/object.cpp index 80c9735268..a3be15ffe9 100644 --- a/stage0/src/runtime/object.cpp +++ b/stage0/src/runtime/object.cpp @@ -754,14 +754,25 @@ class task_manager { unique_lock lock(m_mutex); m_idle_std_workers++; while (true) { - if (m_queues_size == 0 && m_shutting_down) { - break; + if (m_queues_size == 0) { + if (m_shutting_down) { + // We're done + break; + } + // Wait for new tasks + m_queue_cv.wait(lock); + continue; } - if (m_queues_size == 0 || - // If we have reached the maximum number of standard workers (because the - // maximum was decreased by `task_get`), wait for someone else to become - // idle before picking up new work. - m_std_workers.size() - m_idle_std_workers >= m_max_std_workers) { + + // There's work to be done. + // If we have reached the maximum number of standard workers (because the + // maximum was decreased by `task_get`), wait for someone else to become + // idle before picking up new work. + // But during shutdown, we skip this throttling: + // because the finalizer might have called m_queue_cv.notify_all() for the last + // time, we don't want to get stuck behind the wait(). + if (!m_shutting_down && + m_std_workers.size() - m_idle_std_workers >= m_max_std_workers) { m_queue_cv.wait(lock); continue; } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c index 6ecf23179e..1fe7f8bc0b 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c @@ -494,14 +494,15 @@ lean_object* l_Lean_markMeta(lean_object*, lean_object*); uint8_t l_Lean_isNoncomputable(lean_object*, lean_object*); lean_object* l_Lean_addNoncomputable(lean_object*, lean_object*); lean_object* l_Lean_markNotMeta(lean_object*, lean_object*); +lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object*, lean_object*); uint32_t l_Lean_getMaxHeight(lean_object*, lean_object*); uint32_t lean_uint32_add(uint32_t, uint32_t); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_ctor_object l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 2}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1))}}; static const lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___closed__0 = (const lean_object*)&l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___closed__0_value; LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0(lean_object*, lean_object*, lean_object*); @@ -11604,440 +11605,439 @@ lean_ctor_set(x_2, 5, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_314; -x_314 = !lean_is_exclusive(x_12); -if (x_314 == 0) +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_329; +x_329 = !lean_is_exclusive(x_13); +if (x_329 == 0) { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_315 = lean_ctor_get(x_2, 0); -x_316 = lean_ctor_get(x_12, 5); -x_317 = l_Lean_replaceRef(x_315, x_316); -lean_dec(x_316); -lean_ctor_set(x_12, 5, x_317); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_318 = l_Lean_Elab_abstractNestedProofs(x_2, x_6, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_318) == 0) +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_330 = lean_ctor_get(x_2, 0); +x_331 = lean_ctor_get(x_13, 5); +x_332 = l_Lean_replaceRef(x_330, x_331); +lean_dec(x_331); +lean_ctor_set(x_13, 5, x_332); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_333 = l_Lean_Elab_abstractNestedProofs(x_2, x_6, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_333) == 0) { -lean_object* x_319; lean_object* x_320; -x_319 = lean_ctor_get(x_318, 0); -lean_inc(x_319); -lean_dec_ref(x_318); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_320 = l_Lean_Elab_letToHaveType(x_319, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_320) == 0) +lean_object* x_334; lean_object* x_335; +x_334 = lean_ctor_get(x_333, 0); +lean_inc(x_334); +lean_dec_ref(x_333); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_335 = l_Lean_Elab_letToHaveType(x_334, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_335) == 0) { if (x_7 == 0) { -lean_object* x_321; -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -lean_dec_ref(x_320); -x_258 = x_321; -x_259 = x_8; -x_260 = x_9; -x_261 = x_10; -x_262 = x_11; -x_263 = x_12; -x_264 = x_13; -x_265 = lean_box(0); -goto block_313; +lean_object* x_336; +x_336 = lean_ctor_get(x_335, 0); +lean_inc(x_336); +lean_dec_ref(x_335); +x_273 = x_336; +x_274 = x_9; +x_275 = x_10; +x_276 = x_11; +x_277 = x_12; +x_278 = x_13; +x_279 = x_14; +x_280 = lean_box(0); +goto block_328; } else { -lean_object* x_322; lean_object* x_323; -x_322 = lean_ctor_get(x_320, 0); -lean_inc(x_322); -lean_dec_ref(x_320); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_323 = l_Lean_Elab_letToHaveValue(x_322, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_323) == 0) +lean_object* x_337; lean_object* x_338; +x_337 = lean_ctor_get(x_335, 0); +lean_inc(x_337); +lean_dec_ref(x_335); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_338 = l_Lean_Elab_letToHaveValue(x_337, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_338) == 0) { -lean_object* x_324; -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -lean_dec_ref(x_323); -x_258 = x_324; -x_259 = x_8; -x_260 = x_9; -x_261 = x_10; -x_262 = x_11; -x_263 = x_12; -x_264 = x_13; -x_265 = lean_box(0); -goto block_313; +lean_object* x_339; +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +lean_dec_ref(x_338); +x_273 = x_339; +x_274 = x_9; +x_275 = x_10; +x_276 = x_11; +x_277 = x_12; +x_278 = x_13; +x_279 = x_14; +x_280 = lean_box(0); +goto block_328; } else { -uint8_t x_325; -lean_dec_ref(x_12); -lean_dec(x_13); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_340; +lean_dec_ref(x_13); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_1); -x_325 = !lean_is_exclusive(x_323); -if (x_325 == 0) +x_340 = !lean_is_exclusive(x_338); +if (x_340 == 0) { -return x_323; +return x_338; } else { -lean_object* x_326; lean_object* x_327; -x_326 = lean_ctor_get(x_323, 0); -lean_inc(x_326); -lean_dec(x_323); -x_327 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_327, 0, x_326); -return x_327; +lean_object* x_341; lean_object* x_342; +x_341 = lean_ctor_get(x_338, 0); +lean_inc(x_341); +lean_dec(x_338); +x_342 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_342, 0, x_341); +return x_342; } } } } else { -uint8_t x_328; -lean_dec_ref(x_12); -lean_dec(x_13); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_343; +lean_dec_ref(x_13); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_1); -x_328 = !lean_is_exclusive(x_320); -if (x_328 == 0) +x_343 = !lean_is_exclusive(x_335); +if (x_343 == 0) { -return x_320; +return x_335; } else { -lean_object* x_329; lean_object* x_330; -x_329 = lean_ctor_get(x_320, 0); -lean_inc(x_329); -lean_dec(x_320); -x_330 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_330, 0, x_329); -return x_330; +lean_object* x_344; lean_object* x_345; +x_344 = lean_ctor_get(x_335, 0); +lean_inc(x_344); +lean_dec(x_335); +x_345 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_345, 0, x_344); +return x_345; } } } else { -uint8_t x_331; -lean_dec_ref(x_12); -lean_dec(x_13); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +uint8_t x_346; +lean_dec_ref(x_13); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_1); -x_331 = !lean_is_exclusive(x_318); -if (x_331 == 0) +x_346 = !lean_is_exclusive(x_333); +if (x_346 == 0) { -return x_318; -} -else -{ -lean_object* x_332; lean_object* x_333; -x_332 = lean_ctor_get(x_318, 0); -lean_inc(x_332); -lean_dec(x_318); -x_333 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_333, 0, x_332); return x_333; } +else +{ +lean_object* x_347; lean_object* x_348; +x_347 = lean_ctor_get(x_333, 0); +lean_inc(x_347); +lean_dec(x_333); +x_348 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_348, 0, x_347); +return x_348; +} } } else { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; lean_object* x_348; uint8_t x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_334 = lean_ctor_get(x_2, 0); -x_335 = lean_ctor_get(x_12, 0); -x_336 = lean_ctor_get(x_12, 1); -x_337 = lean_ctor_get(x_12, 2); -x_338 = lean_ctor_get(x_12, 3); -x_339 = lean_ctor_get(x_12, 4); -x_340 = lean_ctor_get(x_12, 5); -x_341 = lean_ctor_get(x_12, 6); -x_342 = lean_ctor_get(x_12, 7); -x_343 = lean_ctor_get(x_12, 8); -x_344 = lean_ctor_get(x_12, 9); -x_345 = lean_ctor_get(x_12, 10); -x_346 = lean_ctor_get(x_12, 11); -x_347 = lean_ctor_get_uint8(x_12, sizeof(void*)*14); -x_348 = lean_ctor_get(x_12, 12); -x_349 = lean_ctor_get_uint8(x_12, sizeof(void*)*14 + 1); -x_350 = lean_ctor_get(x_12, 13); -lean_inc(x_350); -lean_inc(x_348); -lean_inc(x_346); -lean_inc(x_345); -lean_inc(x_344); -lean_inc(x_343); -lean_inc(x_342); -lean_inc(x_341); -lean_inc(x_340); -lean_inc(x_339); -lean_inc(x_338); -lean_inc(x_337); -lean_inc(x_336); -lean_inc(x_335); -lean_dec(x_12); -x_351 = l_Lean_replaceRef(x_334, x_340); -lean_dec(x_340); -x_352 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_352, 0, x_335); -lean_ctor_set(x_352, 1, x_336); -lean_ctor_set(x_352, 2, x_337); -lean_ctor_set(x_352, 3, x_338); -lean_ctor_set(x_352, 4, x_339); -lean_ctor_set(x_352, 5, x_351); -lean_ctor_set(x_352, 6, x_341); -lean_ctor_set(x_352, 7, x_342); -lean_ctor_set(x_352, 8, x_343); -lean_ctor_set(x_352, 9, x_344); -lean_ctor_set(x_352, 10, x_345); -lean_ctor_set(x_352, 11, x_346); -lean_ctor_set(x_352, 12, x_348); -lean_ctor_set(x_352, 13, x_350); -lean_ctor_set_uint8(x_352, sizeof(void*)*14, x_347); -lean_ctor_set_uint8(x_352, sizeof(void*)*14 + 1, x_349); -lean_inc(x_13); -lean_inc_ref(x_352); -lean_inc(x_11); -lean_inc_ref(x_10); -x_353 = l_Lean_Elab_abstractNestedProofs(x_2, x_6, x_10, x_11, x_352, x_13); -if (lean_obj_tag(x_353) == 0) -{ -lean_object* x_354; lean_object* x_355; -x_354 = lean_ctor_get(x_353, 0); +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; uint8_t x_362; lean_object* x_363; uint8_t x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_349 = lean_ctor_get(x_2, 0); +x_350 = lean_ctor_get(x_13, 0); +x_351 = lean_ctor_get(x_13, 1); +x_352 = lean_ctor_get(x_13, 2); +x_353 = lean_ctor_get(x_13, 3); +x_354 = lean_ctor_get(x_13, 4); +x_355 = lean_ctor_get(x_13, 5); +x_356 = lean_ctor_get(x_13, 6); +x_357 = lean_ctor_get(x_13, 7); +x_358 = lean_ctor_get(x_13, 8); +x_359 = lean_ctor_get(x_13, 9); +x_360 = lean_ctor_get(x_13, 10); +x_361 = lean_ctor_get(x_13, 11); +x_362 = lean_ctor_get_uint8(x_13, sizeof(void*)*14); +x_363 = lean_ctor_get(x_13, 12); +x_364 = lean_ctor_get_uint8(x_13, sizeof(void*)*14 + 1); +x_365 = lean_ctor_get(x_13, 13); +lean_inc(x_365); +lean_inc(x_363); +lean_inc(x_361); +lean_inc(x_360); +lean_inc(x_359); +lean_inc(x_358); +lean_inc(x_357); +lean_inc(x_356); +lean_inc(x_355); lean_inc(x_354); -lean_dec_ref(x_353); -lean_inc(x_13); -lean_inc_ref(x_352); -lean_inc(x_11); -lean_inc_ref(x_10); -x_355 = l_Lean_Elab_letToHaveType(x_354, x_10, x_11, x_352, x_13); -if (lean_obj_tag(x_355) == 0) +lean_inc(x_353); +lean_inc(x_352); +lean_inc(x_351); +lean_inc(x_350); +lean_dec(x_13); +x_366 = l_Lean_replaceRef(x_349, x_355); +lean_dec(x_355); +x_367 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_367, 0, x_350); +lean_ctor_set(x_367, 1, x_351); +lean_ctor_set(x_367, 2, x_352); +lean_ctor_set(x_367, 3, x_353); +lean_ctor_set(x_367, 4, x_354); +lean_ctor_set(x_367, 5, x_366); +lean_ctor_set(x_367, 6, x_356); +lean_ctor_set(x_367, 7, x_357); +lean_ctor_set(x_367, 8, x_358); +lean_ctor_set(x_367, 9, x_359); +lean_ctor_set(x_367, 10, x_360); +lean_ctor_set(x_367, 11, x_361); +lean_ctor_set(x_367, 12, x_363); +lean_ctor_set(x_367, 13, x_365); +lean_ctor_set_uint8(x_367, sizeof(void*)*14, x_362); +lean_ctor_set_uint8(x_367, sizeof(void*)*14 + 1, x_364); +lean_inc(x_14); +lean_inc_ref(x_367); +lean_inc(x_12); +lean_inc_ref(x_11); +x_368 = l_Lean_Elab_abstractNestedProofs(x_2, x_6, x_11, x_12, x_367, x_14); +if (lean_obj_tag(x_368) == 0) +{ +lean_object* x_369; lean_object* x_370; +x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_369); +lean_dec_ref(x_368); +lean_inc(x_14); +lean_inc_ref(x_367); +lean_inc(x_12); +lean_inc_ref(x_11); +x_370 = l_Lean_Elab_letToHaveType(x_369, x_11, x_12, x_367, x_14); +if (lean_obj_tag(x_370) == 0) { if (x_7 == 0) { -lean_object* x_356; -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -lean_dec_ref(x_355); -x_258 = x_356; -x_259 = x_8; -x_260 = x_9; -x_261 = x_10; -x_262 = x_11; -x_263 = x_352; -x_264 = x_13; -x_265 = lean_box(0); -goto block_313; +lean_object* x_371; +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +lean_dec_ref(x_370); +x_273 = x_371; +x_274 = x_9; +x_275 = x_10; +x_276 = x_11; +x_277 = x_12; +x_278 = x_367; +x_279 = x_14; +x_280 = lean_box(0); +goto block_328; } else { -lean_object* x_357; lean_object* x_358; -x_357 = lean_ctor_get(x_355, 0); -lean_inc(x_357); -lean_dec_ref(x_355); -lean_inc(x_13); -lean_inc_ref(x_352); -lean_inc(x_11); -lean_inc_ref(x_10); -x_358 = l_Lean_Elab_letToHaveValue(x_357, x_10, x_11, x_352, x_13); -if (lean_obj_tag(x_358) == 0) +lean_object* x_372; lean_object* x_373; +x_372 = lean_ctor_get(x_370, 0); +lean_inc(x_372); +lean_dec_ref(x_370); +lean_inc(x_14); +lean_inc_ref(x_367); +lean_inc(x_12); +lean_inc_ref(x_11); +x_373 = l_Lean_Elab_letToHaveValue(x_372, x_11, x_12, x_367, x_14); +if (lean_obj_tag(x_373) == 0) { -lean_object* x_359; -x_359 = lean_ctor_get(x_358, 0); -lean_inc(x_359); -lean_dec_ref(x_358); -x_258 = x_359; -x_259 = x_8; -x_260 = x_9; -x_261 = x_10; -x_262 = x_11; -x_263 = x_352; -x_264 = x_13; -x_265 = lean_box(0); -goto block_313; +lean_object* x_374; +x_374 = lean_ctor_get(x_373, 0); +lean_inc(x_374); +lean_dec_ref(x_373); +x_273 = x_374; +x_274 = x_9; +x_275 = x_10; +x_276 = x_11; +x_277 = x_12; +x_278 = x_367; +x_279 = x_14; +x_280 = lean_box(0); +goto block_328; } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; -lean_dec_ref(x_352); -lean_dec(x_13); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +lean_object* x_375; lean_object* x_376; lean_object* x_377; +lean_dec_ref(x_367); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_1); -x_360 = lean_ctor_get(x_358, 0); -lean_inc(x_360); -if (lean_is_exclusive(x_358)) { - lean_ctor_release(x_358, 0); - x_361 = x_358; +x_375 = lean_ctor_get(x_373, 0); +lean_inc(x_375); +if (lean_is_exclusive(x_373)) { + lean_ctor_release(x_373, 0); + x_376 = x_373; } else { - lean_dec_ref(x_358); - x_361 = lean_box(0); + lean_dec_ref(x_373); + x_376 = lean_box(0); } -if (lean_is_scalar(x_361)) { - x_362 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_376)) { + x_377 = lean_alloc_ctor(1, 1, 0); } else { - x_362 = x_361; + x_377 = x_376; } -lean_ctor_set(x_362, 0, x_360); -return x_362; +lean_ctor_set(x_377, 0, x_375); +return x_377; } } } else { -lean_object* x_363; lean_object* x_364; lean_object* x_365; -lean_dec_ref(x_352); -lean_dec(x_13); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +lean_object* x_378; lean_object* x_379; lean_object* x_380; +lean_dec_ref(x_367); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_1); -x_363 = lean_ctor_get(x_355, 0); -lean_inc(x_363); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - x_364 = x_355; +x_378 = lean_ctor_get(x_370, 0); +lean_inc(x_378); +if (lean_is_exclusive(x_370)) { + lean_ctor_release(x_370, 0); + x_379 = x_370; } else { - lean_dec_ref(x_355); - x_364 = lean_box(0); + lean_dec_ref(x_370); + x_379 = lean_box(0); } -if (lean_is_scalar(x_364)) { - x_365 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_379)) { + x_380 = lean_alloc_ctor(1, 1, 0); } else { - x_365 = x_364; + x_380 = x_379; } -lean_ctor_set(x_365, 0, x_363); -return x_365; +lean_ctor_set(x_380, 0, x_378); +return x_380; } } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; -lean_dec_ref(x_352); -lean_dec(x_13); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); +lean_object* x_381; lean_object* x_382; lean_object* x_383; +lean_dec_ref(x_367); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_4); lean_dec_ref(x_1); -x_366 = lean_ctor_get(x_353, 0); -lean_inc(x_366); -if (lean_is_exclusive(x_353)) { - lean_ctor_release(x_353, 0); - x_367 = x_353; +x_381 = lean_ctor_get(x_368, 0); +lean_inc(x_381); +if (lean_is_exclusive(x_368)) { + lean_ctor_release(x_368, 0); + x_382 = x_368; } else { - lean_dec_ref(x_353); - x_367 = lean_box(0); + lean_dec_ref(x_368); + x_382 = lean_box(0); } -if (lean_is_scalar(x_367)) { - x_368 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_382)) { + x_383 = lean_alloc_ctor(1, 1, 0); } else { - x_368 = x_367; + x_383 = x_382; } -lean_ctor_set(x_368, 0, x_366); -return x_368; +lean_ctor_set(x_383, 0, x_381); +return x_383; } } -block_29: -{ -lean_object* x_24; -lean_inc(x_22); -lean_inc_ref(x_21); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc_ref(x_15); -x_24 = l_Lean_Elab_addPreDefDocs(x_1, x_15, x_17, x_18, x_19, x_20, x_21, x_22); -if (lean_obj_tag(x_24) == 0) -{ -lean_dec_ref(x_24); -if (x_5 == 0) +block_30: { lean_object* x_25; +lean_inc(x_23); +lean_inc_ref(x_22); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc_ref(x_17); +x_25 = l_Lean_Elab_addPreDefDocs(x_1, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_dec_ref(x_25); +if (x_5 == 0) +{ +lean_object* x_26; lean_dec_ref(x_16); -x_25 = l_Lean_Elab_addPreDefInfo(x_15, x_17, x_18, x_19, x_20, x_21, x_22); -return x_25; +x_26 = l_Lean_Elab_addPreDefInfo(x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_26; } else { -uint8_t x_26; lean_object* x_27; -x_26 = 1; -lean_inc(x_22); -lean_inc_ref(x_21); -lean_inc(x_20); -lean_inc_ref(x_19); -lean_inc(x_18); -lean_inc_ref(x_17); -x_27 = l_Lean_Elab_applyAttributesOf(x_16, x_26, x_17, x_18, x_19, x_20, x_21, x_22); +uint8_t x_27; lean_object* x_28; +x_27 = 1; +lean_inc(x_23); +lean_inc_ref(x_22); +lean_inc(x_21); +lean_inc_ref(x_20); +lean_inc(x_19); +lean_inc_ref(x_18); +x_28 = l_Lean_Elab_applyAttributesOf(x_16, x_27, x_18, x_19, x_20, x_21, x_22, x_23); lean_dec_ref(x_16); -if (lean_obj_tag(x_27) == 0) +if (lean_obj_tag(x_28) == 0) { -lean_object* x_28; -lean_dec_ref(x_27); -x_28 = l_Lean_Elab_addPreDefInfo(x_15, x_17, x_18, x_19, x_20, x_21, x_22); +lean_object* x_29; +lean_dec_ref(x_28); +x_29 = l_Lean_Elab_addPreDefInfo(x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_29; +} +else +{ +lean_dec(x_23); +lean_dec_ref(x_22); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec_ref(x_17); return x_28; } -else -{ -lean_dec(x_22); -lean_dec_ref(x_21); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec_ref(x_15); -return x_27; -} } } else { -lean_dec(x_22); -lean_dec_ref(x_21); -lean_dec(x_20); -lean_dec_ref(x_19); -lean_dec(x_18); +lean_dec(x_23); +lean_dec_ref(x_22); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); lean_dec_ref(x_17); lean_dec_ref(x_16); -lean_dec_ref(x_15); -return x_24; +return x_25; } } -block_42: +block_43: { if (x_5 == 0) { lean_dec(x_32); -x_15 = x_30; x_16 = x_31; x_17 = x_33; x_18 = x_34; @@ -12045,28 +12045,28 @@ x_19 = x_35; x_20 = x_36; x_21 = x_37; x_22 = x_38; -x_23 = lean_box(0); -goto block_29; +x_23 = x_39; +x_24 = lean_box(0); +goto block_30; } else { -lean_object* x_40; -lean_inc_ref(x_37); -lean_inc(x_32); -x_40 = l_Lean_enableRealizationsForConst(x_32, x_37, x_38); -if (lean_obj_tag(x_40) == 0) -{ lean_object* x_41; -lean_dec_ref(x_40); -lean_inc(x_38); -lean_inc_ref(x_37); -lean_inc(x_36); -lean_inc_ref(x_35); -x_41 = l_Lean_Meta_generateEagerEqns(x_32, x_35, x_36, x_37, x_38); +lean_inc_ref(x_38); +lean_inc(x_32); +x_41 = l_Lean_enableRealizationsForConst(x_32, x_38, x_39); if (lean_obj_tag(x_41) == 0) { +lean_object* x_42; lean_dec_ref(x_41); -x_15 = x_30; +lean_inc(x_39); +lean_inc_ref(x_38); +lean_inc(x_37); +lean_inc_ref(x_36); +x_42 = l_Lean_Meta_generateEagerEqns(x_32, x_36, x_37, x_38, x_39); +if (lean_obj_tag(x_42) == 0) +{ +lean_dec_ref(x_42); x_16 = x_31; x_17 = x_33; x_18 = x_34; @@ -12074,238 +12074,229 @@ x_19 = x_35; x_20 = x_36; x_21 = x_37; x_22 = x_38; -x_23 = lean_box(0); -goto block_29; +x_23 = x_39; +x_24 = lean_box(0); +goto block_30; } else { -lean_dec(x_38); -lean_dec_ref(x_37); -lean_dec(x_36); -lean_dec_ref(x_35); -lean_dec(x_34); +lean_dec(x_39); +lean_dec_ref(x_38); +lean_dec(x_37); +lean_dec_ref(x_36); +lean_dec(x_35); +lean_dec_ref(x_34); lean_dec_ref(x_33); lean_dec_ref(x_31); -lean_dec_ref(x_30); +lean_dec_ref(x_1); +return x_42; +} +} +else +{ +lean_dec(x_39); +lean_dec_ref(x_38); +lean_dec(x_37); +lean_dec_ref(x_36); +lean_dec(x_35); +lean_dec_ref(x_34); +lean_dec_ref(x_33); +lean_dec(x_32); +lean_dec_ref(x_31); lean_dec_ref(x_1); return x_41; } } -else -{ -lean_dec(x_38); -lean_dec_ref(x_37); -lean_dec(x_36); -lean_dec_ref(x_35); -lean_dec(x_34); -lean_dec_ref(x_33); -lean_dec(x_32); -lean_dec_ref(x_31); -lean_dec_ref(x_30); -lean_dec_ref(x_1); -return x_40; } -} -} -block_56: +block_57: { if (x_3 == 0) { -lean_dec(x_43); -x_30 = x_44; -x_31 = x_45; -x_32 = x_46; -x_33 = x_47; -x_34 = x_48; -x_35 = x_49; -x_36 = x_50; -x_37 = x_51; -x_38 = x_52; -x_39 = lean_box(0); -goto block_42; -} -else -{ -uint8_t x_54; -x_54 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_shouldGenCodeFor(x_44); -if (x_54 == 0) -{ -lean_dec(x_43); -x_30 = x_44; -x_31 = x_45; -x_32 = x_46; -x_33 = x_47; -x_34 = x_48; -x_35 = x_49; -x_36 = x_50; -x_37 = x_51; -x_38 = x_52; -x_39 = lean_box(0); -goto block_42; -} -else -{ -lean_object* x_55; -lean_inc(x_52); -lean_inc_ref(x_51); -x_55 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_compileDecl___redArg(x_43, x_47, x_51, x_52); -if (lean_obj_tag(x_55) == 0) -{ -lean_dec_ref(x_55); -x_30 = x_44; -x_31 = x_45; -x_32 = x_46; -x_33 = x_47; -x_34 = x_48; -x_35 = x_49; -x_36 = x_50; -x_37 = x_51; -x_38 = x_52; -x_39 = lean_box(0); -goto block_42; -} -else -{ -lean_dec(x_52); -lean_dec_ref(x_51); -lean_dec(x_50); -lean_dec_ref(x_49); -lean_dec(x_48); -lean_dec_ref(x_47); lean_dec(x_46); -lean_dec_ref(x_45); +x_31 = x_44; +x_32 = x_45; +x_33 = x_47; +x_34 = x_48; +x_35 = x_49; +x_36 = x_50; +x_37 = x_51; +x_38 = x_52; +x_39 = x_53; +x_40 = lean_box(0); +goto block_43; +} +else +{ +uint8_t x_55; +x_55 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_shouldGenCodeFor(x_47); +if (x_55 == 0) +{ +lean_dec(x_46); +x_31 = x_44; +x_32 = x_45; +x_33 = x_47; +x_34 = x_48; +x_35 = x_49; +x_36 = x_50; +x_37 = x_51; +x_38 = x_52; +x_39 = x_53; +x_40 = lean_box(0); +goto block_43; +} +else +{ +lean_object* x_56; +lean_inc(x_53); +lean_inc_ref(x_52); +x_56 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_compileDecl___redArg(x_46, x_48, x_52, x_53); +if (lean_obj_tag(x_56) == 0) +{ +lean_dec_ref(x_56); +x_31 = x_44; +x_32 = x_45; +x_33 = x_47; +x_34 = x_48; +x_35 = x_49; +x_36 = x_50; +x_37 = x_51; +x_38 = x_52; +x_39 = x_53; +x_40 = lean_box(0); +goto block_43; +} +else +{ +lean_dec(x_53); +lean_dec_ref(x_52); +lean_dec(x_51); +lean_dec_ref(x_50); +lean_dec(x_49); +lean_dec_ref(x_48); +lean_dec_ref(x_47); +lean_dec(x_45); lean_dec_ref(x_44); lean_dec_ref(x_1); -return x_55; +return x_56; } } } } -block_203: +block_202: { -uint8_t x_69; lean_object* x_70; -x_69 = 0; -lean_inc(x_67); -lean_inc_ref(x_66); -lean_inc(x_61); -x_70 = l_Lean_addDecl(x_61, x_69, x_66, x_67); -if (lean_obj_tag(x_70) == 0) +lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_70 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__0; +lean_inc_ref(x_61); +x_71 = lean_array_push(x_70, x_61); +x_72 = 0; +lean_inc(x_68); +lean_inc_ref(x_67); +lean_inc(x_66); +lean_inc_ref(x_65); +lean_inc(x_64); +lean_inc_ref(x_63); +x_73 = l_Lean_Elab_applyAttributesOf(x_71, x_72, x_63, x_64, x_65, x_66, x_67, x_68); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; -lean_dec_ref(x_70); -x_71 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__0; -lean_inc_ref(x_59); -x_72 = lean_array_push(x_71, x_59); -x_73 = 0; -lean_inc(x_67); -lean_inc_ref(x_66); -lean_inc(x_65); -lean_inc_ref(x_64); -lean_inc(x_63); -lean_inc_ref(x_62); -x_74 = l_Lean_Elab_applyAttributesOf(x_72, x_73, x_62, x_63, x_64, x_65, x_66, x_67); -if (lean_obj_tag(x_74) == 0) -{ -uint8_t x_75; -lean_dec_ref(x_74); -x_75 = lean_ctor_get_uint8(x_57, sizeof(void*)*3 + 2); -lean_dec_ref(x_57); -switch (x_75) { +uint8_t x_74; +lean_dec_ref(x_73); +x_74 = lean_ctor_get_uint8(x_58, sizeof(void*)*3 + 2); +lean_dec_ref(x_58); +switch (x_74) { case 1: { -lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_76 = lean_st_ref_get(x_67); -x_77 = lean_ctor_get(x_76, 0); -lean_inc_ref(x_77); -lean_dec(x_76); -lean_inc(x_60); -x_78 = l_Lean_isMarkedMeta(x_77, x_60); -if (x_78 == 0) +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = lean_st_ref_get(x_68); +x_76 = lean_ctor_get(x_75, 0); +lean_inc_ref(x_76); +lean_dec(x_75); +lean_inc(x_59); +x_77 = l_Lean_isMarkedMeta(x_76, x_59); +if (x_77 == 0) { -lean_object* x_79; uint8_t x_80; -x_79 = lean_st_ref_take(x_67); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +lean_object* x_78; uint8_t x_79; +x_78 = lean_st_ref_take(x_68); +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_81 = lean_ctor_get(x_79, 0); -x_82 = lean_ctor_get(x_79, 5); -lean_dec(x_82); -lean_inc(x_60); -x_83 = l_Lean_markMeta(x_81, x_60); -x_84 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; -lean_ctor_set(x_79, 5, x_84); -lean_ctor_set(x_79, 0, x_83); -x_85 = lean_st_ref_set(x_67, x_79); -x_86 = lean_st_ref_take(x_65); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_80 = lean_ctor_get(x_78, 0); +x_81 = lean_ctor_get(x_78, 5); +lean_dec(x_81); +lean_inc(x_59); +x_82 = l_Lean_markMeta(x_80, x_59); +x_83 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; +lean_ctor_set(x_78, 5, x_83); +lean_ctor_set(x_78, 0, x_82); +x_84 = lean_st_ref_set(x_68, x_78); +x_85 = lean_st_ref_take(x_66); +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 1); -lean_dec(x_88); -x_89 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -lean_ctor_set(x_86, 1, x_89); -x_90 = lean_st_ref_set(x_65, x_86); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 1); +lean_dec(x_87); +x_88 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +lean_ctor_set(x_85, 1, x_88); +x_89 = lean_st_ref_set(x_66, x_85); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_91 = lean_ctor_get(x_86, 0); -x_92 = lean_ctor_get(x_86, 2); -x_93 = lean_ctor_get(x_86, 3); -x_94 = lean_ctor_get(x_86, 4); -lean_inc(x_94); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_90 = lean_ctor_get(x_85, 0); +x_91 = lean_ctor_get(x_85, 2); +x_92 = lean_ctor_get(x_85, 3); +x_93 = lean_ctor_get(x_85, 4); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); -lean_dec(x_86); -x_95 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -x_96 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_96, 0, x_91); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_92); -lean_ctor_set(x_96, 3, x_93); -lean_ctor_set(x_96, 4, x_94); -x_97 = lean_st_ref_set(x_65, x_96); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_inc(x_90); +lean_dec(x_85); +x_94 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +x_95 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_95, 0, x_90); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_95, 2, x_91); +lean_ctor_set(x_95, 3, x_92); +lean_ctor_set(x_95, 4, x_93); +x_96 = lean_st_ref_set(x_66, x_95); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_98 = lean_ctor_get(x_79, 0); -x_99 = lean_ctor_get(x_79, 1); -x_100 = lean_ctor_get(x_79, 2); -x_101 = lean_ctor_get(x_79, 3); -x_102 = lean_ctor_get(x_79, 4); -x_103 = lean_ctor_get(x_79, 6); -x_104 = lean_ctor_get(x_79, 7); -x_105 = lean_ctor_get(x_79, 8); -lean_inc(x_105); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_97 = lean_ctor_get(x_78, 0); +x_98 = lean_ctor_get(x_78, 1); +x_99 = lean_ctor_get(x_78, 2); +x_100 = lean_ctor_get(x_78, 3); +x_101 = lean_ctor_get(x_78, 4); +x_102 = lean_ctor_get(x_78, 6); +x_103 = lean_ctor_get(x_78, 7); +x_104 = lean_ctor_get(x_78, 8); lean_inc(x_104); lean_inc(x_103); lean_inc(x_102); @@ -12313,178 +12304,178 @@ lean_inc(x_101); lean_inc(x_100); lean_inc(x_99); lean_inc(x_98); -lean_dec(x_79); -lean_inc(x_60); -x_106 = l_Lean_markMeta(x_98, x_60); -x_107 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; -x_108 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_99); -lean_ctor_set(x_108, 2, x_100); -lean_ctor_set(x_108, 3, x_101); -lean_ctor_set(x_108, 4, x_102); -lean_ctor_set(x_108, 5, x_107); -lean_ctor_set(x_108, 6, x_103); -lean_ctor_set(x_108, 7, x_104); -lean_ctor_set(x_108, 8, x_105); -x_109 = lean_st_ref_set(x_67, x_108); -x_110 = lean_st_ref_take(x_65); -x_111 = lean_ctor_get(x_110, 0); -lean_inc_ref(x_111); -x_112 = lean_ctor_get(x_110, 2); -lean_inc(x_112); -x_113 = lean_ctor_get(x_110, 3); +lean_inc(x_97); +lean_dec(x_78); +lean_inc(x_59); +x_105 = l_Lean_markMeta(x_97, x_59); +x_106 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; +x_107 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_98); +lean_ctor_set(x_107, 2, x_99); +lean_ctor_set(x_107, 3, x_100); +lean_ctor_set(x_107, 4, x_101); +lean_ctor_set(x_107, 5, x_106); +lean_ctor_set(x_107, 6, x_102); +lean_ctor_set(x_107, 7, x_103); +lean_ctor_set(x_107, 8, x_104); +x_108 = lean_st_ref_set(x_68, x_107); +x_109 = lean_st_ref_take(x_66); +x_110 = lean_ctor_get(x_109, 0); +lean_inc_ref(x_110); +x_111 = lean_ctor_get(x_109, 2); +lean_inc(x_111); +x_112 = lean_ctor_get(x_109, 3); +lean_inc_ref(x_112); +x_113 = lean_ctor_get(x_109, 4); lean_inc_ref(x_113); -x_114 = lean_ctor_get(x_110, 4); -lean_inc_ref(x_114); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - lean_ctor_release(x_110, 2); - lean_ctor_release(x_110, 3); - lean_ctor_release(x_110, 4); - x_115 = x_110; +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + lean_ctor_release(x_109, 2); + lean_ctor_release(x_109, 3); + lean_ctor_release(x_109, 4); + x_114 = x_109; } else { - lean_dec_ref(x_110); - x_115 = lean_box(0); + lean_dec_ref(x_109); + x_114 = lean_box(0); } -x_116 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -if (lean_is_scalar(x_115)) { - x_117 = lean_alloc_ctor(0, 5, 0); +x_115 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +if (lean_is_scalar(x_114)) { + x_116 = lean_alloc_ctor(0, 5, 0); } else { - x_117 = x_115; + x_116 = x_114; } -lean_ctor_set(x_117, 0, x_111); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set(x_117, 2, x_112); -lean_ctor_set(x_117, 3, x_113); -lean_ctor_set(x_117, 4, x_114); -x_118 = lean_st_ref_set(x_65, x_117); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_ctor_set(x_116, 0, x_110); +lean_ctor_set(x_116, 1, x_115); +lean_ctor_set(x_116, 2, x_111); +lean_ctor_set(x_116, 3, x_112); +lean_ctor_set(x_116, 4, x_113); +x_117 = lean_st_ref_set(x_66, x_116); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } else { -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } case 2: { -lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_119 = lean_st_ref_get(x_67); -x_120 = lean_ctor_get(x_119, 0); -lean_inc_ref(x_120); -lean_dec(x_119); -lean_inc(x_60); -x_121 = l_Lean_isNoncomputable(x_120, x_60); -if (x_121 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_st_ref_get(x_68); +x_119 = lean_ctor_get(x_118, 0); +lean_inc_ref(x_119); +lean_dec(x_118); +lean_inc(x_59); +x_120 = l_Lean_isNoncomputable(x_119, x_59); +if (x_120 == 0) { -lean_object* x_122; uint8_t x_123; -x_122 = lean_st_ref_take(x_67); -x_123 = !lean_is_exclusive(x_122); -if (x_123 == 0) +lean_object* x_121; uint8_t x_122; +x_121 = lean_st_ref_take(x_68); +x_122 = !lean_is_exclusive(x_121); +if (x_122 == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_124 = lean_ctor_get(x_122, 0); -x_125 = lean_ctor_get(x_122, 5); -lean_dec(x_125); -lean_inc(x_60); -x_126 = l_Lean_addNoncomputable(x_124, x_60); -x_127 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; -lean_ctor_set(x_122, 5, x_127); -lean_ctor_set(x_122, 0, x_126); -x_128 = lean_st_ref_set(x_67, x_122); -x_129 = lean_st_ref_take(x_65); -x_130 = !lean_is_exclusive(x_129); -if (x_130 == 0) +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_123 = lean_ctor_get(x_121, 0); +x_124 = lean_ctor_get(x_121, 5); +lean_dec(x_124); +lean_inc(x_59); +x_125 = l_Lean_addNoncomputable(x_123, x_59); +x_126 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; +lean_ctor_set(x_121, 5, x_126); +lean_ctor_set(x_121, 0, x_125); +x_127 = lean_st_ref_set(x_68, x_121); +x_128 = lean_st_ref_take(x_66); +x_129 = !lean_is_exclusive(x_128); +if (x_129 == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_129, 1); -lean_dec(x_131); -x_132 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -lean_ctor_set(x_129, 1, x_132); -x_133 = lean_st_ref_set(x_65, x_129); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_128, 1); +lean_dec(x_130); +x_131 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +lean_ctor_set(x_128, 1, x_131); +x_132 = lean_st_ref_set(x_66, x_128); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_134 = lean_ctor_get(x_129, 0); -x_135 = lean_ctor_get(x_129, 2); -x_136 = lean_ctor_get(x_129, 3); -x_137 = lean_ctor_get(x_129, 4); -lean_inc(x_137); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_133 = lean_ctor_get(x_128, 0); +x_134 = lean_ctor_get(x_128, 2); +x_135 = lean_ctor_get(x_128, 3); +x_136 = lean_ctor_get(x_128, 4); lean_inc(x_136); lean_inc(x_135); lean_inc(x_134); -lean_dec(x_129); -x_138 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -x_139 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_139, 0, x_134); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_135); -lean_ctor_set(x_139, 3, x_136); -lean_ctor_set(x_139, 4, x_137); -x_140 = lean_st_ref_set(x_65, x_139); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_inc(x_133); +lean_dec(x_128); +x_137 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +x_138 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_138, 0, x_133); +lean_ctor_set(x_138, 1, x_137); +lean_ctor_set(x_138, 2, x_134); +lean_ctor_set(x_138, 3, x_135); +lean_ctor_set(x_138, 4, x_136); +x_139 = lean_st_ref_set(x_66, x_138); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_141 = lean_ctor_get(x_122, 0); -x_142 = lean_ctor_get(x_122, 1); -x_143 = lean_ctor_get(x_122, 2); -x_144 = lean_ctor_get(x_122, 3); -x_145 = lean_ctor_get(x_122, 4); -x_146 = lean_ctor_get(x_122, 6); -x_147 = lean_ctor_get(x_122, 7); -x_148 = lean_ctor_get(x_122, 8); -lean_inc(x_148); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_140 = lean_ctor_get(x_121, 0); +x_141 = lean_ctor_get(x_121, 1); +x_142 = lean_ctor_get(x_121, 2); +x_143 = lean_ctor_get(x_121, 3); +x_144 = lean_ctor_get(x_121, 4); +x_145 = lean_ctor_get(x_121, 6); +x_146 = lean_ctor_get(x_121, 7); +x_147 = lean_ctor_get(x_121, 8); lean_inc(x_147); lean_inc(x_146); lean_inc(x_145); @@ -12492,173 +12483,173 @@ lean_inc(x_144); lean_inc(x_143); lean_inc(x_142); lean_inc(x_141); -lean_dec(x_122); -lean_inc(x_60); -x_149 = l_Lean_addNoncomputable(x_141, x_60); -x_150 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; -x_151 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_142); -lean_ctor_set(x_151, 2, x_143); -lean_ctor_set(x_151, 3, x_144); -lean_ctor_set(x_151, 4, x_145); -lean_ctor_set(x_151, 5, x_150); -lean_ctor_set(x_151, 6, x_146); -lean_ctor_set(x_151, 7, x_147); -lean_ctor_set(x_151, 8, x_148); -x_152 = lean_st_ref_set(x_67, x_151); -x_153 = lean_st_ref_take(x_65); -x_154 = lean_ctor_get(x_153, 0); -lean_inc_ref(x_154); -x_155 = lean_ctor_get(x_153, 2); -lean_inc(x_155); -x_156 = lean_ctor_get(x_153, 3); +lean_inc(x_140); +lean_dec(x_121); +lean_inc(x_59); +x_148 = l_Lean_addNoncomputable(x_140, x_59); +x_149 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; +x_150 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_141); +lean_ctor_set(x_150, 2, x_142); +lean_ctor_set(x_150, 3, x_143); +lean_ctor_set(x_150, 4, x_144); +lean_ctor_set(x_150, 5, x_149); +lean_ctor_set(x_150, 6, x_145); +lean_ctor_set(x_150, 7, x_146); +lean_ctor_set(x_150, 8, x_147); +x_151 = lean_st_ref_set(x_68, x_150); +x_152 = lean_st_ref_take(x_66); +x_153 = lean_ctor_get(x_152, 0); +lean_inc_ref(x_153); +x_154 = lean_ctor_get(x_152, 2); +lean_inc(x_154); +x_155 = lean_ctor_get(x_152, 3); +lean_inc_ref(x_155); +x_156 = lean_ctor_get(x_152, 4); lean_inc_ref(x_156); -x_157 = lean_ctor_get(x_153, 4); -lean_inc_ref(x_157); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - lean_ctor_release(x_153, 1); - lean_ctor_release(x_153, 2); - lean_ctor_release(x_153, 3); - lean_ctor_release(x_153, 4); - x_158 = x_153; +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + lean_ctor_release(x_152, 2); + lean_ctor_release(x_152, 3); + lean_ctor_release(x_152, 4); + x_157 = x_152; } else { - lean_dec_ref(x_153); - x_158 = lean_box(0); + lean_dec_ref(x_152); + x_157 = lean_box(0); } -x_159 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -if (lean_is_scalar(x_158)) { - x_160 = lean_alloc_ctor(0, 5, 0); +x_158 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +if (lean_is_scalar(x_157)) { + x_159 = lean_alloc_ctor(0, 5, 0); } else { - x_160 = x_158; + x_159 = x_157; } -lean_ctor_set(x_160, 0, x_154); -lean_ctor_set(x_160, 1, x_159); -lean_ctor_set(x_160, 2, x_155); -lean_ctor_set(x_160, 3, x_156); -lean_ctor_set(x_160, 4, x_157); -x_161 = lean_st_ref_set(x_65, x_160); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_ctor_set(x_159, 0, x_153); +lean_ctor_set(x_159, 1, x_158); +lean_ctor_set(x_159, 2, x_154); +lean_ctor_set(x_159, 3, x_155); +lean_ctor_set(x_159, 4, x_156); +x_160 = lean_st_ref_set(x_66, x_159); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } else { -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } default: { -uint8_t x_162; -x_162 = l_Lean_Elab_DefKind_isTheorem(x_58); -if (x_162 == 0) +uint8_t x_161; +x_161 = l_Lean_Elab_DefKind_isTheorem(x_62); +if (x_161 == 0) { -lean_object* x_163; uint8_t x_164; -x_163 = lean_st_ref_take(x_67); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) +lean_object* x_162; uint8_t x_163; +x_162 = lean_st_ref_take(x_68); +x_163 = !lean_is_exclusive(x_162); +if (x_163 == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; -x_165 = lean_ctor_get(x_163, 0); -x_166 = lean_ctor_get(x_163, 5); -lean_dec(x_166); -lean_inc(x_60); -x_167 = l_Lean_markNotMeta(x_165, x_60); -x_168 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; -lean_ctor_set(x_163, 5, x_168); -lean_ctor_set(x_163, 0, x_167); -x_169 = lean_st_ref_set(x_67, x_163); -x_170 = lean_st_ref_take(x_65); -x_171 = !lean_is_exclusive(x_170); -if (x_171 == 0) +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; +x_164 = lean_ctor_get(x_162, 0); +x_165 = lean_ctor_get(x_162, 5); +lean_dec(x_165); +lean_inc(x_59); +x_166 = l_Lean_markNotMeta(x_164, x_59); +x_167 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; +lean_ctor_set(x_162, 5, x_167); +lean_ctor_set(x_162, 0, x_166); +x_168 = lean_st_ref_set(x_68, x_162); +x_169 = lean_st_ref_take(x_66); +x_170 = !lean_is_exclusive(x_169); +if (x_170 == 0) { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_170, 1); -lean_dec(x_172); -x_173 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -lean_ctor_set(x_170, 1, x_173); -x_174 = lean_st_ref_set(x_65, x_170); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_169, 1); +lean_dec(x_171); +x_172 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +lean_ctor_set(x_169, 1, x_172); +x_173 = lean_st_ref_set(x_66, x_169); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_175 = lean_ctor_get(x_170, 0); -x_176 = lean_ctor_get(x_170, 2); -x_177 = lean_ctor_get(x_170, 3); -x_178 = lean_ctor_get(x_170, 4); -lean_inc(x_178); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_174 = lean_ctor_get(x_169, 0); +x_175 = lean_ctor_get(x_169, 2); +x_176 = lean_ctor_get(x_169, 3); +x_177 = lean_ctor_get(x_169, 4); lean_inc(x_177); lean_inc(x_176); lean_inc(x_175); -lean_dec(x_170); -x_179 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -x_180 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_180, 0, x_175); -lean_ctor_set(x_180, 1, x_179); -lean_ctor_set(x_180, 2, x_176); -lean_ctor_set(x_180, 3, x_177); -lean_ctor_set(x_180, 4, x_178); -x_181 = lean_st_ref_set(x_65, x_180); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_inc(x_174); +lean_dec(x_169); +x_178 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +x_179 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_179, 0, x_174); +lean_ctor_set(x_179, 1, x_178); +lean_ctor_set(x_179, 2, x_175); +lean_ctor_set(x_179, 3, x_176); +lean_ctor_set(x_179, 4, x_177); +x_180 = lean_st_ref_set(x_66, x_179); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_182 = lean_ctor_get(x_163, 0); -x_183 = lean_ctor_get(x_163, 1); -x_184 = lean_ctor_get(x_163, 2); -x_185 = lean_ctor_get(x_163, 3); -x_186 = lean_ctor_get(x_163, 4); -x_187 = lean_ctor_get(x_163, 6); -x_188 = lean_ctor_get(x_163, 7); -x_189 = lean_ctor_get(x_163, 8); -lean_inc(x_189); +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_181 = lean_ctor_get(x_162, 0); +x_182 = lean_ctor_get(x_162, 1); +x_183 = lean_ctor_get(x_162, 2); +x_184 = lean_ctor_get(x_162, 3); +x_185 = lean_ctor_get(x_162, 4); +x_186 = lean_ctor_get(x_162, 6); +x_187 = lean_ctor_get(x_162, 7); +x_188 = lean_ctor_get(x_162, 8); lean_inc(x_188); lean_inc(x_187); lean_inc(x_186); @@ -12666,610 +12657,718 @@ lean_inc(x_185); lean_inc(x_184); lean_inc(x_183); lean_inc(x_182); -lean_dec(x_163); -lean_inc(x_60); -x_190 = l_Lean_markNotMeta(x_182, x_60); -x_191 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; -x_192 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_183); -lean_ctor_set(x_192, 2, x_184); -lean_ctor_set(x_192, 3, x_185); -lean_ctor_set(x_192, 4, x_186); -lean_ctor_set(x_192, 5, x_191); -lean_ctor_set(x_192, 6, x_187); -lean_ctor_set(x_192, 7, x_188); -lean_ctor_set(x_192, 8, x_189); -x_193 = lean_st_ref_set(x_67, x_192); -x_194 = lean_st_ref_take(x_65); -x_195 = lean_ctor_get(x_194, 0); -lean_inc_ref(x_195); -x_196 = lean_ctor_get(x_194, 2); -lean_inc(x_196); -x_197 = lean_ctor_get(x_194, 3); +lean_inc(x_181); +lean_dec(x_162); +lean_inc(x_59); +x_189 = l_Lean_markNotMeta(x_181, x_59); +x_190 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3; +x_191 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_182); +lean_ctor_set(x_191, 2, x_183); +lean_ctor_set(x_191, 3, x_184); +lean_ctor_set(x_191, 4, x_185); +lean_ctor_set(x_191, 5, x_190); +lean_ctor_set(x_191, 6, x_186); +lean_ctor_set(x_191, 7, x_187); +lean_ctor_set(x_191, 8, x_188); +x_192 = lean_st_ref_set(x_68, x_191); +x_193 = lean_st_ref_take(x_66); +x_194 = lean_ctor_get(x_193, 0); +lean_inc_ref(x_194); +x_195 = lean_ctor_get(x_193, 2); +lean_inc(x_195); +x_196 = lean_ctor_get(x_193, 3); +lean_inc_ref(x_196); +x_197 = lean_ctor_get(x_193, 4); lean_inc_ref(x_197); -x_198 = lean_ctor_get(x_194, 4); -lean_inc_ref(x_198); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - lean_ctor_release(x_194, 2); - lean_ctor_release(x_194, 3); - lean_ctor_release(x_194, 4); - x_199 = x_194; +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + lean_ctor_release(x_193, 4); + x_198 = x_193; } else { - lean_dec_ref(x_194); - x_199 = lean_box(0); + lean_dec_ref(x_193); + x_198 = lean_box(0); } -x_200 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; -if (lean_is_scalar(x_199)) { - x_201 = lean_alloc_ctor(0, 5, 0); +x_199 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__4; +if (lean_is_scalar(x_198)) { + x_200 = lean_alloc_ctor(0, 5, 0); } else { - x_201 = x_199; + x_200 = x_198; } -lean_ctor_set(x_201, 0, x_195); -lean_ctor_set(x_201, 1, x_200); -lean_ctor_set(x_201, 2, x_196); -lean_ctor_set(x_201, 3, x_197); -lean_ctor_set(x_201, 4, x_198); -x_202 = lean_st_ref_set(x_65, x_201); -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +lean_ctor_set(x_200, 0, x_194); +lean_ctor_set(x_200, 1, x_199); +lean_ctor_set(x_200, 2, x_195); +lean_ctor_set(x_200, 3, x_196); +lean_ctor_set(x_200, 4, x_197); +x_201 = lean_st_ref_set(x_66, x_200); +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } else { -x_43 = x_61; -x_44 = x_59; -x_45 = x_72; +x_44 = x_71; +x_45 = x_59; x_46 = x_60; -x_47 = x_62; +x_47 = x_61; x_48 = x_63; x_49 = x_64; x_50 = x_65; x_51 = x_66; x_52 = x_67; -x_53 = lean_box(0); -goto block_56; +x_53 = x_68; +x_54 = lean_box(0); +goto block_57; } } } } else { -lean_dec_ref(x_72); -lean_dec(x_67); -lean_dec_ref(x_66); -lean_dec(x_65); -lean_dec_ref(x_64); -lean_dec(x_63); -lean_dec_ref(x_62); -lean_dec(x_61); +lean_dec_ref(x_71); +lean_dec(x_68); +lean_dec_ref(x_67); +lean_dec(x_66); +lean_dec_ref(x_65); +lean_dec(x_64); +lean_dec_ref(x_63); +lean_dec_ref(x_61); lean_dec(x_60); -lean_dec_ref(x_59); -lean_dec_ref(x_57); +lean_dec(x_59); +lean_dec_ref(x_58); lean_dec_ref(x_1); -return x_74; +return x_73; } } -else +block_218: { -lean_dec(x_67); -lean_dec_ref(x_66); -lean_dec(x_65); -lean_dec_ref(x_64); -lean_dec(x_63); -lean_dec_ref(x_62); -lean_dec(x_61); -lean_dec(x_60); -lean_dec_ref(x_59); -lean_dec_ref(x_57); -lean_dec_ref(x_1); -return x_70; -} -} -block_221: +uint8_t x_215; lean_object* x_216; +x_215 = 0; +lean_inc(x_213); +lean_inc_ref(x_212); +lean_inc(x_207); +x_216 = l_Lean_addDecl(x_207, x_215, x_212, x_213); +if (lean_obj_tag(x_216) == 0) { -lean_object* x_219; lean_object* x_220; -x_219 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_219, 0, x_215); -lean_ctor_set(x_219, 1, x_217); -lean_ctor_set(x_219, 2, x_205); -lean_ctor_set(x_219, 3, x_4); -lean_ctor_set_uint8(x_219, sizeof(void*)*4, x_218); -x_220 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_220, 0, x_219); -x_57 = x_204; -x_58 = x_208; -x_59 = x_214; -x_60 = x_211; -x_61 = x_220; -x_62 = x_210; -x_63 = x_212; +lean_dec_ref(x_216); +if (x_8 == 0) +{ +x_58 = x_204; +x_59 = x_203; +x_60 = x_207; +x_61 = x_205; +x_62 = x_206; +x_63 = x_208; x_64 = x_209; -x_65 = x_216; -x_66 = x_206; -x_67 = x_207; -x_68 = lean_box(0); -goto block_203; +x_65 = x_210; +x_66 = x_211; +x_67 = x_212; +x_68 = x_213; +x_69 = lean_box(0); +goto block_202; } -block_239: +else { -lean_object* x_237; lean_object* x_238; -x_237 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_237, 0, x_233); -lean_ctor_set(x_237, 1, x_235); -lean_ctor_set(x_237, 2, x_230); -lean_ctor_set(x_237, 3, x_4); -lean_ctor_set_uint8(x_237, sizeof(void*)*4, x_236); -x_238 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_238, 0, x_237); -x_57 = x_222; -x_58 = x_225; -x_59 = x_232; -x_60 = x_229; -x_61 = x_238; -x_62 = x_228; -x_63 = x_231; -x_64 = x_227; -x_65 = x_234; -x_66 = x_223; -x_67 = x_224; -x_68 = lean_box(0); -goto block_203; +lean_object* x_217; +lean_inc(x_203); +x_217 = l_Lean_Meta_markAsRecursive___redArg(x_203, x_213); +if (lean_obj_tag(x_217) == 0) +{ +lean_dec_ref(x_217); +x_58 = x_204; +x_59 = x_203; +x_60 = x_207; +x_61 = x_205; +x_62 = x_206; +x_63 = x_208; +x_64 = x_209; +x_65 = x_210; +x_66 = x_211; +x_67 = x_212; +x_68 = x_213; +x_69 = lean_box(0); +goto block_202; } -block_257: +else { -lean_object* x_255; lean_object* x_256; -x_255 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_255, 0, x_250); -lean_ctor_set(x_255, 1, x_252); -lean_ctor_set(x_255, 2, x_253); -lean_ctor_set(x_255, 3, x_4); -lean_ctor_set_uint8(x_255, sizeof(void*)*4, x_254); -x_256 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_256, 0, x_255); -x_57 = x_240; -x_58 = x_244; -x_59 = x_249; -x_60 = x_247; -x_61 = x_256; -x_62 = x_246; -x_63 = x_248; -x_64 = x_245; -x_65 = x_251; -x_66 = x_241; -x_67 = x_243; -x_68 = lean_box(0); -goto block_203; +lean_dec(x_213); +lean_dec_ref(x_212); +lean_dec(x_211); +lean_dec_ref(x_210); +lean_dec(x_209); +lean_dec_ref(x_208); +lean_dec(x_207); +lean_dec_ref(x_205); +lean_dec_ref(x_204); +lean_dec(x_203); +lean_dec_ref(x_1); +return x_217; } -block_313: +} +} +else { -uint8_t x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_266 = lean_ctor_get_uint8(x_258, sizeof(void*)*9); -x_267 = lean_ctor_get(x_258, 1); -x_268 = lean_ctor_get(x_258, 2); -lean_inc_ref(x_268); -x_269 = lean_ctor_get(x_258, 3); -lean_inc(x_269); -x_270 = lean_ctor_get(x_258, 6); -x_271 = lean_ctor_get(x_258, 7); -lean_inc_ref(x_270); -lean_inc(x_267); -lean_inc(x_269); -x_272 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_272, 0, x_269); -lean_ctor_set(x_272, 1, x_267); -lean_ctor_set(x_272, 2, x_270); +lean_dec(x_213); +lean_dec_ref(x_212); +lean_dec(x_211); +lean_dec_ref(x_210); +lean_dec(x_209); +lean_dec_ref(x_208); +lean_dec(x_207); +lean_dec_ref(x_205); +lean_dec_ref(x_204); +lean_dec(x_203); +lean_dec_ref(x_1); +return x_216; +} +} +block_236: +{ +lean_object* x_234; lean_object* x_235; +x_234 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_234, 0, x_222); +lean_ctor_set(x_234, 1, x_231); +lean_ctor_set(x_234, 2, x_230); +lean_ctor_set(x_234, 3, x_4); +lean_ctor_set_uint8(x_234, sizeof(void*)*4, x_233); +x_235 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_235, 0, x_234); +x_203 = x_219; +x_204 = x_225; +x_205 = x_221; +x_206 = x_224; +x_207 = x_235; +x_208 = x_226; +x_209 = x_220; +x_210 = x_223; +x_211 = x_228; +x_212 = x_229; +x_213 = x_232; +x_214 = lean_box(0); +goto block_218; +} +block_254: +{ +lean_object* x_252; lean_object* x_253; +x_252 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_252, 0, x_241); +lean_ctor_set(x_252, 1, x_249); +lean_ctor_set(x_252, 2, x_244); +lean_ctor_set(x_252, 3, x_4); +lean_ctor_set_uint8(x_252, sizeof(void*)*4, x_251); +x_253 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_253, 0, x_252); +x_203 = x_237; +x_204 = x_245; +x_205 = x_240; +x_206 = x_243; +x_207 = x_253; +x_208 = x_246; +x_209 = x_239; +x_210 = x_242; +x_211 = x_247; +x_212 = x_248; +x_213 = x_250; +x_214 = lean_box(0); +goto block_218; +} +block_272: +{ +lean_object* x_270; lean_object* x_271; +x_270 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_270, 0, x_258); +lean_ctor_set(x_270, 1, x_267); +lean_ctor_set(x_270, 2, x_261); +lean_ctor_set(x_270, 3, x_4); +lean_ctor_set_uint8(x_270, sizeof(void*)*4, x_269); +x_271 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_271, 0, x_270); +x_203 = x_255; +x_204 = x_263; +x_205 = x_257; +x_206 = x_260; +x_207 = x_271; +x_208 = x_264; +x_209 = x_256; +x_210 = x_259; +x_211 = x_265; +x_212 = x_266; +x_213 = x_268; +x_214 = lean_box(0); +goto block_218; +} +block_328: +{ +uint8_t x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_281 = lean_ctor_get_uint8(x_273, sizeof(void*)*9); +x_282 = lean_ctor_get(x_273, 1); +x_283 = lean_ctor_get(x_273, 2); +lean_inc_ref(x_283); +x_284 = lean_ctor_get(x_273, 3); +lean_inc(x_284); +x_285 = lean_ctor_get(x_273, 6); +x_286 = lean_ctor_get(x_273, 7); +lean_inc_ref(x_285); +lean_inc(x_282); +lean_inc(x_284); +x_287 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_287, 0, x_284); +lean_ctor_set(x_287, 1, x_282); +lean_ctor_set(x_287, 2, x_285); lean_inc(x_4); -lean_inc_ref(x_271); -lean_inc_ref(x_272); -x_273 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_271); -lean_ctor_set(x_273, 2, x_4); -switch (x_266) { +lean_inc_ref(x_286); +lean_inc_ref(x_287); +x_288 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +lean_ctor_set(x_288, 2, x_4); +switch (x_281) { case 1: { -lean_object* x_274; -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc(x_262); -lean_inc_ref(x_261); -lean_inc_ref(x_270); -x_274 = l_Lean_Meta_isProp(x_270, x_261, x_262, x_263, x_264); -if (lean_obj_tag(x_274) == 0) -{ -lean_object* x_275; uint8_t x_276; -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -lean_dec_ref(x_274); -x_276 = lean_unbox(x_275); -lean_dec(x_275); -if (x_276 == 0) -{ -lean_object* x_277; lean_object* x_278; uint8_t x_279; uint32_t x_280; uint32_t x_281; uint32_t x_282; lean_object* x_283; -lean_dec_ref(x_273); -lean_inc_ref(x_271); -x_277 = lean_st_ref_get(x_264); -x_278 = lean_ctor_get(x_277, 0); -lean_inc_ref(x_278); -lean_dec(x_277); -x_279 = lean_ctor_get_uint8(x_268, sizeof(void*)*3 + 4); -lean_inc_ref(x_271); -x_280 = l_Lean_getMaxHeight(x_278, x_271); -x_281 = 1; -x_282 = lean_uint32_add(x_280, x_281); -x_283 = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(x_283, 0, x_282); -if (x_279 == 0) -{ -uint8_t x_284; -x_284 = 1; -x_204 = x_268; -x_205 = x_283; -x_206 = x_263; -x_207 = x_264; -x_208 = x_266; -x_209 = x_261; -x_210 = x_259; -x_211 = x_269; -x_212 = x_260; -x_213 = lean_box(0); -x_214 = x_258; -x_215 = x_272; -x_216 = x_262; -x_217 = x_271; -x_218 = x_284; -goto block_221; -} -else -{ -uint8_t x_285; -x_285 = 0; -x_204 = x_268; -x_205 = x_283; -x_206 = x_263; -x_207 = x_264; -x_208 = x_266; -x_209 = x_261; -x_210 = x_259; -x_211 = x_269; -x_212 = x_260; -x_213 = lean_box(0); -x_214 = x_258; -x_215 = x_272; -x_216 = x_262; -x_217 = x_271; -x_218 = x_285; -goto block_221; -} -} -else -{ -lean_object* x_286; -lean_dec_ref(x_272); -lean_dec(x_4); -lean_inc_ref(x_263); -lean_inc_ref(x_273); -x_286 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(x_273, x_259, x_260, x_261, x_262, x_263, x_264); -if (lean_obj_tag(x_286) == 0) -{ -uint8_t x_287; -x_287 = !lean_is_exclusive(x_286); -if (x_287 == 0) -{ -lean_object* x_288; -x_288 = lean_ctor_get(x_286, 0); -lean_dec(x_288); -lean_ctor_set_tag(x_286, 2); -lean_ctor_set(x_286, 0, x_273); -x_57 = x_268; -x_58 = x_266; -x_59 = x_258; -x_60 = x_269; -x_61 = x_286; -x_62 = x_259; -x_63 = x_260; -x_64 = x_261; -x_65 = x_262; -x_66 = x_263; -x_67 = x_264; -x_68 = lean_box(0); -goto block_203; -} -else -{ lean_object* x_289; -lean_dec(x_286); -x_289 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_289, 0, x_273); -x_57 = x_268; -x_58 = x_266; -x_59 = x_258; -x_60 = x_269; -x_61 = x_289; -x_62 = x_259; -x_63 = x_260; -x_64 = x_261; -x_65 = x_262; -x_66 = x_263; -x_67 = x_264; -x_68 = lean_box(0); -goto block_203; +lean_inc(x_279); +lean_inc_ref(x_278); +lean_inc(x_277); +lean_inc_ref(x_276); +lean_inc_ref(x_285); +x_289 = l_Lean_Meta_isProp(x_285, x_276, x_277, x_278, x_279); +if (lean_obj_tag(x_289) == 0) +{ +lean_object* x_290; uint8_t x_291; +x_290 = lean_ctor_get(x_289, 0); +lean_inc(x_290); +lean_dec_ref(x_289); +x_291 = lean_unbox(x_290); +lean_dec(x_290); +if (x_291 == 0) +{ +lean_object* x_292; lean_object* x_293; uint8_t x_294; uint32_t x_295; uint32_t x_296; uint32_t x_297; lean_object* x_298; +lean_dec_ref(x_288); +lean_inc_ref(x_286); +x_292 = lean_st_ref_get(x_279); +x_293 = lean_ctor_get(x_292, 0); +lean_inc_ref(x_293); +lean_dec(x_292); +x_294 = lean_ctor_get_uint8(x_283, sizeof(void*)*3 + 4); +lean_inc_ref(x_286); +x_295 = l_Lean_getMaxHeight(x_293, x_286); +x_296 = 1; +x_297 = lean_uint32_add(x_295, x_296); +x_298 = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(x_298, 0, x_297); +if (x_294 == 0) +{ +uint8_t x_299; +x_299 = 1; +x_219 = x_284; +x_220 = x_275; +x_221 = x_273; +x_222 = x_287; +x_223 = x_276; +x_224 = x_281; +x_225 = x_283; +x_226 = x_274; +x_227 = lean_box(0); +x_228 = x_277; +x_229 = x_278; +x_230 = x_298; +x_231 = x_286; +x_232 = x_279; +x_233 = x_299; +goto block_236; +} +else +{ +uint8_t x_300; +x_300 = 0; +x_219 = x_284; +x_220 = x_275; +x_221 = x_273; +x_222 = x_287; +x_223 = x_276; +x_224 = x_281; +x_225 = x_283; +x_226 = x_274; +x_227 = lean_box(0); +x_228 = x_277; +x_229 = x_278; +x_230 = x_298; +x_231 = x_286; +x_232 = x_279; +x_233 = x_300; +goto block_236; } } else { +lean_object* x_301; +lean_dec_ref(x_287); +lean_dec(x_4); +lean_inc_ref(x_278); +lean_inc_ref(x_288); +x_301 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(x_288, x_274, x_275, x_276, x_277, x_278, x_279); +if (lean_obj_tag(x_301) == 0) +{ +uint8_t x_302; +x_302 = !lean_is_exclusive(x_301); +if (x_302 == 0) +{ +lean_object* x_303; +x_303 = lean_ctor_get(x_301, 0); +lean_dec(x_303); +lean_ctor_set_tag(x_301, 2); +lean_ctor_set(x_301, 0, x_288); +x_203 = x_284; +x_204 = x_283; +x_205 = x_273; +x_206 = x_281; +x_207 = x_301; +x_208 = x_274; +x_209 = x_275; +x_210 = x_276; +x_211 = x_277; +x_212 = x_278; +x_213 = x_279; +x_214 = lean_box(0); +goto block_218; +} +else +{ +lean_object* x_304; +lean_dec(x_301); +x_304 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_304, 0, x_288); +x_203 = x_284; +x_204 = x_283; +x_205 = x_273; +x_206 = x_281; +x_207 = x_304; +x_208 = x_274; +x_209 = x_275; +x_210 = x_276; +x_211 = x_277; +x_212 = x_278; +x_213 = x_279; +x_214 = lean_box(0); +goto block_218; +} +} +else +{ +lean_dec_ref(x_288); +lean_dec(x_284); +lean_dec_ref(x_283); +lean_dec(x_279); +lean_dec_ref(x_278); +lean_dec(x_277); +lean_dec_ref(x_276); +lean_dec(x_275); +lean_dec_ref(x_274); lean_dec_ref(x_273); -lean_dec(x_269); -lean_dec_ref(x_268); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec(x_262); -lean_dec_ref(x_261); -lean_dec(x_260); -lean_dec_ref(x_259); -lean_dec_ref(x_258); lean_dec_ref(x_1); -return x_286; +return x_301; } } } else { -uint8_t x_290; +uint8_t x_305; +lean_dec_ref(x_288); +lean_dec_ref(x_287); +lean_dec(x_284); +lean_dec_ref(x_283); +lean_dec(x_279); +lean_dec_ref(x_278); +lean_dec(x_277); +lean_dec_ref(x_276); +lean_dec(x_275); +lean_dec_ref(x_274); lean_dec_ref(x_273); -lean_dec_ref(x_272); -lean_dec(x_269); -lean_dec_ref(x_268); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec(x_262); -lean_dec_ref(x_261); -lean_dec(x_260); -lean_dec_ref(x_259); -lean_dec_ref(x_258); lean_dec(x_4); lean_dec_ref(x_1); -x_290 = !lean_is_exclusive(x_274); -if (x_290 == 0) +x_305 = !lean_is_exclusive(x_289); +if (x_305 == 0) { -return x_274; +return x_289; } else { -lean_object* x_291; lean_object* x_292; -x_291 = lean_ctor_get(x_274, 0); -lean_inc(x_291); -lean_dec(x_274); -x_292 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_292, 0, x_291); -return x_292; +lean_object* x_306; lean_object* x_307; +x_306 = lean_ctor_get(x_289, 0); +lean_inc(x_306); +lean_dec(x_289); +x_307 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_307, 0, x_306); +return x_307; } } } case 2: { -lean_object* x_293; -lean_dec_ref(x_272); +lean_object* x_308; +lean_dec_ref(x_287); lean_dec(x_4); -lean_inc_ref(x_263); -lean_inc_ref(x_273); -x_293 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(x_273, x_259, x_260, x_261, x_262, x_263, x_264); -if (lean_obj_tag(x_293) == 0) +lean_inc_ref(x_278); +lean_inc_ref(x_288); +x_308 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(x_288, x_274, x_275, x_276, x_277, x_278, x_279); +if (lean_obj_tag(x_308) == 0) { -uint8_t x_294; -x_294 = !lean_is_exclusive(x_293); -if (x_294 == 0) +uint8_t x_309; +x_309 = !lean_is_exclusive(x_308); +if (x_309 == 0) { -lean_object* x_295; -x_295 = lean_ctor_get(x_293, 0); -lean_dec(x_295); -lean_ctor_set_tag(x_293, 2); -lean_ctor_set(x_293, 0, x_273); -x_57 = x_268; -x_58 = x_266; -x_59 = x_258; -x_60 = x_269; -x_61 = x_293; -x_62 = x_259; -x_63 = x_260; -x_64 = x_261; -x_65 = x_262; -x_66 = x_263; -x_67 = x_264; -x_68 = lean_box(0); -goto block_203; +lean_object* x_310; +x_310 = lean_ctor_get(x_308, 0); +lean_dec(x_310); +lean_ctor_set_tag(x_308, 2); +lean_ctor_set(x_308, 0, x_288); +x_203 = x_284; +x_204 = x_283; +x_205 = x_273; +x_206 = x_281; +x_207 = x_308; +x_208 = x_274; +x_209 = x_275; +x_210 = x_276; +x_211 = x_277; +x_212 = x_278; +x_213 = x_279; +x_214 = lean_box(0); +goto block_218; } else { -lean_object* x_296; -lean_dec(x_293); -x_296 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_296, 0, x_273); -x_57 = x_268; -x_58 = x_266; -x_59 = x_258; -x_60 = x_269; -x_61 = x_296; -x_62 = x_259; -x_63 = x_260; -x_64 = x_261; -x_65 = x_262; -x_66 = x_263; -x_67 = x_264; -x_68 = lean_box(0); -goto block_203; +lean_object* x_311; +lean_dec(x_308); +x_311 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_311, 0, x_288); +x_203 = x_284; +x_204 = x_283; +x_205 = x_273; +x_206 = x_281; +x_207 = x_311; +x_208 = x_274; +x_209 = x_275; +x_210 = x_276; +x_211 = x_277; +x_212 = x_278; +x_213 = x_279; +x_214 = lean_box(0); +goto block_218; } } else { +lean_dec_ref(x_288); +lean_dec(x_284); +lean_dec_ref(x_283); +lean_dec(x_279); +lean_dec_ref(x_278); +lean_dec(x_277); +lean_dec_ref(x_276); +lean_dec(x_275); +lean_dec_ref(x_274); lean_dec_ref(x_273); -lean_dec(x_269); -lean_dec_ref(x_268); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec(x_262); -lean_dec_ref(x_261); -lean_dec(x_260); -lean_dec_ref(x_259); -lean_dec_ref(x_258); lean_dec_ref(x_1); -return x_293; +return x_308; } } case 4: { -uint8_t x_297; lean_object* x_298; lean_object* x_299; -lean_dec_ref(x_273); -x_297 = lean_ctor_get_uint8(x_268, sizeof(void*)*3 + 4); -lean_inc_ref(x_271); -x_298 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_298, 0, x_272); -lean_ctor_set(x_298, 1, x_271); -lean_ctor_set(x_298, 2, x_4); -lean_ctor_set_uint8(x_298, sizeof(void*)*3, x_297); -x_299 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_299, 0, x_298); -x_57 = x_268; -x_58 = x_266; -x_59 = x_258; -x_60 = x_269; -x_61 = x_299; -x_62 = x_259; -x_63 = x_260; -x_64 = x_261; -x_65 = x_262; -x_66 = x_263; -x_67 = x_264; -x_68 = lean_box(0); -goto block_203; +uint8_t x_312; lean_object* x_313; lean_object* x_314; +lean_dec_ref(x_288); +x_312 = lean_ctor_get_uint8(x_283, sizeof(void*)*3 + 4); +lean_inc_ref(x_286); +x_313 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_313, 0, x_287); +lean_ctor_set(x_313, 1, x_286); +lean_ctor_set(x_313, 2, x_4); +lean_ctor_set_uint8(x_313, sizeof(void*)*3, x_312); +x_314 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_314, 0, x_313); +x_203 = x_284; +x_204 = x_283; +x_205 = x_273; +x_206 = x_281; +x_207 = x_314; +x_208 = x_274; +x_209 = x_275; +x_210 = x_276; +x_211 = x_277; +x_212 = x_278; +x_213 = x_279; +x_214 = lean_box(0); +goto block_218; } case 5: { -uint8_t x_300; lean_object* x_301; -lean_dec_ref(x_273); -lean_inc_ref(x_271); -x_300 = lean_ctor_get_uint8(x_268, sizeof(void*)*3 + 4); -x_301 = lean_box(1); -if (x_300 == 0) +uint8_t x_315; lean_object* x_316; +lean_dec_ref(x_288); +lean_inc_ref(x_286); +x_315 = lean_ctor_get_uint8(x_283, sizeof(void*)*3 + 4); +x_316 = lean_box(1); +if (x_315 == 0) { -uint8_t x_302; -x_302 = 1; -x_222 = x_268; -x_223 = x_263; -x_224 = x_264; -x_225 = x_266; -x_226 = lean_box(0); -x_227 = x_261; -x_228 = x_259; -x_229 = x_269; -x_230 = x_301; -x_231 = x_260; -x_232 = x_258; -x_233 = x_272; -x_234 = x_262; -x_235 = x_271; -x_236 = x_302; -goto block_239; +uint8_t x_317; +x_317 = 1; +x_237 = x_284; +x_238 = lean_box(0); +x_239 = x_275; +x_240 = x_273; +x_241 = x_287; +x_242 = x_276; +x_243 = x_281; +x_244 = x_316; +x_245 = x_283; +x_246 = x_274; +x_247 = x_277; +x_248 = x_278; +x_249 = x_286; +x_250 = x_279; +x_251 = x_317; +goto block_254; } else { -uint8_t x_303; -x_303 = 0; -x_222 = x_268; -x_223 = x_263; -x_224 = x_264; -x_225 = x_266; -x_226 = lean_box(0); -x_227 = x_261; -x_228 = x_259; -x_229 = x_269; -x_230 = x_301; -x_231 = x_260; -x_232 = x_258; -x_233 = x_272; -x_234 = x_262; -x_235 = x_271; -x_236 = x_303; -goto block_239; +uint8_t x_318; +x_318 = 0; +x_237 = x_284; +x_238 = lean_box(0); +x_239 = x_275; +x_240 = x_273; +x_241 = x_287; +x_242 = x_276; +x_243 = x_281; +x_244 = x_316; +x_245 = x_283; +x_246 = x_274; +x_247 = x_277; +x_248 = x_278; +x_249 = x_286; +x_250 = x_279; +x_251 = x_318; +goto block_254; } } default: { -lean_object* x_304; lean_object* x_305; uint8_t x_306; uint32_t x_307; uint32_t x_308; uint32_t x_309; lean_object* x_310; -lean_dec_ref(x_273); -lean_inc_ref(x_271); -x_304 = lean_st_ref_get(x_264); -x_305 = lean_ctor_get(x_304, 0); -lean_inc_ref(x_305); -lean_dec(x_304); -x_306 = lean_ctor_get_uint8(x_268, sizeof(void*)*3 + 4); -lean_inc_ref(x_271); -x_307 = l_Lean_getMaxHeight(x_305, x_271); -x_308 = 1; -x_309 = lean_uint32_add(x_307, x_308); -x_310 = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(x_310, 0, x_309); -if (x_306 == 0) +lean_object* x_319; lean_object* x_320; uint8_t x_321; uint32_t x_322; uint32_t x_323; uint32_t x_324; lean_object* x_325; +lean_dec_ref(x_288); +lean_inc_ref(x_286); +x_319 = lean_st_ref_get(x_279); +x_320 = lean_ctor_get(x_319, 0); +lean_inc_ref(x_320); +lean_dec(x_319); +x_321 = lean_ctor_get_uint8(x_283, sizeof(void*)*3 + 4); +lean_inc_ref(x_286); +x_322 = l_Lean_getMaxHeight(x_320, x_286); +x_323 = 1; +x_324 = lean_uint32_add(x_322, x_323); +x_325 = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(x_325, 0, x_324); +if (x_321 == 0) { -uint8_t x_311; -x_311 = 1; -x_240 = x_268; -x_241 = x_263; -x_242 = lean_box(0); -x_243 = x_264; -x_244 = x_266; -x_245 = x_261; -x_246 = x_259; -x_247 = x_269; -x_248 = x_260; -x_249 = x_258; -x_250 = x_272; -x_251 = x_262; -x_252 = x_271; -x_253 = x_310; -x_254 = x_311; -goto block_257; +uint8_t x_326; +x_326 = 1; +x_255 = x_284; +x_256 = x_275; +x_257 = x_273; +x_258 = x_287; +x_259 = x_276; +x_260 = x_281; +x_261 = x_325; +x_262 = lean_box(0); +x_263 = x_283; +x_264 = x_274; +x_265 = x_277; +x_266 = x_278; +x_267 = x_286; +x_268 = x_279; +x_269 = x_326; +goto block_272; } else { -uint8_t x_312; -x_312 = 0; -x_240 = x_268; -x_241 = x_263; -x_242 = lean_box(0); -x_243 = x_264; -x_244 = x_266; -x_245 = x_261; -x_246 = x_259; -x_247 = x_269; -x_248 = x_260; -x_249 = x_258; -x_250 = x_272; -x_251 = x_262; -x_252 = x_271; -x_253 = x_310; -x_254 = x_312; -goto block_257; +uint8_t x_327; +x_327 = 0; +x_255 = x_284; +x_256 = x_275; +x_257 = x_273; +x_258 = x_287; +x_259 = x_276; +x_260 = x_281; +x_261 = x_325; +x_262 = lean_box(0); +x_263 = x_283; +x_264 = x_274; +x_265 = x_277; +x_266 = x_278; +x_267 = x_286; +x_268 = x_279; +x_269 = x_327; +goto block_272; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_16 = lean_unbox(x_3); +x_17 = lean_unbox(x_5); +x_18 = lean_unbox(x_6); +x_19 = lean_unbox(x_7); +x_20 = lean_unbox(x_8); +x_21 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_1, x_2, x_16, x_4, x_17, x_18, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = 1; +x_14 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_1, x_2, x_13, x_3, x_13, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_4); +x_14 = lean_unbox(x_5); +x_15 = l_Lean_Elab_addAndCompileNonRec(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = 0; +x_16 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_1, x_2, x_15, x_4, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; @@ -13277,48 +13376,10 @@ x_15 = lean_unbox(x_3); x_16 = lean_unbox(x_5); x_17 = lean_unbox(x_6); x_18 = lean_unbox(x_7); -x_19 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_1, x_2, x_15, x_4, x_16, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13); +x_19 = l_Lean_Elab_addNonRec(x_1, x_2, x_15, x_4, x_16, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13); return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = 1; -x_13 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_1, x_2, x_12, x_3, x_12, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_4); -x_13 = l_Lean_Elab_addAndCompileNonRec(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = 0; -x_15 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_1, x_2, x_14, x_4, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; -x_14 = lean_unbox(x_3); -x_15 = lean_unbox(x_5); -x_16 = lean_unbox(x_6); -x_17 = l_Lean_Elab_addNonRec(x_1, x_2, x_14, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12); -return x_17; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14274,7 +14335,7 @@ return x_16; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; uint8_t x_16; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_54; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; uint8_t x_32; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_54; lean_inc_ref(x_1); lean_inc(x_6); lean_inc_ref(x_5); @@ -14403,12 +14464,12 @@ x_67 = lean_ptr_addr(x_63); x_68 = lean_usize_dec_eq(x_66, x_67); if (x_68 == 0) { -x_40 = lean_box(0); +x_40 = x_63; x_41 = x_57; -x_42 = x_61; -x_43 = x_65; -x_44 = x_63; -x_45 = x_58; +x_42 = lean_box(0); +x_43 = x_61; +x_44 = x_58; +x_45 = x_65; x_46 = x_68; goto block_53; } @@ -14418,12 +14479,12 @@ size_t x_69; size_t x_70; uint8_t x_71; x_69 = lean_ptr_addr(x_60); x_70 = lean_ptr_addr(x_65); x_71 = lean_usize_dec_eq(x_69, x_70); -x_40 = lean_box(0); +x_40 = x_63; x_41 = x_57; -x_42 = x_61; -x_43 = x_65; -x_44 = x_63; -x_45 = x_58; +x_42 = lean_box(0); +x_43 = x_61; +x_44 = x_58; +x_45 = x_65; x_46 = x_71; goto block_53; } @@ -14492,12 +14553,12 @@ x_81 = lean_ptr_addr(x_77); x_82 = lean_usize_dec_eq(x_80, x_81); if (x_82 == 0) { -x_26 = x_57; -x_27 = x_72; -x_28 = x_79; -x_29 = lean_box(0); -x_30 = x_77; -x_31 = x_75; +x_26 = x_79; +x_27 = x_57; +x_28 = lean_box(0); +x_29 = x_72; +x_30 = x_75; +x_31 = x_77; x_32 = x_82; goto block_39; } @@ -14507,12 +14568,12 @@ size_t x_83; size_t x_84; uint8_t x_85; x_83 = lean_ptr_addr(x_74); x_84 = lean_ptr_addr(x_79); x_85 = lean_usize_dec_eq(x_83, x_84); -x_26 = x_57; -x_27 = x_72; -x_28 = x_79; -x_29 = lean_box(0); -x_30 = x_77; -x_31 = x_75; +x_26 = x_79; +x_27 = x_57; +x_28 = lean_box(0); +x_29 = x_72; +x_30 = x_75; +x_31 = x_77; x_32 = x_85; goto block_39; } @@ -14596,14 +14657,14 @@ x_98 = lean_ptr_addr(x_92); x_99 = lean_usize_dec_eq(x_97, x_98); if (x_99 == 0) { -x_8 = x_89; -x_9 = lean_box(0); -x_10 = x_86; -x_11 = x_96; -x_12 = x_57; -x_13 = x_92; -x_14 = x_90; -x_15 = x_94; +x_8 = x_94; +x_9 = x_96; +x_10 = x_57; +x_11 = x_90; +x_12 = x_89; +x_13 = lean_box(0); +x_14 = x_92; +x_15 = x_86; x_16 = x_99; goto block_25; } @@ -14613,14 +14674,14 @@ size_t x_100; size_t x_101; uint8_t x_102; x_100 = lean_ptr_addr(x_88); x_101 = lean_ptr_addr(x_94); x_102 = lean_usize_dec_eq(x_100, x_101); -x_8 = x_89; -x_9 = lean_box(0); -x_10 = x_86; -x_11 = x_96; -x_12 = x_57; -x_13 = x_92; -x_14 = x_90; -x_15 = x_94; +x_8 = x_94; +x_9 = x_96; +x_10 = x_57; +x_11 = x_90; +x_12 = x_89; +x_13 = lean_box(0); +x_14 = x_92; +x_15 = x_86; x_16 = x_102; goto block_25; } @@ -14909,12 +14970,12 @@ x_150 = lean_ptr_addr(x_146); x_151 = lean_usize_dec_eq(x_149, x_150); if (x_151 == 0) { -x_40 = lean_box(0); +x_40 = x_146; x_41 = x_140; -x_42 = x_144; -x_43 = x_148; -x_44 = x_146; -x_45 = x_141; +x_42 = lean_box(0); +x_43 = x_144; +x_44 = x_141; +x_45 = x_148; x_46 = x_151; goto block_53; } @@ -14924,12 +14985,12 @@ size_t x_152; size_t x_153; uint8_t x_154; x_152 = lean_ptr_addr(x_143); x_153 = lean_ptr_addr(x_148); x_154 = lean_usize_dec_eq(x_152, x_153); -x_40 = lean_box(0); +x_40 = x_146; x_41 = x_140; -x_42 = x_144; -x_43 = x_148; -x_44 = x_146; -x_45 = x_141; +x_42 = lean_box(0); +x_43 = x_144; +x_44 = x_141; +x_45 = x_148; x_46 = x_154; goto block_53; } @@ -14998,12 +15059,12 @@ x_164 = lean_ptr_addr(x_160); x_165 = lean_usize_dec_eq(x_163, x_164); if (x_165 == 0) { -x_26 = x_140; -x_27 = x_155; -x_28 = x_162; -x_29 = lean_box(0); -x_30 = x_160; -x_31 = x_158; +x_26 = x_162; +x_27 = x_140; +x_28 = lean_box(0); +x_29 = x_155; +x_30 = x_158; +x_31 = x_160; x_32 = x_165; goto block_39; } @@ -15013,12 +15074,12 @@ size_t x_166; size_t x_167; uint8_t x_168; x_166 = lean_ptr_addr(x_157); x_167 = lean_ptr_addr(x_162); x_168 = lean_usize_dec_eq(x_166, x_167); -x_26 = x_140; -x_27 = x_155; -x_28 = x_162; -x_29 = lean_box(0); -x_30 = x_160; -x_31 = x_158; +x_26 = x_162; +x_27 = x_140; +x_28 = lean_box(0); +x_29 = x_155; +x_30 = x_158; +x_31 = x_160; x_32 = x_168; goto block_39; } @@ -15102,14 +15163,14 @@ x_181 = lean_ptr_addr(x_175); x_182 = lean_usize_dec_eq(x_180, x_181); if (x_182 == 0) { -x_8 = x_172; -x_9 = lean_box(0); -x_10 = x_169; -x_11 = x_179; -x_12 = x_140; -x_13 = x_175; -x_14 = x_173; -x_15 = x_177; +x_8 = x_177; +x_9 = x_179; +x_10 = x_140; +x_11 = x_173; +x_12 = x_172; +x_13 = lean_box(0); +x_14 = x_175; +x_15 = x_169; x_16 = x_182; goto block_25; } @@ -15119,14 +15180,14 @@ size_t x_183; size_t x_184; uint8_t x_185; x_183 = lean_ptr_addr(x_171); x_184 = lean_ptr_addr(x_177); x_185 = lean_usize_dec_eq(x_183, x_184); -x_8 = x_172; -x_9 = lean_box(0); -x_10 = x_169; -x_11 = x_179; -x_12 = x_140; -x_13 = x_175; -x_14 = x_173; -x_15 = x_177; +x_8 = x_177; +x_9 = x_179; +x_10 = x_140; +x_11 = x_173; +x_12 = x_172; +x_13 = lean_box(0); +x_14 = x_175; +x_15 = x_169; x_16 = x_185; goto block_25; } @@ -15327,34 +15388,34 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_dec_ref(x_12); -lean_dec_ref(x_8); -x_17 = l_Lean_Expr_letE___override(x_10, x_13, x_15, x_11, x_14); +lean_dec_ref(x_10); +x_17 = l_Lean_Expr_letE___override(x_15, x_14, x_8, x_9, x_11); x_18 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_17, x_4, x_5, x_6); return x_18; } else { size_t x_19; size_t x_20; uint8_t x_21; -x_19 = lean_ptr_addr(x_8); -lean_dec_ref(x_8); -x_20 = lean_ptr_addr(x_11); +x_19 = lean_ptr_addr(x_12); +lean_dec_ref(x_12); +x_20 = lean_ptr_addr(x_9); x_21 = lean_usize_dec_eq(x_19, x_20); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; -lean_dec_ref(x_12); -x_22 = l_Lean_Expr_letE___override(x_10, x_13, x_15, x_11, x_14); +lean_dec_ref(x_10); +x_22 = l_Lean_Expr_letE___override(x_15, x_14, x_8, x_9, x_11); x_23 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_22, x_4, x_5, x_6); return x_23; } else { lean_object* x_24; -lean_dec_ref(x_15); -lean_dec_ref(x_13); -lean_dec_ref(x_11); -lean_dec(x_10); -x_24 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_12, x_4, x_5, x_6); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_9); +lean_dec_ref(x_8); +x_24 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_10, x_4, x_5, x_6); return x_24; } } @@ -15364,30 +15425,30 @@ block_39: if (x_32 == 0) { lean_object* x_33; lean_object* x_34; -lean_dec_ref(x_26); -x_33 = l_Lean_Expr_lam___override(x_27, x_30, x_28, x_31); +lean_dec_ref(x_27); +x_33 = l_Lean_Expr_lam___override(x_29, x_31, x_26, x_30); x_34 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_33, x_4, x_5, x_6); return x_34; } else { uint8_t x_35; -x_35 = l_Lean_instBEqBinderInfo_beq(x_31, x_31); +x_35 = l_Lean_instBEqBinderInfo_beq(x_30, x_30); if (x_35 == 0) { lean_object* x_36; lean_object* x_37; -lean_dec_ref(x_26); -x_36 = l_Lean_Expr_lam___override(x_27, x_30, x_28, x_31); +lean_dec_ref(x_27); +x_36 = l_Lean_Expr_lam___override(x_29, x_31, x_26, x_30); x_37 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_36, x_4, x_5, x_6); return x_37; } else { lean_object* x_38; -lean_dec_ref(x_30); -lean_dec_ref(x_28); -lean_dec(x_27); -x_38 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_26, x_4, x_5, x_6); +lean_dec_ref(x_31); +lean_dec(x_29); +lean_dec_ref(x_26); +x_38 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_27, x_4, x_5, x_6); return x_38; } } @@ -15398,28 +15459,28 @@ if (x_46 == 0) { lean_object* x_47; lean_object* x_48; lean_dec_ref(x_41); -x_47 = l_Lean_Expr_forallE___override(x_45, x_44, x_43, x_42); +x_47 = l_Lean_Expr_forallE___override(x_44, x_40, x_45, x_43); x_48 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_47, x_4, x_5, x_6); return x_48; } else { uint8_t x_49; -x_49 = l_Lean_instBEqBinderInfo_beq(x_42, x_42); +x_49 = l_Lean_instBEqBinderInfo_beq(x_43, x_43); if (x_49 == 0) { lean_object* x_50; lean_object* x_51; lean_dec_ref(x_41); -x_50 = l_Lean_Expr_forallE___override(x_45, x_44, x_43, x_42); +x_50 = l_Lean_Expr_forallE___override(x_44, x_40, x_45, x_43); x_51 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_50, x_4, x_5, x_6); return x_51; } else { lean_object* x_52; -lean_dec(x_45); -lean_dec_ref(x_44); -lean_dec_ref(x_43); +lean_dec_ref(x_45); +lean_dec(x_44); +lean_dec_ref(x_40); x_52 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(x_1, x_3, x_41, x_4, x_5, x_6); return x_52; } @@ -22551,7 +22612,7 @@ goto block_82; block_25: { lean_object* x_20; -x_20 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(x_6, x_16, x_15, x_14, x_17, x_18); +x_20 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(x_6, x_16, x_14, x_15, x_17, x_18); lean_dec(x_18); if (lean_obj_tag(x_20) == 0) { @@ -22599,8 +22660,8 @@ lean_dec(x_27); lean_dec(x_26); lean_dec_ref(x_3); lean_dec(x_1); -x_14 = x_31; -x_15 = x_30; +x_14 = x_30; +x_15 = x_31; x_16 = x_34; x_17 = x_9; x_18 = x_10; @@ -22621,8 +22682,8 @@ x_37 = lean_unbox_float(x_27); lean_dec(x_27); lean_ctor_set_float(x_35, sizeof(void*)*2 + 8, x_37); lean_ctor_set_uint8(x_35, sizeof(void*)*2 + 16, x_2); -x_14 = x_31; -x_15 = x_30; +x_14 = x_30; +x_15 = x_31; x_16 = x_35; x_17 = x_9; x_18 = x_10; @@ -22870,7 +22931,7 @@ block_36: { lean_object* x_24; double x_25; double x_26; double x_27; double x_28; double x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; x_24 = lean_io_mono_nanos_now(); -x_25 = lean_float_of_nat(x_21); +x_25 = lean_float_of_nat(x_20); x_26 = l_Lean_Elab_fixLevelParams___lam__2___closed__0; x_27 = lean_float_div(x_25, x_26); x_28 = lean_float_of_nat(x_24); @@ -22885,7 +22946,7 @@ lean_ctor_set(x_33, 0, x_22); lean_ctor_set(x_33, 1, x_32); x_34 = lean_unbox(x_18); lean_dec(x_18); -x_35 = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4___redArg(x_2, x_3, x_4, x_14, x_34, x_20, x_5, x_33, x_11, x_12); +x_35 = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4___redArg(x_2, x_3, x_4, x_14, x_34, x_21, x_5, x_33, x_11, x_12); lean_dec_ref(x_14); return x_35; } @@ -22969,8 +23030,8 @@ x_74 = !lean_is_exclusive(x_73); if (x_74 == 0) { lean_ctor_set_tag(x_73, 1); -x_20 = x_64; -x_21 = x_67; +x_20 = x_67; +x_21 = x_64; x_22 = x_73; x_23 = lean_box(0); goto block_36; @@ -22983,8 +23044,8 @@ lean_inc(x_75); lean_dec(x_73); x_76 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_76, 0, x_75); -x_20 = x_64; -x_21 = x_67; +x_20 = x_67; +x_21 = x_64; x_22 = x_76; x_23 = lean_box(0); goto block_36; @@ -22996,8 +23057,8 @@ lean_object* x_77; x_77 = lean_ctor_get(x_73, 0); lean_inc(x_77); lean_dec_ref(x_73); -x_37 = x_64; -x_38 = x_67; +x_37 = x_67; +x_38 = x_64; x_39 = x_77; x_40 = lean_box(0); goto block_42; @@ -23010,8 +23071,8 @@ lean_dec(x_10); x_78 = lean_ctor_get(x_68, 0); lean_inc(x_78); lean_dec_ref(x_68); -x_37 = x_64; -x_38 = x_67; +x_37 = x_67; +x_38 = x_64; x_39 = x_78; x_40 = lean_box(0); goto block_42; diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index afb8d246fb..71b0facbad 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -54,7 +54,7 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l static const lean_string_object l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__4___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "`"}; static const lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__4___lam__0___closed__2 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__4___lam__0___closed__2_value; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__4___lam__0___closed__3; -lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); lean_object* l_Lean_Elab_mkInhabitantFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -755,7 +755,7 @@ lean_object* l_Lean_Elab_addAndCompileUnsafe(lean_object*, lean_object*, uint8_t lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ensureEqnReservedNamesAvailable(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isNoncomputable(lean_object*); -lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__14___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "body"}; @@ -1676,7 +1676,7 @@ lean_ctor_set(x_25, 7, x_22); lean_ctor_set(x_25, 8, x_8); lean_ctor_set_uint8(x_25, sizeof(void*)*9, x_24); x_26 = 0; -x_27 = l_Lean_Elab_addNonRec(x_9, x_25, x_10, x_11, x_10, x_26, x_15, x_16, x_17, x_18, x_19, x_20); +x_27 = l_Lean_Elab_addNonRec(x_9, x_25, x_10, x_11, x_10, x_26, x_26, x_15, x_16, x_17, x_18, x_19, x_20); return x_27; } } @@ -6761,7 +6761,7 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2_spec__2_spec__3___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; x_100 = 2; x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); if (x_125 == 0) @@ -6796,15 +6796,15 @@ lean_ctor_set(x_25, 0, x_21); lean_ctor_set(x_25, 1, x_22); x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_12); +lean_ctor_set(x_26, 1, x_14); x_27 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_27, 0, x_10); -lean_ctor_set(x_27, 1, x_14); -lean_ctor_set(x_27, 2, x_15); -lean_ctor_set(x_27, 3, x_11); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_12); +lean_ctor_set(x_27, 2, x_10); +lean_ctor_set(x_27, 3, x_13); lean_ctor_set(x_27, 4, x_26); -lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_16); -lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_13); +lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_11); +lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_15); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); x_28 = l_Lean_MessageLog_add(x_27, x_24); lean_ctor_set(x_20, 6, x_28); @@ -6841,15 +6841,15 @@ lean_ctor_set(x_41, 0, x_21); lean_ctor_set(x_41, 1, x_22); x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_12); +lean_ctor_set(x_42, 1, x_14); x_43 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_43, 0, x_10); -lean_ctor_set(x_43, 1, x_14); -lean_ctor_set(x_43, 2, x_15); -lean_ctor_set(x_43, 3, x_11); +lean_ctor_set(x_43, 0, x_16); +lean_ctor_set(x_43, 1, x_12); +lean_ctor_set(x_43, 2, x_10); +lean_ctor_set(x_43, 3, x_13); lean_ctor_set(x_43, 4, x_42); -lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_16); -lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_13); +lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_11); +lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_15); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); x_44 = l_Lean_MessageLog_add(x_43, x_38); x_45 = lean_alloc_ctor(0, 9, 0); @@ -6879,10 +6879,10 @@ if (x_60 == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_61 = lean_ctor_get(x_59, 0); -lean_inc_ref(x_51); -x_62 = l_Lean_FileMap_toPosition(x_51, x_56); -lean_dec(x_56); -x_63 = l_Lean_FileMap_toPosition(x_51, x_57); +lean_inc_ref(x_56); +x_62 = l_Lean_FileMap_toPosition(x_56, x_51); +lean_dec(x_51); +x_63 = l_Lean_FileMap_toPosition(x_56, x_57); lean_dec(x_57); x_64 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_64, 0, x_63); @@ -6891,13 +6891,13 @@ if (x_52 == 0) { lean_free_object(x_59); lean_dec_ref(x_50); -x_10 = x_53; -x_11 = x_65; -x_12 = x_61; -x_13 = x_54; -x_14 = x_62; -x_15 = x_64; -x_16 = x_55; +x_10 = x_64; +x_11 = x_53; +x_12 = x_62; +x_13 = x_65; +x_14 = x_61; +x_15 = x_55; +x_16 = x_54; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -6914,7 +6914,7 @@ lean_object* x_67; lean_dec_ref(x_64); lean_dec_ref(x_62); lean_dec(x_61); -lean_dec_ref(x_53); +lean_dec_ref(x_54); lean_dec_ref(x_7); x_67 = lean_box(0); lean_ctor_set(x_59, 0, x_67); @@ -6923,13 +6923,13 @@ return x_59; else { lean_free_object(x_59); -x_10 = x_53; -x_11 = x_65; -x_12 = x_61; -x_13 = x_54; -x_14 = x_62; -x_15 = x_64; -x_16 = x_55; +x_10 = x_64; +x_11 = x_53; +x_12 = x_62; +x_13 = x_65; +x_14 = x_61; +x_15 = x_55; +x_16 = x_54; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -6943,10 +6943,10 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_59, 0); lean_inc(x_68); lean_dec(x_59); -lean_inc_ref(x_51); -x_69 = l_Lean_FileMap_toPosition(x_51, x_56); -lean_dec(x_56); -x_70 = l_Lean_FileMap_toPosition(x_51, x_57); +lean_inc_ref(x_56); +x_69 = l_Lean_FileMap_toPosition(x_56, x_51); +lean_dec(x_51); +x_70 = l_Lean_FileMap_toPosition(x_56, x_57); lean_dec(x_57); x_71 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_71, 0, x_70); @@ -6954,13 +6954,13 @@ x_72 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinitio if (x_52 == 0) { lean_dec_ref(x_50); -x_10 = x_53; -x_11 = x_72; -x_12 = x_68; -x_13 = x_54; -x_14 = x_69; -x_15 = x_71; -x_16 = x_55; +x_10 = x_71; +x_11 = x_53; +x_12 = x_69; +x_13 = x_72; +x_14 = x_68; +x_15 = x_55; +x_16 = x_54; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -6977,7 +6977,7 @@ lean_object* x_74; lean_object* x_75; lean_dec_ref(x_71); lean_dec_ref(x_69); lean_dec(x_68); -lean_dec_ref(x_53); +lean_dec_ref(x_54); lean_dec_ref(x_7); x_74 = lean_box(0); x_75 = lean_alloc_ctor(0, 1, 0); @@ -6986,13 +6986,13 @@ return x_75; } else { -x_10 = x_53; -x_11 = x_72; -x_12 = x_68; -x_13 = x_54; -x_14 = x_69; -x_15 = x_71; -x_16 = x_55; +x_10 = x_71; +x_11 = x_53; +x_12 = x_69; +x_13 = x_72; +x_14 = x_68; +x_15 = x_55; +x_16 = x_54; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -7004,18 +7004,18 @@ goto block_49; block_87: { lean_object* x_85; -x_85 = l_Lean_Syntax_getTailPos_x3f(x_81, x_83); -lean_dec(x_81); +x_85 = l_Lean_Syntax_getTailPos_x3f(x_80, x_79); +lean_dec(x_80); if (lean_obj_tag(x_85) == 0) { lean_inc(x_84); x_50 = x_77; -x_51 = x_78; -x_52 = x_79; -x_53 = x_80; -x_54 = x_82; -x_55 = x_83; -x_56 = x_84; +x_51 = x_84; +x_52 = x_78; +x_53 = x_79; +x_54 = x_83; +x_55 = x_82; +x_56 = x_81; x_57 = x_84; goto block_76; } @@ -7026,12 +7026,12 @@ x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); lean_dec_ref(x_85); x_50 = x_77; -x_51 = x_78; -x_52 = x_79; -x_53 = x_80; -x_54 = x_82; -x_55 = x_83; -x_56 = x_84; +x_51 = x_84; +x_52 = x_78; +x_53 = x_79; +x_54 = x_83; +x_55 = x_82; +x_56 = x_81; x_57 = x_86; goto block_76; } @@ -7041,7 +7041,7 @@ block_99: lean_object* x_95; lean_object* x_96; x_95 = l_Lean_replaceRef(x_1, x_93); lean_dec(x_93); -x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_92); +x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_90); if (lean_obj_tag(x_96) == 0) { lean_object* x_97; @@ -7049,10 +7049,10 @@ x_97 = lean_unsigned_to_nat(0u); x_77 = x_88; x_78 = x_89; x_79 = x_90; -x_80 = x_91; -x_81 = x_95; +x_80 = x_95; +x_81 = x_92; x_82 = x_94; -x_83 = x_92; +x_83 = x_91; x_84 = x_97; goto block_87; } @@ -7065,10 +7065,10 @@ lean_dec_ref(x_96); x_77 = x_88; x_78 = x_89; x_79 = x_90; -x_80 = x_91; -x_81 = x_95; +x_80 = x_95; +x_81 = x_92; x_82 = x_94; -x_83 = x_92; +x_83 = x_91; x_84 = x_98; goto block_87; } @@ -7077,23 +7077,23 @@ block_108: { if (x_107 == 0) { -x_88 = x_104; -x_89 = x_101; -x_90 = x_102; -x_91 = x_103; -x_92 = x_106; -x_93 = x_105; +x_88 = x_101; +x_89 = x_102; +x_90 = x_106; +x_91 = x_105; +x_92 = x_104; +x_93 = x_103; x_94 = x_3; goto block_99; } else { -x_88 = x_104; -x_89 = x_101; -x_90 = x_102; -x_91 = x_103; -x_92 = x_106; -x_93 = x_105; +x_88 = x_101; +x_89 = x_102; +x_90 = x_106; +x_91 = x_105; +x_92 = x_104; +x_93 = x_103; x_94 = x_100; goto block_99; } @@ -7117,14 +7117,14 @@ x_118 = 1; x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118); if (x_119 == 0) { -lean_inc(x_113); lean_inc_ref(x_110); lean_inc_ref(x_111); -x_101 = x_111; +lean_inc(x_113); +x_101 = x_117; x_102 = x_114; -x_103 = x_110; -x_104 = x_117; -x_105 = x_113; +x_103 = x_113; +x_104 = x_111; +x_105 = x_110; x_106 = x_109; x_107 = x_119; goto block_108; @@ -7134,14 +7134,14 @@ else lean_object* x_120; uint8_t x_121; x_120 = l_Lean_warningAsError; x_121 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_112, x_120); -lean_inc(x_113); lean_inc_ref(x_110); lean_inc_ref(x_111); -x_101 = x_111; +lean_inc(x_113); +x_101 = x_117; x_102 = x_114; -x_103 = x_110; -x_104 = x_117; -x_105 = x_113; +x_103 = x_113; +x_104 = x_111; +x_105 = x_110; x_106 = x_109; x_107 = x_121; goto block_108; @@ -9026,7 +9026,7 @@ return x_18; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; uint8_t x_48; lean_object* x_56; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; uint8_t x_18; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_56; lean_inc_ref(x_1); lean_inc(x_8); lean_inc_ref(x_7); @@ -9167,12 +9167,12 @@ x_69 = lean_ptr_addr(x_65); x_70 = lean_usize_dec_eq(x_68, x_69); if (x_70 == 0) { -x_42 = lean_box(0); -x_43 = x_65; -x_44 = x_60; -x_45 = x_67; -x_46 = x_63; -x_47 = x_59; +x_42 = x_59; +x_43 = lean_box(0); +x_44 = x_63; +x_45 = x_65; +x_46 = x_60; +x_47 = x_67; x_48 = x_70; goto block_55; } @@ -9182,12 +9182,12 @@ size_t x_71; size_t x_72; uint8_t x_73; x_71 = lean_ptr_addr(x_62); x_72 = lean_ptr_addr(x_67); x_73 = lean_usize_dec_eq(x_71, x_72); -x_42 = lean_box(0); -x_43 = x_65; -x_44 = x_60; -x_45 = x_67; -x_46 = x_63; -x_47 = x_59; +x_42 = x_59; +x_43 = lean_box(0); +x_44 = x_63; +x_45 = x_65; +x_46 = x_60; +x_47 = x_67; x_48 = x_73; goto block_55; } @@ -9264,12 +9264,12 @@ x_83 = lean_ptr_addr(x_79); x_84 = lean_usize_dec_eq(x_82, x_83); if (x_84 == 0) { -x_28 = lean_box(0); -x_29 = x_79; -x_30 = x_77; -x_31 = x_74; -x_32 = x_81; -x_33 = x_59; +x_28 = x_81; +x_29 = x_59; +x_30 = lean_box(0); +x_31 = x_77; +x_32 = x_79; +x_33 = x_74; x_34 = x_84; goto block_41; } @@ -9279,12 +9279,12 @@ size_t x_85; size_t x_86; uint8_t x_87; x_85 = lean_ptr_addr(x_76); x_86 = lean_ptr_addr(x_81); x_87 = lean_usize_dec_eq(x_85, x_86); -x_28 = lean_box(0); -x_29 = x_79; -x_30 = x_77; -x_31 = x_74; -x_32 = x_81; -x_33 = x_59; +x_28 = x_81; +x_29 = x_59; +x_30 = lean_box(0); +x_31 = x_77; +x_32 = x_79; +x_33 = x_74; x_34 = x_87; goto block_41; } @@ -9378,14 +9378,14 @@ x_100 = lean_ptr_addr(x_94); x_101 = lean_usize_dec_eq(x_99, x_100); if (x_101 == 0) { -x_10 = x_92; -x_11 = x_88; -x_12 = x_91; -x_13 = x_96; -x_14 = lean_box(0); -x_15 = x_98; -x_16 = x_94; -x_17 = x_59; +x_10 = x_96; +x_11 = x_94; +x_12 = x_59; +x_13 = x_98; +x_14 = x_91; +x_15 = lean_box(0); +x_16 = x_92; +x_17 = x_88; x_18 = x_101; goto block_27; } @@ -9395,14 +9395,14 @@ size_t x_102; size_t x_103; uint8_t x_104; x_102 = lean_ptr_addr(x_90); x_103 = lean_ptr_addr(x_96); x_104 = lean_usize_dec_eq(x_102, x_103); -x_10 = x_92; -x_11 = x_88; -x_12 = x_91; -x_13 = x_96; -x_14 = lean_box(0); -x_15 = x_98; -x_16 = x_94; -x_17 = x_59; +x_10 = x_96; +x_11 = x_94; +x_12 = x_59; +x_13 = x_98; +x_14 = x_91; +x_15 = lean_box(0); +x_16 = x_92; +x_17 = x_88; x_18 = x_104; goto block_27; } @@ -9715,12 +9715,12 @@ x_152 = lean_ptr_addr(x_148); x_153 = lean_usize_dec_eq(x_151, x_152); if (x_153 == 0) { -x_42 = lean_box(0); -x_43 = x_148; -x_44 = x_143; -x_45 = x_150; -x_46 = x_146; -x_47 = x_142; +x_42 = x_142; +x_43 = lean_box(0); +x_44 = x_146; +x_45 = x_148; +x_46 = x_143; +x_47 = x_150; x_48 = x_153; goto block_55; } @@ -9730,12 +9730,12 @@ size_t x_154; size_t x_155; uint8_t x_156; x_154 = lean_ptr_addr(x_145); x_155 = lean_ptr_addr(x_150); x_156 = lean_usize_dec_eq(x_154, x_155); -x_42 = lean_box(0); -x_43 = x_148; -x_44 = x_143; -x_45 = x_150; -x_46 = x_146; -x_47 = x_142; +x_42 = x_142; +x_43 = lean_box(0); +x_44 = x_146; +x_45 = x_148; +x_46 = x_143; +x_47 = x_150; x_48 = x_156; goto block_55; } @@ -9812,12 +9812,12 @@ x_166 = lean_ptr_addr(x_162); x_167 = lean_usize_dec_eq(x_165, x_166); if (x_167 == 0) { -x_28 = lean_box(0); -x_29 = x_162; -x_30 = x_160; -x_31 = x_157; -x_32 = x_164; -x_33 = x_142; +x_28 = x_164; +x_29 = x_142; +x_30 = lean_box(0); +x_31 = x_160; +x_32 = x_162; +x_33 = x_157; x_34 = x_167; goto block_41; } @@ -9827,12 +9827,12 @@ size_t x_168; size_t x_169; uint8_t x_170; x_168 = lean_ptr_addr(x_159); x_169 = lean_ptr_addr(x_164); x_170 = lean_usize_dec_eq(x_168, x_169); -x_28 = lean_box(0); -x_29 = x_162; -x_30 = x_160; -x_31 = x_157; -x_32 = x_164; -x_33 = x_142; +x_28 = x_164; +x_29 = x_142; +x_30 = lean_box(0); +x_31 = x_160; +x_32 = x_162; +x_33 = x_157; x_34 = x_170; goto block_41; } @@ -9926,14 +9926,14 @@ x_183 = lean_ptr_addr(x_177); x_184 = lean_usize_dec_eq(x_182, x_183); if (x_184 == 0) { -x_10 = x_175; -x_11 = x_171; -x_12 = x_174; -x_13 = x_179; -x_14 = lean_box(0); -x_15 = x_181; -x_16 = x_177; -x_17 = x_142; +x_10 = x_179; +x_11 = x_177; +x_12 = x_142; +x_13 = x_181; +x_14 = x_174; +x_15 = lean_box(0); +x_16 = x_175; +x_17 = x_171; x_18 = x_184; goto block_27; } @@ -9943,14 +9943,14 @@ size_t x_185; size_t x_186; uint8_t x_187; x_185 = lean_ptr_addr(x_173); x_186 = lean_ptr_addr(x_179); x_187 = lean_usize_dec_eq(x_185, x_186); -x_10 = x_175; -x_11 = x_171; -x_12 = x_174; -x_13 = x_179; -x_14 = lean_box(0); -x_15 = x_181; -x_16 = x_177; -x_17 = x_142; +x_10 = x_179; +x_11 = x_177; +x_12 = x_142; +x_13 = x_181; +x_14 = x_174; +x_15 = lean_box(0); +x_16 = x_175; +x_17 = x_171; x_18 = x_187; goto block_27; } @@ -10166,35 +10166,35 @@ block_27: if (x_18 == 0) { lean_object* x_19; lean_object* x_20; -lean_dec_ref(x_17); +lean_dec_ref(x_14); lean_dec_ref(x_12); -x_19 = l_Lean_Expr_letE___override(x_11, x_16, x_13, x_15, x_10); +x_19 = l_Lean_Expr_letE___override(x_17, x_11, x_10, x_13, x_16); x_20 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_19, x_4, x_5, x_6, x_7, x_8); return x_20; } else { size_t x_21; size_t x_22; uint8_t x_23; -x_21 = lean_ptr_addr(x_12); -lean_dec_ref(x_12); -x_22 = lean_ptr_addr(x_15); +x_21 = lean_ptr_addr(x_14); +lean_dec_ref(x_14); +x_22 = lean_ptr_addr(x_13); x_23 = lean_usize_dec_eq(x_21, x_22); if (x_23 == 0) { lean_object* x_24; lean_object* x_25; -lean_dec_ref(x_17); -x_24 = l_Lean_Expr_letE___override(x_11, x_16, x_13, x_15, x_10); +lean_dec_ref(x_12); +x_24 = l_Lean_Expr_letE___override(x_17, x_11, x_10, x_13, x_16); x_25 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_24, x_4, x_5, x_6, x_7, x_8); return x_25; } else { lean_object* x_26; -lean_dec_ref(x_16); -lean_dec_ref(x_15); +lean_dec(x_17); lean_dec_ref(x_13); -lean_dec(x_11); -x_26 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_17, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +x_26 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_12, x_4, x_5, x_6, x_7, x_8); return x_26; } } @@ -10204,30 +10204,30 @@ block_41: if (x_34 == 0) { lean_object* x_35; lean_object* x_36; -lean_dec_ref(x_33); -x_35 = l_Lean_Expr_lam___override(x_31, x_29, x_32, x_30); +lean_dec_ref(x_29); +x_35 = l_Lean_Expr_lam___override(x_33, x_32, x_28, x_31); x_36 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_35, x_4, x_5, x_6, x_7, x_8); return x_36; } else { uint8_t x_37; -x_37 = l_Lean_instBEqBinderInfo_beq(x_30, x_30); +x_37 = l_Lean_instBEqBinderInfo_beq(x_31, x_31); if (x_37 == 0) { lean_object* x_38; lean_object* x_39; -lean_dec_ref(x_33); -x_38 = l_Lean_Expr_lam___override(x_31, x_29, x_32, x_30); +lean_dec_ref(x_29); +x_38 = l_Lean_Expr_lam___override(x_33, x_32, x_28, x_31); x_39 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_38, x_4, x_5, x_6, x_7, x_8); return x_39; } else { lean_object* x_40; +lean_dec(x_33); lean_dec_ref(x_32); -lean_dec(x_31); -lean_dec_ref(x_29); -x_40 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_33, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_28); +x_40 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_29, x_4, x_5, x_6, x_7, x_8); return x_40; } } @@ -10237,30 +10237,30 @@ block_55: if (x_48 == 0) { lean_object* x_49; lean_object* x_50; -lean_dec_ref(x_47); -x_49 = l_Lean_Expr_forallE___override(x_44, x_43, x_45, x_46); +lean_dec_ref(x_42); +x_49 = l_Lean_Expr_forallE___override(x_46, x_45, x_47, x_44); x_50 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_49, x_4, x_5, x_6, x_7, x_8); return x_50; } else { uint8_t x_51; -x_51 = l_Lean_instBEqBinderInfo_beq(x_46, x_46); +x_51 = l_Lean_instBEqBinderInfo_beq(x_44, x_44); if (x_51 == 0) { lean_object* x_52; lean_object* x_53; -lean_dec_ref(x_47); -x_52 = l_Lean_Expr_forallE___override(x_44, x_43, x_45, x_46); +lean_dec_ref(x_42); +x_52 = l_Lean_Expr_forallE___override(x_46, x_45, x_47, x_44); x_53 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_52, x_4, x_5, x_6, x_7, x_8); return x_53; } else { lean_object* x_54; +lean_dec_ref(x_47); +lean_dec(x_46); lean_dec_ref(x_45); -lean_dec(x_44); -lean_dec_ref(x_43); -x_54 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_47, x_4, x_5, x_6, x_7, x_8); +x_54 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps_spec__3_spec__3_spec__5(x_1, x_3, x_42, x_4, x_5, x_6, x_7, x_8); return x_54; } } @@ -12466,7 +12466,7 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__2_spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; uint8_t x_92; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; uint8_t x_107; uint8_t x_123; +uint8_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_75; uint8_t x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; uint8_t x_92; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; uint8_t x_107; uint8_t x_123; x_98 = 2; x_123 = l_Lean_instBEqMessageSeverity_beq(x_3, x_98); if (x_123 == 0) @@ -12501,15 +12501,15 @@ lean_ctor_set(x_23, 0, x_19); lean_ctor_set(x_23, 1, x_20); x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_12); +lean_ctor_set(x_24, 1, x_10); x_25 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_25, 0, x_8); -lean_ctor_set(x_25, 1, x_9); -lean_ctor_set(x_25, 2, x_11); +lean_ctor_set(x_25, 0, x_14); +lean_ctor_set(x_25, 1, x_11); +lean_ctor_set(x_25, 2, x_12); lean_ctor_set(x_25, 3, x_13); lean_ctor_set(x_25, 4, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*5, x_10); -lean_ctor_set_uint8(x_25, sizeof(void*)*5 + 1, x_14); +lean_ctor_set_uint8(x_25, sizeof(void*)*5, x_9); +lean_ctor_set_uint8(x_25, sizeof(void*)*5 + 1, x_8); lean_ctor_set_uint8(x_25, sizeof(void*)*5 + 2, x_4); x_26 = l_Lean_MessageLog_add(x_25, x_22); lean_ctor_set(x_18, 6, x_26); @@ -12546,15 +12546,15 @@ lean_ctor_set(x_39, 0, x_19); lean_ctor_set(x_39, 1, x_20); x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_12); +lean_ctor_set(x_40, 1, x_10); x_41 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_41, 0, x_8); -lean_ctor_set(x_41, 1, x_9); -lean_ctor_set(x_41, 2, x_11); +lean_ctor_set(x_41, 0, x_14); +lean_ctor_set(x_41, 1, x_11); +lean_ctor_set(x_41, 2, x_12); lean_ctor_set(x_41, 3, x_13); lean_ctor_set(x_41, 4, x_40); -lean_ctor_set_uint8(x_41, sizeof(void*)*5, x_10); -lean_ctor_set_uint8(x_41, sizeof(void*)*5 + 1, x_14); +lean_ctor_set_uint8(x_41, sizeof(void*)*5, x_9); +lean_ctor_set_uint8(x_41, sizeof(void*)*5 + 1, x_8); lean_ctor_set_uint8(x_41, sizeof(void*)*5 + 2, x_4); x_42 = l_Lean_MessageLog_add(x_41, x_36); x_43 = lean_alloc_ctor(0, 9, 0); @@ -12584,25 +12584,25 @@ if (x_58 == 0) { lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; x_59 = lean_ctor_get(x_57, 0); -lean_inc_ref(x_54); -x_60 = l_Lean_FileMap_toPosition(x_54, x_49); -lean_dec(x_49); -x_61 = l_Lean_FileMap_toPosition(x_54, x_55); +lean_inc_ref(x_52); +x_60 = l_Lean_FileMap_toPosition(x_52, x_51); +lean_dec(x_51); +x_61 = l_Lean_FileMap_toPosition(x_52, x_55); lean_dec(x_55); x_62 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_62, 0, x_61); x_63 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg___closed__1)); -if (x_53 == 0) +if (x_54 == 0) { lean_free_object(x_57); lean_dec_ref(x_48); x_8 = x_50; -x_9 = x_60; -x_10 = x_51; -x_11 = x_62; -x_12 = x_59; +x_9 = x_49; +x_10 = x_59; +x_11 = x_60; +x_12 = x_62; x_13 = x_63; -x_14 = x_52; +x_14 = x_53; x_15 = x_5; x_16 = x_6; x_17 = lean_box(0); @@ -12619,7 +12619,7 @@ lean_object* x_65; lean_dec_ref(x_62); lean_dec_ref(x_60); lean_dec(x_59); -lean_dec_ref(x_50); +lean_dec_ref(x_53); lean_dec_ref(x_5); x_65 = lean_box(0); lean_ctor_set(x_57, 0, x_65); @@ -12629,12 +12629,12 @@ else { lean_free_object(x_57); x_8 = x_50; -x_9 = x_60; -x_10 = x_51; -x_11 = x_62; -x_12 = x_59; +x_9 = x_49; +x_10 = x_59; +x_11 = x_60; +x_12 = x_62; x_13 = x_63; -x_14 = x_52; +x_14 = x_53; x_15 = x_5; x_16 = x_6; x_17 = lean_box(0); @@ -12648,24 +12648,24 @@ lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean x_66 = lean_ctor_get(x_57, 0); lean_inc(x_66); lean_dec(x_57); -lean_inc_ref(x_54); -x_67 = l_Lean_FileMap_toPosition(x_54, x_49); -lean_dec(x_49); -x_68 = l_Lean_FileMap_toPosition(x_54, x_55); +lean_inc_ref(x_52); +x_67 = l_Lean_FileMap_toPosition(x_52, x_51); +lean_dec(x_51); +x_68 = l_Lean_FileMap_toPosition(x_52, x_55); lean_dec(x_55); x_69 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_69, 0, x_68); x_70 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg___closed__1)); -if (x_53 == 0) +if (x_54 == 0) { lean_dec_ref(x_48); x_8 = x_50; -x_9 = x_67; -x_10 = x_51; -x_11 = x_69; -x_12 = x_66; +x_9 = x_49; +x_10 = x_66; +x_11 = x_67; +x_12 = x_69; x_13 = x_70; -x_14 = x_52; +x_14 = x_53; x_15 = x_5; x_16 = x_6; x_17 = lean_box(0); @@ -12682,7 +12682,7 @@ lean_object* x_72; lean_object* x_73; lean_dec_ref(x_69); lean_dec_ref(x_67); lean_dec(x_66); -lean_dec_ref(x_50); +lean_dec_ref(x_53); lean_dec_ref(x_5); x_72 = lean_box(0); x_73 = lean_alloc_ctor(0, 1, 0); @@ -12692,12 +12692,12 @@ return x_73; else { x_8 = x_50; -x_9 = x_67; -x_10 = x_51; -x_11 = x_69; -x_12 = x_66; +x_9 = x_49; +x_10 = x_66; +x_11 = x_67; +x_12 = x_69; x_13 = x_70; -x_14 = x_52; +x_14 = x_53; x_15 = x_5; x_16 = x_6; x_17 = lean_box(0); @@ -12709,18 +12709,18 @@ goto block_47; block_85: { lean_object* x_83; -x_83 = l_Lean_Syntax_getTailPos_x3f(x_76, x_78); -lean_dec(x_76); +x_83 = l_Lean_Syntax_getTailPos_x3f(x_78, x_77); +lean_dec(x_78); if (lean_obj_tag(x_83) == 0) { lean_inc(x_82); x_48 = x_75; -x_49 = x_82; -x_50 = x_77; -x_51 = x_78; +x_49 = x_77; +x_50 = x_76; +x_51 = x_82; x_52 = x_79; -x_53 = x_81; -x_54 = x_80; +x_53 = x_80; +x_54 = x_81; x_55 = x_82; goto block_74; } @@ -12731,12 +12731,12 @@ x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); lean_dec_ref(x_83); x_48 = x_75; -x_49 = x_82; -x_50 = x_77; -x_51 = x_78; +x_49 = x_77; +x_50 = x_76; +x_51 = x_82; x_52 = x_79; -x_53 = x_81; -x_54 = x_80; +x_53 = x_80; +x_54 = x_81; x_55 = x_84; goto block_74; } @@ -12744,20 +12744,20 @@ goto block_74; block_97: { lean_object* x_93; lean_object* x_94; -x_93 = l_Lean_replaceRef(x_1, x_89); -lean_dec(x_89); -x_94 = l_Lean_Syntax_getPos_x3f(x_93, x_88); +x_93 = l_Lean_replaceRef(x_1, x_88); +lean_dec(x_88); +x_94 = l_Lean_Syntax_getPos_x3f(x_93, x_87); if (lean_obj_tag(x_94) == 0) { lean_object* x_95; x_95 = lean_unsigned_to_nat(0u); x_75 = x_86; -x_76 = x_93; +x_76 = x_92; x_77 = x_87; -x_78 = x_88; -x_79 = x_92; -x_80 = x_91; -x_81 = x_90; +x_78 = x_93; +x_79 = x_89; +x_80 = x_90; +x_81 = x_91; x_82 = x_95; goto block_85; } @@ -12768,12 +12768,12 @@ x_96 = lean_ctor_get(x_94, 0); lean_inc(x_96); lean_dec_ref(x_94); x_75 = x_86; -x_76 = x_93; +x_76 = x_92; x_77 = x_87; -x_78 = x_88; -x_79 = x_92; -x_80 = x_91; -x_81 = x_90; +x_78 = x_93; +x_79 = x_89; +x_80 = x_90; +x_81 = x_91; x_82 = x_96; goto block_85; } @@ -12783,22 +12783,22 @@ block_106: if (x_105 == 0) { x_86 = x_100; -x_87 = x_99; -x_88 = x_104; +x_87 = x_104; +x_88 = x_99; x_89 = x_101; -x_90 = x_103; -x_91 = x_102; +x_90 = x_102; +x_91 = x_103; x_92 = x_3; goto block_97; } else { x_86 = x_100; -x_87 = x_99; -x_88 = x_104; +x_87 = x_104; +x_88 = x_99; x_89 = x_101; -x_90 = x_103; -x_91 = x_102; +x_90 = x_102; +x_91 = x_103; x_92 = x_98; goto block_97; } @@ -12822,13 +12822,13 @@ x_116 = 1; x_117 = l_Lean_instBEqMessageSeverity_beq(x_3, x_116); if (x_117 == 0) { +lean_inc_ref(x_108); lean_inc_ref(x_109); lean_inc(x_111); -lean_inc_ref(x_108); -x_99 = x_108; +x_99 = x_111; x_100 = x_115; -x_101 = x_111; -x_102 = x_109; +x_101 = x_109; +x_102 = x_108; x_103 = x_112; x_104 = x_107; x_105 = x_117; @@ -12839,13 +12839,13 @@ else lean_object* x_118; uint8_t x_119; x_118 = l_Lean_warningAsError; x_119 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_110, x_118); +lean_inc_ref(x_108); lean_inc_ref(x_109); lean_inc(x_111); -lean_inc_ref(x_108); -x_99 = x_108; +x_99 = x_111; x_100 = x_115; -x_101 = x_111; -x_102 = x_109; +x_101 = x_109; +x_102 = x_108; x_103 = x_112; x_104 = x_107; x_105 = x_119; @@ -13707,12 +13707,12 @@ x_143 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_143, 0, x_141); lean_ctor_set(x_143, 1, x_142); lean_inc_ref(x_134); -x_144 = l_Lean_throwErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__1___redArg(x_137, x_143, x_134, x_136); +x_144 = l_Lean_throwErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__1___redArg(x_137, x_143, x_134, x_135); if (lean_obj_tag(x_144) == 0) { lean_dec_ref(x_144); x_117 = x_134; -x_118 = x_136; +x_118 = x_135; x_119 = lean_box(0); goto block_133; } @@ -13758,8 +13758,8 @@ x_153 = lean_ctor_get(x_152, 3); if (lean_obj_tag(x_153) == 0) { x_134 = x_149; -x_135 = lean_box(0); -x_136 = x_150; +x_135 = x_150; +x_136 = lean_box(0); goto block_148; } else @@ -13771,8 +13771,8 @@ x_156 = l_Lean_Elab_isLatticeTheoretic(x_155); if (x_156 == 0) { x_134 = x_149; -x_135 = lean_box(0); -x_136 = x_150; +x_135 = x_150; +x_136 = lean_box(0); goto block_148; } else @@ -13800,20 +13800,20 @@ x_166 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___0 x_167 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_167, 0, x_165); lean_ctor_set(x_167, 1, x_166); -lean_inc_ref(x_158); -x_168 = l_Lean_throwErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__1___redArg(x_161, x_167, x_158, x_160); +lean_inc_ref(x_159); +x_168 = l_Lean_throwErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__1___redArg(x_161, x_167, x_159, x_158); if (lean_obj_tag(x_168) == 0) { lean_dec_ref(x_168); -x_149 = x_158; -x_150 = x_160; +x_149 = x_159; +x_150 = x_158; x_151 = lean_box(0); goto block_157; } else { uint8_t x_169; -lean_dec_ref(x_158); +lean_dec_ref(x_159); lean_dec_ref(x_8); lean_dec_ref(x_7); lean_dec_ref(x_5); @@ -13851,9 +13851,9 @@ x_174 = lean_ctor_get(x_4, 8); x_175 = lean_ctor_get(x_174, 3); if (lean_obj_tag(x_175) == 0) { -x_158 = x_10; -x_159 = lean_box(0); -x_160 = x_11; +x_158 = x_11; +x_159 = x_10; +x_160 = lean_box(0); goto block_172; } else @@ -13864,9 +13864,9 @@ x_177 = lean_ctor_get_uint8(x_176, sizeof(void*)*2); x_178 = l_Lean_Elab_isLatticeTheoretic(x_177); if (x_178 == 0) { -x_158 = x_10; -x_159 = lean_box(0); -x_160 = x_11; +x_158 = x_11; +x_159 = x_10; +x_160 = lean_box(0); goto block_172; } else @@ -14459,19 +14459,19 @@ x_95 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00 x_96 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); -lean_inc_ref(x_84); -x_97 = l_Lean_logErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__2(x_88, x_96, x_84, x_85); +lean_inc_ref(x_85); +x_97 = l_Lean_logErrorAt___at___00Lean_Elab_checkTerminationByHints_spec__2(x_88, x_96, x_85, x_84); if (lean_obj_tag(x_97) == 0) { lean_dec_ref(x_97); -x_70 = x_84; -x_71 = x_85; +x_70 = x_85; +x_71 = x_84; x_72 = lean_box(0); goto block_82; } else { -lean_dec_ref(x_84); +lean_dec_ref(x_85); lean_dec(x_43); lean_dec(x_39); lean_dec(x_35); @@ -14509,8 +14509,8 @@ if (x_109 == 0) lean_object* x_110; x_110 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkTerminationByHints_spec__4___closed__14)); x_83 = lean_box(0); -x_84 = x_99; -x_85 = x_100; +x_84 = x_100; +x_85 = x_99; x_86 = x_106; x_87 = x_110; goto block_98; @@ -14520,8 +14520,8 @@ else lean_object* x_111; x_111 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkTerminationByHints_spec__4___closed__15)); x_83 = lean_box(0); -x_84 = x_99; -x_85 = x_100; +x_84 = x_100; +x_85 = x_99; x_86 = x_106; x_87 = x_111; goto block_98; @@ -14784,7 +14784,7 @@ lean_inc(x_14); lean_dec_ref(x_13); if (lean_obj_tag(x_14) == 1) { -lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_36; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_36; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); lean_dec_ref(x_14); @@ -14829,7 +14829,7 @@ goto block_46; block_25: { lean_object* x_21; -x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkTerminationByHints_spec__4(x_19, x_20, x_15, x_17, x_16, x_18, x_1, x_10, x_11, x_8, x_2, x_3); +x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkTerminationByHints_spec__4(x_19, x_20, x_15, x_17, x_18, x_16, x_1, x_10, x_11, x_8, x_2, x_3); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; @@ -14862,9 +14862,9 @@ if (lean_obj_tag(x_27) == 0) { uint8_t x_29; x_29 = 0; -x_16 = x_28; +x_16 = x_26; x_17 = x_29; -x_18 = x_26; +x_18 = x_28; x_19 = x_29; x_20 = x_29; goto block_25; @@ -14880,9 +14880,9 @@ lean_dec(x_30); x_32 = l_Lean_Elab_isPartialFixpoint(x_31); x_33 = l_Lean_Elab_isInductiveFixpoint(x_31); x_34 = l_Lean_Elab_isCoinductiveFixpoint(x_31); -x_16 = x_28; +x_16 = x_26; x_17 = x_32; -x_18 = x_26; +x_18 = x_28; x_19 = x_33; x_20 = x_34; goto block_25; @@ -16419,20 +16419,20 @@ if (x_56 == 0) uint8_t x_57; lean_inc(x_55); x_57 = l_Lean_Exception_isRuntime(x_55); -x_16 = x_53; -x_17 = lean_box(0); -x_18 = x_54; -x_19 = x_52; +x_16 = x_54; +x_17 = x_52; +x_18 = lean_box(0); +x_19 = x_53; x_20 = x_55; x_21 = x_57; goto block_37; } else { -x_16 = x_53; -x_17 = lean_box(0); -x_18 = x_54; -x_19 = x_52; +x_16 = x_54; +x_17 = x_52; +x_18 = lean_box(0); +x_19 = x_53; x_20 = x_55; x_21 = x_56; goto block_37; @@ -16502,20 +16502,20 @@ if (x_68 == 0) uint8_t x_69; lean_inc(x_67); x_69 = l_Lean_Exception_isRuntime(x_67); -x_16 = x_65; -x_17 = lean_box(0); -x_18 = x_66; -x_19 = x_64; +x_16 = x_66; +x_17 = x_64; +x_18 = lean_box(0); +x_19 = x_65; x_20 = x_67; x_21 = x_69; goto block_37; } else { -x_16 = x_65; -x_17 = lean_box(0); -x_18 = x_66; -x_19 = x_64; +x_16 = x_66; +x_17 = x_64; +x_18 = lean_box(0); +x_19 = x_65; x_20 = x_67; x_21 = x_68; goto block_37; @@ -16601,20 +16601,20 @@ if (x_82 == 0) uint8_t x_83; lean_inc(x_81); x_83 = l_Lean_Exception_isRuntime(x_81); -x_16 = x_79; -x_17 = lean_box(0); -x_18 = x_80; -x_19 = x_78; +x_16 = x_80; +x_17 = x_78; +x_18 = lean_box(0); +x_19 = x_79; x_20 = x_81; x_21 = x_83; goto block_37; } else { -x_16 = x_79; -x_17 = lean_box(0); -x_18 = x_80; -x_19 = x_78; +x_16 = x_80; +x_17 = x_78; +x_18 = lean_box(0); +x_19 = x_79; x_20 = x_81; x_21 = x_82; goto block_37; @@ -16707,7 +16707,7 @@ if (x_21 == 0) if (lean_obj_tag(x_20) == 0) { uint8_t x_22; -lean_dec_ref(x_18); +lean_dec_ref(x_16); x_22 = !lean_is_exclusive(x_20); if (x_22 == 0) { @@ -16717,7 +16717,7 @@ x_24 = lean_ctor_get(x_20, 0); lean_dec(x_24); x_25 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 0, x_19); lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_27, 0, x_26); @@ -16726,7 +16726,7 @@ x_28 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_23); lean_ctor_set(x_20, 1, x_28); -lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 0, x_17); x_29 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_29, 0, x_20); return x_29; @@ -16739,7 +16739,7 @@ lean_inc(x_30); lean_dec(x_20); x_31 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_16); +lean_ctor_set(x_32, 0, x_19); lean_ctor_set(x_32, 1, x_31); x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); @@ -16748,7 +16748,7 @@ x_34 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_30); x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_19); +lean_ctor_set(x_35, 0, x_17); lean_ctor_set(x_35, 1, x_34); x_36 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_36, 0, x_35); @@ -16758,18 +16758,18 @@ return x_36; else { lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_16); -x_11 = x_18; +lean_dec_ref(x_19); +lean_dec(x_17); +x_11 = x_16; goto block_15; } } else { lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_16); -x_11 = x_18; +lean_dec_ref(x_19); +lean_dec(x_17); +x_11 = x_16; goto block_15; } } @@ -17779,7 +17779,7 @@ x_21 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsaf x_22 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__2___redArg(x_21, x_10); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_28; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_42; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; uint8_t x_133; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_345; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_28; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_42; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_346; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); if (lean_is_exclusive(x_22)) { @@ -17796,9 +17796,9 @@ x_65 = lean_array_uget(x_2, x_4); lean_inc(x_65); x_227 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___lam__0), 2, 1); lean_closure_set(x_227, 0, x_65); -x_345 = lean_unbox(x_23); +x_346 = lean_unbox(x_23); lean_dec(x_23); -if (x_345 == 0) +if (x_346 == 0) { lean_inc(x_11); lean_inc_ref(x_10); @@ -17806,44 +17806,44 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_332 = x_6; -x_333 = x_7; -x_334 = x_8; -x_335 = x_9; -x_336 = x_10; -x_337 = x_11; -x_338 = lean_box(0); -goto block_344; +x_333 = x_6; +x_334 = x_7; +x_335 = x_8; +x_336 = x_9; +x_337 = x_10; +x_338 = x_11; +x_339 = lean_box(0); +goto block_345; } else { -size_t x_346; size_t x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_346 = lean_array_size(x_65); -x_347 = 0; +size_t x_347; size_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; +x_347 = lean_array_size(x_65); +x_348 = 0; lean_inc(x_65); -x_348 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addPreDefinitions_spec__12(x_346, x_347, x_65); -x_349 = lean_array_to_list(x_348); -x_350 = lean_box(0); -x_351 = l_List_mapTR_loop___at___00Lean_Elab_addPreDefinitions_spec__13(x_349, x_350); -x_352 = l_Lean_MessageData_ofList(x_351); -x_353 = l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg(x_21, x_352, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_353) == 0) +x_349 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addPreDefinitions_spec__12(x_347, x_348, x_65); +x_350 = lean_array_to_list(x_349); +x_351 = lean_box(0); +x_352 = l_List_mapTR_loop___at___00Lean_Elab_addPreDefinitions_spec__13(x_350, x_351); +x_353 = l_Lean_MessageData_ofList(x_352); +x_354 = l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg(x_21, x_353, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_354) == 0) { -lean_dec_ref(x_353); +lean_dec_ref(x_354); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_332 = x_6; -x_333 = x_7; -x_334 = x_8; -x_335 = x_9; -x_336 = x_10; -x_337 = x_11; -x_338 = lean_box(0); -goto block_344; +x_333 = x_6; +x_334 = x_7; +x_335 = x_8; +x_336 = x_9; +x_337 = x_10; +x_338 = x_11; +x_339 = lean_box(0); +goto block_345; } else { @@ -17857,7 +17857,7 @@ lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -return x_353; +return x_354; } } block_27: @@ -17907,26 +17907,26 @@ block_41: if (x_39 == 0) { lean_object* x_40; -lean_dec_ref(x_30); -x_40 = l_Lean_Elab_Term_SavedState_restore(x_33, x_39, x_35, x_32, x_37, x_36, x_31, x_34); -lean_dec(x_34); +lean_dec_ref(x_36); +x_40 = l_Lean_Elab_Term_SavedState_restore(x_35, x_39, x_31, x_37, x_34, x_30, x_32, x_38); +lean_dec(x_38); +lean_dec_ref(x_32); +lean_dec(x_30); +lean_dec_ref(x_34); +lean_dec(x_37); lean_dec_ref(x_31); -lean_dec(x_36); -lean_dec_ref(x_37); -lean_dec(x_32); -lean_dec_ref(x_35); x_28 = x_40; goto block_29; } else { -lean_dec_ref(x_37); -lean_dec(x_36); +lean_dec(x_38); +lean_dec(x_37); lean_dec_ref(x_35); -lean_dec(x_34); -lean_dec_ref(x_33); -lean_dec(x_32); +lean_dec_ref(x_34); +lean_dec_ref(x_32); lean_dec_ref(x_31); +lean_dec(x_30); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -17934,7 +17934,7 @@ lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -return x_30; +return x_36; } } block_43: @@ -17988,9 +17988,9 @@ block_62: if (lean_obj_tag(x_58) == 0) { lean_dec_ref(x_58); -lean_dec_ref(x_57); +lean_dec(x_57); lean_dec(x_56); -lean_dec(x_55); +lean_dec_ref(x_55); lean_dec_ref(x_54); lean_dec_ref(x_53); lean_dec(x_52); @@ -18009,29 +18009,29 @@ if (x_60 == 0) uint8_t x_61; lean_inc(x_59); x_61 = l_Lean_Exception_isRuntime(x_59); -x_30 = x_58; +x_30 = x_52; x_31 = x_51; -x_32 = x_52; -x_33 = x_53; +x_32 = x_53; +x_33 = lean_box(0); x_34 = x_55; x_35 = x_54; -x_36 = x_56; -x_37 = x_57; -x_38 = lean_box(0); +x_36 = x_58; +x_37 = x_56; +x_38 = x_57; x_39 = x_61; goto block_41; } else { -x_30 = x_58; +x_30 = x_52; x_31 = x_51; -x_32 = x_52; -x_33 = x_53; +x_32 = x_53; +x_33 = lean_box(0); x_34 = x_55; x_35 = x_54; -x_36 = x_56; -x_37 = x_57; -x_38 = lean_box(0); +x_36 = x_58; +x_37 = x_56; +x_38 = x_57; x_39 = x_60; goto block_41; } @@ -18042,41 +18042,41 @@ block_80: if (x_77 == 0) { lean_object* x_78; -lean_dec_ref(x_74); -lean_inc_ref(x_69); -x_78 = l_Lean_Elab_Term_SavedState_restore(x_69, x_77, x_71, x_68, x_76, x_73, x_75, x_72); +lean_dec_ref(x_70); +lean_inc_ref(x_72); +x_78 = l_Lean_Elab_Term_SavedState_restore(x_72, x_77, x_67, x_75, x_71, x_66, x_69, x_73); if (lean_obj_tag(x_78) == 0) { lean_object* x_79; lean_dec_ref(x_78); -lean_inc(x_73); -lean_inc_ref(x_76); -lean_inc(x_68); +lean_inc(x_66); lean_inc_ref(x_71); +lean_inc(x_75); +lean_inc_ref(x_67); lean_inc_ref(x_1); -x_79 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_65, x_71, x_68, x_76, x_73, x_75, x_72); +x_79 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_65, x_67, x_75, x_71, x_66, x_69, x_73); lean_dec(x_65); x_51 = x_67; -x_52 = x_68; -x_53 = x_69; -x_54 = x_71; -x_55 = x_70; -x_56 = x_73; +x_52 = x_66; +x_53 = x_68; +x_54 = x_72; +x_55 = x_71; +x_56 = x_75; x_57 = x_76; x_58 = x_79; goto block_62; } else { -lean_dec_ref(x_75); -lean_dec(x_72); +lean_dec(x_73); +lean_dec_ref(x_69); lean_dec(x_65); x_51 = x_67; -x_52 = x_68; -x_53 = x_69; -x_54 = x_71; -x_55 = x_70; -x_56 = x_73; +x_52 = x_66; +x_53 = x_68; +x_54 = x_72; +x_55 = x_71; +x_56 = x_75; x_57 = x_76; x_58 = x_78; goto block_62; @@ -18084,17 +18084,17 @@ goto block_62; } else { -lean_dec_ref(x_75); -lean_dec(x_72); +lean_dec(x_73); +lean_dec_ref(x_69); lean_dec(x_65); x_51 = x_67; -x_52 = x_68; -x_53 = x_69; -x_54 = x_71; -x_55 = x_70; -x_56 = x_73; +x_52 = x_66; +x_53 = x_68; +x_54 = x_72; +x_55 = x_71; +x_56 = x_75; x_57 = x_76; -x_58 = x_74; +x_58 = x_70; goto block_62; } } @@ -18110,29 +18110,29 @@ lean_dec(x_94); x_95 = lean_ctor_get(x_90, 2); lean_dec(x_95); x_96 = l_Lean_maxRecDepth; -x_97 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_83, x_96); +x_97 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_89, x_96); lean_ctor_set(x_90, 4, x_97); -lean_ctor_set(x_90, 2, x_83); -lean_ctor_set_uint8(x_90, sizeof(void*)*14, x_89); +lean_ctor_set(x_90, 2, x_89); +lean_ctor_set_uint8(x_90, sizeof(void*)*14, x_83); lean_inc(x_91); lean_inc_ref(x_90); -lean_inc(x_87); -lean_inc_ref(x_88); -lean_inc(x_82); +lean_inc(x_81); lean_inc_ref(x_86); +lean_inc(x_87); +lean_inc_ref(x_82); lean_inc(x_65); lean_inc_ref(x_1); -x_98 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_65, x_19, x_86, x_82, x_88, x_87, x_90, x_91); +x_98 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_65, x_19, x_82, x_87, x_86, x_81, x_90, x_91); if (lean_obj_tag(x_98) == 0) { lean_dec_ref(x_90); lean_dec(x_91); lean_dec(x_65); -x_51 = x_81; -x_52 = x_82; +x_51 = x_82; +x_52 = x_81; x_53 = x_84; -x_54 = x_86; -x_55 = x_85; +x_54 = x_85; +x_55 = x_86; x_56 = x_87; x_57 = x_88; x_58 = x_98; @@ -18148,16 +18148,16 @@ if (x_100 == 0) { uint8_t x_101; x_101 = l_Lean_Exception_isRuntime(x_99); -x_66 = lean_box(0); -x_67 = x_81; -x_68 = x_82; -x_69 = x_84; -x_70 = x_85; +x_66 = x_81; +x_67 = x_82; +x_68 = x_84; +x_69 = x_90; +x_70 = x_98; x_71 = x_86; -x_72 = x_91; -x_73 = x_87; -x_74 = x_98; -x_75 = x_90; +x_72 = x_85; +x_73 = x_91; +x_74 = lean_box(0); +x_75 = x_87; x_76 = x_88; x_77 = x_101; goto block_80; @@ -18165,16 +18165,16 @@ goto block_80; else { lean_dec(x_99); -x_66 = lean_box(0); -x_67 = x_81; -x_68 = x_82; -x_69 = x_84; -x_70 = x_85; +x_66 = x_81; +x_67 = x_82; +x_68 = x_84; +x_69 = x_90; +x_70 = x_98; x_71 = x_86; -x_72 = x_91; -x_73 = x_87; -x_74 = x_98; -x_75 = x_90; +x_72 = x_85; +x_73 = x_91; +x_74 = lean_box(0); +x_75 = x_87; x_76 = x_88; x_77 = x_100; goto block_80; @@ -18211,11 +18211,11 @@ lean_inc(x_103); lean_inc(x_102); lean_dec(x_90); x_115 = l_Lean_maxRecDepth; -x_116 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_83, x_115); +x_116 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_89, x_115); x_117 = lean_alloc_ctor(0, 14, 2); lean_ctor_set(x_117, 0, x_102); lean_ctor_set(x_117, 1, x_103); -lean_ctor_set(x_117, 2, x_83); +lean_ctor_set(x_117, 2, x_89); lean_ctor_set(x_117, 3, x_104); lean_ctor_set(x_117, 4, x_116); lean_ctor_set(x_117, 5, x_105); @@ -18227,27 +18227,27 @@ lean_ctor_set(x_117, 10, x_110); lean_ctor_set(x_117, 11, x_111); lean_ctor_set(x_117, 12, x_112); lean_ctor_set(x_117, 13, x_114); -lean_ctor_set_uint8(x_117, sizeof(void*)*14, x_89); +lean_ctor_set_uint8(x_117, sizeof(void*)*14, x_83); lean_ctor_set_uint8(x_117, sizeof(void*)*14 + 1, x_113); lean_inc(x_91); lean_inc_ref(x_117); -lean_inc(x_87); -lean_inc_ref(x_88); -lean_inc(x_82); +lean_inc(x_81); lean_inc_ref(x_86); +lean_inc(x_87); +lean_inc_ref(x_82); lean_inc(x_65); lean_inc_ref(x_1); -x_118 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_65, x_19, x_86, x_82, x_88, x_87, x_117, x_91); +x_118 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_65, x_19, x_82, x_87, x_86, x_81, x_117, x_91); if (lean_obj_tag(x_118) == 0) { lean_dec_ref(x_117); lean_dec(x_91); lean_dec(x_65); -x_51 = x_81; -x_52 = x_82; +x_51 = x_82; +x_52 = x_81; x_53 = x_84; -x_54 = x_86; -x_55 = x_85; +x_54 = x_85; +x_55 = x_86; x_56 = x_87; x_57 = x_88; x_58 = x_118; @@ -18263,16 +18263,16 @@ if (x_120 == 0) { uint8_t x_121; x_121 = l_Lean_Exception_isRuntime(x_119); -x_66 = lean_box(0); -x_67 = x_81; -x_68 = x_82; -x_69 = x_84; -x_70 = x_85; +x_66 = x_81; +x_67 = x_82; +x_68 = x_84; +x_69 = x_117; +x_70 = x_118; x_71 = x_86; -x_72 = x_91; -x_73 = x_87; -x_74 = x_118; -x_75 = x_117; +x_72 = x_85; +x_73 = x_91; +x_74 = lean_box(0); +x_75 = x_87; x_76 = x_88; x_77 = x_121; goto block_80; @@ -18280,16 +18280,16 @@ goto block_80; else { lean_dec(x_119); -x_66 = lean_box(0); -x_67 = x_81; -x_68 = x_82; -x_69 = x_84; -x_70 = x_85; +x_66 = x_81; +x_67 = x_82; +x_68 = x_84; +x_69 = x_117; +x_70 = x_118; x_71 = x_86; -x_72 = x_91; -x_73 = x_87; -x_74 = x_118; -x_75 = x_117; +x_72 = x_85; +x_73 = x_91; +x_74 = lean_box(0); +x_75 = x_87; x_76 = x_88; x_77 = x_120; goto block_80; @@ -18302,7 +18302,7 @@ block_153: if (x_133 == 0) { lean_object* x_134; uint8_t x_135; -x_134 = lean_st_ref_take(x_128); +x_134 = lean_st_ref_take(x_132); x_135 = !lean_is_exclusive(x_134); if (x_135 == 0) { @@ -18310,24 +18310,24 @@ lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; x_136 = lean_ctor_get(x_134, 0); x_137 = lean_ctor_get(x_134, 5); lean_dec(x_137); -x_138 = l_Lean_Kernel_enableDiag(x_136, x_132); +x_138 = l_Lean_Kernel_enableDiag(x_136, x_125); x_139 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; lean_ctor_set(x_134, 5, x_139); lean_ctor_set(x_134, 0, x_138); -x_140 = lean_st_ref_set(x_128, x_134); -lean_inc(x_128); -lean_inc_ref(x_123); -x_81 = x_123; -x_82 = x_125; -x_83 = x_124; +x_140 = lean_st_ref_set(x_132, x_134); +lean_inc(x_132); +lean_inc_ref(x_126); +x_81 = x_124; +x_82 = x_123; +x_83 = x_125; x_84 = x_126; x_85 = x_128; x_86 = x_127; x_87 = x_130; -x_88 = x_131; -x_89 = x_132; -x_90 = x_123; -x_91 = x_128; +x_88 = x_132; +x_89 = x_131; +x_90 = x_126; +x_91 = x_132; x_92 = lean_box(0); goto block_122; } @@ -18351,7 +18351,7 @@ lean_inc(x_143); lean_inc(x_142); lean_inc(x_141); lean_dec(x_134); -x_149 = l_Lean_Kernel_enableDiag(x_141, x_132); +x_149 = l_Lean_Kernel_enableDiag(x_141, x_125); x_150 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; x_151 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_151, 0, x_149); @@ -18363,39 +18363,39 @@ lean_ctor_set(x_151, 5, x_150); lean_ctor_set(x_151, 6, x_146); lean_ctor_set(x_151, 7, x_147); lean_ctor_set(x_151, 8, x_148); -x_152 = lean_st_ref_set(x_128, x_151); -lean_inc(x_128); -lean_inc_ref(x_123); -x_81 = x_123; -x_82 = x_125; -x_83 = x_124; +x_152 = lean_st_ref_set(x_132, x_151); +lean_inc(x_132); +lean_inc_ref(x_126); +x_81 = x_124; +x_82 = x_123; +x_83 = x_125; x_84 = x_126; x_85 = x_128; x_86 = x_127; x_87 = x_130; -x_88 = x_131; -x_89 = x_132; -x_90 = x_123; -x_91 = x_128; +x_88 = x_132; +x_89 = x_131; +x_90 = x_126; +x_91 = x_132; x_92 = lean_box(0); goto block_122; } } else { -lean_inc(x_128); -lean_inc_ref(x_123); -x_81 = x_123; -x_82 = x_125; -x_83 = x_124; +lean_inc(x_132); +lean_inc_ref(x_126); +x_81 = x_124; +x_82 = x_123; +x_83 = x_125; x_84 = x_126; x_85 = x_128; x_86 = x_127; x_87 = x_130; -x_88 = x_131; -x_89 = x_132; -x_90 = x_123; -x_91 = x_128; +x_88 = x_132; +x_89 = x_131; +x_90 = x_126; +x_91 = x_132; x_92 = lean_box(0); goto block_122; } @@ -18403,14 +18403,14 @@ goto block_122; block_171: { lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; uint8_t x_170; -x_163 = lean_st_ref_get(x_159); -x_164 = lean_ctor_get(x_155, 2); +x_163 = lean_st_ref_get(x_162); +x_164 = lean_ctor_get(x_158, 2); x_165 = lean_ctor_get(x_163, 0); lean_inc_ref(x_165); lean_dec(x_163); x_166 = l_Lean_Elab_async; lean_inc_ref(x_164); -x_167 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_164, x_166, x_154); +x_167 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_164, x_166, x_157); x_168 = l_Lean_diagnostics; x_169 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_167, x_168); x_170 = l_Lean_Kernel_isDiagnosticsEnabled(x_165); @@ -18419,47 +18419,47 @@ if (x_170 == 0) { if (x_169 == 0) { -x_123 = x_155; -x_124 = x_167; -x_125 = x_156; -x_126 = x_157; -x_127 = x_158; -x_128 = x_159; +x_123 = x_154; +x_124 = x_155; +x_125 = x_169; +x_126 = x_158; +x_127 = x_159; +x_128 = x_160; x_129 = lean_box(0); -x_130 = x_160; -x_131 = x_162; -x_132 = x_169; +x_130 = x_161; +x_131 = x_167; +x_132 = x_162; x_133 = x_19; goto block_153; } else { -x_123 = x_155; -x_124 = x_167; -x_125 = x_156; -x_126 = x_157; -x_127 = x_158; -x_128 = x_159; +x_123 = x_154; +x_124 = x_155; +x_125 = x_169; +x_126 = x_158; +x_127 = x_159; +x_128 = x_160; x_129 = lean_box(0); -x_130 = x_160; -x_131 = x_162; -x_132 = x_169; +x_130 = x_161; +x_131 = x_167; +x_132 = x_162; x_133 = x_170; goto block_153; } } else { -x_123 = x_155; -x_124 = x_167; -x_125 = x_156; -x_126 = x_157; -x_127 = x_158; -x_128 = x_159; +x_123 = x_154; +x_124 = x_155; +x_125 = x_169; +x_126 = x_158; +x_127 = x_159; +x_128 = x_160; x_129 = lean_box(0); -x_130 = x_160; -x_131 = x_162; -x_132 = x_169; +x_130 = x_161; +x_131 = x_167; +x_132 = x_162; x_133 = x_169; goto block_153; } @@ -18467,20 +18467,20 @@ goto block_153; block_181: { lean_object* x_180; -lean_inc(x_175); -lean_inc_ref(x_172); -lean_inc(x_178); -lean_inc_ref(x_179); +lean_inc(x_179); +lean_inc_ref(x_175); lean_inc(x_173); -lean_inc_ref(x_176); +lean_inc_ref(x_177); +lean_inc(x_178); +lean_inc_ref(x_174); lean_inc_ref(x_1); -x_180 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_65, x_176, x_173, x_179, x_178, x_172, x_175); +x_180 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_65, x_174, x_178, x_177, x_173, x_175, x_179); lean_dec(x_65); -x_51 = x_172; +x_51 = x_174; x_52 = x_173; -x_53 = x_174; +x_53 = x_175; x_54 = x_176; -x_55 = x_175; +x_55 = x_177; x_56 = x_178; x_57 = x_179; x_58 = x_180; @@ -18492,95 +18492,95 @@ if (x_191 == 0) { lean_object* x_192; lean_dec(x_24); -lean_inc_ref(x_183); -x_192 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_187, x_186, x_184, x_189, x_188, x_183, x_185); +lean_inc_ref(x_184); +x_192 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_186, x_183, x_189, x_187, x_182, x_184, x_190); if (lean_obj_tag(x_192) == 0) { lean_object* x_193; lean_dec_ref(x_192); -x_193 = l_Lean_Elab_Term_saveState___redArg(x_184, x_188, x_185); +x_193 = l_Lean_Elab_Term_saveState___redArg(x_189, x_182, x_190); if (lean_obj_tag(x_193) == 0) { lean_object* x_194; uint8_t x_195; x_194 = lean_ctor_get(x_193, 0); lean_inc(x_194); lean_dec_ref(x_193); -x_195 = lean_nat_dec_lt(x_63, x_190); +x_195 = lean_nat_dec_lt(x_63, x_188); if (x_195 == 0) { -lean_dec(x_190); -x_154 = x_191; -x_155 = x_183; -x_156 = x_184; -x_157 = x_194; -x_158 = x_186; -x_159 = x_185; -x_160 = x_188; -x_161 = lean_box(0); -x_162 = x_189; +lean_dec(x_188); +x_154 = x_183; +x_155 = x_182; +x_156 = lean_box(0); +x_157 = x_191; +x_158 = x_184; +x_159 = x_187; +x_160 = x_194; +x_161 = x_189; +x_162 = x_190; goto block_171; } else { if (x_195 == 0) { -lean_dec(x_190); -x_154 = x_191; -x_155 = x_183; -x_156 = x_184; -x_157 = x_194; -x_158 = x_186; -x_159 = x_185; -x_160 = x_188; -x_161 = lean_box(0); -x_162 = x_189; +lean_dec(x_188); +x_154 = x_183; +x_155 = x_182; +x_156 = lean_box(0); +x_157 = x_191; +x_158 = x_184; +x_159 = x_187; +x_160 = x_194; +x_161 = x_189; +x_162 = x_190; goto block_171; } else { size_t x_196; size_t x_197; uint8_t x_198; x_196 = 0; -x_197 = lean_usize_of_nat(x_190); -x_198 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__4(x_191, x_65, x_190, x_65, x_196, x_197); +x_197 = lean_usize_of_nat(x_188); +x_198 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__4(x_191, x_65, x_188, x_65, x_196, x_197); if (x_198 == 0) { -x_154 = x_191; -x_155 = x_183; -x_156 = x_184; -x_157 = x_194; -x_158 = x_186; -x_159 = x_185; -x_160 = x_188; -x_161 = lean_box(0); -x_162 = x_189; +x_154 = x_183; +x_155 = x_182; +x_156 = lean_box(0); +x_157 = x_191; +x_158 = x_184; +x_159 = x_187; +x_160 = x_194; +x_161 = x_189; +x_162 = x_190; goto block_171; } else { if (x_195 == 0) { -x_172 = x_183; -x_173 = x_184; -x_174 = x_194; -x_175 = x_185; -x_176 = x_186; -x_177 = lean_box(0); -x_178 = x_188; -x_179 = x_189; +x_172 = lean_box(0); +x_173 = x_182; +x_174 = x_183; +x_175 = x_184; +x_176 = x_194; +x_177 = x_187; +x_178 = x_189; +x_179 = x_190; goto block_181; } else { if (x_195 == 0) { -x_172 = x_183; -x_173 = x_184; -x_174 = x_194; -x_175 = x_185; -x_176 = x_186; -x_177 = lean_box(0); -x_178 = x_188; -x_179 = x_189; +x_172 = lean_box(0); +x_173 = x_182; +x_174 = x_183; +x_175 = x_184; +x_176 = x_194; +x_177 = x_187; +x_178 = x_189; +x_179 = x_190; goto block_181; } else @@ -18589,25 +18589,25 @@ uint8_t x_199; x_199 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__5(x_191, x_65, x_196, x_197); if (x_199 == 0) { -x_172 = x_183; -x_173 = x_184; -x_174 = x_194; -x_175 = x_185; -x_176 = x_186; -x_177 = lean_box(0); -x_178 = x_188; -x_179 = x_189; +x_172 = lean_box(0); +x_173 = x_182; +x_174 = x_183; +x_175 = x_184; +x_176 = x_194; +x_177 = x_187; +x_178 = x_189; +x_179 = x_190; goto block_181; } else { lean_dec(x_194); -lean_dec_ref(x_189); -lean_dec(x_188); -lean_dec_ref(x_186); -lean_dec(x_185); -lean_dec(x_184); +lean_dec(x_190); +lean_dec(x_189); +lean_dec_ref(x_187); +lean_dec_ref(x_184); lean_dec_ref(x_183); +lean_dec(x_182); lean_dec(x_65); x_13 = x_25; x_14 = lean_box(0); @@ -18623,12 +18623,12 @@ else { uint8_t x_200; lean_dec(x_190); -lean_dec_ref(x_189); +lean_dec(x_189); lean_dec(x_188); -lean_dec_ref(x_186); -lean_dec(x_185); -lean_dec(x_184); +lean_dec_ref(x_187); +lean_dec_ref(x_184); lean_dec_ref(x_183); +lean_dec(x_182); lean_dec(x_65); lean_dec(x_11); lean_dec_ref(x_10); @@ -18657,12 +18657,12 @@ return x_202; else { lean_dec(x_190); -lean_dec_ref(x_189); +lean_dec(x_189); lean_dec(x_188); -lean_dec_ref(x_186); -lean_dec(x_185); -lean_dec(x_184); +lean_dec_ref(x_187); +lean_dec_ref(x_184); lean_dec_ref(x_183); +lean_dec(x_182); lean_dec(x_65); x_28 = x_192; goto block_29; @@ -18672,12 +18672,12 @@ else { lean_object* x_203; lean_dec(x_190); -lean_dec_ref(x_189); +lean_dec(x_189); lean_dec(x_188); -lean_dec_ref(x_186); -lean_dec(x_185); -lean_dec(x_184); +lean_dec_ref(x_187); +lean_dec_ref(x_184); lean_dec_ref(x_183); +lean_dec(x_182); lean_dec(x_65); lean_dec(x_11); lean_dec_ref(x_10); @@ -18692,7 +18692,7 @@ if (lean_is_scalar(x_24)) { x_203 = x_24; lean_ctor_set_tag(x_203, 1); } -lean_ctor_set(x_203, 0, x_187); +lean_ctor_set(x_203, 0, x_186); return x_203; } } @@ -18705,28 +18705,28 @@ if (x_214 == 0) uint8_t x_215; lean_inc_ref(x_212); x_215 = l_Lean_Exception_isRuntime(x_212); -x_182 = lean_box(0); +x_182 = x_206; x_183 = x_205; -x_184 = x_206; -x_185 = x_208; -x_186 = x_207; -x_187 = x_212; -x_188 = x_209; -x_189 = x_210; +x_184 = x_207; +x_185 = lean_box(0); +x_186 = x_212; +x_187 = x_208; +x_188 = x_210; +x_189 = x_209; x_190 = x_211; x_191 = x_215; goto block_204; } else { -x_182 = lean_box(0); +x_182 = x_206; x_183 = x_205; -x_184 = x_206; -x_185 = x_208; -x_186 = x_207; -x_187 = x_212; -x_188 = x_209; -x_189 = x_210; +x_184 = x_207; +x_185 = lean_box(0); +x_186 = x_212; +x_187 = x_208; +x_188 = x_210; +x_189 = x_209; x_190 = x_211; x_191 = x_214; goto block_204; @@ -18738,12 +18738,12 @@ if (lean_obj_tag(x_224) == 0) { lean_dec_ref(x_224); lean_dec(x_223); -lean_dec_ref(x_222); +lean_dec(x_222); lean_dec(x_221); lean_dec_ref(x_220); -lean_dec(x_219); -lean_dec(x_218); -lean_dec_ref(x_217); +lean_dec_ref(x_219); +lean_dec_ref(x_218); +lean_dec(x_217); lean_dec(x_65); lean_dec(x_24); x_13 = x_25; @@ -18756,12 +18756,12 @@ lean_object* x_225; x_225 = lean_ctor_get(x_224, 0); lean_inc(x_225); lean_dec_ref(x_224); -x_205 = x_217; -x_206 = x_218; -x_207 = x_220; -x_208 = x_219; -x_209 = x_221; -x_210 = x_222; +x_205 = x_218; +x_206 = x_217; +x_207 = x_219; +x_208 = x_220; +x_209 = x_222; +x_210 = x_221; x_211 = x_223; x_212 = x_225; x_213 = lean_box(0); @@ -18771,36 +18771,36 @@ goto block_216; block_273: { lean_object* x_238; -lean_inc_ref(x_230); -x_238 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_65, x_236, x_234, x_230, x_233); +lean_inc_ref(x_232); +x_238 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_65, x_233, x_231, x_232, x_237); if (lean_obj_tag(x_238) == 0) { lean_object* x_239; lean_dec_ref(x_238); -lean_inc(x_233); -lean_inc_ref(x_230); -lean_inc(x_234); -lean_inc_ref(x_236); +lean_inc(x_237); +lean_inc_ref(x_232); +lean_inc(x_231); +lean_inc_ref(x_233); lean_inc(x_65); -x_239 = l_Lean_Elab_checkCodomainsLevel(x_65, x_236, x_234, x_230, x_233); +x_239 = l_Lean_Elab_checkCodomainsLevel(x_65, x_233, x_231, x_232, x_237); if (lean_obj_tag(x_239) == 0) { lean_object* x_240; lean_dec_ref(x_239); -lean_inc_ref(x_230); -x_240 = l_Lean_Elab_checkTerminationByHints(x_65, x_230, x_233); +lean_inc_ref(x_232); +x_240 = l_Lean_Elab_checkTerminationByHints(x_65, x_232, x_237); if (lean_obj_tag(x_240) == 0) { lean_object* x_241; lean_dec_ref(x_240); -lean_inc(x_233); -lean_inc_ref(x_230); -lean_inc(x_234); -lean_inc_ref(x_236); -lean_inc(x_231); +lean_inc(x_237); lean_inc_ref(x_232); +lean_inc(x_231); +lean_inc_ref(x_233); +lean_inc(x_235); +lean_inc_ref(x_230); lean_inc(x_65); -x_241 = l_Lean_Elab_elabTerminationByHints(x_65, x_232, x_231, x_236, x_234, x_230, x_233); +x_241 = l_Lean_Elab_elabTerminationByHints(x_65, x_230, x_235, x_233, x_231, x_232, x_237); if (lean_obj_tag(x_241) == 0) { lean_object* x_242; uint8_t x_243; @@ -18823,30 +18823,30 @@ x_246 = lean_array_get(x_64, x_65, x_63); x_247 = lean_ctor_get(x_246, 0); lean_inc(x_247); lean_dec(x_246); -x_248 = lean_ctor_get(x_230, 0); -x_249 = lean_ctor_get(x_230, 1); -x_250 = lean_ctor_get(x_230, 2); -x_251 = lean_ctor_get(x_230, 3); -x_252 = lean_ctor_get(x_230, 4); -x_253 = lean_ctor_get(x_230, 5); -x_254 = lean_ctor_get(x_230, 6); -x_255 = lean_ctor_get(x_230, 7); -x_256 = lean_ctor_get(x_230, 8); -x_257 = lean_ctor_get(x_230, 9); -x_258 = lean_ctor_get(x_230, 10); -x_259 = lean_ctor_get(x_230, 11); -x_260 = lean_ctor_get_uint8(x_230, sizeof(void*)*14); -x_261 = lean_ctor_get(x_230, 12); -x_262 = lean_ctor_get_uint8(x_230, sizeof(void*)*14 + 1); -x_263 = lean_ctor_get(x_230, 13); +x_248 = lean_ctor_get(x_232, 0); +x_249 = lean_ctor_get(x_232, 1); +x_250 = lean_ctor_get(x_232, 2); +x_251 = lean_ctor_get(x_232, 3); +x_252 = lean_ctor_get(x_232, 4); +x_253 = lean_ctor_get(x_232, 5); +x_254 = lean_ctor_get(x_232, 6); +x_255 = lean_ctor_get(x_232, 7); +x_256 = lean_ctor_get(x_232, 8); +x_257 = lean_ctor_get(x_232, 9); +x_258 = lean_ctor_get(x_232, 10); +x_259 = lean_ctor_get(x_232, 11); +x_260 = lean_ctor_get_uint8(x_232, sizeof(void*)*14); +x_261 = lean_ctor_get(x_232, 12); +x_262 = lean_ctor_get_uint8(x_232, sizeof(void*)*14 + 1); +x_263 = lean_ctor_get(x_232, 13); lean_inc(x_65); lean_inc_ref(x_1); x_264 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___lam__1___boxed), 10, 5); lean_closure_set(x_264, 0, x_1); lean_closure_set(x_264, 1, x_65); lean_closure_set(x_264, 2, x_242); -lean_closure_set(x_264, 3, x_229); -lean_closure_set(x_264, 4, x_228); +lean_closure_set(x_264, 3, x_228); +lean_closure_set(x_264, 4, x_229); x_265 = l_Lean_replaceRef(x_247, x_253); lean_dec(x_247); lean_inc_ref(x_263); @@ -18879,18 +18879,18 @@ lean_ctor_set(x_266, 12, x_261); lean_ctor_set(x_266, 13, x_263); lean_ctor_set_uint8(x_266, sizeof(void*)*14, x_260); lean_ctor_set_uint8(x_266, sizeof(void*)*14 + 1, x_262); -lean_inc(x_233); -lean_inc(x_234); -lean_inc_ref(x_236); -x_267 = l_Lean_Meta_mapErrorImp___redArg(x_264, x_227, x_236, x_234, x_266, x_233); +lean_inc(x_237); +lean_inc(x_231); +lean_inc_ref(x_233); +x_267 = l_Lean_Meta_mapErrorImp___redArg(x_264, x_227, x_233, x_231, x_266, x_237); if (lean_obj_tag(x_267) == 0) { -x_217 = x_230; -x_218 = x_231; -x_219 = x_233; -x_220 = x_232; +x_217 = x_231; +x_218 = x_230; +x_219 = x_232; +x_220 = x_233; x_221 = x_234; -x_222 = x_236; +x_222 = x_235; x_223 = x_237; x_224 = x_267; goto block_226; @@ -18905,8 +18905,8 @@ x_205 = x_230; x_206 = x_231; x_207 = x_232; x_208 = x_233; -x_209 = x_234; -x_210 = x_236; +x_209 = x_235; +x_210 = x_234; x_211 = x_237; x_212 = x_268; x_213 = lean_box(0); @@ -18916,24 +18916,24 @@ goto block_216; else { lean_object* x_269; -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); -lean_inc(x_233); -lean_inc_ref(x_230); -lean_inc(x_234); -lean_inc_ref(x_236); -lean_inc(x_231); +lean_inc(x_237); lean_inc_ref(x_232); +lean_inc(x_231); +lean_inc_ref(x_233); +lean_inc(x_235); +lean_inc_ref(x_230); lean_inc(x_65); lean_inc_ref(x_1); -x_269 = l_Lean_Elab_wfRecursion(x_1, x_65, x_242, x_232, x_231, x_236, x_234, x_230, x_233); -x_217 = x_230; -x_218 = x_231; -x_219 = x_233; -x_220 = x_232; +x_269 = l_Lean_Elab_wfRecursion(x_1, x_65, x_242, x_230, x_235, x_233, x_231, x_232, x_237); +x_217 = x_231; +x_218 = x_230; +x_219 = x_232; +x_220 = x_233; x_221 = x_234; -x_222 = x_236; +x_222 = x_235; x_223 = x_237; x_224 = x_269; goto block_226; @@ -18943,24 +18943,24 @@ else { lean_object* x_270; lean_dec(x_242); -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); -lean_inc(x_233); -lean_inc_ref(x_230); -lean_inc(x_234); -lean_inc_ref(x_236); -lean_inc(x_231); +lean_inc(x_237); lean_inc_ref(x_232); +lean_inc(x_231); +lean_inc_ref(x_233); +lean_inc(x_235); +lean_inc_ref(x_230); lean_inc(x_65); lean_inc_ref(x_1); -x_270 = l_Lean_Elab_partialFixpoint(x_1, x_65, x_232, x_231, x_236, x_234, x_230, x_233); -x_217 = x_230; -x_218 = x_231; -x_219 = x_233; -x_220 = x_232; +x_270 = l_Lean_Elab_partialFixpoint(x_1, x_65, x_230, x_235, x_233, x_231, x_232, x_237); +x_217 = x_231; +x_218 = x_230; +x_219 = x_232; +x_220 = x_233; x_221 = x_234; -x_222 = x_236; +x_222 = x_235; x_223 = x_237; x_224 = x_270; goto block_226; @@ -18969,24 +18969,24 @@ goto block_226; else { lean_object* x_271; -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); -lean_inc(x_233); -lean_inc_ref(x_230); -lean_inc(x_234); -lean_inc_ref(x_236); -lean_inc(x_231); +lean_inc(x_237); lean_inc_ref(x_232); +lean_inc(x_231); +lean_inc_ref(x_233); +lean_inc(x_235); +lean_inc_ref(x_230); lean_inc(x_65); lean_inc_ref(x_1); -x_271 = l_Lean_Elab_Structural_structuralRecursion(x_1, x_65, x_242, x_232, x_231, x_236, x_234, x_230, x_233); -x_217 = x_230; -x_218 = x_231; -x_219 = x_233; -x_220 = x_232; +x_271 = l_Lean_Elab_Structural_structuralRecursion(x_1, x_65, x_242, x_230, x_235, x_233, x_231, x_232, x_237); +x_217 = x_231; +x_218 = x_230; +x_219 = x_232; +x_220 = x_233; x_221 = x_234; -x_222 = x_236; +x_222 = x_235; x_223 = x_237; x_224 = x_271; goto block_226; @@ -18995,8 +18995,8 @@ goto block_226; else { lean_object* x_272; -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); x_272 = lean_ctor_get(x_241, 0); lean_inc(x_272); @@ -19005,8 +19005,8 @@ x_205 = x_230; x_206 = x_231; x_207 = x_232; x_208 = x_233; -x_209 = x_234; -x_210 = x_236; +x_209 = x_235; +x_210 = x_234; x_211 = x_237; x_212 = x_272; x_213 = lean_box(0); @@ -19015,15 +19015,15 @@ goto block_216; } else { -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); -x_217 = x_230; -x_218 = x_231; -x_219 = x_233; -x_220 = x_232; +x_217 = x_231; +x_218 = x_230; +x_219 = x_232; +x_220 = x_233; x_221 = x_234; -x_222 = x_236; +x_222 = x_235; x_223 = x_237; x_224 = x_240; goto block_226; @@ -19031,15 +19031,15 @@ goto block_226; } else { -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); -x_217 = x_230; -x_218 = x_231; -x_219 = x_233; -x_220 = x_232; +x_217 = x_231; +x_218 = x_230; +x_219 = x_232; +x_220 = x_233; x_221 = x_234; -x_222 = x_236; +x_222 = x_235; x_223 = x_237; x_224 = x_239; goto block_226; @@ -19048,14 +19048,14 @@ goto block_226; else { lean_dec(x_237); -lean_dec_ref(x_236); +lean_dec(x_235); lean_dec(x_234); -lean_dec(x_233); +lean_dec_ref(x_233); lean_dec_ref(x_232); lean_dec(x_231); lean_dec_ref(x_230); -lean_dec_ref(x_229); -lean_dec(x_228); +lean_dec(x_229); +lean_dec_ref(x_228); lean_dec_ref(x_227); lean_dec(x_65); lean_dec(x_24); @@ -19072,19 +19072,19 @@ return x_238; block_295: { uint8_t x_285; -x_285 = lean_nat_dec_lt(x_63, x_283); +x_285 = lean_nat_dec_lt(x_63, x_281); if (x_285 == 0) { x_228 = x_274; x_229 = x_275; -x_230 = x_276; -x_231 = x_277; -x_232 = x_279; -x_233 = x_278; -x_234 = x_280; -x_235 = lean_box(0); -x_236 = x_281; -x_237 = x_283; +x_230 = x_277; +x_231 = x_276; +x_232 = x_278; +x_233 = x_279; +x_234 = x_281; +x_235 = x_280; +x_236 = lean_box(0); +x_237 = x_282; goto block_273; } else @@ -19093,67 +19093,67 @@ if (x_285 == 0) { x_228 = x_274; x_229 = x_275; -x_230 = x_276; -x_231 = x_277; -x_232 = x_279; -x_233 = x_278; -x_234 = x_280; -x_235 = lean_box(0); -x_236 = x_281; -x_237 = x_283; +x_230 = x_277; +x_231 = x_276; +x_232 = x_278; +x_233 = x_279; +x_234 = x_281; +x_235 = x_280; +x_236 = lean_box(0); +x_237 = x_282; goto block_273; } else { size_t x_286; size_t x_287; uint8_t x_288; x_286 = 0; -x_287 = lean_usize_of_nat(x_283); +x_287 = lean_usize_of_nat(x_281); x_288 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__7(x_65, x_286, x_287); if (x_288 == 0) { x_228 = x_274; x_229 = x_275; -x_230 = x_276; -x_231 = x_277; -x_232 = x_279; -x_233 = x_278; -x_234 = x_280; -x_235 = lean_box(0); -x_236 = x_281; -x_237 = x_283; +x_230 = x_277; +x_231 = x_276; +x_232 = x_278; +x_233 = x_279; +x_234 = x_281; +x_235 = x_280; +x_236 = lean_box(0); +x_237 = x_282; goto block_273; } else { size_t x_289; lean_object* x_290; -lean_dec_ref(x_275); -lean_dec(x_274); +lean_dec(x_275); +lean_dec_ref(x_274); lean_dec_ref(x_227); lean_dec(x_24); x_289 = lean_array_size(x_65); -lean_inc(x_278); -lean_inc_ref(x_276); -lean_inc(x_280); -lean_inc_ref(x_281); +lean_inc(x_282); +lean_inc_ref(x_278); +lean_inc(x_276); lean_inc_ref(x_279); -x_290 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__8(x_65, x_289, x_286, x_25, x_279, x_277, x_281, x_280, x_276, x_278); +lean_inc_ref(x_277); +x_290 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__8(x_65, x_289, x_286, x_25, x_277, x_280, x_279, x_276, x_278, x_282); if (lean_obj_tag(x_290) == 0) { lean_object* x_291; lean_dec_ref(x_290); -lean_inc(x_278); -lean_inc_ref(x_276); +lean_inc(x_282); +lean_inc_ref(x_278); lean_inc(x_65); lean_inc_ref(x_1); -x_291 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_65, x_284, x_279, x_277, x_281, x_280, x_276, x_278); +x_291 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_65, x_284, x_277, x_280, x_279, x_276, x_278, x_282); if (lean_obj_tag(x_291) == 0) { lean_dec_ref(x_291); if (x_285 == 0) { -lean_dec(x_283); -lean_dec(x_278); -lean_dec_ref(x_276); +lean_dec(x_282); +lean_dec(x_281); +lean_dec_ref(x_278); lean_dec(x_65); x_13 = x_25; x_14 = lean_box(0); @@ -19162,14 +19162,14 @@ goto block_18; else { uint8_t x_292; -x_292 = lean_nat_dec_le(x_283, x_283); -lean_dec(x_283); +x_292 = lean_nat_dec_le(x_281, x_281); +lean_dec(x_281); if (x_292 == 0) { if (x_285 == 0) { -lean_dec(x_278); -lean_dec_ref(x_276); +lean_dec(x_282); +lean_dec_ref(x_278); lean_dec(x_65); x_13 = x_25; x_14 = lean_box(0); @@ -19178,8 +19178,8 @@ goto block_18; else { lean_object* x_293; -x_293 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_65, x_286, x_287, x_25, x_276, x_278); -lean_dec(x_278); +x_293 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_65, x_286, x_287, x_25, x_278, x_282); +lean_dec(x_282); lean_dec(x_65); x_42 = x_293; goto block_43; @@ -19188,8 +19188,8 @@ goto block_43; else { lean_object* x_294; -x_294 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_65, x_286, x_287, x_25, x_276, x_278); -lean_dec(x_278); +x_294 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_65, x_286, x_287, x_25, x_278, x_282); +lean_dec(x_282); lean_dec(x_65); x_42 = x_294; goto block_43; @@ -19198,9 +19198,9 @@ goto block_43; } else { -lean_dec(x_283); -lean_dec(x_278); -lean_dec_ref(x_276); +lean_dec(x_282); +lean_dec(x_281); +lean_dec_ref(x_278); lean_dec(x_65); lean_dec(x_11); lean_dec_ref(x_10); @@ -19214,13 +19214,13 @@ return x_291; } else { -lean_dec(x_283); -lean_dec_ref(x_281); +lean_dec(x_282); +lean_dec(x_281); lean_dec(x_280); lean_dec_ref(x_279); -lean_dec(x_278); -lean_dec(x_277); -lean_dec_ref(x_276); +lean_dec_ref(x_278); +lean_dec_ref(x_277); +lean_dec(x_276); lean_dec(x_65); lean_dec(x_11); lean_dec_ref(x_10); @@ -19235,7 +19235,7 @@ return x_290; } } } -block_331: +block_332: { if (x_304 == 0) { @@ -19243,18 +19243,18 @@ uint8_t x_305; x_305 = lean_nat_dec_lt(x_63, x_303); if (x_305 == 0) { -lean_inc_ref(x_298); -lean_inc(x_297); -x_274 = x_297; -x_275 = x_298; -x_276 = x_296; -x_277 = x_297; -x_278 = x_299; -x_279 = x_298; +lean_inc(x_300); +lean_inc_ref(x_296); +x_274 = x_296; +x_275 = x_300; +x_276 = x_297; +x_277 = x_296; +x_278 = x_298; +x_279 = x_299; x_280 = x_300; -x_281 = x_302; -x_282 = lean_box(0); -x_283 = x_303; +x_281 = x_303; +x_282 = x_302; +x_283 = lean_box(0); x_284 = x_304; goto block_295; } @@ -19262,18 +19262,18 @@ else { if (x_305 == 0) { -lean_inc_ref(x_298); -lean_inc(x_297); -x_274 = x_297; -x_275 = x_298; -x_276 = x_296; -x_277 = x_297; -x_278 = x_299; -x_279 = x_298; +lean_inc(x_300); +lean_inc_ref(x_296); +x_274 = x_296; +x_275 = x_300; +x_276 = x_297; +x_277 = x_296; +x_278 = x_298; +x_279 = x_299; x_280 = x_300; -x_281 = x_302; -x_282 = lean_box(0); -x_283 = x_303; +x_281 = x_303; +x_282 = x_302; +x_283 = lean_box(0); x_284 = x_304; goto block_295; } @@ -19285,18 +19285,18 @@ x_307 = lean_usize_of_nat(x_303); x_308 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__10(x_65, x_306, x_307); if (x_308 == 0) { -lean_inc_ref(x_298); -lean_inc(x_297); -x_274 = x_297; -x_275 = x_298; -x_276 = x_296; -x_277 = x_297; -x_278 = x_299; -x_279 = x_298; +lean_inc(x_300); +lean_inc_ref(x_296); +x_274 = x_296; +x_275 = x_300; +x_276 = x_297; +x_277 = x_296; +x_278 = x_298; +x_279 = x_299; x_280 = x_300; -x_281 = x_302; -x_282 = lean_box(0); -x_283 = x_303; +x_281 = x_303; +x_282 = x_302; +x_283 = lean_box(0); x_284 = x_308; goto block_295; } @@ -19306,19 +19306,19 @@ uint8_t x_309; lean_object* x_310; lean_dec_ref(x_227); lean_dec(x_24); x_309 = 0; -lean_inc(x_299); -lean_inc_ref(x_296); +lean_inc(x_302); +lean_inc_ref(x_298); lean_inc(x_65); lean_inc_ref(x_1); -x_310 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_65, x_309, x_298, x_297, x_302, x_300, x_296, x_299); +x_310 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_65, x_309, x_296, x_300, x_299, x_297, x_298, x_302); if (lean_obj_tag(x_310) == 0) { lean_dec_ref(x_310); if (x_305 == 0) { lean_dec(x_303); -lean_dec(x_299); -lean_dec_ref(x_296); +lean_dec(x_302); +lean_dec_ref(x_298); lean_dec(x_65); x_13 = x_25; x_14 = lean_box(0); @@ -19333,8 +19333,8 @@ if (x_311 == 0) { if (x_305 == 0) { -lean_dec(x_299); -lean_dec_ref(x_296); +lean_dec(x_302); +lean_dec_ref(x_298); lean_dec(x_65); x_13 = x_25; x_14 = lean_box(0); @@ -19343,8 +19343,8 @@ goto block_18; else { lean_object* x_312; -x_312 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_65, x_306, x_307, x_25, x_296, x_299); -lean_dec(x_299); +x_312 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_65, x_306, x_307, x_25, x_298, x_302); +lean_dec(x_302); lean_dec(x_65); x_26 = x_312; goto block_27; @@ -19353,8 +19353,8 @@ goto block_27; else { lean_object* x_313; -x_313 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_65, x_306, x_307, x_25, x_296, x_299); -lean_dec(x_299); +x_313 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_65, x_306, x_307, x_25, x_298, x_302); +lean_dec(x_302); lean_dec(x_65); x_26 = x_313; goto block_27; @@ -19364,8 +19364,8 @@ goto block_27; else { lean_dec(x_303); -lean_dec(x_299); -lean_dec_ref(x_296); +lean_dec(x_302); +lean_dec_ref(x_298); lean_dec(x_65); lean_dec(x_11); lean_dec_ref(x_10); @@ -19388,9 +19388,9 @@ lean_dec_ref(x_227); lean_dec(x_24); x_314 = lean_array_get(x_64, x_65, x_63); lean_dec(x_65); -lean_inc(x_299); -lean_inc_ref(x_296); -x_315 = l_Lean_Elab_eraseRecAppSyntax(x_314, x_296, x_299); +lean_inc(x_302); +lean_inc_ref(x_298); +x_315 = l_Lean_Elab_eraseRecAppSyntax(x_314, x_298, x_302); if (lean_obj_tag(x_315) == 0) { lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; @@ -19402,7 +19402,7 @@ x_318 = lean_ctor_get(x_316, 3); x_319 = lean_ctor_get(x_316, 8); lean_inc_ref(x_319); lean_inc(x_318); -x_320 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_318, x_296, x_299); +x_320 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_318, x_298, x_302); if (lean_obj_tag(x_320) == 0) { uint8_t x_321; @@ -19416,24 +19416,24 @@ lean_inc(x_318); x_323 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_323, 0, x_318); lean_ctor_set(x_323, 1, x_322); -lean_inc(x_299); -lean_inc_ref(x_296); +lean_inc(x_302); +lean_inc_ref(x_298); lean_inc_ref(x_1); -x_324 = l_Lean_Elab_addAndCompileNonRec(x_1, x_316, x_323, x_19, x_298, x_297, x_302, x_300, x_296, x_299); +x_324 = l_Lean_Elab_addAndCompileNonRec(x_1, x_316, x_323, x_19, x_321, x_296, x_300, x_299, x_297, x_298, x_302); if (lean_obj_tag(x_324) == 0) { lean_dec_ref(x_324); x_44 = x_319; -x_45 = x_296; -x_46 = x_299; +x_45 = x_298; +x_46 = x_302; x_47 = lean_box(0); goto block_50; } else { lean_dec_ref(x_319); -lean_dec(x_299); -lean_dec_ref(x_296); +lean_dec(x_302); +lean_dec_ref(x_298); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -19446,30 +19446,31 @@ return x_324; } else { -lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_object* x_325; lean_object* x_326; uint8_t x_327; lean_object* x_328; x_325 = lean_box(0); lean_inc(x_318); x_326 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_326, 0, x_318); lean_ctor_set(x_326, 1, x_325); -lean_inc(x_299); -lean_inc_ref(x_296); +x_327 = 0; +lean_inc(x_302); +lean_inc_ref(x_298); lean_inc_ref(x_1); -x_327 = l_Lean_Elab_addNonRec(x_1, x_316, x_19, x_326, x_19, x_19, x_298, x_297, x_302, x_300, x_296, x_299); -if (lean_obj_tag(x_327) == 0) +x_328 = l_Lean_Elab_addNonRec(x_1, x_316, x_19, x_326, x_19, x_19, x_327, x_296, x_300, x_299, x_297, x_298, x_302); +if (lean_obj_tag(x_328) == 0) { -lean_dec_ref(x_327); +lean_dec_ref(x_328); x_44 = x_319; -x_45 = x_296; -x_46 = x_299; +x_45 = x_298; +x_46 = x_302; x_47 = lean_box(0); goto block_50; } else { lean_dec_ref(x_319); -lean_dec(x_299); -lean_dec_ref(x_296); +lean_dec(x_302); +lean_dec_ref(x_298); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -19477,7 +19478,7 @@ lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -return x_327; +return x_328; } } } @@ -19485,9 +19486,9 @@ else { lean_dec_ref(x_319); lean_dec(x_316); -lean_dec_ref(x_302); +lean_dec(x_302); lean_dec(x_300); -lean_dec(x_299); +lean_dec_ref(x_299); lean_dec_ref(x_298); lean_dec(x_297); lean_dec_ref(x_296); @@ -19503,10 +19504,10 @@ return x_320; } else { -uint8_t x_328; -lean_dec_ref(x_302); +uint8_t x_329; +lean_dec(x_302); lean_dec(x_300); -lean_dec(x_299); +lean_dec_ref(x_299); lean_dec_ref(x_298); lean_dec(x_297); lean_dec_ref(x_296); @@ -19517,64 +19518,64 @@ lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -x_328 = !lean_is_exclusive(x_315); -if (x_328 == 0) +x_329 = !lean_is_exclusive(x_315); +if (x_329 == 0) { return x_315; } else { -lean_object* x_329; lean_object* x_330; -x_329 = lean_ctor_get(x_315, 0); -lean_inc(x_329); +lean_object* x_330; lean_object* x_331; +x_330 = lean_ctor_get(x_315, 0); +lean_inc(x_330); lean_dec(x_315); -x_330 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_330, 0, x_329); -return x_330; +x_331 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_331, 0, x_330); +return x_331; } } } } -block_344: +block_345: { -lean_object* x_339; lean_object* x_340; uint8_t x_341; -x_339 = lean_array_get_size(x_65); -x_340 = lean_unsigned_to_nat(1u); -x_341 = lean_nat_dec_eq(x_339, x_340); -if (x_341 == 0) +lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_340 = lean_array_get_size(x_65); +x_341 = lean_unsigned_to_nat(1u); +x_342 = lean_nat_dec_eq(x_340, x_341); +if (x_342 == 0) { -x_296 = x_336; -x_297 = x_333; -x_298 = x_332; -x_299 = x_337; -x_300 = x_335; +x_296 = x_333; +x_297 = x_336; +x_298 = x_337; +x_299 = x_335; +x_300 = x_334; x_301 = lean_box(0); -x_302 = x_334; -x_303 = x_339; -x_304 = x_341; -goto block_331; +x_302 = x_338; +x_303 = x_340; +x_304 = x_342; +goto block_332; } else { -lean_object* x_342; uint8_t x_343; -x_342 = lean_array_get(x_64, x_65, x_63); -x_343 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_342); -x_296 = x_336; -x_297 = x_333; -x_298 = x_332; -x_299 = x_337; -x_300 = x_335; +lean_object* x_343; uint8_t x_344; +x_343 = lean_array_get(x_64, x_65, x_63); +x_344 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_343); +x_296 = x_333; +x_297 = x_336; +x_298 = x_337; +x_299 = x_335; +x_300 = x_334; x_301 = lean_box(0); -x_302 = x_334; -x_303 = x_339; -x_304 = x_343; -goto block_331; +x_302 = x_338; +x_303 = x_340; +x_304 = x_344; +goto block_332; } } } else { -uint8_t x_354; +uint8_t x_355; lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -19582,20 +19583,20 @@ lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -x_354 = !lean_is_exclusive(x_22); -if (x_354 == 0) +x_355 = !lean_is_exclusive(x_22); +if (x_355 == 0) { return x_22; } else { -lean_object* x_355; lean_object* x_356; -x_355 = lean_ctor_get(x_22, 0); -lean_inc(x_355); +lean_object* x_356; lean_object* x_357; +x_356 = lean_ctor_get(x_22, 0); +lean_inc(x_356); lean_dec(x_22); -x_356 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_356, 0, x_355); -return x_356; +x_357 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_357, 0, x_356); +return x_357; } } } @@ -20018,9 +20019,9 @@ lean_inc(x_55); x_57 = l_Lean_Exception_isRuntime(x_55); x_16 = lean_box(0); x_17 = x_54; -x_18 = x_52; +x_18 = x_55; x_19 = x_53; -x_20 = x_55; +x_20 = x_52; x_21 = x_57; goto block_37; } @@ -20028,9 +20029,9 @@ else { x_16 = lean_box(0); x_17 = x_54; -x_18 = x_52; +x_18 = x_55; x_19 = x_53; -x_20 = x_55; +x_20 = x_52; x_21 = x_56; goto block_37; } @@ -20101,9 +20102,9 @@ lean_inc(x_67); x_69 = l_Lean_Exception_isRuntime(x_67); x_16 = lean_box(0); x_17 = x_66; -x_18 = x_64; +x_18 = x_67; x_19 = x_65; -x_20 = x_67; +x_20 = x_64; x_21 = x_69; goto block_37; } @@ -20111,9 +20112,9 @@ else { x_16 = lean_box(0); x_17 = x_66; -x_18 = x_64; +x_18 = x_67; x_19 = x_65; -x_20 = x_67; +x_20 = x_64; x_21 = x_68; goto block_37; } @@ -20200,9 +20201,9 @@ lean_inc(x_81); x_83 = l_Lean_Exception_isRuntime(x_81); x_16 = lean_box(0); x_17 = x_80; -x_18 = x_78; +x_18 = x_81; x_19 = x_79; -x_20 = x_81; +x_20 = x_78; x_21 = x_83; goto block_37; } @@ -20210,9 +20211,9 @@ else { x_16 = lean_box(0); x_17 = x_80; -x_18 = x_78; +x_18 = x_81; x_19 = x_79; -x_20 = x_81; +x_20 = x_78; x_21 = x_82; goto block_37; } @@ -20301,16 +20302,16 @@ block_37: { if (x_21 == 0) { -if (lean_obj_tag(x_20) == 0) +if (lean_obj_tag(x_18) == 0) { uint8_t x_22; lean_dec_ref(x_17); -x_22 = !lean_is_exclusive(x_20); +x_22 = !lean_is_exclusive(x_18); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_20, 1); -x_24 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_18, 1); +x_24 = lean_ctor_get(x_18, 0); lean_dec(x_24); x_25 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_26 = lean_alloc_ctor(7, 2, 0); @@ -20322,18 +20323,18 @@ lean_ctor_set(x_27, 1, x_25); x_28 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_23); -lean_ctor_set(x_20, 1, x_28); -lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_18, 1, x_28); +lean_ctor_set(x_18, 0, x_20); x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_20); +lean_ctor_set(x_29, 0, x_18); return x_29; } else { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_ctor_get(x_20, 1); +x_30 = lean_ctor_get(x_18, 1); lean_inc(x_30); -lean_dec(x_20); +lean_dec(x_18); x_31 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_32 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_32, 0, x_19); @@ -20345,7 +20346,7 @@ x_34 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_30); x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_18); +lean_ctor_set(x_35, 0, x_20); lean_ctor_set(x_35, 1, x_34); x_36 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_36, 0, x_35); @@ -20354,18 +20355,18 @@ return x_36; } else { -lean_dec_ref(x_20); +lean_dec(x_20); lean_dec_ref(x_19); -lean_dec(x_18); +lean_dec_ref(x_18); x_11 = x_17; goto block_15; } } else { -lean_dec_ref(x_20); +lean_dec(x_20); lean_dec_ref(x_19); -lean_dec(x_18); +lean_dec_ref(x_18); x_11 = x_17; goto block_15; } @@ -20794,21 +20795,21 @@ if (x_56 == 0) uint8_t x_57; lean_inc(x_55); x_57 = l_Lean_Exception_isRuntime(x_55); -x_16 = x_53; -x_17 = lean_box(0); -x_18 = x_55; -x_19 = x_54; -x_20 = x_52; +x_16 = lean_box(0); +x_17 = x_52; +x_18 = x_53; +x_19 = x_55; +x_20 = x_54; x_21 = x_57; goto block_37; } else { -x_16 = x_53; -x_17 = lean_box(0); -x_18 = x_55; -x_19 = x_54; -x_20 = x_52; +x_16 = lean_box(0); +x_17 = x_52; +x_18 = x_53; +x_19 = x_55; +x_20 = x_54; x_21 = x_56; goto block_37; } @@ -20877,21 +20878,21 @@ if (x_68 == 0) uint8_t x_69; lean_inc(x_67); x_69 = l_Lean_Exception_isRuntime(x_67); -x_16 = x_65; -x_17 = lean_box(0); -x_18 = x_67; -x_19 = x_66; -x_20 = x_64; +x_16 = lean_box(0); +x_17 = x_64; +x_18 = x_65; +x_19 = x_67; +x_20 = x_66; x_21 = x_69; goto block_37; } else { -x_16 = x_65; -x_17 = lean_box(0); -x_18 = x_67; -x_19 = x_66; -x_20 = x_64; +x_16 = lean_box(0); +x_17 = x_64; +x_18 = x_65; +x_19 = x_67; +x_20 = x_66; x_21 = x_68; goto block_37; } @@ -20976,21 +20977,21 @@ if (x_82 == 0) uint8_t x_83; lean_inc(x_81); x_83 = l_Lean_Exception_isRuntime(x_81); -x_16 = x_79; -x_17 = lean_box(0); -x_18 = x_81; -x_19 = x_80; -x_20 = x_78; +x_16 = lean_box(0); +x_17 = x_78; +x_18 = x_79; +x_19 = x_81; +x_20 = x_80; x_21 = x_83; goto block_37; } else { -x_16 = x_79; -x_17 = lean_box(0); -x_18 = x_81; -x_19 = x_80; -x_20 = x_78; +x_16 = lean_box(0); +x_17 = x_78; +x_18 = x_79; +x_19 = x_81; +x_20 = x_80; x_21 = x_82; goto block_37; } @@ -21079,20 +21080,20 @@ block_37: { if (x_21 == 0) { -if (lean_obj_tag(x_18) == 0) +if (lean_obj_tag(x_19) == 0) { uint8_t x_22; -lean_dec_ref(x_19); -x_22 = !lean_is_exclusive(x_18); +lean_dec_ref(x_20); +x_22 = !lean_is_exclusive(x_19); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_18, 1); -x_24 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_19, 1); +x_24 = lean_ctor_get(x_19, 0); lean_dec(x_24); x_25 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 0, x_18); lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_27, 0, x_26); @@ -21100,21 +21101,21 @@ lean_ctor_set(x_27, 1, x_25); x_28 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_23); -lean_ctor_set(x_18, 1, x_28); -lean_ctor_set(x_18, 0, x_20); +lean_ctor_set(x_19, 1, x_28); +lean_ctor_set(x_19, 0, x_17); x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_18); +lean_ctor_set(x_29, 0, x_19); return x_29; } else { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_ctor_get(x_18, 1); +x_30 = lean_ctor_get(x_19, 1); lean_inc(x_30); -lean_dec(x_18); +lean_dec(x_19); x_31 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_16); +lean_ctor_set(x_32, 0, x_18); lean_ctor_set(x_32, 1, x_31); x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); @@ -21123,7 +21124,7 @@ x_34 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_30); x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_20); +lean_ctor_set(x_35, 0, x_17); lean_ctor_set(x_35, 1, x_34); x_36 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_36, 0, x_35); @@ -21132,19 +21133,19 @@ return x_36; } else { -lean_dec(x_20); +lean_dec_ref(x_19); lean_dec_ref(x_18); -lean_dec_ref(x_16); -x_11 = x_19; +lean_dec(x_17); +x_11 = x_20; goto block_15; } } else { -lean_dec(x_20); +lean_dec_ref(x_19); lean_dec_ref(x_18); -lean_dec_ref(x_16); -x_11 = x_19; +lean_dec(x_17); +x_11 = x_20; goto block_15; } } @@ -21184,7 +21185,7 @@ x_22 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsaf x_23 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__2___redArg(x_22, x_11); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_29; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_55; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_197; uint8_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; 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; uint8_t x_392; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_29; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_55; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_182; lean_object* x_183; uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_197; lean_object* x_198; uint8_t 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; uint8_t x_207; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; 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; uint8_t x_393; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); if (lean_is_exclusive(x_23)) { @@ -21201,9 +21202,9 @@ x_66 = lean_array_uget(x_3, x_5); lean_inc(x_66); x_274 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___lam__0), 2, 1); lean_closure_set(x_274, 0, x_66); -x_392 = lean_unbox(x_24); +x_393 = lean_unbox(x_24); lean_dec(x_24); -if (x_392 == 0) +if (x_393 == 0) { lean_inc(x_12); lean_inc_ref(x_11); @@ -21211,44 +21212,44 @@ lean_inc(x_10); lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); -x_379 = x_7; -x_380 = x_8; -x_381 = x_9; -x_382 = x_10; -x_383 = x_11; -x_384 = x_12; -x_385 = lean_box(0); -goto block_391; +x_380 = x_7; +x_381 = x_8; +x_382 = x_9; +x_383 = x_10; +x_384 = x_11; +x_385 = x_12; +x_386 = lean_box(0); +goto block_392; } else { -size_t x_393; size_t 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_array_size(x_66); -x_394 = 0; +size_t x_394; size_t x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_394 = lean_array_size(x_66); +x_395 = 0; lean_inc(x_66); -x_395 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addPreDefinitions_spec__12(x_393, x_394, x_66); -x_396 = lean_array_to_list(x_395); -x_397 = lean_box(0); -x_398 = l_List_mapTR_loop___at___00Lean_Elab_addPreDefinitions_spec__13(x_396, x_397); -x_399 = l_Lean_MessageData_ofList(x_398); -x_400 = l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg(x_22, x_399, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_400) == 0) +x_396 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addPreDefinitions_spec__12(x_394, x_395, x_66); +x_397 = lean_array_to_list(x_396); +x_398 = lean_box(0); +x_399 = l_List_mapTR_loop___at___00Lean_Elab_addPreDefinitions_spec__13(x_397, x_398); +x_400 = l_Lean_MessageData_ofList(x_399); +x_401 = l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg(x_22, x_400, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_401) == 0) { -lean_dec_ref(x_400); +lean_dec_ref(x_401); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); lean_inc(x_8); lean_inc_ref(x_7); -x_379 = x_7; -x_380 = x_8; -x_381 = x_9; -x_382 = x_10; -x_383 = x_11; -x_384 = x_12; -x_385 = lean_box(0); -goto block_391; +x_380 = x_7; +x_381 = x_8; +x_382 = x_9; +x_383 = x_10; +x_384 = x_11; +x_385 = x_12; +x_386 = lean_box(0); +goto block_392; } else { @@ -21262,7 +21263,7 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_1); -return x_400; +return x_401; } } block_28: @@ -21312,26 +21313,26 @@ block_42: if (x_40 == 0) { lean_object* x_41; -lean_dec_ref(x_37); -x_41 = l_Lean_Elab_Term_SavedState_restore(x_34, x_40, x_38, x_31, x_39, x_36, x_35, x_33); -lean_dec(x_33); lean_dec_ref(x_35); -lean_dec(x_36); -lean_dec_ref(x_39); -lean_dec(x_31); -lean_dec_ref(x_38); +x_41 = l_Lean_Elab_Term_SavedState_restore(x_37, x_40, x_32, x_39, x_34, x_33, x_36, x_38); +lean_dec(x_38); +lean_dec_ref(x_36); +lean_dec(x_33); +lean_dec_ref(x_34); +lean_dec(x_39); +lean_dec_ref(x_32); x_29 = x_41; goto block_30; } else { -lean_dec_ref(x_39); -lean_dec_ref(x_38); -lean_dec(x_36); -lean_dec_ref(x_35); +lean_dec(x_39); +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec_ref(x_36); lean_dec_ref(x_34); lean_dec(x_33); -lean_dec(x_31); +lean_dec_ref(x_32); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -21339,7 +21340,7 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_1); -return x_37; +return x_35; } } block_54: @@ -21347,13 +21348,13 @@ block_54: if (lean_obj_tag(x_50) == 0) { lean_dec_ref(x_50); -lean_dec_ref(x_49); -lean_dec_ref(x_48); +lean_dec(x_49); +lean_dec(x_48); lean_dec_ref(x_47); -lean_dec(x_46); +lean_dec_ref(x_46); lean_dec_ref(x_45); lean_dec(x_44); -lean_dec(x_43); +lean_dec_ref(x_43); x_14 = x_26; x_15 = lean_box(0); goto block_19; @@ -21368,29 +21369,29 @@ if (x_52 == 0) uint8_t x_53; lean_inc(x_51); x_53 = l_Lean_Exception_isRuntime(x_51); -x_31 = x_43; -x_32 = lean_box(0); +x_31 = lean_box(0); +x_32 = x_43; x_33 = x_44; x_34 = x_45; -x_35 = x_47; -x_36 = x_46; -x_37 = x_50; -x_38 = x_48; -x_39 = x_49; +x_35 = x_50; +x_36 = x_47; +x_37 = x_46; +x_38 = x_49; +x_39 = x_48; x_40 = x_53; goto block_42; } else { -x_31 = x_43; -x_32 = lean_box(0); +x_31 = lean_box(0); +x_32 = x_43; x_33 = x_44; x_34 = x_45; -x_35 = x_47; -x_36 = x_46; -x_37 = x_50; -x_38 = x_48; -x_39 = x_49; +x_35 = x_50; +x_36 = x_47; +x_37 = x_46; +x_38 = x_49; +x_39 = x_48; x_40 = x_52; goto block_42; } @@ -21447,41 +21448,1961 @@ block_81: if (x_78 == 0) { lean_object* x_79; -lean_dec_ref(x_69); -lean_inc_ref(x_72); -x_79 = l_Lean_Elab_Term_SavedState_restore(x_72, x_78, x_76, x_68, x_77, x_74, x_67, x_71); +lean_dec_ref(x_68); +lean_inc_ref(x_75); +x_79 = l_Lean_Elab_Term_SavedState_restore(x_75, x_78, x_67, x_77, x_72, x_70, x_73, x_71); if (lean_obj_tag(x_79) == 0) { lean_object* x_80; lean_dec_ref(x_79); -lean_inc(x_74); -lean_inc_ref(x_77); -lean_inc(x_68); -lean_inc_ref(x_76); +lean_inc(x_70); +lean_inc_ref(x_72); +lean_inc(x_77); +lean_inc_ref(x_67); lean_inc_ref(x_1); -x_80 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_66, x_76, x_68, x_77, x_74, x_67, x_71); +x_80 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_66, x_67, x_77, x_72, x_70, x_73, x_71); lean_dec(x_66); -x_43 = x_68; +x_43 = x_67; x_44 = x_70; x_45 = x_72; +x_46 = x_75; +x_47 = x_74; +x_48 = x_77; +x_49 = x_76; +x_50 = x_80; +goto block_54; +} +else +{ +lean_dec_ref(x_73); +lean_dec(x_71); +lean_dec(x_66); +x_43 = x_67; +x_44 = x_70; +x_45 = x_72; +x_46 = x_75; +x_47 = x_74; +x_48 = x_77; +x_49 = x_76; +x_50 = x_79; +goto block_54; +} +} +else +{ +lean_dec_ref(x_73); +lean_dec(x_71); +lean_dec(x_66); +x_43 = x_67; +x_44 = x_70; +x_45 = x_72; +x_46 = x_75; +x_47 = x_74; +x_48 = x_77; +x_49 = x_76; +x_50 = x_68; +goto block_54; +} +} +block_113: +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_106 = l_Lean_maxRecDepth; +x_107 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_84, x_106); +x_108 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_108, 0, x_91); +lean_ctor_set(x_108, 1, x_92); +lean_ctor_set(x_108, 2, x_84); +lean_ctor_set(x_108, 3, x_93); +lean_ctor_set(x_108, 4, x_107); +lean_ctor_set(x_108, 5, x_94); +lean_ctor_set(x_108, 6, x_95); +lean_ctor_set(x_108, 7, x_96); +lean_ctor_set(x_108, 8, x_97); +lean_ctor_set(x_108, 9, x_98); +lean_ctor_set(x_108, 10, x_99); +lean_ctor_set(x_108, 11, x_100); +lean_ctor_set(x_108, 12, x_101); +lean_ctor_set(x_108, 13, x_103); +lean_ctor_set_uint8(x_108, sizeof(void*)*14, x_86); +lean_ctor_set_uint8(x_108, sizeof(void*)*14 + 1, x_102); +lean_inc(x_104); +lean_inc_ref(x_108); +lean_inc(x_83); +lean_inc_ref(x_85); +lean_inc(x_90); +lean_inc_ref(x_82); +lean_inc(x_66); +lean_inc_ref(x_1); +x_109 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_66, x_2, x_82, x_90, x_85, x_83, x_108, x_104); +if (lean_obj_tag(x_109) == 0) +{ +lean_dec_ref(x_108); +lean_dec(x_104); +lean_dec(x_66); +x_43 = x_82; +x_44 = x_83; +x_45 = x_85; +x_46 = x_88; +x_47 = x_87; +x_48 = x_90; +x_49 = x_89; +x_50 = x_109; +goto block_54; +} +else +{ +lean_object* x_110; uint8_t x_111; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = l_Lean_Exception_isInterrupt(x_110); +if (x_111 == 0) +{ +uint8_t x_112; +x_112 = l_Lean_Exception_isRuntime(x_110); +x_67 = x_82; +x_68 = x_109; +x_69 = lean_box(0); +x_70 = x_83; +x_71 = x_104; +x_72 = x_85; +x_73 = x_108; +x_74 = x_87; +x_75 = x_88; +x_76 = x_89; +x_77 = x_90; +x_78 = x_112; +goto block_81; +} +else +{ +lean_dec(x_110); +x_67 = x_82; +x_68 = x_109; +x_69 = lean_box(0); +x_70 = x_83; +x_71 = x_104; +x_72 = x_85; +x_73 = x_108; +x_74 = x_87; +x_75 = x_88; +x_76 = x_89; +x_77 = x_90; +x_78 = x_111; +goto block_81; +} +} +} +block_139: +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; +x_126 = lean_ctor_get(x_123, 0); +lean_inc_ref(x_126); +x_127 = lean_ctor_get(x_123, 1); +lean_inc_ref(x_127); +x_128 = lean_ctor_get(x_123, 3); +lean_inc(x_128); +x_129 = lean_ctor_get(x_123, 5); +lean_inc(x_129); +x_130 = lean_ctor_get(x_123, 6); +lean_inc(x_130); +x_131 = lean_ctor_get(x_123, 7); +lean_inc(x_131); +x_132 = lean_ctor_get(x_123, 8); +lean_inc(x_132); +x_133 = lean_ctor_get(x_123, 9); +lean_inc(x_133); +x_134 = lean_ctor_get(x_123, 10); +lean_inc(x_134); +x_135 = lean_ctor_get(x_123, 11); +lean_inc(x_135); +x_136 = lean_ctor_get(x_123, 12); +lean_inc(x_136); +x_137 = lean_ctor_get_uint8(x_123, sizeof(void*)*14 + 1); +x_138 = lean_ctor_get(x_123, 13); +lean_inc_ref(x_138); +lean_dec_ref(x_123); +x_82 = x_114; +x_83 = x_115; +x_84 = x_116; +x_85 = x_117; +x_86 = x_118; +x_87 = x_119; +x_88 = x_120; +x_89 = x_121; +x_90 = x_122; +x_91 = x_126; +x_92 = x_127; +x_93 = x_128; +x_94 = x_129; +x_95 = x_130; +x_96 = x_131; +x_97 = x_132; +x_98 = x_133; +x_99 = x_134; +x_100 = x_135; +x_101 = x_136; +x_102 = x_137; +x_103 = x_138; +x_104 = x_124; +x_105 = lean_box(0); +goto block_113; +} +block_170: +{ +if (x_150 == 0) +{ +lean_object* x_151; uint8_t x_152; +x_151 = lean_st_ref_take(x_149); +x_152 = !lean_is_exclusive(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_153 = lean_ctor_get(x_151, 0); +x_154 = lean_ctor_get(x_151, 5); +lean_dec(x_154); +x_155 = l_Lean_Kernel_enableDiag(x_153, x_144); +x_156 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; +lean_ctor_set(x_151, 5, x_156); +lean_ctor_set(x_151, 0, x_155); +x_157 = lean_st_ref_set(x_149, x_151); +lean_inc(x_149); +lean_inc_ref(x_146); +x_114 = x_140; +x_115 = x_142; +x_116 = x_141; +x_117 = x_143; +x_118 = x_144; +x_119 = x_146; +x_120 = x_145; +x_121 = x_149; +x_122 = x_148; +x_123 = x_146; +x_124 = x_149; +x_125 = lean_box(0); +goto block_139; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_158 = lean_ctor_get(x_151, 0); +x_159 = lean_ctor_get(x_151, 1); +x_160 = lean_ctor_get(x_151, 2); +x_161 = lean_ctor_get(x_151, 3); +x_162 = lean_ctor_get(x_151, 4); +x_163 = lean_ctor_get(x_151, 6); +x_164 = lean_ctor_get(x_151, 7); +x_165 = lean_ctor_get(x_151, 8); +lean_inc(x_165); +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_151); +x_166 = l_Lean_Kernel_enableDiag(x_158, x_144); +x_167 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; +x_168 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_159); +lean_ctor_set(x_168, 2, x_160); +lean_ctor_set(x_168, 3, x_161); +lean_ctor_set(x_168, 4, x_162); +lean_ctor_set(x_168, 5, x_167); +lean_ctor_set(x_168, 6, x_163); +lean_ctor_set(x_168, 7, x_164); +lean_ctor_set(x_168, 8, x_165); +x_169 = lean_st_ref_set(x_149, x_168); +lean_inc(x_149); +lean_inc_ref(x_146); +x_114 = x_140; +x_115 = x_142; +x_116 = x_141; +x_117 = x_143; +x_118 = x_144; +x_119 = x_146; +x_120 = x_145; +x_121 = x_149; +x_122 = x_148; +x_123 = x_146; +x_124 = x_149; +x_125 = lean_box(0); +goto block_139; +} +} +else +{ +lean_inc(x_149); +lean_inc_ref(x_146); +x_114 = x_140; +x_115 = x_142; +x_116 = x_141; +x_117 = x_143; +x_118 = x_144; +x_119 = x_146; +x_120 = x_145; +x_121 = x_149; +x_122 = x_148; +x_123 = x_146; +x_124 = x_149; +x_125 = lean_box(0); +goto block_139; +} +} +block_181: +{ +if (x_179 == 0) +{ +lean_dec(x_178); +lean_dec(x_177); +lean_dec_ref(x_176); +lean_dec_ref(x_175); +lean_dec_ref(x_173); +lean_dec(x_172); +lean_dec_ref(x_171); +lean_dec(x_66); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_object* x_180; +lean_inc(x_177); +lean_inc_ref(x_176); +lean_inc(x_172); +lean_inc_ref(x_173); +lean_inc(x_178); +lean_inc_ref(x_171); +lean_inc_ref(x_1); +x_180 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_66, x_171, x_178, x_173, x_172, x_176, x_177); +lean_dec(x_66); +x_43 = x_171; +x_44 = x_172; +x_45 = x_173; +x_46 = x_175; +x_47 = x_176; +x_48 = x_178; +x_49 = x_177; +x_50 = x_180; +goto block_54; +} +} +block_196: +{ +uint8_t x_192; +x_192 = lean_nat_dec_lt(x_64, x_187); +if (x_192 == 0) +{ +lean_dec(x_187); +x_171 = x_182; +x_172 = x_183; +x_173 = x_185; +x_174 = lean_box(0); +x_175 = x_189; +x_176 = x_188; +x_177 = x_191; +x_178 = x_190; +x_179 = x_2; +goto block_181; +} +else +{ +if (x_192 == 0) +{ +lean_dec(x_187); +x_171 = x_182; +x_172 = x_183; +x_173 = x_185; +x_174 = lean_box(0); +x_175 = x_189; +x_176 = x_188; +x_177 = x_191; +x_178 = x_190; +x_179 = x_2; +goto block_181; +} +else +{ +size_t x_193; size_t x_194; uint8_t x_195; +x_193 = 0; +x_194 = lean_usize_of_nat(x_187); +lean_dec(x_187); +x_195 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__20(x_2, x_184, x_66, x_193, x_194); +if (x_195 == 0) +{ +x_171 = x_182; +x_172 = x_183; +x_173 = x_185; +x_174 = lean_box(0); +x_175 = x_189; +x_176 = x_188; +x_177 = x_191; +x_178 = x_190; +x_179 = x_2; +goto block_181; +} +else +{ +lean_dec(x_191); +lean_dec(x_190); +lean_dec_ref(x_189); +lean_dec_ref(x_188); +lean_dec_ref(x_185); +lean_dec(x_183); +lean_dec_ref(x_182); +lean_dec(x_66); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +} +} +} +block_229: +{ +if (x_207 == 0) +{ +x_182 = x_197; +x_183 = x_198; +x_184 = x_199; +x_185 = x_200; +x_186 = lean_box(0); +x_187 = x_202; +x_188 = x_204; +x_189 = x_203; +x_190 = x_206; +x_191 = x_205; +goto block_196; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; uint8_t x_228; +lean_dec(x_202); +x_208 = lean_st_ref_get(x_205); +x_209 = lean_ctor_get(x_204, 0); +x_210 = lean_ctor_get(x_204, 1); +x_211 = lean_ctor_get(x_204, 2); +x_212 = lean_ctor_get(x_204, 3); +x_213 = lean_ctor_get(x_204, 5); +x_214 = lean_ctor_get(x_204, 6); +x_215 = lean_ctor_get(x_204, 7); +x_216 = lean_ctor_get(x_204, 8); +x_217 = lean_ctor_get(x_204, 9); +x_218 = lean_ctor_get(x_204, 10); +x_219 = lean_ctor_get(x_204, 11); +x_220 = lean_ctor_get(x_204, 12); +x_221 = lean_ctor_get_uint8(x_204, sizeof(void*)*14 + 1); +x_222 = lean_ctor_get(x_204, 13); +x_223 = lean_ctor_get(x_208, 0); +lean_inc_ref(x_223); +lean_dec(x_208); +x_224 = l_Lean_Elab_async; +lean_inc_ref(x_211); +x_225 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_211, x_224, x_199); +x_226 = l_Lean_diagnostics; +x_227 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_225, x_226); +x_228 = l_Lean_Kernel_isDiagnosticsEnabled(x_223); +lean_dec_ref(x_223); +if (x_228 == 0) +{ +if (x_227 == 0) +{ +lean_inc_ref(x_222); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +lean_inc(x_217); +lean_inc(x_216); +lean_inc(x_215); +lean_inc(x_214); +lean_inc(x_213); +lean_inc(x_212); +lean_inc_ref(x_210); +lean_inc_ref(x_209); +lean_inc(x_205); +x_82 = x_197; +x_83 = x_198; +x_84 = x_225; +x_85 = x_200; +x_86 = x_227; +x_87 = x_204; +x_88 = x_203; +x_89 = x_205; +x_90 = x_206; +x_91 = x_209; +x_92 = x_210; +x_93 = x_212; +x_94 = x_213; +x_95 = x_214; +x_96 = x_215; +x_97 = x_216; +x_98 = x_217; +x_99 = x_218; +x_100 = x_219; +x_101 = x_220; +x_102 = x_221; +x_103 = x_222; +x_104 = x_205; +x_105 = lean_box(0); +goto block_113; +} +else +{ +x_140 = x_197; +x_141 = x_225; +x_142 = x_198; +x_143 = x_200; +x_144 = x_227; +x_145 = x_203; +x_146 = x_204; +x_147 = lean_box(0); +x_148 = x_206; +x_149 = x_205; +x_150 = x_228; +goto block_170; +} +} +else +{ +x_140 = x_197; +x_141 = x_225; +x_142 = x_198; +x_143 = x_200; +x_144 = x_227; +x_145 = x_203; +x_146 = x_204; +x_147 = lean_box(0); +x_148 = x_206; +x_149 = x_205; +x_150 = x_227; +goto block_170; +} +} +} +block_251: +{ +if (x_239 == 0) +{ +lean_object* x_240; +lean_dec(x_25); +lean_inc_ref(x_235); +x_240 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_236, x_230, x_238, x_232, x_231, x_235, x_237); +if (lean_obj_tag(x_240) == 0) +{ +lean_object* x_241; +lean_dec_ref(x_240); +x_241 = l_Lean_Elab_Term_saveState___redArg(x_238, x_231, x_237); +if (lean_obj_tag(x_241) == 0) +{ +lean_object* x_242; uint8_t x_243; +x_242 = lean_ctor_get(x_241, 0); +lean_inc(x_242); +lean_dec_ref(x_241); +x_243 = lean_nat_dec_lt(x_64, x_233); +if (x_243 == 0) +{ +x_197 = x_230; +x_198 = x_231; +x_199 = x_239; +x_200 = x_232; +x_201 = lean_box(0); +x_202 = x_233; +x_203 = x_242; +x_204 = x_235; +x_205 = x_237; +x_206 = x_238; +x_207 = x_2; +goto block_229; +} +else +{ +if (x_243 == 0) +{ +x_197 = x_230; +x_198 = x_231; +x_199 = x_239; +x_200 = x_232; +x_201 = lean_box(0); +x_202 = x_233; +x_203 = x_242; +x_204 = x_235; +x_205 = x_237; +x_206 = x_238; +x_207 = x_2; +goto block_229; +} +else +{ +size_t x_244; size_t x_245; uint8_t x_246; +x_244 = 0; +x_245 = lean_usize_of_nat(x_233); +lean_inc(x_233); +x_246 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__22(x_2, x_239, x_66, x_233, x_66, x_244, x_245); +if (x_246 == 0) +{ +x_197 = x_230; +x_198 = x_231; +x_199 = x_239; +x_200 = x_232; +x_201 = lean_box(0); +x_202 = x_233; +x_203 = x_242; +x_204 = x_235; +x_205 = x_237; +x_206 = x_238; +x_207 = x_2; +goto block_229; +} +else +{ +x_182 = x_230; +x_183 = x_231; +x_184 = x_239; +x_185 = x_232; +x_186 = lean_box(0); +x_187 = x_233; +x_188 = x_235; +x_189 = x_242; +x_190 = x_238; +x_191 = x_237; +goto block_196; +} +} +} +} +else +{ +uint8_t x_247; +lean_dec(x_238); +lean_dec(x_237); +lean_dec_ref(x_235); +lean_dec(x_233); +lean_dec_ref(x_232); +lean_dec(x_231); +lean_dec_ref(x_230); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +x_247 = !lean_is_exclusive(x_241); +if (x_247 == 0) +{ +return x_241; +} +else +{ +lean_object* x_248; lean_object* x_249; +x_248 = lean_ctor_get(x_241, 0); +lean_inc(x_248); +lean_dec(x_241); +x_249 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_249, 0, x_248); +return x_249; +} +} +} +else +{ +lean_dec(x_238); +lean_dec(x_237); +lean_dec_ref(x_235); +lean_dec(x_233); +lean_dec_ref(x_232); +lean_dec(x_231); +lean_dec_ref(x_230); +lean_dec(x_66); +x_29 = x_240; +goto block_30; +} +} +else +{ +lean_object* x_250; +lean_dec(x_238); +lean_dec(x_237); +lean_dec_ref(x_235); +lean_dec(x_233); +lean_dec_ref(x_232); +lean_dec(x_231); +lean_dec_ref(x_230); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +if (lean_is_scalar(x_25)) { + x_250 = lean_alloc_ctor(1, 1, 0); +} else { + x_250 = x_25; + lean_ctor_set_tag(x_250, 1); +} +lean_ctor_set(x_250, 0, x_236); +return x_250; +} +} +block_263: +{ +uint8_t x_261; +x_261 = l_Lean_Exception_isInterrupt(x_259); +if (x_261 == 0) +{ +uint8_t x_262; +lean_inc_ref(x_259); +x_262 = l_Lean_Exception_isRuntime(x_259); +x_230 = x_252; +x_231 = x_253; +x_232 = x_254; +x_233 = x_255; +x_234 = lean_box(0); +x_235 = x_256; +x_236 = x_259; +x_237 = x_258; +x_238 = x_257; +x_239 = x_262; +goto block_251; +} +else +{ +x_230 = x_252; +x_231 = x_253; +x_232 = x_254; +x_233 = x_255; +x_234 = lean_box(0); +x_235 = x_256; +x_236 = x_259; +x_237 = x_258; +x_238 = x_257; +x_239 = x_261; +goto block_251; +} +} +block_273: +{ +if (lean_obj_tag(x_271) == 0) +{ +lean_dec_ref(x_271); +lean_dec(x_270); +lean_dec(x_269); +lean_dec_ref(x_268); +lean_dec(x_267); +lean_dec_ref(x_266); +lean_dec(x_265); +lean_dec_ref(x_264); +lean_dec(x_66); +lean_dec(x_25); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_object* x_272; +x_272 = lean_ctor_get(x_271, 0); +lean_inc(x_272); +lean_dec_ref(x_271); +x_252 = x_264; +x_253 = x_265; +x_254 = x_266; +x_255 = x_267; +x_256 = x_268; +x_257 = x_270; +x_258 = x_269; +x_259 = x_272; +x_260 = lean_box(0); +goto block_263; +} +} +block_320: +{ +lean_object* x_285; +lean_inc_ref(x_281); +x_285 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_66, x_279, x_278, x_281, x_284); +if (lean_obj_tag(x_285) == 0) +{ +lean_object* x_286; +lean_dec_ref(x_285); +lean_inc(x_284); +lean_inc_ref(x_281); +lean_inc(x_278); +lean_inc_ref(x_279); +lean_inc(x_66); +x_286 = l_Lean_Elab_checkCodomainsLevel(x_66, x_279, x_278, x_281, x_284); +if (lean_obj_tag(x_286) == 0) +{ +lean_object* x_287; +lean_dec_ref(x_286); +lean_inc_ref(x_281); +x_287 = l_Lean_Elab_checkTerminationByHints(x_66, x_281, x_284); +if (lean_obj_tag(x_287) == 0) +{ +lean_object* x_288; +lean_dec_ref(x_287); +lean_inc(x_284); +lean_inc_ref(x_281); +lean_inc(x_278); +lean_inc_ref(x_279); +lean_inc(x_282); +lean_inc_ref(x_277); +lean_inc(x_66); +x_288 = l_Lean_Elab_elabTerminationByHints(x_66, x_277, x_282, x_279, x_278, x_281, x_284); +if (lean_obj_tag(x_288) == 0) +{ +lean_object* x_289; uint8_t x_290; +x_289 = lean_ctor_get(x_288, 0); +lean_inc(x_289); +lean_dec_ref(x_288); +x_290 = l_Lean_Elab_shouldUseStructural(x_66); +if (x_290 == 0) +{ +uint8_t x_291; +x_291 = l_Lean_Elab_shouldUsePartialFixpoint(x_66); +if (x_291 == 0) +{ +uint8_t x_292; +x_292 = l_Lean_Elab_shouldUseWF(x_66); +if (x_292 == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; lean_object* x_308; uint8_t x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_293 = lean_array_get(x_65, x_66, x_64); +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +lean_dec(x_293); +x_295 = lean_ctor_get(x_281, 0); +x_296 = lean_ctor_get(x_281, 1); +x_297 = lean_ctor_get(x_281, 2); +x_298 = lean_ctor_get(x_281, 3); +x_299 = lean_ctor_get(x_281, 4); +x_300 = lean_ctor_get(x_281, 5); +x_301 = lean_ctor_get(x_281, 6); +x_302 = lean_ctor_get(x_281, 7); +x_303 = lean_ctor_get(x_281, 8); +x_304 = lean_ctor_get(x_281, 9); +x_305 = lean_ctor_get(x_281, 10); +x_306 = lean_ctor_get(x_281, 11); +x_307 = lean_ctor_get_uint8(x_281, sizeof(void*)*14); +x_308 = lean_ctor_get(x_281, 12); +x_309 = lean_ctor_get_uint8(x_281, sizeof(void*)*14 + 1); +x_310 = lean_ctor_get(x_281, 13); +lean_inc(x_66); +lean_inc_ref(x_1); +x_311 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25_spec__29___lam__1___boxed), 10, 5); +lean_closure_set(x_311, 0, x_1); +lean_closure_set(x_311, 1, x_66); +lean_closure_set(x_311, 2, x_289); +lean_closure_set(x_311, 3, x_275); +lean_closure_set(x_311, 4, x_276); +x_312 = l_Lean_replaceRef(x_294, x_300); +lean_dec(x_294); +lean_inc_ref(x_310); +lean_inc(x_308); +lean_inc(x_306); +lean_inc(x_305); +lean_inc(x_304); +lean_inc(x_303); +lean_inc(x_302); +lean_inc(x_301); +lean_inc(x_299); +lean_inc(x_298); +lean_inc_ref(x_297); +lean_inc_ref(x_296); +lean_inc_ref(x_295); +x_313 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_313, 0, x_295); +lean_ctor_set(x_313, 1, x_296); +lean_ctor_set(x_313, 2, x_297); +lean_ctor_set(x_313, 3, x_298); +lean_ctor_set(x_313, 4, x_299); +lean_ctor_set(x_313, 5, x_312); +lean_ctor_set(x_313, 6, x_301); +lean_ctor_set(x_313, 7, x_302); +lean_ctor_set(x_313, 8, x_303); +lean_ctor_set(x_313, 9, x_304); +lean_ctor_set(x_313, 10, x_305); +lean_ctor_set(x_313, 11, x_306); +lean_ctor_set(x_313, 12, x_308); +lean_ctor_set(x_313, 13, x_310); +lean_ctor_set_uint8(x_313, sizeof(void*)*14, x_307); +lean_ctor_set_uint8(x_313, sizeof(void*)*14 + 1, x_309); +lean_inc(x_284); +lean_inc(x_278); +lean_inc_ref(x_279); +x_314 = l_Lean_Meta_mapErrorImp___redArg(x_311, x_274, x_279, x_278, x_313, x_284); +if (lean_obj_tag(x_314) == 0) +{ +x_264 = x_277; +x_265 = x_278; +x_266 = x_279; +x_267 = x_280; +x_268 = x_281; +x_269 = x_284; +x_270 = x_282; +x_271 = x_314; +goto block_273; +} +else +{ +lean_object* x_315; +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +lean_dec_ref(x_314); +x_252 = x_277; +x_253 = x_278; +x_254 = x_279; +x_255 = x_280; +x_256 = x_281; +x_257 = x_282; +x_258 = x_284; +x_259 = x_315; +x_260 = lean_box(0); +goto block_263; +} +} +else +{ +lean_object* x_316; +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +lean_inc(x_284); +lean_inc_ref(x_281); +lean_inc(x_278); +lean_inc_ref(x_279); +lean_inc(x_282); +lean_inc_ref(x_277); +lean_inc(x_66); +lean_inc_ref(x_1); +x_316 = l_Lean_Elab_wfRecursion(x_1, x_66, x_289, x_277, x_282, x_279, x_278, x_281, x_284); +x_264 = x_277; +x_265 = x_278; +x_266 = x_279; +x_267 = x_280; +x_268 = x_281; +x_269 = x_284; +x_270 = x_282; +x_271 = x_316; +goto block_273; +} +} +else +{ +lean_object* x_317; +lean_dec(x_289); +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +lean_inc(x_284); +lean_inc_ref(x_281); +lean_inc(x_278); +lean_inc_ref(x_279); +lean_inc(x_282); +lean_inc_ref(x_277); +lean_inc(x_66); +lean_inc_ref(x_1); +x_317 = l_Lean_Elab_partialFixpoint(x_1, x_66, x_277, x_282, x_279, x_278, x_281, x_284); +x_264 = x_277; +x_265 = x_278; +x_266 = x_279; +x_267 = x_280; +x_268 = x_281; +x_269 = x_284; +x_270 = x_282; +x_271 = x_317; +goto block_273; +} +} +else +{ +lean_object* x_318; +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +lean_inc(x_284); +lean_inc_ref(x_281); +lean_inc(x_278); +lean_inc_ref(x_279); +lean_inc(x_282); +lean_inc_ref(x_277); +lean_inc(x_66); +lean_inc_ref(x_1); +x_318 = l_Lean_Elab_Structural_structuralRecursion(x_1, x_66, x_289, x_277, x_282, x_279, x_278, x_281, x_284); +x_264 = x_277; +x_265 = x_278; +x_266 = x_279; +x_267 = x_280; +x_268 = x_281; +x_269 = x_284; +x_270 = x_282; +x_271 = x_318; +goto block_273; +} +} +else +{ +lean_object* x_319; +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +x_319 = lean_ctor_get(x_288, 0); +lean_inc(x_319); +lean_dec_ref(x_288); +x_252 = x_277; +x_253 = x_278; +x_254 = x_279; +x_255 = x_280; +x_256 = x_281; +x_257 = x_282; +x_258 = x_284; +x_259 = x_319; +x_260 = lean_box(0); +goto block_263; +} +} +else +{ +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +x_264 = x_277; +x_265 = x_278; +x_266 = x_279; +x_267 = x_280; +x_268 = x_281; +x_269 = x_284; +x_270 = x_282; +x_271 = x_287; +goto block_273; +} +} +else +{ +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +x_264 = x_277; +x_265 = x_278; +x_266 = x_279; +x_267 = x_280; +x_268 = x_281; +x_269 = x_284; +x_270 = x_282; +x_271 = x_286; +goto block_273; +} +} +else +{ +lean_dec(x_284); +lean_dec(x_282); +lean_dec_ref(x_281); +lean_dec(x_280); +lean_dec_ref(x_279); +lean_dec(x_278); +lean_dec_ref(x_277); +lean_dec(x_276); +lean_dec_ref(x_275); +lean_dec_ref(x_274); +lean_dec(x_66); +lean_dec(x_25); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_285; +} +} +block_342: +{ +uint8_t x_332; +x_332 = lean_nat_dec_lt(x_64, x_326); +if (x_332 == 0) +{ +x_275 = x_321; +x_276 = x_322; +x_277 = x_323; +x_278 = x_324; +x_279 = x_325; +x_280 = x_326; +x_281 = x_327; +x_282 = x_330; +x_283 = lean_box(0); +x_284 = x_328; +goto block_320; +} +else +{ +if (x_332 == 0) +{ +x_275 = x_321; +x_276 = x_322; +x_277 = x_323; +x_278 = x_324; +x_279 = x_325; +x_280 = x_326; +x_281 = x_327; +x_282 = x_330; +x_283 = lean_box(0); +x_284 = x_328; +goto block_320; +} +else +{ +size_t x_333; size_t x_334; uint8_t x_335; +x_333 = 0; +x_334 = lean_usize_of_nat(x_326); +x_335 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__7(x_66, x_333, x_334); +if (x_335 == 0) +{ +x_275 = x_321; +x_276 = x_322; +x_277 = x_323; +x_278 = x_324; +x_279 = x_325; +x_280 = x_326; +x_281 = x_327; +x_282 = x_330; +x_283 = lean_box(0); +x_284 = x_328; +goto block_320; +} +else +{ +size_t x_336; lean_object* x_337; +lean_dec(x_322); +lean_dec_ref(x_321); +lean_dec_ref(x_274); +lean_dec(x_25); +x_336 = lean_array_size(x_66); +lean_inc(x_328); +lean_inc_ref(x_327); +lean_inc(x_324); +lean_inc_ref(x_325); +lean_inc_ref(x_323); +x_337 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__8(x_66, x_336, x_333, x_26, x_323, x_330, x_325, x_324, x_327, x_328); +if (lean_obj_tag(x_337) == 0) +{ +lean_object* x_338; +lean_dec_ref(x_337); +lean_inc(x_328); +lean_inc_ref(x_327); +lean_inc(x_66); +lean_inc_ref(x_1); +x_338 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_66, x_331, x_323, x_330, x_325, x_324, x_327, x_328); +if (lean_obj_tag(x_338) == 0) +{ +lean_dec_ref(x_338); +if (x_332 == 0) +{ +lean_dec(x_328); +lean_dec_ref(x_327); +lean_dec(x_326); +lean_dec(x_66); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +uint8_t x_339; +x_339 = lean_nat_dec_le(x_326, x_326); +lean_dec(x_326); +if (x_339 == 0) +{ +if (x_332 == 0) +{ +lean_dec(x_328); +lean_dec_ref(x_327); +lean_dec(x_66); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_object* x_340; +x_340 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_327, x_328); +lean_dec(x_328); +lean_dec(x_66); +x_55 = x_340; +goto block_56; +} +} +else +{ +lean_object* x_341; +x_341 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_327, x_328); +lean_dec(x_328); +lean_dec(x_66); +x_55 = x_341; +goto block_56; +} +} +} +else +{ +lean_dec(x_328); +lean_dec_ref(x_327); +lean_dec(x_326); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_338; +} +} +else +{ +lean_dec(x_330); +lean_dec(x_328); +lean_dec_ref(x_327); +lean_dec(x_326); +lean_dec_ref(x_325); +lean_dec(x_324); +lean_dec_ref(x_323); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_337; +} +} +} +} +} +block_379: +{ +if (x_351 == 0) +{ +uint8_t x_352; +x_352 = lean_nat_dec_lt(x_64, x_350); +if (x_352 == 0) +{ +lean_inc(x_347); +lean_inc_ref(x_343); +x_321 = x_343; +x_322 = x_347; +x_323 = x_343; +x_324 = x_344; +x_325 = x_345; +x_326 = x_350; +x_327 = x_346; +x_328 = x_349; +x_329 = lean_box(0); +x_330 = x_347; +x_331 = x_351; +goto block_342; +} +else +{ +if (x_352 == 0) +{ +lean_inc(x_347); +lean_inc_ref(x_343); +x_321 = x_343; +x_322 = x_347; +x_323 = x_343; +x_324 = x_344; +x_325 = x_345; +x_326 = x_350; +x_327 = x_346; +x_328 = x_349; +x_329 = lean_box(0); +x_330 = x_347; +x_331 = x_351; +goto block_342; +} +else +{ +size_t x_353; size_t x_354; uint8_t x_355; +x_353 = 0; +x_354 = lean_usize_of_nat(x_350); +x_355 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__10(x_66, x_353, x_354); +if (x_355 == 0) +{ +lean_inc(x_347); +lean_inc_ref(x_343); +x_321 = x_343; +x_322 = x_347; +x_323 = x_343; +x_324 = x_344; +x_325 = x_345; +x_326 = x_350; +x_327 = x_346; +x_328 = x_349; +x_329 = lean_box(0); +x_330 = x_347; +x_331 = x_355; +goto block_342; +} +else +{ +uint8_t x_356; lean_object* x_357; +lean_dec_ref(x_274); +lean_dec(x_25); +x_356 = 0; +lean_inc(x_349); +lean_inc_ref(x_346); +lean_inc(x_66); +lean_inc_ref(x_1); +x_357 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_66, x_356, x_343, x_347, x_345, x_344, x_346, x_349); +if (lean_obj_tag(x_357) == 0) +{ +lean_dec_ref(x_357); +if (x_352 == 0) +{ +lean_dec(x_350); +lean_dec(x_349); +lean_dec_ref(x_346); +lean_dec(x_66); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +uint8_t x_358; +x_358 = lean_nat_dec_le(x_350, x_350); +lean_dec(x_350); +if (x_358 == 0) +{ +if (x_352 == 0) +{ +lean_dec(x_349); +lean_dec_ref(x_346); +lean_dec(x_66); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_object* x_359; +x_359 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_346, x_349); +lean_dec(x_349); +lean_dec(x_66); +x_27 = x_359; +goto block_28; +} +} +else +{ +lean_object* x_360; +x_360 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_346, x_349); +lean_dec(x_349); +lean_dec(x_66); +x_27 = x_360; +goto block_28; +} +} +} +else +{ +lean_dec(x_350); +lean_dec(x_349); +lean_dec_ref(x_346); +lean_dec(x_66); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_357; +} +} +} +} +} +else +{ +lean_object* x_361; lean_object* x_362; +lean_dec(x_350); +lean_dec_ref(x_274); +lean_dec(x_25); +x_361 = lean_array_get(x_65, x_66, x_64); +lean_dec(x_66); +lean_inc(x_349); +lean_inc_ref(x_346); +x_362 = l_Lean_Elab_eraseRecAppSyntax(x_361, x_346, x_349); +if (lean_obj_tag(x_362) == 0) +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_363 = lean_ctor_get(x_362, 0); +lean_inc(x_363); +lean_dec_ref(x_362); +x_364 = lean_ctor_get(x_363, 2); +x_365 = lean_ctor_get(x_363, 3); +x_366 = lean_ctor_get(x_363, 8); +lean_inc_ref(x_366); +lean_inc(x_365); +x_367 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_365, x_346, x_349); +if (lean_obj_tag(x_367) == 0) +{ +uint8_t x_368; +lean_dec_ref(x_367); +x_368 = l_Lean_Elab_Modifiers_isNoncomputable(x_364); +if (x_368 == 0) +{ +lean_object* x_369; lean_object* x_370; lean_object* x_371; +x_369 = lean_box(0); +lean_inc(x_365); +x_370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_370, 0, x_365); +lean_ctor_set(x_370, 1, x_369); +lean_inc(x_349); +lean_inc_ref(x_346); +lean_inc_ref(x_1); +x_371 = l_Lean_Elab_addAndCompileNonRec(x_1, x_363, x_370, x_2, x_368, x_343, x_347, x_345, x_344, x_346, x_349); +if (lean_obj_tag(x_371) == 0) +{ +lean_dec_ref(x_371); +x_57 = x_366; +x_58 = x_346; +x_59 = x_349; +x_60 = lean_box(0); +goto block_63; +} +else +{ +lean_dec_ref(x_366); +lean_dec(x_349); +lean_dec_ref(x_346); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_371; +} +} +else +{ +lean_object* x_372; lean_object* x_373; uint8_t x_374; lean_object* x_375; +x_372 = lean_box(0); +lean_inc(x_365); +x_373 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_373, 0, x_365); +lean_ctor_set(x_373, 1, x_372); +x_374 = 0; +lean_inc(x_349); +lean_inc_ref(x_346); +lean_inc_ref(x_1); +x_375 = l_Lean_Elab_addNonRec(x_1, x_363, x_2, x_373, x_2, x_2, x_374, x_343, x_347, x_345, x_344, x_346, x_349); +if (lean_obj_tag(x_375) == 0) +{ +lean_dec_ref(x_375); +x_57 = x_366; +x_58 = x_346; +x_59 = x_349; +x_60 = lean_box(0); +goto block_63; +} +else +{ +lean_dec_ref(x_366); +lean_dec(x_349); +lean_dec_ref(x_346); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_375; +} +} +} +else +{ +lean_dec_ref(x_366); +lean_dec(x_363); +lean_dec(x_349); +lean_dec(x_347); +lean_dec_ref(x_346); +lean_dec_ref(x_345); +lean_dec(x_344); +lean_dec_ref(x_343); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +return x_367; +} +} +else +{ +uint8_t x_376; +lean_dec(x_349); +lean_dec(x_347); +lean_dec_ref(x_346); +lean_dec_ref(x_345); +lean_dec(x_344); +lean_dec_ref(x_343); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +x_376 = !lean_is_exclusive(x_362); +if (x_376 == 0) +{ +return x_362; +} +else +{ +lean_object* x_377; lean_object* x_378; +x_377 = lean_ctor_get(x_362, 0); +lean_inc(x_377); +lean_dec(x_362); +x_378 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_378, 0, x_377); +return x_378; +} +} +} +} +block_392: +{ +lean_object* x_387; lean_object* x_388; uint8_t x_389; +x_387 = lean_array_get_size(x_66); +x_388 = lean_unsigned_to_nat(1u); +x_389 = lean_nat_dec_eq(x_387, x_388); +if (x_389 == 0) +{ +x_343 = x_380; +x_344 = x_383; +x_345 = x_382; +x_346 = x_384; +x_347 = x_381; +x_348 = lean_box(0); +x_349 = x_385; +x_350 = x_387; +x_351 = x_389; +goto block_379; +} +else +{ +lean_object* x_390; uint8_t x_391; +x_390 = lean_array_get(x_65, x_66, x_64); +x_391 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_390); +x_343 = x_380; +x_344 = x_383; +x_345 = x_382; +x_346 = x_384; +x_347 = x_381; +x_348 = lean_box(0); +x_349 = x_385; +x_350 = x_387; +x_351 = x_391; +goto block_379; +} +} +} +else +{ +uint8_t x_402; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_1); +x_402 = !lean_is_exclusive(x_23); +if (x_402 == 0) +{ +return x_23; +} +else +{ +lean_object* x_403; lean_object* x_404; +x_403 = lean_ctor_get(x_23, 0); +lean_inc(x_403); +lean_dec(x_23); +x_404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_404, 0, x_403); +return x_404; +} +} +} +block_19: +{ +size_t x_16; size_t x_17; +x_16 = 1; +x_17 = lean_usize_add(x_5, x_16); +x_5 = x_17; +x_6 = x_14; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25_spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_2); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25_spec__29(x_1, x_14, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_3); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25(uint8_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_20; +x_20 = lean_usize_dec_lt(x_5, x_4); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_6); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___closed__1)); +x_23 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__2___redArg(x_22, x_11); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_29; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_55; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; lean_object* x_149; uint8_t x_150; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; 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; uint8_t x_393; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + x_25 = x_23; +} else { + lean_dec_ref(x_23); + x_25 = lean_box(0); +} +x_26 = lean_box(0); +x_64 = lean_unsigned_to_nat(0u); +x_65 = l_Lean_Elab_instInhabitedPreDefinition_default; +x_66 = lean_array_uget(x_3, x_5); +lean_inc(x_66); +x_274 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___lam__0), 2, 1); +lean_closure_set(x_274, 0, x_66); +x_393 = lean_unbox(x_24); +lean_dec(x_24); +if (x_393 == 0) +{ +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_380 = x_7; +x_381 = x_8; +x_382 = x_9; +x_383 = x_10; +x_384 = x_11; +x_385 = x_12; +x_386 = lean_box(0); +goto block_392; +} +else +{ +size_t x_394; size_t x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_394 = lean_array_size(x_66); +x_395 = 0; +lean_inc(x_66); +x_396 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addPreDefinitions_spec__12(x_394, x_395, x_66); +x_397 = lean_array_to_list(x_396); +x_398 = lean_box(0); +x_399 = l_List_mapTR_loop___at___00Lean_Elab_addPreDefinitions_spec__13(x_397, x_398); +x_400 = l_Lean_MessageData_ofList(x_399); +x_401 = l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg(x_22, x_400, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_401) == 0) +{ +lean_dec_ref(x_401); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_380 = x_7; +x_381 = x_8; +x_382 = x_9; +x_383 = x_10; +x_384 = x_11; +x_385 = x_12; +x_386 = lean_box(0); +goto block_392; +} +else +{ +lean_dec_ref(x_274); +lean_dec(x_66); +lean_dec(x_25); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_401; +} +} +block_28: +{ +if (lean_obj_tag(x_27) == 0) +{ +lean_dec_ref(x_27); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_27; +} +} +block_30: +{ +if (lean_obj_tag(x_29) == 0) +{ +lean_dec_ref(x_29); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_29; +} +} +block_42: +{ +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec_ref(x_33); +x_41 = l_Lean_Elab_Term_SavedState_restore(x_32, x_40, x_38, x_39, x_36, x_34, x_35, x_31); +lean_dec(x_31); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_36); +lean_dec(x_39); +lean_dec_ref(x_38); +x_29 = x_41; +goto block_30; +} +else +{ +lean_dec(x_39); +lean_dec_ref(x_38); +lean_dec_ref(x_36); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_32); +lean_dec(x_31); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_33; +} +} +block_54: +{ +if (lean_obj_tag(x_50) == 0) +{ +lean_dec_ref(x_50); +lean_dec(x_49); +lean_dec_ref(x_48); +lean_dec_ref(x_47); +lean_dec_ref(x_46); +lean_dec(x_45); +lean_dec(x_44); +lean_dec_ref(x_43); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); +x_52 = l_Lean_Exception_isInterrupt(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_inc(x_51); +x_53 = l_Lean_Exception_isRuntime(x_51); +x_31 = x_44; +x_32 = x_43; +x_33 = x_50; +x_34 = x_45; +x_35 = x_47; +x_36 = x_46; +x_37 = lean_box(0); +x_38 = x_48; +x_39 = x_49; +x_40 = x_53; +goto block_42; +} +else +{ +x_31 = x_44; +x_32 = x_43; +x_33 = x_50; +x_34 = x_45; +x_35 = x_47; +x_36 = x_46; +x_37 = lean_box(0); +x_38 = x_48; +x_39 = x_49; +x_40 = x_52; +goto block_42; +} +} +} +block_56: +{ +if (lean_obj_tag(x_55) == 0) +{ +lean_dec_ref(x_55); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_55; +} +} +block_63: +{ +lean_object* x_61; lean_object* x_62; +x_61 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___closed__2)); +x_62 = l_Lean_Elab_TerminationHints_ensureNone(x_57, x_61, x_58, x_59); +lean_dec(x_59); +if (lean_obj_tag(x_62) == 0) +{ +lean_dec_ref(x_62); +x_14 = x_26; +x_15 = lean_box(0); +goto block_19; +} +else +{ +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_62; +} +} +block_81: +{ +if (x_78 == 0) +{ +lean_object* x_79; +lean_dec_ref(x_72); +lean_inc_ref(x_69); +x_79 = l_Lean_Elab_Term_SavedState_restore(x_69, x_78, x_75, x_77, x_74, x_71, x_76, x_67); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; +lean_dec_ref(x_79); +lean_inc(x_71); +lean_inc_ref(x_74); +lean_inc(x_77); +lean_inc_ref(x_75); +lean_inc_ref(x_2); +x_80 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_66, x_75, x_77, x_74, x_71, x_76, x_67); +lean_dec(x_66); +x_43 = x_69; +x_44 = x_68; +x_45 = x_71; x_46 = x_74; x_47 = x_73; -x_48 = x_76; +x_48 = x_75; x_49 = x_77; x_50 = x_80; goto block_54; } else { -lean_dec(x_71); -lean_dec_ref(x_67); +lean_dec_ref(x_76); +lean_dec(x_67); lean_dec(x_66); -x_43 = x_68; -x_44 = x_70; -x_45 = x_72; +x_43 = x_69; +x_44 = x_68; +x_45 = x_71; x_46 = x_74; x_47 = x_73; -x_48 = x_76; +x_48 = x_75; x_49 = x_77; x_50 = x_79; goto block_54; @@ -21489,17 +23410,17 @@ goto block_54; } else { -lean_dec(x_71); -lean_dec_ref(x_67); +lean_dec_ref(x_76); +lean_dec(x_67); lean_dec(x_66); -x_43 = x_68; -x_44 = x_70; -x_45 = x_72; +x_43 = x_69; +x_44 = x_68; +x_45 = x_71; x_46 = x_74; x_47 = x_73; -x_48 = x_76; +x_48 = x_75; x_49 = x_77; -x_50 = x_69; +x_50 = x_72; goto block_54; } } @@ -21523,29 +23444,29 @@ lean_ctor_set(x_108, 10, x_99); lean_ctor_set(x_108, 11, x_100); lean_ctor_set(x_108, 12, x_101); lean_ctor_set(x_108, 13, x_103); -lean_ctor_set_uint8(x_108, sizeof(void*)*14, x_84); +lean_ctor_set_uint8(x_108, sizeof(void*)*14, x_89); lean_ctor_set_uint8(x_108, sizeof(void*)*14 + 1, x_102); lean_inc(x_104); lean_inc_ref(x_108); -lean_inc(x_87); -lean_inc_ref(x_89); -lean_inc(x_82); -lean_inc_ref(x_88); +lean_inc(x_84); +lean_inc_ref(x_86); +lean_inc(x_88); +lean_inc_ref(x_87); lean_inc(x_66); -lean_inc_ref(x_1); -x_109 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_66, x_2, x_88, x_82, x_89, x_87, x_108, x_104); +lean_inc_ref(x_2); +x_109 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_66, x_1, x_87, x_88, x_86, x_84, x_108, x_104); if (lean_obj_tag(x_109) == 0) { lean_dec_ref(x_108); lean_dec(x_104); lean_dec(x_66); -x_43 = x_82; -x_44 = x_83; -x_45 = x_85; -x_46 = x_87; -x_47 = x_86; -x_48 = x_88; -x_49 = x_89; +x_43 = x_83; +x_44 = x_82; +x_45 = x_84; +x_46 = x_86; +x_47 = x_85; +x_48 = x_87; +x_49 = x_88; x_50 = x_109; goto block_54; } @@ -21559,34 +23480,34 @@ if (x_111 == 0) { uint8_t x_112; x_112 = l_Lean_Exception_isRuntime(x_110); -x_67 = x_108; +x_67 = x_104; x_68 = x_82; -x_69 = x_109; -x_70 = x_83; -x_71 = x_104; -x_72 = x_85; -x_73 = x_86; -x_74 = x_87; -x_75 = lean_box(0); -x_76 = x_88; -x_77 = x_89; +x_69 = x_83; +x_70 = lean_box(0); +x_71 = x_84; +x_72 = x_109; +x_73 = x_85; +x_74 = x_86; +x_75 = x_87; +x_76 = x_108; +x_77 = x_88; x_78 = x_112; goto block_81; } else { lean_dec(x_110); -x_67 = x_108; +x_67 = x_104; x_68 = x_82; -x_69 = x_109; -x_70 = x_83; -x_71 = x_104; -x_72 = x_85; -x_73 = x_86; -x_74 = x_87; -x_75 = lean_box(0); -x_76 = x_88; -x_77 = x_89; +x_69 = x_83; +x_70 = lean_box(0); +x_71 = x_84; +x_72 = x_109; +x_73 = x_85; +x_74 = x_86; +x_75 = x_87; +x_76 = x_108; +x_77 = x_88; x_78 = x_111; goto block_81; } @@ -21660,23 +23581,23 @@ lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; x_153 = lean_ctor_get(x_151, 0); x_154 = lean_ctor_get(x_151, 5); lean_dec(x_154); -x_155 = l_Lean_Kernel_enableDiag(x_153, x_142); +x_155 = l_Lean_Kernel_enableDiag(x_153, x_148); x_156 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; lean_ctor_set(x_151, 5, x_156); lean_ctor_set(x_151, 0, x_155); x_157 = lean_st_ref_set(x_141, x_151); -lean_inc_ref(x_146); +lean_inc_ref(x_145); lean_inc(x_141); -x_114 = x_140; -x_115 = x_141; -x_116 = x_142; -x_117 = x_143; -x_118 = x_146; -x_119 = x_145; +x_114 = x_141; +x_115 = x_140; +x_116 = x_143; +x_117 = x_145; +x_118 = x_144; +x_119 = x_146; x_120 = x_147; -x_121 = x_149; -x_122 = x_148; -x_123 = x_146; +x_121 = x_148; +x_122 = x_149; +x_123 = x_145; x_124 = x_141; x_125 = lean_box(0); goto block_139; @@ -21701,7 +23622,7 @@ lean_inc(x_160); lean_inc(x_159); lean_inc(x_158); lean_dec(x_151); -x_166 = l_Lean_Kernel_enableDiag(x_158, x_142); +x_166 = l_Lean_Kernel_enableDiag(x_158, x_148); x_167 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; x_168 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_168, 0, x_166); @@ -21714,18 +23635,18 @@ lean_ctor_set(x_168, 6, x_163); lean_ctor_set(x_168, 7, x_164); lean_ctor_set(x_168, 8, x_165); x_169 = lean_st_ref_set(x_141, x_168); -lean_inc_ref(x_146); +lean_inc_ref(x_145); lean_inc(x_141); -x_114 = x_140; -x_115 = x_141; -x_116 = x_142; -x_117 = x_143; -x_118 = x_146; -x_119 = x_145; +x_114 = x_141; +x_115 = x_140; +x_116 = x_143; +x_117 = x_145; +x_118 = x_144; +x_119 = x_146; x_120 = x_147; -x_121 = x_149; -x_122 = x_148; -x_123 = x_146; +x_121 = x_148; +x_122 = x_149; +x_123 = x_145; x_124 = x_141; x_125 = lean_box(0); goto block_139; @@ -21733,18 +23654,18 @@ goto block_139; } else { -lean_inc_ref(x_146); +lean_inc_ref(x_145); lean_inc(x_141); -x_114 = x_140; -x_115 = x_141; -x_116 = x_142; -x_117 = x_143; -x_118 = x_146; -x_119 = x_145; +x_114 = x_141; +x_115 = x_140; +x_116 = x_143; +x_117 = x_145; +x_118 = x_144; +x_119 = x_146; x_120 = x_147; -x_121 = x_149; -x_122 = x_148; -x_123 = x_146; +x_121 = x_148; +x_122 = x_149; +x_123 = x_145; x_124 = x_141; x_125 = lean_box(0); goto block_139; @@ -21754,13 +23675,13 @@ block_181: { if (x_179 == 0) { -lean_dec_ref(x_178); +lean_dec(x_178); lean_dec_ref(x_176); -lean_dec(x_175); +lean_dec_ref(x_175); lean_dec_ref(x_174); -lean_dec_ref(x_173); +lean_dec(x_173); lean_dec(x_172); -lean_dec(x_171); +lean_dec_ref(x_171); lean_dec(x_66); x_14 = x_26; x_15 = lean_box(0); @@ -21771,12 +23692,12 @@ else lean_object* x_180; lean_inc(x_172); lean_inc_ref(x_174); -lean_inc(x_175); -lean_inc_ref(x_178); -lean_inc(x_171); +lean_inc(x_173); +lean_inc_ref(x_175); +lean_inc(x_178); lean_inc_ref(x_176); -lean_inc_ref(x_1); -x_180 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_66, x_176, x_171, x_178, x_175, x_174, x_172); +lean_inc_ref(x_2); +x_180 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_66, x_176, x_178, x_175, x_173, x_174, x_172); lean_dec(x_66); x_43 = x_171; x_44 = x_172; @@ -21792,65 +23713,65 @@ goto block_54; block_196: { uint8_t x_192; -x_192 = lean_nat_dec_lt(x_64, x_188); +x_192 = lean_nat_dec_lt(x_64, x_184); if (x_192 == 0) { -lean_dec(x_188); -x_171 = x_182; -x_172 = x_184; -x_173 = x_185; -x_174 = x_187; -x_175 = x_186; +lean_dec(x_184); +x_171 = x_183; +x_172 = x_182; +x_173 = x_186; +x_174 = x_188; +x_175 = x_187; x_176 = x_190; x_177 = lean_box(0); x_178 = x_191; -x_179 = x_2; +x_179 = x_1; goto block_181; } else { if (x_192 == 0) { -lean_dec(x_188); -x_171 = x_182; -x_172 = x_184; -x_173 = x_185; -x_174 = x_187; -x_175 = x_186; +lean_dec(x_184); +x_171 = x_183; +x_172 = x_182; +x_173 = x_186; +x_174 = x_188; +x_175 = x_187; x_176 = x_190; x_177 = lean_box(0); x_178 = x_191; -x_179 = x_2; +x_179 = x_1; goto block_181; } else { size_t x_193; size_t x_194; uint8_t x_195; x_193 = 0; -x_194 = lean_usize_of_nat(x_188); -lean_dec(x_188); -x_195 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__20(x_2, x_183, x_66, x_193, x_194); +x_194 = lean_usize_of_nat(x_184); +lean_dec(x_184); +x_195 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__20(x_1, x_185, x_66, x_193, x_194); if (x_195 == 0) { -x_171 = x_182; -x_172 = x_184; -x_173 = x_185; -x_174 = x_187; -x_175 = x_186; +x_171 = x_183; +x_172 = x_182; +x_173 = x_186; +x_174 = x_188; +x_175 = x_187; x_176 = x_190; x_177 = lean_box(0); x_178 = x_191; -x_179 = x_2; +x_179 = x_1; goto block_181; } else { -lean_dec_ref(x_191); +lean_dec(x_191); lean_dec_ref(x_190); +lean_dec_ref(x_188); lean_dec_ref(x_187); lean_dec(x_186); -lean_dec_ref(x_185); -lean_dec(x_184); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_66); x_14 = x_26; @@ -21864,13 +23785,13 @@ block_229: { if (x_207 == 0) { -x_182 = x_197; -x_183 = x_198; +x_182 = x_198; +x_183 = x_197; x_184 = x_199; -x_185 = x_200; -x_186 = x_203; -x_187 = x_202; -x_188 = x_201; +x_185 = x_201; +x_186 = x_200; +x_187 = x_203; +x_188 = x_202; x_189 = lean_box(0); x_190 = x_204; x_191 = x_206; @@ -21879,8 +23800,8 @@ goto block_196; else { lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; uint8_t x_228; -lean_dec(x_201); -x_208 = lean_st_ref_get(x_199); +lean_dec(x_199); +x_208 = lean_st_ref_get(x_198); x_209 = lean_ctor_get(x_202, 0); x_210 = lean_ctor_get(x_202, 1); x_211 = lean_ctor_get(x_202, 2); @@ -21900,7 +23821,7 @@ lean_inc_ref(x_223); lean_dec(x_208); x_224 = l_Lean_Elab_async; lean_inc_ref(x_211); -x_225 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_211, x_224, x_198); +x_225 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_211, x_224, x_201); x_226 = l_Lean_diagnostics; x_227 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_225, x_226); x_228 = l_Lean_Kernel_isDiagnosticsEnabled(x_223); @@ -21921,15 +23842,15 @@ lean_inc(x_213); lean_inc(x_212); lean_inc_ref(x_210); lean_inc_ref(x_209); -lean_inc(x_199); -x_82 = x_197; -x_83 = x_199; -x_84 = x_227; -x_85 = x_200; -x_86 = x_202; -x_87 = x_203; -x_88 = x_204; -x_89 = x_206; +lean_inc(x_198); +x_82 = x_198; +x_83 = x_197; +x_84 = x_200; +x_85 = x_202; +x_86 = x_203; +x_87 = x_204; +x_88 = x_206; +x_89 = x_227; x_90 = x_225; x_91 = x_209; x_92 = x_210; @@ -21944,22 +23865,22 @@ x_100 = x_219; x_101 = x_220; x_102 = x_221; x_103 = x_222; -x_104 = x_199; +x_104 = x_198; x_105 = lean_box(0); goto block_113; } else { x_140 = x_197; -x_141 = x_199; -x_142 = x_227; +x_141 = x_198; +x_142 = lean_box(0); x_143 = x_200; -x_144 = lean_box(0); -x_145 = x_203; -x_146 = x_202; -x_147 = x_204; -x_148 = x_225; -x_149 = x_206; +x_144 = x_203; +x_145 = x_202; +x_146 = x_204; +x_147 = x_206; +x_148 = x_227; +x_149 = x_225; x_150 = x_228; goto block_170; } @@ -21967,15 +23888,15 @@ goto block_170; else { x_140 = x_197; -x_141 = x_199; -x_142 = x_227; +x_141 = x_198; +x_142 = lean_box(0); x_143 = x_200; -x_144 = lean_box(0); -x_145 = x_203; -x_146 = x_202; -x_147 = x_204; -x_148 = x_225; -x_149 = x_206; +x_144 = x_203; +x_145 = x_202; +x_146 = x_204; +x_147 = x_206; +x_148 = x_227; +x_149 = x_225; x_150 = x_227; goto block_170; } @@ -21987,86 +23908,86 @@ if (x_239 == 0) { lean_object* x_240; lean_dec(x_25); -lean_inc_ref(x_234); -x_240 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_231, x_236, x_230, x_237, x_235, x_234, x_232); +lean_inc_ref(x_235); +x_240 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_234, x_237, x_238, x_236, x_233, x_235, x_230); if (lean_obj_tag(x_240) == 0) { lean_object* x_241; lean_dec_ref(x_240); -x_241 = l_Lean_Elab_Term_saveState___redArg(x_230, x_235, x_232); +x_241 = l_Lean_Elab_Term_saveState___redArg(x_238, x_233, x_230); if (lean_obj_tag(x_241) == 0) { lean_object* x_242; uint8_t x_243; x_242 = lean_ctor_get(x_241, 0); lean_inc(x_242); lean_dec_ref(x_241); -x_243 = lean_nat_dec_lt(x_64, x_233); +x_243 = lean_nat_dec_lt(x_64, x_231); if (x_243 == 0) { -x_197 = x_230; -x_198 = x_239; -x_199 = x_232; -x_200 = x_242; -x_201 = x_233; -x_202 = x_234; -x_203 = x_235; -x_204 = x_236; +x_197 = x_242; +x_198 = x_230; +x_199 = x_231; +x_200 = x_233; +x_201 = x_239; +x_202 = x_235; +x_203 = x_236; +x_204 = x_237; x_205 = lean_box(0); -x_206 = x_237; -x_207 = x_2; +x_206 = x_238; +x_207 = x_1; goto block_229; } else { if (x_243 == 0) { -x_197 = x_230; -x_198 = x_239; -x_199 = x_232; -x_200 = x_242; -x_201 = x_233; -x_202 = x_234; -x_203 = x_235; -x_204 = x_236; +x_197 = x_242; +x_198 = x_230; +x_199 = x_231; +x_200 = x_233; +x_201 = x_239; +x_202 = x_235; +x_203 = x_236; +x_204 = x_237; x_205 = lean_box(0); -x_206 = x_237; -x_207 = x_2; +x_206 = x_238; +x_207 = x_1; goto block_229; } else { size_t x_244; size_t x_245; uint8_t x_246; x_244 = 0; -x_245 = lean_usize_of_nat(x_233); -lean_inc(x_233); -x_246 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__22(x_2, x_239, x_66, x_233, x_66, x_244, x_245); +x_245 = lean_usize_of_nat(x_231); +lean_inc(x_231); +x_246 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__22(x_1, x_239, x_66, x_231, x_66, x_244, x_245); if (x_246 == 0) { -x_197 = x_230; -x_198 = x_239; -x_199 = x_232; -x_200 = x_242; -x_201 = x_233; -x_202 = x_234; -x_203 = x_235; -x_204 = x_236; +x_197 = x_242; +x_198 = x_230; +x_199 = x_231; +x_200 = x_233; +x_201 = x_239; +x_202 = x_235; +x_203 = x_236; +x_204 = x_237; x_205 = lean_box(0); -x_206 = x_237; -x_207 = x_2; +x_206 = x_238; +x_207 = x_1; goto block_229; } else { x_182 = x_230; -x_183 = x_239; -x_184 = x_232; -x_185 = x_242; -x_186 = x_235; -x_187 = x_234; -x_188 = x_233; +x_183 = x_242; +x_184 = x_231; +x_185 = x_239; +x_186 = x_233; +x_187 = x_236; +x_188 = x_235; x_189 = lean_box(0); -x_190 = x_236; -x_191 = x_237; +x_190 = x_237; +x_191 = x_238; goto block_196; } } @@ -22075,12 +23996,12 @@ goto block_196; else { uint8_t x_247; +lean_dec(x_238); lean_dec_ref(x_237); lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec_ref(x_234); +lean_dec_ref(x_235); lean_dec(x_233); -lean_dec(x_232); +lean_dec(x_231); lean_dec(x_230); lean_dec(x_66); lean_dec(x_12); @@ -22089,7 +24010,7 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); -lean_dec_ref(x_1); +lean_dec_ref(x_2); x_247 = !lean_is_exclusive(x_241); if (x_247 == 0) { @@ -22109,12 +24030,12 @@ return x_249; } else { +lean_dec(x_238); lean_dec_ref(x_237); lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec_ref(x_234); +lean_dec_ref(x_235); lean_dec(x_233); -lean_dec(x_232); +lean_dec(x_231); lean_dec(x_230); lean_dec(x_66); x_29 = x_240; @@ -22124,12 +24045,12 @@ goto block_30; else { lean_object* x_250; +lean_dec(x_238); lean_dec_ref(x_237); lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec_ref(x_234); +lean_dec_ref(x_235); lean_dec(x_233); -lean_dec(x_232); +lean_dec(x_231); lean_dec(x_230); lean_dec(x_66); lean_dec(x_12); @@ -22138,14 +24059,14 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); -lean_dec_ref(x_1); +lean_dec_ref(x_2); if (lean_is_scalar(x_25)) { x_250 = lean_alloc_ctor(1, 1, 0); } else { x_250 = x_25; lean_ctor_set_tag(x_250, 1); } -lean_ctor_set(x_250, 0, x_231); +lean_ctor_set(x_250, 0, x_234); return x_250; } } @@ -22159,28 +24080,28 @@ uint8_t x_262; lean_inc_ref(x_259); x_262 = l_Lean_Exception_isRuntime(x_259); x_230 = x_252; -x_231 = x_259; -x_232 = x_253; -x_233 = x_256; -x_234 = x_255; -x_235 = x_254; -x_236 = x_257; -x_237 = x_258; -x_238 = lean_box(0); +x_231 = x_253; +x_232 = lean_box(0); +x_233 = x_254; +x_234 = x_259; +x_235 = x_256; +x_236 = x_255; +x_237 = x_257; +x_238 = x_258; x_239 = x_262; goto block_251; } else { x_230 = x_252; -x_231 = x_259; -x_232 = x_253; -x_233 = x_256; -x_234 = x_255; -x_235 = x_254; -x_236 = x_257; -x_237 = x_258; -x_238 = lean_box(0); +x_231 = x_253; +x_232 = lean_box(0); +x_233 = x_254; +x_234 = x_259; +x_235 = x_256; +x_236 = x_255; +x_237 = x_257; +x_238 = x_258; x_239 = x_261; goto block_251; } @@ -22190,9 +24111,9 @@ block_273: if (lean_obj_tag(x_271) == 0) { lean_dec_ref(x_271); -lean_dec_ref(x_270); +lean_dec(x_270); lean_dec_ref(x_269); -lean_dec(x_268); +lean_dec_ref(x_268); lean_dec_ref(x_267); lean_dec(x_266); lean_dec(x_265); @@ -22211,9 +24132,9 @@ lean_inc(x_272); lean_dec_ref(x_271); x_252 = x_264; x_253 = x_265; -x_254 = x_268; -x_255 = x_267; -x_256 = x_266; +x_254 = x_266; +x_255 = x_268; +x_256 = x_267; x_257 = x_269; x_258 = x_270; x_259 = x_272; @@ -22225,35 +24146,35 @@ block_320: { lean_object* x_285; lean_inc_ref(x_281); -x_285 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_66, x_284, x_282, x_281, x_279); +x_285 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_66, x_282, x_279, x_281, x_277); if (lean_obj_tag(x_285) == 0) { lean_object* x_286; lean_dec_ref(x_285); -lean_inc(x_279); +lean_inc(x_277); lean_inc_ref(x_281); -lean_inc(x_282); -lean_inc_ref(x_284); +lean_inc(x_279); +lean_inc_ref(x_282); lean_inc(x_66); -x_286 = l_Lean_Elab_checkCodomainsLevel(x_66, x_284, x_282, x_281, x_279); +x_286 = l_Lean_Elab_checkCodomainsLevel(x_66, x_282, x_279, x_281, x_277); if (lean_obj_tag(x_286) == 0) { lean_object* x_287; lean_dec_ref(x_286); lean_inc_ref(x_281); -x_287 = l_Lean_Elab_checkTerminationByHints(x_66, x_281, x_279); +x_287 = l_Lean_Elab_checkTerminationByHints(x_66, x_281, x_277); if (lean_obj_tag(x_287) == 0) { lean_object* x_288; lean_dec_ref(x_287); -lean_inc(x_279); -lean_inc_ref(x_281); -lean_inc(x_282); -lean_inc_ref(x_284); lean_inc(x_277); +lean_inc_ref(x_281); +lean_inc(x_279); +lean_inc_ref(x_282); +lean_inc(x_284); lean_inc_ref(x_283); lean_inc(x_66); -x_288 = l_Lean_Elab_elabTerminationByHints(x_66, x_283, x_277, x_284, x_282, x_281, x_279); +x_288 = l_Lean_Elab_elabTerminationByHints(x_66, x_283, x_284, x_282, x_279, x_281, x_277); if (lean_obj_tag(x_288) == 0) { lean_object* x_289; uint8_t x_290; @@ -22293,1932 +24214,13 @@ x_308 = lean_ctor_get(x_281, 12); x_309 = lean_ctor_get_uint8(x_281, sizeof(void*)*14 + 1); x_310 = lean_ctor_get(x_281, 13); lean_inc(x_66); -lean_inc_ref(x_1); -x_311 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25_spec__29___lam__1___boxed), 10, 5); -lean_closure_set(x_311, 0, x_1); -lean_closure_set(x_311, 1, x_66); -lean_closure_set(x_311, 2, x_289); -lean_closure_set(x_311, 3, x_276); -lean_closure_set(x_311, 4, x_275); -x_312 = l_Lean_replaceRef(x_294, x_300); -lean_dec(x_294); -lean_inc_ref(x_310); -lean_inc(x_308); -lean_inc(x_306); -lean_inc(x_305); -lean_inc(x_304); -lean_inc(x_303); -lean_inc(x_302); -lean_inc(x_301); -lean_inc(x_299); -lean_inc(x_298); -lean_inc_ref(x_297); -lean_inc_ref(x_296); -lean_inc_ref(x_295); -x_313 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_313, 0, x_295); -lean_ctor_set(x_313, 1, x_296); -lean_ctor_set(x_313, 2, x_297); -lean_ctor_set(x_313, 3, x_298); -lean_ctor_set(x_313, 4, x_299); -lean_ctor_set(x_313, 5, x_312); -lean_ctor_set(x_313, 6, x_301); -lean_ctor_set(x_313, 7, x_302); -lean_ctor_set(x_313, 8, x_303); -lean_ctor_set(x_313, 9, x_304); -lean_ctor_set(x_313, 10, x_305); -lean_ctor_set(x_313, 11, x_306); -lean_ctor_set(x_313, 12, x_308); -lean_ctor_set(x_313, 13, x_310); -lean_ctor_set_uint8(x_313, sizeof(void*)*14, x_307); -lean_ctor_set_uint8(x_313, sizeof(void*)*14 + 1, x_309); -lean_inc(x_279); -lean_inc(x_282); -lean_inc_ref(x_284); -x_314 = l_Lean_Meta_mapErrorImp___redArg(x_311, x_274, x_284, x_282, x_313, x_279); -if (lean_obj_tag(x_314) == 0) -{ -x_264 = x_277; -x_265 = x_279; -x_266 = x_280; -x_267 = x_281; -x_268 = x_282; -x_269 = x_283; -x_270 = x_284; -x_271 = x_314; -goto block_273; -} -else -{ -lean_object* x_315; -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -lean_dec_ref(x_314); -x_252 = x_277; -x_253 = x_279; -x_254 = x_282; -x_255 = x_281; -x_256 = x_280; -x_257 = x_283; -x_258 = x_284; -x_259 = x_315; -x_260 = lean_box(0); -goto block_263; -} -} -else -{ -lean_object* x_316; -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -lean_inc(x_279); -lean_inc_ref(x_281); -lean_inc(x_282); -lean_inc_ref(x_284); -lean_inc(x_277); -lean_inc_ref(x_283); -lean_inc(x_66); -lean_inc_ref(x_1); -x_316 = l_Lean_Elab_wfRecursion(x_1, x_66, x_289, x_283, x_277, x_284, x_282, x_281, x_279); -x_264 = x_277; -x_265 = x_279; -x_266 = x_280; -x_267 = x_281; -x_268 = x_282; -x_269 = x_283; -x_270 = x_284; -x_271 = x_316; -goto block_273; -} -} -else -{ -lean_object* x_317; -lean_dec(x_289); -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -lean_inc(x_279); -lean_inc_ref(x_281); -lean_inc(x_282); -lean_inc_ref(x_284); -lean_inc(x_277); -lean_inc_ref(x_283); -lean_inc(x_66); -lean_inc_ref(x_1); -x_317 = l_Lean_Elab_partialFixpoint(x_1, x_66, x_283, x_277, x_284, x_282, x_281, x_279); -x_264 = x_277; -x_265 = x_279; -x_266 = x_280; -x_267 = x_281; -x_268 = x_282; -x_269 = x_283; -x_270 = x_284; -x_271 = x_317; -goto block_273; -} -} -else -{ -lean_object* x_318; -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -lean_inc(x_279); -lean_inc_ref(x_281); -lean_inc(x_282); -lean_inc_ref(x_284); -lean_inc(x_277); -lean_inc_ref(x_283); -lean_inc(x_66); -lean_inc_ref(x_1); -x_318 = l_Lean_Elab_Structural_structuralRecursion(x_1, x_66, x_289, x_283, x_277, x_284, x_282, x_281, x_279); -x_264 = x_277; -x_265 = x_279; -x_266 = x_280; -x_267 = x_281; -x_268 = x_282; -x_269 = x_283; -x_270 = x_284; -x_271 = x_318; -goto block_273; -} -} -else -{ -lean_object* x_319; -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -x_319 = lean_ctor_get(x_288, 0); -lean_inc(x_319); -lean_dec_ref(x_288); -x_252 = x_277; -x_253 = x_279; -x_254 = x_282; -x_255 = x_281; -x_256 = x_280; -x_257 = x_283; -x_258 = x_284; -x_259 = x_319; -x_260 = lean_box(0); -goto block_263; -} -} -else -{ -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -x_264 = x_277; -x_265 = x_279; -x_266 = x_280; -x_267 = x_281; -x_268 = x_282; -x_269 = x_283; -x_270 = x_284; -x_271 = x_287; -goto block_273; -} -} -else -{ -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -x_264 = x_277; -x_265 = x_279; -x_266 = x_280; -x_267 = x_281; -x_268 = x_282; -x_269 = x_283; -x_270 = x_284; -x_271 = x_286; -goto block_273; -} -} -else -{ -lean_dec_ref(x_284); -lean_dec_ref(x_283); -lean_dec(x_282); -lean_dec_ref(x_281); -lean_dec(x_280); -lean_dec(x_279); -lean_dec(x_277); -lean_dec_ref(x_276); -lean_dec(x_275); -lean_dec_ref(x_274); -lean_dec(x_66); -lean_dec(x_25); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_285; -} -} -block_342: -{ -uint8_t x_332; -x_332 = lean_nat_dec_lt(x_64, x_328); -if (x_332 == 0) -{ -x_275 = x_321; -x_276 = x_322; -x_277 = x_324; -x_278 = lean_box(0); -x_279 = x_325; -x_280 = x_328; -x_281 = x_327; -x_282 = x_326; -x_283 = x_329; -x_284 = x_330; -goto block_320; -} -else -{ -if (x_332 == 0) -{ -x_275 = x_321; -x_276 = x_322; -x_277 = x_324; -x_278 = lean_box(0); -x_279 = x_325; -x_280 = x_328; -x_281 = x_327; -x_282 = x_326; -x_283 = x_329; -x_284 = x_330; -goto block_320; -} -else -{ -size_t x_333; size_t x_334; uint8_t x_335; -x_333 = 0; -x_334 = lean_usize_of_nat(x_328); -x_335 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__7(x_66, x_333, x_334); -if (x_335 == 0) -{ -x_275 = x_321; -x_276 = x_322; -x_277 = x_324; -x_278 = lean_box(0); -x_279 = x_325; -x_280 = x_328; -x_281 = x_327; -x_282 = x_326; -x_283 = x_329; -x_284 = x_330; -goto block_320; -} -else -{ -size_t x_336; lean_object* x_337; -lean_dec_ref(x_322); -lean_dec(x_321); -lean_dec_ref(x_274); -lean_dec(x_25); -x_336 = lean_array_size(x_66); -lean_inc(x_325); -lean_inc_ref(x_327); -lean_inc(x_326); -lean_inc_ref(x_330); -lean_inc_ref(x_329); -x_337 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__8(x_66, x_336, x_333, x_26, x_329, x_324, x_330, x_326, x_327, x_325); -if (lean_obj_tag(x_337) == 0) -{ -lean_object* x_338; -lean_dec_ref(x_337); -lean_inc(x_325); -lean_inc_ref(x_327); -lean_inc(x_66); -lean_inc_ref(x_1); -x_338 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_66, x_331, x_329, x_324, x_330, x_326, x_327, x_325); -if (lean_obj_tag(x_338) == 0) -{ -lean_dec_ref(x_338); -if (x_332 == 0) -{ -lean_dec(x_328); -lean_dec_ref(x_327); -lean_dec(x_325); -lean_dec(x_66); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_339; -x_339 = lean_nat_dec_le(x_328, x_328); -lean_dec(x_328); -if (x_339 == 0) -{ -if (x_332 == 0) -{ -lean_dec_ref(x_327); -lean_dec(x_325); -lean_dec(x_66); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_object* x_340; -x_340 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_327, x_325); -lean_dec(x_325); -lean_dec(x_66); -x_55 = x_340; -goto block_56; -} -} -else -{ -lean_object* x_341; -x_341 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_327, x_325); -lean_dec(x_325); -lean_dec(x_66); -x_55 = x_341; -goto block_56; -} -} -} -else -{ -lean_dec(x_328); -lean_dec_ref(x_327); -lean_dec(x_325); -lean_dec(x_66); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_338; -} -} -else -{ -lean_dec_ref(x_330); -lean_dec_ref(x_329); -lean_dec(x_328); -lean_dec_ref(x_327); -lean_dec(x_326); -lean_dec(x_325); -lean_dec(x_324); -lean_dec(x_66); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_337; -} -} -} -} -} -block_378: -{ -if (x_351 == 0) -{ -uint8_t x_352; -x_352 = lean_nat_dec_lt(x_64, x_350); -if (x_352 == 0) -{ -lean_inc_ref(x_348); -lean_inc(x_343); -x_321 = x_343; -x_322 = x_348; -x_323 = lean_box(0); -x_324 = x_343; -x_325 = x_345; -x_326 = x_347; -x_327 = x_346; -x_328 = x_350; -x_329 = x_348; -x_330 = x_349; -x_331 = x_351; -goto block_342; -} -else -{ -if (x_352 == 0) -{ -lean_inc_ref(x_348); -lean_inc(x_343); -x_321 = x_343; -x_322 = x_348; -x_323 = lean_box(0); -x_324 = x_343; -x_325 = x_345; -x_326 = x_347; -x_327 = x_346; -x_328 = x_350; -x_329 = x_348; -x_330 = x_349; -x_331 = x_351; -goto block_342; -} -else -{ -size_t x_353; size_t x_354; uint8_t x_355; -x_353 = 0; -x_354 = lean_usize_of_nat(x_350); -x_355 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__10(x_66, x_353, x_354); -if (x_355 == 0) -{ -lean_inc_ref(x_348); -lean_inc(x_343); -x_321 = x_343; -x_322 = x_348; -x_323 = lean_box(0); -x_324 = x_343; -x_325 = x_345; -x_326 = x_347; -x_327 = x_346; -x_328 = x_350; -x_329 = x_348; -x_330 = x_349; -x_331 = x_355; -goto block_342; -} -else -{ -uint8_t x_356; lean_object* x_357; -lean_dec_ref(x_274); -lean_dec(x_25); -x_356 = 0; -lean_inc(x_345); -lean_inc_ref(x_346); -lean_inc(x_66); -lean_inc_ref(x_1); -x_357 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_66, x_356, x_348, x_343, x_349, x_347, x_346, x_345); -if (lean_obj_tag(x_357) == 0) -{ -lean_dec_ref(x_357); -if (x_352 == 0) -{ -lean_dec(x_350); -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_66); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_358; -x_358 = lean_nat_dec_le(x_350, x_350); -lean_dec(x_350); -if (x_358 == 0) -{ -if (x_352 == 0) -{ -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_66); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_object* x_359; -x_359 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_346, x_345); -lean_dec(x_345); -lean_dec(x_66); -x_27 = x_359; -goto block_28; -} -} -else -{ -lean_object* x_360; -x_360 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_346, x_345); -lean_dec(x_345); -lean_dec(x_66); -x_27 = x_360; -goto block_28; -} -} -} -else -{ -lean_dec(x_350); -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_66); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_357; -} -} -} -} -} -else -{ -lean_object* x_361; lean_object* x_362; -lean_dec(x_350); -lean_dec_ref(x_274); -lean_dec(x_25); -x_361 = lean_array_get(x_65, x_66, x_64); -lean_dec(x_66); -lean_inc(x_345); -lean_inc_ref(x_346); -x_362 = l_Lean_Elab_eraseRecAppSyntax(x_361, x_346, x_345); -if (lean_obj_tag(x_362) == 0) -{ -lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_363 = lean_ctor_get(x_362, 0); -lean_inc(x_363); -lean_dec_ref(x_362); -x_364 = lean_ctor_get(x_363, 2); -x_365 = lean_ctor_get(x_363, 3); -x_366 = lean_ctor_get(x_363, 8); -lean_inc_ref(x_366); -lean_inc(x_365); -x_367 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_365, x_346, x_345); -if (lean_obj_tag(x_367) == 0) -{ -uint8_t x_368; -lean_dec_ref(x_367); -x_368 = l_Lean_Elab_Modifiers_isNoncomputable(x_364); -if (x_368 == 0) -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_369 = lean_box(0); -lean_inc(x_365); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_365); -lean_ctor_set(x_370, 1, x_369); -lean_inc(x_345); -lean_inc_ref(x_346); -lean_inc_ref(x_1); -x_371 = l_Lean_Elab_addAndCompileNonRec(x_1, x_363, x_370, x_2, x_348, x_343, x_349, x_347, x_346, x_345); -if (lean_obj_tag(x_371) == 0) -{ -lean_dec_ref(x_371); -x_57 = x_366; -x_58 = x_346; -x_59 = x_345; -x_60 = lean_box(0); -goto block_63; -} -else -{ -lean_dec_ref(x_366); -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_371; -} -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = lean_box(0); -lean_inc(x_365); -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_365); -lean_ctor_set(x_373, 1, x_372); -lean_inc(x_345); -lean_inc_ref(x_346); -lean_inc_ref(x_1); -x_374 = l_Lean_Elab_addNonRec(x_1, x_363, x_2, x_373, x_2, x_2, x_348, x_343, x_349, x_347, x_346, x_345); -if (lean_obj_tag(x_374) == 0) -{ -lean_dec_ref(x_374); -x_57 = x_366; -x_58 = x_346; -x_59 = x_345; -x_60 = lean_box(0); -goto block_63; -} -else -{ -lean_dec_ref(x_366); -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_374; -} -} -} -else -{ -lean_dec_ref(x_366); -lean_dec(x_363); -lean_dec_ref(x_349); -lean_dec_ref(x_348); -lean_dec(x_347); -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_343); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -return x_367; -} -} -else -{ -uint8_t x_375; -lean_dec_ref(x_349); -lean_dec_ref(x_348); -lean_dec(x_347); -lean_dec_ref(x_346); -lean_dec(x_345); -lean_dec(x_343); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -x_375 = !lean_is_exclusive(x_362); -if (x_375 == 0) -{ -return x_362; -} -else -{ -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_362, 0); -lean_inc(x_376); -lean_dec(x_362); -x_377 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_377, 0, x_376); -return x_377; -} -} -} -} -block_391: -{ -lean_object* x_386; lean_object* x_387; uint8_t x_388; -x_386 = lean_array_get_size(x_66); -x_387 = lean_unsigned_to_nat(1u); -x_388 = lean_nat_dec_eq(x_386, x_387); -if (x_388 == 0) -{ -x_343 = x_380; -x_344 = lean_box(0); -x_345 = x_384; -x_346 = x_383; -x_347 = x_382; -x_348 = x_379; -x_349 = x_381; -x_350 = x_386; -x_351 = x_388; -goto block_378; -} -else -{ -lean_object* x_389; uint8_t x_390; -x_389 = lean_array_get(x_65, x_66, x_64); -x_390 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_389); -x_343 = x_380; -x_344 = lean_box(0); -x_345 = x_384; -x_346 = x_383; -x_347 = x_382; -x_348 = x_379; -x_349 = x_381; -x_350 = x_386; -x_351 = x_390; -goto block_378; -} -} -} -else -{ -uint8_t x_401; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_1); -x_401 = !lean_is_exclusive(x_23); -if (x_401 == 0) -{ -return x_23; -} -else -{ -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_23, 0); -lean_inc(x_402); -lean_dec(x_23); -x_403 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_403, 0, x_402); -return x_403; -} -} -} -block_19: -{ -size_t x_16; size_t x_17; -x_16 = 1; -x_17 = lean_usize_add(x_5, x_16); -x_5 = x_17; -x_6 = x_14; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25_spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_unbox(x_2); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25_spec__29(x_1, x_14, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_3); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25(uint8_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_20; -x_20 = lean_usize_dec_lt(x_5, x_4); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_6); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___closed__1)); -x_23 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__2___redArg(x_22, x_11); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_29; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_55; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; 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; uint8_t x_392; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - x_25 = x_23; -} else { - lean_dec_ref(x_23); - x_25 = lean_box(0); -} -x_26 = lean_box(0); -x_64 = lean_unsigned_to_nat(0u); -x_65 = l_Lean_Elab_instInhabitedPreDefinition_default; -x_66 = lean_array_uget(x_3, x_5); -lean_inc(x_66); -x_274 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___lam__0), 2, 1); -lean_closure_set(x_274, 0, x_66); -x_392 = lean_unbox(x_24); -lean_dec(x_24); -if (x_392 == 0) -{ -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_379 = x_7; -x_380 = x_8; -x_381 = x_9; -x_382 = x_10; -x_383 = x_11; -x_384 = x_12; -x_385 = lean_box(0); -goto block_391; -} -else -{ -size_t x_393; size_t 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_array_size(x_66); -x_394 = 0; -lean_inc(x_66); -x_395 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addPreDefinitions_spec__12(x_393, x_394, x_66); -x_396 = lean_array_to_list(x_395); -x_397 = lean_box(0); -x_398 = l_List_mapTR_loop___at___00Lean_Elab_addPreDefinitions_spec__13(x_396, x_397); -x_399 = l_Lean_MessageData_ofList(x_398); -x_400 = l_Lean_addTrace___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__3___redArg(x_22, x_399, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_400) == 0) -{ -lean_dec_ref(x_400); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_379 = x_7; -x_380 = x_8; -x_381 = x_9; -x_382 = x_10; -x_383 = x_11; -x_384 = x_12; -x_385 = lean_box(0); -goto block_391; -} -else -{ -lean_dec_ref(x_274); -lean_dec(x_66); -lean_dec(x_25); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_400; -} -} -block_28: -{ -if (lean_obj_tag(x_27) == 0) -{ -lean_dec_ref(x_27); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_27; -} -} -block_30: -{ -if (lean_obj_tag(x_29) == 0) -{ -lean_dec_ref(x_29); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_29; -} -} -block_42: -{ -if (x_40 == 0) -{ -lean_object* x_41; -lean_dec_ref(x_32); -x_41 = l_Lean_Elab_Term_SavedState_restore(x_39, x_40, x_37, x_34, x_36, x_33, x_38, x_35); -lean_dec(x_35); -lean_dec_ref(x_38); -lean_dec(x_33); -lean_dec_ref(x_36); -lean_dec(x_34); -lean_dec_ref(x_37); -x_29 = x_41; -goto block_30; -} -else -{ -lean_dec_ref(x_39); -lean_dec_ref(x_38); -lean_dec_ref(x_37); -lean_dec_ref(x_36); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_32; -} -} -block_54: -{ -if (lean_obj_tag(x_50) == 0) -{ -lean_dec_ref(x_50); -lean_dec_ref(x_49); -lean_dec_ref(x_48); -lean_dec_ref(x_47); -lean_dec_ref(x_46); -lean_dec(x_45); -lean_dec(x_44); -lean_dec(x_43); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_object* x_51; uint8_t x_52; -x_51 = lean_ctor_get(x_50, 0); -x_52 = l_Lean_Exception_isInterrupt(x_51); -if (x_52 == 0) -{ -uint8_t x_53; -lean_inc(x_51); -x_53 = l_Lean_Exception_isRuntime(x_51); -x_31 = lean_box(0); -x_32 = x_50; -x_33 = x_43; -x_34 = x_44; -x_35 = x_45; -x_36 = x_47; -x_37 = x_46; -x_38 = x_48; -x_39 = x_49; -x_40 = x_53; -goto block_42; -} -else -{ -x_31 = lean_box(0); -x_32 = x_50; -x_33 = x_43; -x_34 = x_44; -x_35 = x_45; -x_36 = x_47; -x_37 = x_46; -x_38 = x_48; -x_39 = x_49; -x_40 = x_52; -goto block_42; -} -} -} -block_56: -{ -if (lean_obj_tag(x_55) == 0) -{ -lean_dec_ref(x_55); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_55; -} -} -block_63: -{ -lean_object* x_61; lean_object* x_62; -x_61 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__16___closed__2)); -x_62 = l_Lean_Elab_TerminationHints_ensureNone(x_57, x_61, x_58, x_59); -lean_dec(x_59); -if (lean_obj_tag(x_62) == 0) -{ -lean_dec_ref(x_62); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_62; -} -} -block_81: -{ -if (x_78 == 0) -{ -lean_object* x_79; -lean_dec_ref(x_72); -lean_inc_ref(x_77); -x_79 = l_Lean_Elab_Term_SavedState_restore(x_77, x_78, x_75, x_70, x_74, x_69, x_68, x_67); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; -lean_dec_ref(x_79); -lean_inc(x_69); -lean_inc_ref(x_74); -lean_inc(x_70); -lean_inc_ref(x_75); -lean_inc_ref(x_2); -x_80 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_66, x_75, x_70, x_74, x_69, x_68, x_67); -lean_dec(x_66); -x_43 = x_69; -x_44 = x_70; -x_45 = x_71; -x_46 = x_75; -x_47 = x_74; -x_48 = x_76; -x_49 = x_77; -x_50 = x_80; -goto block_54; -} -else -{ -lean_dec_ref(x_68); -lean_dec(x_67); -lean_dec(x_66); -x_43 = x_69; -x_44 = x_70; -x_45 = x_71; -x_46 = x_75; -x_47 = x_74; -x_48 = x_76; -x_49 = x_77; -x_50 = x_79; -goto block_54; -} -} -else -{ -lean_dec_ref(x_68); -lean_dec(x_67); -lean_dec(x_66); -x_43 = x_69; -x_44 = x_70; -x_45 = x_71; -x_46 = x_75; -x_47 = x_74; -x_48 = x_76; -x_49 = x_77; -x_50 = x_72; -goto block_54; -} -} -block_113: -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = l_Lean_maxRecDepth; -x_107 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_84, x_106); -x_108 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_108, 0, x_91); -lean_ctor_set(x_108, 1, x_92); -lean_ctor_set(x_108, 2, x_84); -lean_ctor_set(x_108, 3, x_93); -lean_ctor_set(x_108, 4, x_107); -lean_ctor_set(x_108, 5, x_94); -lean_ctor_set(x_108, 6, x_95); -lean_ctor_set(x_108, 7, x_96); -lean_ctor_set(x_108, 8, x_97); -lean_ctor_set(x_108, 9, x_98); -lean_ctor_set(x_108, 10, x_99); -lean_ctor_set(x_108, 11, x_100); -lean_ctor_set(x_108, 12, x_101); -lean_ctor_set(x_108, 13, x_103); -lean_ctor_set_uint8(x_108, sizeof(void*)*14, x_83); -lean_ctor_set_uint8(x_108, sizeof(void*)*14 + 1, x_102); -lean_inc(x_104); -lean_inc_ref(x_108); -lean_inc(x_82); -lean_inc_ref(x_87); -lean_inc(x_85); -lean_inc_ref(x_88); -lean_inc(x_66); -lean_inc_ref(x_2); -x_109 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_66, x_1, x_88, x_85, x_87, x_82, x_108, x_104); -if (lean_obj_tag(x_109) == 0) -{ -lean_dec_ref(x_108); -lean_dec(x_104); -lean_dec(x_66); -x_43 = x_82; -x_44 = x_85; -x_45 = x_86; -x_46 = x_88; -x_47 = x_87; -x_48 = x_89; -x_49 = x_90; -x_50 = x_109; -goto block_54; -} -else -{ -lean_object* x_110; uint8_t x_111; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = l_Lean_Exception_isInterrupt(x_110); -if (x_111 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Exception_isRuntime(x_110); -x_67 = x_104; -x_68 = x_108; -x_69 = x_82; -x_70 = x_85; -x_71 = x_86; -x_72 = x_109; -x_73 = lean_box(0); -x_74 = x_87; -x_75 = x_88; -x_76 = x_89; -x_77 = x_90; -x_78 = x_112; -goto block_81; -} -else -{ -lean_dec(x_110); -x_67 = x_104; -x_68 = x_108; -x_69 = x_82; -x_70 = x_85; -x_71 = x_86; -x_72 = x_109; -x_73 = lean_box(0); -x_74 = x_87; -x_75 = x_88; -x_76 = x_89; -x_77 = x_90; -x_78 = x_111; -goto block_81; -} -} -} -block_139: -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; -x_126 = lean_ctor_get(x_123, 0); -lean_inc_ref(x_126); -x_127 = lean_ctor_get(x_123, 1); -lean_inc_ref(x_127); -x_128 = lean_ctor_get(x_123, 3); -lean_inc(x_128); -x_129 = lean_ctor_get(x_123, 5); -lean_inc(x_129); -x_130 = lean_ctor_get(x_123, 6); -lean_inc(x_130); -x_131 = lean_ctor_get(x_123, 7); -lean_inc(x_131); -x_132 = lean_ctor_get(x_123, 8); -lean_inc(x_132); -x_133 = lean_ctor_get(x_123, 9); -lean_inc(x_133); -x_134 = lean_ctor_get(x_123, 10); -lean_inc(x_134); -x_135 = lean_ctor_get(x_123, 11); -lean_inc(x_135); -x_136 = lean_ctor_get(x_123, 12); -lean_inc(x_136); -x_137 = lean_ctor_get_uint8(x_123, sizeof(void*)*14 + 1); -x_138 = lean_ctor_get(x_123, 13); -lean_inc_ref(x_138); -lean_dec_ref(x_123); -x_82 = x_114; -x_83 = x_115; -x_84 = x_116; -x_85 = x_117; -x_86 = x_118; -x_87 = x_119; -x_88 = x_120; -x_89 = x_121; -x_90 = x_122; -x_91 = x_126; -x_92 = x_127; -x_93 = x_128; -x_94 = x_129; -x_95 = x_130; -x_96 = x_131; -x_97 = x_132; -x_98 = x_133; -x_99 = x_134; -x_100 = x_135; -x_101 = x_136; -x_102 = x_137; -x_103 = x_138; -x_104 = x_124; -x_105 = lean_box(0); -goto block_113; -} -block_170: -{ -if (x_150 == 0) -{ -lean_object* x_151; uint8_t x_152; -x_151 = lean_st_ref_take(x_144); -x_152 = !lean_is_exclusive(x_151); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_153 = lean_ctor_get(x_151, 0); -x_154 = lean_ctor_get(x_151, 5); -lean_dec(x_154); -x_155 = l_Lean_Kernel_enableDiag(x_153, x_141); -x_156 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; -lean_ctor_set(x_151, 5, x_156); -lean_ctor_set(x_151, 0, x_155); -x_157 = lean_st_ref_set(x_144, x_151); -lean_inc_ref(x_147); -lean_inc(x_144); -x_114 = x_140; -x_115 = x_141; -x_116 = x_142; -x_117 = x_143; -x_118 = x_144; -x_119 = x_146; -x_120 = x_145; -x_121 = x_147; -x_122 = x_149; -x_123 = x_147; -x_124 = x_144; -x_125 = lean_box(0); -goto block_139; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_158 = lean_ctor_get(x_151, 0); -x_159 = lean_ctor_get(x_151, 1); -x_160 = lean_ctor_get(x_151, 2); -x_161 = lean_ctor_get(x_151, 3); -x_162 = lean_ctor_get(x_151, 4); -x_163 = lean_ctor_get(x_151, 6); -x_164 = lean_ctor_get(x_151, 7); -x_165 = lean_ctor_get(x_151, 8); -lean_inc(x_165); -lean_inc(x_164); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_151); -x_166 = l_Lean_Kernel_enableDiag(x_158, x_141); -x_167 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; -x_168 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_159); -lean_ctor_set(x_168, 2, x_160); -lean_ctor_set(x_168, 3, x_161); -lean_ctor_set(x_168, 4, x_162); -lean_ctor_set(x_168, 5, x_167); -lean_ctor_set(x_168, 6, x_163); -lean_ctor_set(x_168, 7, x_164); -lean_ctor_set(x_168, 8, x_165); -x_169 = lean_st_ref_set(x_144, x_168); -lean_inc_ref(x_147); -lean_inc(x_144); -x_114 = x_140; -x_115 = x_141; -x_116 = x_142; -x_117 = x_143; -x_118 = x_144; -x_119 = x_146; -x_120 = x_145; -x_121 = x_147; -x_122 = x_149; -x_123 = x_147; -x_124 = x_144; -x_125 = lean_box(0); -goto block_139; -} -} -else -{ -lean_inc_ref(x_147); -lean_inc(x_144); -x_114 = x_140; -x_115 = x_141; -x_116 = x_142; -x_117 = x_143; -x_118 = x_144; -x_119 = x_146; -x_120 = x_145; -x_121 = x_147; -x_122 = x_149; -x_123 = x_147; -x_124 = x_144; -x_125 = lean_box(0); -goto block_139; -} -} -block_181: -{ -if (x_179 == 0) -{ -lean_dec_ref(x_178); -lean_dec_ref(x_176); -lean_dec_ref(x_175); -lean_dec_ref(x_174); -lean_dec(x_173); -lean_dec(x_172); -lean_dec(x_171); -lean_dec(x_66); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_object* x_180; -lean_inc(x_173); -lean_inc_ref(x_176); -lean_inc(x_171); -lean_inc_ref(x_174); -lean_inc(x_172); -lean_inc_ref(x_175); -lean_inc_ref(x_2); -x_180 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_66, x_175, x_172, x_174, x_171, x_176, x_173); -lean_dec(x_66); -x_43 = x_171; -x_44 = x_172; -x_45 = x_173; -x_46 = x_175; -x_47 = x_174; -x_48 = x_176; -x_49 = x_178; -x_50 = x_180; -goto block_54; -} -} -block_196: -{ -uint8_t x_192; -x_192 = lean_nat_dec_lt(x_64, x_182); -if (x_192 == 0) -{ -lean_dec(x_182); -x_171 = x_183; -x_172 = x_184; -x_173 = x_185; -x_174 = x_188; -x_175 = x_187; -x_176 = x_189; -x_177 = lean_box(0); -x_178 = x_191; -x_179 = x_1; -goto block_181; -} -else -{ -if (x_192 == 0) -{ -lean_dec(x_182); -x_171 = x_183; -x_172 = x_184; -x_173 = x_185; -x_174 = x_188; -x_175 = x_187; -x_176 = x_189; -x_177 = lean_box(0); -x_178 = x_191; -x_179 = x_1; -goto block_181; -} -else -{ -size_t x_193; size_t x_194; uint8_t x_195; -x_193 = 0; -x_194 = lean_usize_of_nat(x_182); -lean_dec(x_182); -x_195 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__20(x_1, x_186, x_66, x_193, x_194); -if (x_195 == 0) -{ -x_171 = x_183; -x_172 = x_184; -x_173 = x_185; -x_174 = x_188; -x_175 = x_187; -x_176 = x_189; -x_177 = lean_box(0); -x_178 = x_191; -x_179 = x_1; -goto block_181; -} -else -{ -lean_dec_ref(x_191); -lean_dec_ref(x_189); -lean_dec_ref(x_188); -lean_dec_ref(x_187); -lean_dec(x_185); -lean_dec(x_184); -lean_dec(x_183); -lean_dec(x_66); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -} -} -} -block_229: -{ -if (x_207 == 0) -{ -x_182 = x_197; -x_183 = x_198; -x_184 = x_199; -x_185 = x_200; -x_186 = x_203; -x_187 = x_202; -x_188 = x_201; -x_189 = x_204; -x_190 = lean_box(0); -x_191 = x_206; -goto block_196; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; uint8_t x_228; -lean_dec(x_197); -x_208 = lean_st_ref_get(x_200); -x_209 = lean_ctor_get(x_204, 0); -x_210 = lean_ctor_get(x_204, 1); -x_211 = lean_ctor_get(x_204, 2); -x_212 = lean_ctor_get(x_204, 3); -x_213 = lean_ctor_get(x_204, 5); -x_214 = lean_ctor_get(x_204, 6); -x_215 = lean_ctor_get(x_204, 7); -x_216 = lean_ctor_get(x_204, 8); -x_217 = lean_ctor_get(x_204, 9); -x_218 = lean_ctor_get(x_204, 10); -x_219 = lean_ctor_get(x_204, 11); -x_220 = lean_ctor_get(x_204, 12); -x_221 = lean_ctor_get_uint8(x_204, sizeof(void*)*14 + 1); -x_222 = lean_ctor_get(x_204, 13); -x_223 = lean_ctor_get(x_208, 0); -lean_inc_ref(x_223); -lean_dec(x_208); -x_224 = l_Lean_Elab_async; -lean_inc_ref(x_211); -x_225 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_211, x_224, x_203); -x_226 = l_Lean_diagnostics; -x_227 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_225, x_226); -x_228 = l_Lean_Kernel_isDiagnosticsEnabled(x_223); -lean_dec_ref(x_223); -if (x_228 == 0) -{ -if (x_227 == 0) -{ -lean_inc_ref(x_222); -lean_inc(x_220); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_inc_ref(x_210); -lean_inc_ref(x_209); -lean_inc(x_200); -x_82 = x_198; -x_83 = x_227; -x_84 = x_225; -x_85 = x_199; -x_86 = x_200; -x_87 = x_201; -x_88 = x_202; -x_89 = x_204; -x_90 = x_206; -x_91 = x_209; -x_92 = x_210; -x_93 = x_212; -x_94 = x_213; -x_95 = x_214; -x_96 = x_215; -x_97 = x_216; -x_98 = x_217; -x_99 = x_218; -x_100 = x_219; -x_101 = x_220; -x_102 = x_221; -x_103 = x_222; -x_104 = x_200; -x_105 = lean_box(0); -goto block_113; -} -else -{ -x_140 = x_198; -x_141 = x_227; -x_142 = x_225; -x_143 = x_199; -x_144 = x_200; -x_145 = x_202; -x_146 = x_201; -x_147 = x_204; -x_148 = lean_box(0); -x_149 = x_206; -x_150 = x_228; -goto block_170; -} -} -else -{ -x_140 = x_198; -x_141 = x_227; -x_142 = x_225; -x_143 = x_199; -x_144 = x_200; -x_145 = x_202; -x_146 = x_201; -x_147 = x_204; -x_148 = lean_box(0); -x_149 = x_206; -x_150 = x_227; -goto block_170; -} -} -} -block_251: -{ -if (x_239 == 0) -{ -lean_object* x_240; -lean_dec(x_25); -lean_inc_ref(x_238); -x_240 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_231, x_237, x_234, x_236, x_233, x_238, x_235); -if (lean_obj_tag(x_240) == 0) -{ -lean_object* x_241; -lean_dec_ref(x_240); -x_241 = l_Lean_Elab_Term_saveState___redArg(x_234, x_233, x_235); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; uint8_t x_243; -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -lean_dec_ref(x_241); -x_243 = lean_nat_dec_lt(x_64, x_230); -if (x_243 == 0) -{ -x_197 = x_230; -x_198 = x_233; -x_199 = x_234; -x_200 = x_235; -x_201 = x_236; -x_202 = x_237; -x_203 = x_239; -x_204 = x_238; -x_205 = lean_box(0); -x_206 = x_242; -x_207 = x_1; -goto block_229; -} -else -{ -if (x_243 == 0) -{ -x_197 = x_230; -x_198 = x_233; -x_199 = x_234; -x_200 = x_235; -x_201 = x_236; -x_202 = x_237; -x_203 = x_239; -x_204 = x_238; -x_205 = lean_box(0); -x_206 = x_242; -x_207 = x_1; -goto block_229; -} -else -{ -size_t x_244; size_t x_245; uint8_t x_246; -x_244 = 0; -x_245 = lean_usize_of_nat(x_230); -lean_inc(x_230); -x_246 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__22(x_1, x_239, x_66, x_230, x_66, x_244, x_245); -if (x_246 == 0) -{ -x_197 = x_230; -x_198 = x_233; -x_199 = x_234; -x_200 = x_235; -x_201 = x_236; -x_202 = x_237; -x_203 = x_239; -x_204 = x_238; -x_205 = lean_box(0); -x_206 = x_242; -x_207 = x_1; -goto block_229; -} -else -{ -x_182 = x_230; -x_183 = x_233; -x_184 = x_234; -x_185 = x_235; -x_186 = x_239; -x_187 = x_237; -x_188 = x_236; -x_189 = x_238; -x_190 = lean_box(0); -x_191 = x_242; -goto block_196; -} -} -} -} -else -{ -uint8_t x_247; -lean_dec_ref(x_238); -lean_dec_ref(x_237); -lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec(x_234); -lean_dec(x_233); -lean_dec(x_230); -lean_dec(x_66); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -x_247 = !lean_is_exclusive(x_241); -if (x_247 == 0) -{ -return x_241; -} -else -{ -lean_object* x_248; lean_object* x_249; -x_248 = lean_ctor_get(x_241, 0); -lean_inc(x_248); -lean_dec(x_241); -x_249 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_249, 0, x_248); -return x_249; -} -} -} -else -{ -lean_dec_ref(x_238); -lean_dec_ref(x_237); -lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec(x_234); -lean_dec(x_233); -lean_dec(x_230); -lean_dec(x_66); -x_29 = x_240; -goto block_30; -} -} -else -{ -lean_object* x_250; -lean_dec_ref(x_238); -lean_dec_ref(x_237); -lean_dec_ref(x_236); -lean_dec(x_235); -lean_dec(x_234); -lean_dec(x_233); -lean_dec(x_230); -lean_dec(x_66); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -if (lean_is_scalar(x_25)) { - x_250 = lean_alloc_ctor(1, 1, 0); -} else { - x_250 = x_25; - lean_ctor_set_tag(x_250, 1); -} -lean_ctor_set(x_250, 0, x_231); -return x_250; -} -} -block_263: -{ -uint8_t x_261; -x_261 = l_Lean_Exception_isInterrupt(x_259); -if (x_261 == 0) -{ -uint8_t x_262; -lean_inc_ref(x_259); -x_262 = l_Lean_Exception_isRuntime(x_259); -x_230 = x_252; -x_231 = x_259; -x_232 = lean_box(0); -x_233 = x_253; -x_234 = x_254; -x_235 = x_255; -x_236 = x_257; -x_237 = x_256; -x_238 = x_258; -x_239 = x_262; -goto block_251; -} -else -{ -x_230 = x_252; -x_231 = x_259; -x_232 = lean_box(0); -x_233 = x_253; -x_234 = x_254; -x_235 = x_255; -x_236 = x_257; -x_237 = x_256; -x_238 = x_258; -x_239 = x_261; -goto block_251; -} -} -block_273: -{ -if (lean_obj_tag(x_271) == 0) -{ -lean_dec_ref(x_271); -lean_dec_ref(x_270); -lean_dec_ref(x_269); -lean_dec_ref(x_268); -lean_dec(x_267); -lean_dec(x_266); -lean_dec(x_265); -lean_dec(x_264); -lean_dec(x_66); -lean_dec(x_25); -x_14 = x_26; -x_15 = lean_box(0); -goto block_19; -} -else -{ -lean_object* x_272; -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -lean_dec_ref(x_271); -x_252 = x_264; -x_253 = x_265; -x_254 = x_266; -x_255 = x_267; -x_256 = x_269; -x_257 = x_268; -x_258 = x_270; -x_259 = x_272; -x_260 = lean_box(0); -goto block_263; -} -} -block_320: -{ -lean_object* x_285; -lean_inc_ref(x_284); -x_285 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_66, x_282, x_278, x_284, x_280); -if (lean_obj_tag(x_285) == 0) -{ -lean_object* x_286; -lean_dec_ref(x_285); -lean_inc(x_280); -lean_inc_ref(x_284); -lean_inc(x_278); -lean_inc_ref(x_282); -lean_inc(x_66); -x_286 = l_Lean_Elab_checkCodomainsLevel(x_66, x_282, x_278, x_284, x_280); -if (lean_obj_tag(x_286) == 0) -{ -lean_object* x_287; -lean_dec_ref(x_286); -lean_inc_ref(x_284); -x_287 = l_Lean_Elab_checkTerminationByHints(x_66, x_284, x_280); -if (lean_obj_tag(x_287) == 0) -{ -lean_object* x_288; -lean_dec_ref(x_287); -lean_inc(x_280); -lean_inc_ref(x_284); -lean_inc(x_278); -lean_inc_ref(x_282); -lean_inc(x_279); -lean_inc_ref(x_281); -lean_inc(x_66); -x_288 = l_Lean_Elab_elabTerminationByHints(x_66, x_281, x_279, x_282, x_278, x_284, x_280); -if (lean_obj_tag(x_288) == 0) -{ -lean_object* x_289; uint8_t x_290; -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -lean_dec_ref(x_288); -x_290 = l_Lean_Elab_shouldUseStructural(x_66); -if (x_290 == 0) -{ -uint8_t x_291; -x_291 = l_Lean_Elab_shouldUsePartialFixpoint(x_66); -if (x_291 == 0) -{ -uint8_t x_292; -x_292 = l_Lean_Elab_shouldUseWF(x_66); -if (x_292 == 0) -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; lean_object* x_308; uint8_t x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_293 = lean_array_get(x_65, x_66, x_64); -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -lean_dec(x_293); -x_295 = lean_ctor_get(x_284, 0); -x_296 = lean_ctor_get(x_284, 1); -x_297 = lean_ctor_get(x_284, 2); -x_298 = lean_ctor_get(x_284, 3); -x_299 = lean_ctor_get(x_284, 4); -x_300 = lean_ctor_get(x_284, 5); -x_301 = lean_ctor_get(x_284, 6); -x_302 = lean_ctor_get(x_284, 7); -x_303 = lean_ctor_get(x_284, 8); -x_304 = lean_ctor_get(x_284, 9); -x_305 = lean_ctor_get(x_284, 10); -x_306 = lean_ctor_get(x_284, 11); -x_307 = lean_ctor_get_uint8(x_284, sizeof(void*)*14); -x_308 = lean_ctor_get(x_284, 12); -x_309 = lean_ctor_get_uint8(x_284, sizeof(void*)*14 + 1); -x_310 = lean_ctor_get(x_284, 13); -lean_inc(x_66); lean_inc_ref(x_2); x_311 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__25___lam__1___boxed), 10, 5); lean_closure_set(x_311, 0, x_2); lean_closure_set(x_311, 1, x_66); lean_closure_set(x_311, 2, x_289); -lean_closure_set(x_311, 3, x_276); -lean_closure_set(x_311, 4, x_275); +lean_closure_set(x_311, 3, x_275); +lean_closure_set(x_311, 4, x_276); x_312 = l_Lean_replaceRef(x_294, x_300); lean_dec(x_294); lean_inc_ref(x_310); @@ -24251,18 +24253,18 @@ lean_ctor_set(x_313, 12, x_308); lean_ctor_set(x_313, 13, x_310); lean_ctor_set_uint8(x_313, sizeof(void*)*14, x_307); lean_ctor_set_uint8(x_313, sizeof(void*)*14 + 1, x_309); -lean_inc(x_280); -lean_inc(x_278); +lean_inc(x_277); +lean_inc(x_279); lean_inc_ref(x_282); -x_314 = l_Lean_Meta_mapErrorImp___redArg(x_311, x_274, x_282, x_278, x_313, x_280); +x_314 = l_Lean_Meta_mapErrorImp___redArg(x_311, x_274, x_282, x_279, x_313, x_277); if (lean_obj_tag(x_314) == 0) { x_264 = x_277; x_265 = x_278; x_266 = x_279; -x_267 = x_280; +x_267 = x_281; x_268 = x_282; -x_269 = x_281; +x_269 = x_283; x_270 = x_284; x_271 = x_314; goto block_273; @@ -24276,9 +24278,9 @@ lean_dec_ref(x_314); x_252 = x_277; x_253 = x_278; x_254 = x_279; -x_255 = x_280; +x_255 = x_282; x_256 = x_281; -x_257 = x_282; +x_257 = x_283; x_258 = x_284; x_259 = x_315; x_260 = lean_box(0); @@ -24288,24 +24290,24 @@ goto block_263; else { lean_object* x_316; -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); -lean_inc(x_280); -lean_inc_ref(x_284); -lean_inc(x_278); -lean_inc_ref(x_282); -lean_inc(x_279); +lean_inc(x_277); lean_inc_ref(x_281); +lean_inc(x_279); +lean_inc_ref(x_282); +lean_inc(x_284); +lean_inc_ref(x_283); lean_inc(x_66); lean_inc_ref(x_2); -x_316 = l_Lean_Elab_wfRecursion(x_2, x_66, x_289, x_281, x_279, x_282, x_278, x_284, x_280); +x_316 = l_Lean_Elab_wfRecursion(x_2, x_66, x_289, x_283, x_284, x_282, x_279, x_281, x_277); x_264 = x_277; x_265 = x_278; x_266 = x_279; -x_267 = x_280; +x_267 = x_281; x_268 = x_282; -x_269 = x_281; +x_269 = x_283; x_270 = x_284; x_271 = x_316; goto block_273; @@ -24315,24 +24317,24 @@ else { lean_object* x_317; lean_dec(x_289); -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); -lean_inc(x_280); -lean_inc_ref(x_284); -lean_inc(x_278); -lean_inc_ref(x_282); -lean_inc(x_279); +lean_inc(x_277); lean_inc_ref(x_281); +lean_inc(x_279); +lean_inc_ref(x_282); +lean_inc(x_284); +lean_inc_ref(x_283); lean_inc(x_66); lean_inc_ref(x_2); -x_317 = l_Lean_Elab_partialFixpoint(x_2, x_66, x_281, x_279, x_282, x_278, x_284, x_280); +x_317 = l_Lean_Elab_partialFixpoint(x_2, x_66, x_283, x_284, x_282, x_279, x_281, x_277); x_264 = x_277; x_265 = x_278; x_266 = x_279; -x_267 = x_280; +x_267 = x_281; x_268 = x_282; -x_269 = x_281; +x_269 = x_283; x_270 = x_284; x_271 = x_317; goto block_273; @@ -24341,24 +24343,24 @@ goto block_273; else { lean_object* x_318; -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); -lean_inc(x_280); -lean_inc_ref(x_284); -lean_inc(x_278); -lean_inc_ref(x_282); -lean_inc(x_279); +lean_inc(x_277); lean_inc_ref(x_281); +lean_inc(x_279); +lean_inc_ref(x_282); +lean_inc(x_284); +lean_inc_ref(x_283); lean_inc(x_66); lean_inc_ref(x_2); -x_318 = l_Lean_Elab_Structural_structuralRecursion(x_2, x_66, x_289, x_281, x_279, x_282, x_278, x_284, x_280); +x_318 = l_Lean_Elab_Structural_structuralRecursion(x_2, x_66, x_289, x_283, x_284, x_282, x_279, x_281, x_277); x_264 = x_277; x_265 = x_278; x_266 = x_279; -x_267 = x_280; +x_267 = x_281; x_268 = x_282; -x_269 = x_281; +x_269 = x_283; x_270 = x_284; x_271 = x_318; goto block_273; @@ -24367,8 +24369,8 @@ goto block_273; else { lean_object* x_319; -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); x_319 = lean_ctor_get(x_288, 0); lean_inc(x_319); @@ -24376,9 +24378,9 @@ lean_dec_ref(x_288); x_252 = x_277; x_253 = x_278; x_254 = x_279; -x_255 = x_280; +x_255 = x_282; x_256 = x_281; -x_257 = x_282; +x_257 = x_283; x_258 = x_284; x_259 = x_319; x_260 = lean_box(0); @@ -24387,15 +24389,15 @@ goto block_263; } else { -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); x_264 = x_277; x_265 = x_278; x_266 = x_279; -x_267 = x_280; +x_267 = x_281; x_268 = x_282; -x_269 = x_281; +x_269 = x_283; x_270 = x_284; x_271 = x_287; goto block_273; @@ -24403,15 +24405,15 @@ goto block_273; } else { -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); x_264 = x_277; x_265 = x_278; x_266 = x_279; -x_267 = x_280; +x_267 = x_281; x_268 = x_282; -x_269 = x_281; +x_269 = x_283; x_270 = x_284; x_271 = x_286; goto block_273; @@ -24419,15 +24421,15 @@ goto block_273; } else { -lean_dec_ref(x_284); +lean_dec(x_284); +lean_dec_ref(x_283); lean_dec_ref(x_282); lean_dec_ref(x_281); -lean_dec(x_280); lean_dec(x_279); lean_dec(x_278); lean_dec(x_277); -lean_dec_ref(x_276); -lean_dec(x_275); +lean_dec(x_276); +lean_dec_ref(x_275); lean_dec_ref(x_274); lean_dec(x_66); lean_dec(x_25); @@ -24444,7 +24446,7 @@ return x_285; block_342: { uint8_t x_332; -x_332 = lean_nat_dec_lt(x_64, x_323); +x_332 = lean_nat_dec_lt(x_64, x_324); if (x_332 == 0) { x_275 = x_321; @@ -24452,11 +24454,11 @@ x_276 = x_322; x_277 = x_323; x_278 = x_324; x_279 = x_325; -x_280 = x_326; +x_280 = lean_box(0); x_281 = x_328; x_282 = x_327; -x_283 = lean_box(0); -x_284 = x_329; +x_283 = x_329; +x_284 = x_330; goto block_320; } else @@ -24468,18 +24470,18 @@ x_276 = x_322; x_277 = x_323; x_278 = x_324; x_279 = x_325; -x_280 = x_326; +x_280 = lean_box(0); x_281 = x_328; x_282 = x_327; -x_283 = lean_box(0); -x_284 = x_329; +x_283 = x_329; +x_284 = x_330; goto block_320; } else { size_t x_333; size_t x_334; uint8_t x_335; x_333 = 0; -x_334 = lean_usize_of_nat(x_323); +x_334 = lean_usize_of_nat(x_324); x_335 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__7(x_66, x_333, x_334); if (x_335 == 0) { @@ -24488,43 +24490,43 @@ x_276 = x_322; x_277 = x_323; x_278 = x_324; x_279 = x_325; -x_280 = x_326; +x_280 = lean_box(0); x_281 = x_328; x_282 = x_327; -x_283 = lean_box(0); -x_284 = x_329; +x_283 = x_329; +x_284 = x_330; goto block_320; } else { size_t x_336; lean_object* x_337; -lean_dec_ref(x_322); -lean_dec(x_321); +lean_dec(x_322); +lean_dec_ref(x_321); lean_dec_ref(x_274); lean_dec(x_25); x_336 = lean_array_size(x_66); -lean_inc(x_326); -lean_inc_ref(x_329); -lean_inc(x_324); -lean_inc_ref(x_327); +lean_inc(x_323); lean_inc_ref(x_328); -x_337 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__8(x_66, x_336, x_333, x_26, x_328, x_325, x_327, x_324, x_329, x_326); +lean_inc(x_325); +lean_inc_ref(x_327); +lean_inc_ref(x_329); +x_337 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__8(x_66, x_336, x_333, x_26, x_329, x_330, x_327, x_325, x_328, x_323); if (lean_obj_tag(x_337) == 0) { lean_object* x_338; lean_dec_ref(x_337); -lean_inc(x_326); -lean_inc_ref(x_329); +lean_inc(x_323); +lean_inc_ref(x_328); lean_inc(x_66); lean_inc_ref(x_2); -x_338 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_66, x_331, x_328, x_325, x_327, x_324, x_329, x_326); +x_338 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_66, x_331, x_329, x_330, x_327, x_325, x_328, x_323); if (lean_obj_tag(x_338) == 0) { lean_dec_ref(x_338); if (x_332 == 0) { -lean_dec_ref(x_329); -lean_dec(x_326); +lean_dec_ref(x_328); +lean_dec(x_324); lean_dec(x_323); lean_dec(x_66); x_14 = x_26; @@ -24534,14 +24536,14 @@ goto block_19; else { uint8_t x_339; -x_339 = lean_nat_dec_le(x_323, x_323); -lean_dec(x_323); +x_339 = lean_nat_dec_le(x_324, x_324); +lean_dec(x_324); if (x_339 == 0) { if (x_332 == 0) { -lean_dec_ref(x_329); -lean_dec(x_326); +lean_dec_ref(x_328); +lean_dec(x_323); lean_dec(x_66); x_14 = x_26; x_15 = lean_box(0); @@ -24550,8 +24552,8 @@ goto block_19; else { lean_object* x_340; -x_340 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_329, x_326); -lean_dec(x_326); +x_340 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_328, x_323); +lean_dec(x_323); lean_dec(x_66); x_55 = x_340; goto block_56; @@ -24560,8 +24562,8 @@ goto block_56; else { lean_object* x_341; -x_341 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_329, x_326); -lean_dec(x_326); +x_341 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_66, x_333, x_334, x_26, x_328, x_323); +lean_dec(x_323); lean_dec(x_66); x_55 = x_341; goto block_56; @@ -24570,8 +24572,8 @@ goto block_56; } else { -lean_dec_ref(x_329); -lean_dec(x_326); +lean_dec_ref(x_328); +lean_dec(x_324); lean_dec(x_323); lean_dec(x_66); lean_dec(x_12); @@ -24586,10 +24588,10 @@ return x_338; } else { +lean_dec(x_330); lean_dec_ref(x_329); lean_dec_ref(x_328); lean_dec_ref(x_327); -lean_dec(x_326); lean_dec(x_325); lean_dec(x_324); lean_dec(x_323); @@ -24607,7 +24609,7 @@ return x_337; } } } -block_378: +block_379: { if (x_351 == 0) { @@ -24615,18 +24617,18 @@ uint8_t x_352; x_352 = lean_nat_dec_lt(x_64, x_350); if (x_352 == 0) { -lean_inc_ref(x_346); -lean_inc(x_344); -x_321 = x_344; -x_322 = x_346; -x_323 = x_350; -x_324 = x_343; +lean_inc(x_349); +lean_inc_ref(x_348); +x_321 = x_348; +x_322 = x_349; +x_323 = x_343; +x_324 = x_350; x_325 = x_344; -x_326 = x_345; +x_326 = lean_box(0); x_327 = x_347; x_328 = x_346; -x_329 = x_349; -x_330 = lean_box(0); +x_329 = x_348; +x_330 = x_349; x_331 = x_351; goto block_342; } @@ -24634,18 +24636,18 @@ else { if (x_352 == 0) { -lean_inc_ref(x_346); -lean_inc(x_344); -x_321 = x_344; -x_322 = x_346; -x_323 = x_350; -x_324 = x_343; +lean_inc(x_349); +lean_inc_ref(x_348); +x_321 = x_348; +x_322 = x_349; +x_323 = x_343; +x_324 = x_350; x_325 = x_344; -x_326 = x_345; +x_326 = lean_box(0); x_327 = x_347; x_328 = x_346; -x_329 = x_349; -x_330 = lean_box(0); +x_329 = x_348; +x_330 = x_349; x_331 = x_351; goto block_342; } @@ -24657,18 +24659,18 @@ x_354 = lean_usize_of_nat(x_350); x_355 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__10(x_66, x_353, x_354); if (x_355 == 0) { -lean_inc_ref(x_346); -lean_inc(x_344); -x_321 = x_344; -x_322 = x_346; -x_323 = x_350; -x_324 = x_343; +lean_inc(x_349); +lean_inc_ref(x_348); +x_321 = x_348; +x_322 = x_349; +x_323 = x_343; +x_324 = x_350; x_325 = x_344; -x_326 = x_345; +x_326 = lean_box(0); x_327 = x_347; x_328 = x_346; -x_329 = x_349; -x_330 = lean_box(0); +x_329 = x_348; +x_330 = x_349; x_331 = x_355; goto block_342; } @@ -24678,19 +24680,19 @@ uint8_t x_356; lean_object* x_357; lean_dec_ref(x_274); lean_dec(x_25); x_356 = 0; -lean_inc(x_345); -lean_inc_ref(x_349); +lean_inc(x_343); +lean_inc_ref(x_346); lean_inc(x_66); lean_inc_ref(x_2); -x_357 = l_Lean_Elab_addAndCompileUnsafe(x_2, x_66, x_356, x_346, x_344, x_347, x_343, x_349, x_345); +x_357 = l_Lean_Elab_addAndCompileUnsafe(x_2, x_66, x_356, x_348, x_349, x_347, x_344, x_346, x_343); if (lean_obj_tag(x_357) == 0) { lean_dec_ref(x_357); if (x_352 == 0) { lean_dec(x_350); -lean_dec_ref(x_349); -lean_dec(x_345); +lean_dec_ref(x_346); +lean_dec(x_343); lean_dec(x_66); x_14 = x_26; x_15 = lean_box(0); @@ -24705,8 +24707,8 @@ if (x_358 == 0) { if (x_352 == 0) { -lean_dec_ref(x_349); -lean_dec(x_345); +lean_dec_ref(x_346); +lean_dec(x_343); lean_dec(x_66); x_14 = x_26; x_15 = lean_box(0); @@ -24715,8 +24717,8 @@ goto block_19; else { lean_object* x_359; -x_359 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_349, x_345); -lean_dec(x_345); +x_359 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_346, x_343); +lean_dec(x_343); lean_dec(x_66); x_27 = x_359; goto block_28; @@ -24725,8 +24727,8 @@ goto block_28; else { lean_object* x_360; -x_360 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_349, x_345); -lean_dec(x_345); +x_360 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_66, x_353, x_354, x_26, x_346, x_343); +lean_dec(x_343); lean_dec(x_66); x_27 = x_360; goto block_28; @@ -24736,8 +24738,8 @@ goto block_28; else { lean_dec(x_350); -lean_dec_ref(x_349); -lean_dec(x_345); +lean_dec_ref(x_346); +lean_dec(x_343); lean_dec(x_66); lean_dec(x_12); lean_dec_ref(x_11); @@ -24760,9 +24762,9 @@ lean_dec_ref(x_274); lean_dec(x_25); x_361 = lean_array_get(x_65, x_66, x_64); lean_dec(x_66); -lean_inc(x_345); -lean_inc_ref(x_349); -x_362 = l_Lean_Elab_eraseRecAppSyntax(x_361, x_349, x_345); +lean_inc(x_343); +lean_inc_ref(x_346); +x_362 = l_Lean_Elab_eraseRecAppSyntax(x_361, x_346, x_343); if (lean_obj_tag(x_362) == 0) { lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; @@ -24774,7 +24776,7 @@ x_365 = lean_ctor_get(x_363, 3); x_366 = lean_ctor_get(x_363, 8); lean_inc_ref(x_366); lean_inc(x_365); -x_367 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_365, x_349, x_345); +x_367 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_365, x_346, x_343); if (lean_obj_tag(x_367) == 0) { uint8_t x_368; @@ -24788,24 +24790,24 @@ lean_inc(x_365); x_370 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_370, 0, x_365); lean_ctor_set(x_370, 1, x_369); -lean_inc(x_345); -lean_inc_ref(x_349); +lean_inc(x_343); +lean_inc_ref(x_346); lean_inc_ref(x_2); -x_371 = l_Lean_Elab_addAndCompileNonRec(x_2, x_363, x_370, x_1, x_346, x_344, x_347, x_343, x_349, x_345); +x_371 = l_Lean_Elab_addAndCompileNonRec(x_2, x_363, x_370, x_1, x_368, x_348, x_349, x_347, x_344, x_346, x_343); if (lean_obj_tag(x_371) == 0) { lean_dec_ref(x_371); x_57 = x_366; -x_58 = x_349; -x_59 = x_345; +x_58 = x_346; +x_59 = x_343; x_60 = lean_box(0); goto block_63; } else { lean_dec_ref(x_366); -lean_dec_ref(x_349); -lean_dec(x_345); +lean_dec_ref(x_346); +lean_dec(x_343); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -24818,30 +24820,31 @@ return x_371; } else { -lean_object* x_372; lean_object* x_373; lean_object* x_374; +lean_object* x_372; lean_object* x_373; uint8_t x_374; lean_object* x_375; x_372 = lean_box(0); lean_inc(x_365); x_373 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_373, 0, x_365); lean_ctor_set(x_373, 1, x_372); -lean_inc(x_345); -lean_inc_ref(x_349); +x_374 = 0; +lean_inc(x_343); +lean_inc_ref(x_346); lean_inc_ref(x_2); -x_374 = l_Lean_Elab_addNonRec(x_2, x_363, x_1, x_373, x_1, x_1, x_346, x_344, x_347, x_343, x_349, x_345); -if (lean_obj_tag(x_374) == 0) +x_375 = l_Lean_Elab_addNonRec(x_2, x_363, x_1, x_373, x_1, x_1, x_374, x_348, x_349, x_347, x_344, x_346, x_343); +if (lean_obj_tag(x_375) == 0) { -lean_dec_ref(x_374); +lean_dec_ref(x_375); x_57 = x_366; -x_58 = x_349; -x_59 = x_345; +x_58 = x_346; +x_59 = x_343; x_60 = lean_box(0); goto block_63; } else { lean_dec_ref(x_366); -lean_dec_ref(x_349); -lean_dec(x_345); +lean_dec_ref(x_346); +lean_dec(x_343); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -24849,7 +24852,7 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); -return x_374; +return x_375; } } } @@ -24857,10 +24860,10 @@ else { lean_dec_ref(x_366); lean_dec(x_363); -lean_dec_ref(x_349); +lean_dec(x_349); +lean_dec_ref(x_348); lean_dec_ref(x_347); lean_dec_ref(x_346); -lean_dec(x_345); lean_dec(x_344); lean_dec(x_343); lean_dec(x_12); @@ -24875,11 +24878,11 @@ return x_367; } else { -uint8_t x_375; -lean_dec_ref(x_349); +uint8_t x_376; +lean_dec(x_349); +lean_dec_ref(x_348); lean_dec_ref(x_347); lean_dec_ref(x_346); -lean_dec(x_345); lean_dec(x_344); lean_dec(x_343); lean_dec(x_12); @@ -24889,64 +24892,64 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); -x_375 = !lean_is_exclusive(x_362); -if (x_375 == 0) +x_376 = !lean_is_exclusive(x_362); +if (x_376 == 0) { return x_362; } else { -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_362, 0); -lean_inc(x_376); +lean_object* x_377; lean_object* x_378; +x_377 = lean_ctor_get(x_362, 0); +lean_inc(x_377); lean_dec(x_362); -x_377 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_377, 0, x_376); -return x_377; +x_378 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_378, 0, x_377); +return x_378; } } } } -block_391: +block_392: { -lean_object* x_386; lean_object* x_387; uint8_t x_388; -x_386 = lean_array_get_size(x_66); -x_387 = lean_unsigned_to_nat(1u); -x_388 = lean_nat_dec_eq(x_386, x_387); -if (x_388 == 0) +lean_object* x_387; lean_object* x_388; uint8_t x_389; +x_387 = lean_array_get_size(x_66); +x_388 = lean_unsigned_to_nat(1u); +x_389 = lean_nat_dec_eq(x_387, x_388); +if (x_389 == 0) { -x_343 = x_382; -x_344 = x_380; -x_345 = x_384; -x_346 = x_379; -x_347 = x_381; -x_348 = lean_box(0); -x_349 = x_383; -x_350 = x_386; -x_351 = x_388; -goto block_378; +x_343 = x_385; +x_344 = x_383; +x_345 = lean_box(0); +x_346 = x_384; +x_347 = x_382; +x_348 = x_380; +x_349 = x_381; +x_350 = x_387; +x_351 = x_389; +goto block_379; } else { -lean_object* x_389; uint8_t x_390; -x_389 = lean_array_get(x_65, x_66, x_64); -x_390 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_389); -x_343 = x_382; -x_344 = x_380; -x_345 = x_384; -x_346 = x_379; -x_347 = x_381; -x_348 = lean_box(0); -x_349 = x_383; -x_350 = x_386; -x_351 = x_390; -goto block_378; +lean_object* x_390; uint8_t x_391; +x_390 = lean_array_get(x_65, x_66, x_64); +x_391 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_390); +x_343 = x_385; +x_344 = x_383; +x_345 = lean_box(0); +x_346 = x_384; +x_347 = x_382; +x_348 = x_380; +x_349 = x_381; +x_350 = x_387; +x_351 = x_391; +goto block_379; } } } else { -uint8_t x_401; +uint8_t x_402; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -24954,20 +24957,20 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); -x_401 = !lean_is_exclusive(x_23); -if (x_401 == 0) +x_402 = !lean_is_exclusive(x_23); +if (x_402 == 0) { return x_23; } else { -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_23, 0); -lean_inc(x_402); +lean_object* x_403; lean_object* x_404; +x_403 = lean_ctor_get(x_23, 0); +lean_inc(x_403); lean_dec(x_23); -x_403 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_403, 0, x_402); -return x_403; +x_404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_404, 0, x_403); +return x_404; } } } @@ -26264,20 +26267,20 @@ uint8_t x_57; lean_inc(x_55); x_57 = l_Lean_Exception_isRuntime(x_55); x_16 = lean_box(0); -x_17 = x_54; -x_18 = x_53; +x_17 = x_55; +x_18 = x_54; x_19 = x_52; -x_20 = x_55; +x_20 = x_53; x_21 = x_57; goto block_37; } else { x_16 = lean_box(0); -x_17 = x_54; -x_18 = x_53; +x_17 = x_55; +x_18 = x_54; x_19 = x_52; -x_20 = x_55; +x_20 = x_53; x_21 = x_56; goto block_37; } @@ -26347,20 +26350,20 @@ uint8_t x_69; lean_inc(x_67); x_69 = l_Lean_Exception_isRuntime(x_67); x_16 = lean_box(0); -x_17 = x_66; -x_18 = x_65; +x_17 = x_67; +x_18 = x_66; x_19 = x_64; -x_20 = x_67; +x_20 = x_65; x_21 = x_69; goto block_37; } else { x_16 = lean_box(0); -x_17 = x_66; -x_18 = x_65; +x_17 = x_67; +x_18 = x_66; x_19 = x_64; -x_20 = x_67; +x_20 = x_65; x_21 = x_68; goto block_37; } @@ -26446,20 +26449,20 @@ uint8_t x_83; lean_inc(x_81); x_83 = l_Lean_Exception_isRuntime(x_81); x_16 = lean_box(0); -x_17 = x_80; -x_18 = x_79; +x_17 = x_81; +x_18 = x_80; x_19 = x_78; -x_20 = x_81; +x_20 = x_79; x_21 = x_83; goto block_37; } else { x_16 = lean_box(0); -x_17 = x_80; -x_18 = x_79; +x_17 = x_81; +x_18 = x_80; x_19 = x_78; -x_20 = x_81; +x_20 = x_79; x_21 = x_82; goto block_37; } @@ -26548,20 +26551,20 @@ block_37: { if (x_21 == 0) { -if (lean_obj_tag(x_20) == 0) +if (lean_obj_tag(x_17) == 0) { uint8_t x_22; -lean_dec_ref(x_17); -x_22 = !lean_is_exclusive(x_20); +lean_dec_ref(x_18); +x_22 = !lean_is_exclusive(x_17); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_20, 1); -x_24 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_17, 1); +x_24 = lean_ctor_get(x_17, 0); lean_dec(x_24); x_25 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_18); +lean_ctor_set(x_26, 0, x_20); lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_27, 0, x_26); @@ -26569,21 +26572,21 @@ lean_ctor_set(x_27, 1, x_25); x_28 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_23); -lean_ctor_set(x_20, 1, x_28); -lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_17, 1, x_28); +lean_ctor_set(x_17, 0, x_19); x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_20); +lean_ctor_set(x_29, 0, x_17); return x_29; } else { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_ctor_get(x_20, 1); +x_30 = lean_ctor_get(x_17, 1); lean_inc(x_30); -lean_dec(x_20); +lean_dec(x_17); x_31 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_18); +lean_ctor_set(x_32, 0, x_20); lean_ctor_set(x_32, 1, x_31); x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); @@ -26603,8 +26606,8 @@ else { lean_dec_ref(x_20); lean_dec(x_19); -lean_dec_ref(x_18); -x_11 = x_17; +lean_dec_ref(x_17); +x_11 = x_18; goto block_15; } } @@ -26612,8 +26615,8 @@ else { lean_dec_ref(x_20); lean_dec(x_19); -lean_dec_ref(x_18); -x_11 = x_17; +lean_dec_ref(x_17); +x_11 = x_18; goto block_15; } } @@ -26653,7 +26656,7 @@ x_23 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsaf x_24 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__2___redArg(x_23, x_12); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_30; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_44; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_357; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_30; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_44; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; uint8_t x_135; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_357; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); if (lean_is_exclusive(x_24)) { @@ -26781,26 +26784,26 @@ block_43: if (x_41 == 0) { lean_object* x_42; -lean_dec_ref(x_32); -x_42 = l_Lean_Elab_Term_SavedState_restore(x_35, x_41, x_33, x_40, x_36, x_37, x_34, x_39); -lean_dec(x_39); -lean_dec_ref(x_34); +lean_dec_ref(x_39); +x_42 = l_Lean_Elab_Term_SavedState_restore(x_33, x_41, x_40, x_37, x_38, x_36, x_35, x_32); +lean_dec(x_32); +lean_dec_ref(x_35); +lean_dec(x_36); +lean_dec_ref(x_38); lean_dec(x_37); -lean_dec_ref(x_36); -lean_dec(x_40); -lean_dec_ref(x_33); +lean_dec_ref(x_40); x_30 = x_42; goto block_31; } else { -lean_dec(x_40); -lean_dec(x_39); +lean_dec_ref(x_40); +lean_dec_ref(x_38); lean_dec(x_37); -lean_dec_ref(x_36); +lean_dec(x_36); lean_dec_ref(x_35); -lean_dec_ref(x_34); lean_dec_ref(x_33); +lean_dec(x_32); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -26808,7 +26811,7 @@ lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec_ref(x_1); -return x_32; +return x_39; } } block_45: @@ -26862,13 +26865,13 @@ block_64: if (lean_obj_tag(x_60) == 0) { lean_dec_ref(x_60); -lean_dec(x_59); -lean_dec(x_58); -lean_dec(x_57); -lean_dec_ref(x_56); -lean_dec_ref(x_55); +lean_dec_ref(x_59); +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_dec(x_56); +lean_dec(x_55); lean_dec_ref(x_54); -lean_dec_ref(x_53); +lean_dec(x_53); x_15 = x_27; x_16 = lean_box(0); goto block_20; @@ -26883,28 +26886,28 @@ if (x_62 == 0) uint8_t x_63; lean_inc(x_61); x_63 = l_Lean_Exception_isRuntime(x_61); -x_32 = x_60; -x_33 = x_53; -x_34 = x_54; -x_35 = x_55; +x_32 = x_53; +x_33 = x_54; +x_34 = lean_box(0); +x_35 = x_57; x_36 = x_56; -x_37 = x_57; -x_38 = lean_box(0); -x_39 = x_58; +x_37 = x_55; +x_38 = x_58; +x_39 = x_60; x_40 = x_59; x_41 = x_63; goto block_43; } else { -x_32 = x_60; -x_33 = x_53; -x_34 = x_54; -x_35 = x_55; +x_32 = x_53; +x_33 = x_54; +x_34 = lean_box(0); +x_35 = x_57; x_36 = x_56; -x_37 = x_57; -x_38 = lean_box(0); -x_39 = x_58; +x_37 = x_55; +x_38 = x_58; +x_39 = x_60; x_40 = x_59; x_41 = x_62; goto block_43; @@ -26916,41 +26919,41 @@ block_82: if (x_79 == 0) { lean_object* x_80; -lean_dec_ref(x_75); -lean_inc_ref(x_72); -x_80 = l_Lean_Elab_Term_SavedState_restore(x_72, x_79, x_68, x_77, x_73, x_74, x_71, x_78); +lean_dec_ref(x_74); +lean_inc_ref(x_70); +x_80 = l_Lean_Elab_Term_SavedState_restore(x_70, x_79, x_77, x_73, x_75, x_72, x_78, x_76); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_dec_ref(x_80); -lean_inc(x_74); -lean_inc_ref(x_73); -lean_inc(x_77); -lean_inc_ref(x_68); +lean_inc(x_72); +lean_inc_ref(x_75); +lean_inc(x_73); +lean_inc_ref(x_77); lean_inc_ref(x_1); -x_81 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_67, x_68, x_77, x_73, x_74, x_71, x_78); +x_81 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_67, x_77, x_73, x_75, x_72, x_78, x_76); lean_dec(x_67); x_53 = x_68; -x_54 = x_69; -x_55 = x_72; -x_56 = x_73; -x_57 = x_74; -x_58 = x_76; +x_54 = x_70; +x_55 = x_73; +x_56 = x_72; +x_57 = x_71; +x_58 = x_75; x_59 = x_77; x_60 = x_81; goto block_64; } else { -lean_dec(x_78); -lean_dec_ref(x_71); +lean_dec_ref(x_78); +lean_dec(x_76); lean_dec(x_67); x_53 = x_68; -x_54 = x_69; -x_55 = x_72; -x_56 = x_73; -x_57 = x_74; -x_58 = x_76; +x_54 = x_70; +x_55 = x_73; +x_56 = x_72; +x_57 = x_71; +x_58 = x_75; x_59 = x_77; x_60 = x_80; goto block_64; @@ -26958,17 +26961,17 @@ goto block_64; } else { -lean_dec(x_78); -lean_dec_ref(x_71); +lean_dec_ref(x_78); +lean_dec(x_76); lean_dec(x_67); x_53 = x_68; -x_54 = x_69; -x_55 = x_72; -x_56 = x_73; -x_57 = x_74; -x_58 = x_76; +x_54 = x_70; +x_55 = x_73; +x_56 = x_72; +x_57 = x_71; +x_58 = x_75; x_59 = x_77; -x_60 = x_75; +x_60 = x_74; goto block_64; } } @@ -26987,28 +26990,28 @@ x_98 = l_Lean_maxRecDepth; x_99 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_91, x_98); lean_ctor_set(x_92, 4, x_99); lean_ctor_set(x_92, 2, x_91); -lean_ctor_set_uint8(x_92, sizeof(void*)*14, x_83); +lean_ctor_set_uint8(x_92, sizeof(void*)*14, x_90); lean_inc(x_93); lean_inc_ref(x_92); -lean_inc(x_88); -lean_inc_ref(x_87); -lean_inc(x_90); -lean_inc_ref(x_84); +lean_inc(x_86); +lean_inc_ref(x_88); +lean_inc(x_87); +lean_inc_ref(x_89); lean_inc(x_67); lean_inc_ref(x_1); -x_100 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_67, x_2, x_84, x_90, x_87, x_88, x_92, x_93); +x_100 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_67, x_2, x_89, x_87, x_88, x_86, x_92, x_93); if (lean_obj_tag(x_100) == 0) { lean_dec_ref(x_92); lean_dec(x_93); lean_dec(x_67); -x_53 = x_84; -x_54 = x_85; -x_55 = x_86; -x_56 = x_87; -x_57 = x_88; -x_58 = x_89; -x_59 = x_90; +x_53 = x_83; +x_54 = x_84; +x_55 = x_87; +x_56 = x_86; +x_57 = x_85; +x_58 = x_88; +x_59 = x_89; x_60 = x_100; goto block_64; } @@ -27022,34 +27025,34 @@ if (x_102 == 0) { uint8_t x_103; x_103 = l_Lean_Exception_isRuntime(x_101); -x_68 = x_84; -x_69 = x_85; -x_70 = lean_box(0); -x_71 = x_92; +x_68 = x_83; +x_69 = lean_box(0); +x_70 = x_84; +x_71 = x_85; x_72 = x_86; x_73 = x_87; -x_74 = x_88; -x_75 = x_100; -x_76 = x_89; -x_77 = x_90; -x_78 = x_93; +x_74 = x_100; +x_75 = x_88; +x_76 = x_93; +x_77 = x_89; +x_78 = x_92; x_79 = x_103; goto block_82; } else { lean_dec(x_101); -x_68 = x_84; -x_69 = x_85; -x_70 = lean_box(0); -x_71 = x_92; +x_68 = x_83; +x_69 = lean_box(0); +x_70 = x_84; +x_71 = x_85; x_72 = x_86; x_73 = x_87; -x_74 = x_88; -x_75 = x_100; -x_76 = x_89; -x_77 = x_90; -x_78 = x_93; +x_74 = x_100; +x_75 = x_88; +x_76 = x_93; +x_77 = x_89; +x_78 = x_92; x_79 = x_102; goto block_82; } @@ -27101,29 +27104,29 @@ lean_ctor_set(x_119, 10, x_112); lean_ctor_set(x_119, 11, x_113); lean_ctor_set(x_119, 12, x_114); lean_ctor_set(x_119, 13, x_116); -lean_ctor_set_uint8(x_119, sizeof(void*)*14, x_83); +lean_ctor_set_uint8(x_119, sizeof(void*)*14, x_90); lean_ctor_set_uint8(x_119, sizeof(void*)*14 + 1, x_115); lean_inc(x_93); lean_inc_ref(x_119); -lean_inc(x_88); -lean_inc_ref(x_87); -lean_inc(x_90); -lean_inc_ref(x_84); +lean_inc(x_86); +lean_inc_ref(x_88); +lean_inc(x_87); +lean_inc_ref(x_89); lean_inc(x_67); lean_inc_ref(x_1); -x_120 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_67, x_2, x_84, x_90, x_87, x_88, x_119, x_93); +x_120 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_67, x_2, x_89, x_87, x_88, x_86, x_119, x_93); if (lean_obj_tag(x_120) == 0) { lean_dec_ref(x_119); lean_dec(x_93); lean_dec(x_67); -x_53 = x_84; -x_54 = x_85; -x_55 = x_86; -x_56 = x_87; -x_57 = x_88; -x_58 = x_89; -x_59 = x_90; +x_53 = x_83; +x_54 = x_84; +x_55 = x_87; +x_56 = x_86; +x_57 = x_85; +x_58 = x_88; +x_59 = x_89; x_60 = x_120; goto block_64; } @@ -27137,34 +27140,34 @@ if (x_122 == 0) { uint8_t x_123; x_123 = l_Lean_Exception_isRuntime(x_121); -x_68 = x_84; -x_69 = x_85; -x_70 = lean_box(0); -x_71 = x_119; +x_68 = x_83; +x_69 = lean_box(0); +x_70 = x_84; +x_71 = x_85; x_72 = x_86; x_73 = x_87; -x_74 = x_88; -x_75 = x_120; -x_76 = x_89; -x_77 = x_90; -x_78 = x_93; +x_74 = x_120; +x_75 = x_88; +x_76 = x_93; +x_77 = x_89; +x_78 = x_119; x_79 = x_123; goto block_82; } else { lean_dec(x_121); -x_68 = x_84; -x_69 = x_85; -x_70 = lean_box(0); -x_71 = x_119; +x_68 = x_83; +x_69 = lean_box(0); +x_70 = x_84; +x_71 = x_85; x_72 = x_86; x_73 = x_87; -x_74 = x_88; -x_75 = x_120; -x_76 = x_89; -x_77 = x_90; -x_78 = x_93; +x_74 = x_120; +x_75 = x_88; +x_76 = x_93; +x_77 = x_89; +x_78 = x_119; x_79 = x_122; goto block_82; } @@ -27176,7 +27179,7 @@ block_155: if (x_135 == 0) { lean_object* x_136; uint8_t x_137; -x_136 = lean_st_ref_take(x_132); +x_136 = lean_st_ref_take(x_125); x_137 = !lean_is_exclusive(x_136); if (x_137 == 0) { @@ -27184,24 +27187,24 @@ lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; x_138 = lean_ctor_get(x_136, 0); x_139 = lean_ctor_get(x_136, 5); lean_dec(x_139); -x_140 = l_Lean_Kernel_enableDiag(x_138, x_125); +x_140 = l_Lean_Kernel_enableDiag(x_138, x_134); x_141 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; lean_ctor_set(x_136, 5, x_141); lean_ctor_set(x_136, 0, x_140); -x_142 = lean_st_ref_set(x_132, x_136); -lean_inc(x_132); -lean_inc_ref(x_128); +x_142 = lean_st_ref_set(x_125, x_136); +lean_inc_ref(x_130); +lean_inc(x_125); x_83 = x_125; -x_84 = x_126; -x_85 = x_128; +x_84 = x_127; +x_85 = x_130; x_86 = x_129; -x_87 = x_130; +x_87 = x_128; x_88 = x_131; -x_89 = x_132; -x_90 = x_133; -x_91 = x_134; -x_92 = x_128; -x_93 = x_132; +x_89 = x_133; +x_90 = x_134; +x_91 = x_132; +x_92 = x_130; +x_93 = x_125; x_94 = lean_box(0); goto block_124; } @@ -27225,7 +27228,7 @@ lean_inc(x_145); lean_inc(x_144); lean_inc(x_143); lean_dec(x_136); -x_151 = l_Lean_Kernel_enableDiag(x_143, x_125); +x_151 = l_Lean_Kernel_enableDiag(x_143, x_134); x_152 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; x_153 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_153, 0, x_151); @@ -27237,39 +27240,39 @@ lean_ctor_set(x_153, 5, x_152); lean_ctor_set(x_153, 6, x_148); lean_ctor_set(x_153, 7, x_149); lean_ctor_set(x_153, 8, x_150); -x_154 = lean_st_ref_set(x_132, x_153); -lean_inc(x_132); -lean_inc_ref(x_128); +x_154 = lean_st_ref_set(x_125, x_153); +lean_inc_ref(x_130); +lean_inc(x_125); x_83 = x_125; -x_84 = x_126; -x_85 = x_128; +x_84 = x_127; +x_85 = x_130; x_86 = x_129; -x_87 = x_130; +x_87 = x_128; x_88 = x_131; -x_89 = x_132; -x_90 = x_133; -x_91 = x_134; -x_92 = x_128; -x_93 = x_132; +x_89 = x_133; +x_90 = x_134; +x_91 = x_132; +x_92 = x_130; +x_93 = x_125; x_94 = lean_box(0); goto block_124; } } else { -lean_inc(x_132); -lean_inc_ref(x_128); +lean_inc_ref(x_130); +lean_inc(x_125); x_83 = x_125; -x_84 = x_126; -x_85 = x_128; +x_84 = x_127; +x_85 = x_130; x_86 = x_129; -x_87 = x_130; +x_87 = x_128; x_88 = x_131; -x_89 = x_132; -x_90 = x_133; -x_91 = x_134; -x_92 = x_128; -x_93 = x_132; +x_89 = x_133; +x_90 = x_134; +x_91 = x_132; +x_92 = x_130; +x_93 = x_125; x_94 = lean_box(0); goto block_124; } @@ -27277,14 +27280,14 @@ goto block_124; block_173: { lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; uint8_t x_172; -x_165 = lean_st_ref_get(x_162); -x_166 = lean_ctor_get(x_157, 2); +x_165 = lean_st_ref_get(x_156); +x_166 = lean_ctor_get(x_161, 2); x_167 = lean_ctor_get(x_165, 0); lean_inc_ref(x_167); lean_dec(x_165); x_168 = l_Lean_Elab_async; lean_inc_ref(x_166); -x_169 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_166, x_168, x_164); +x_169 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_166, x_168, x_162); x_170 = l_Lean_diagnostics; x_171 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_169, x_170); x_172 = l_Lean_Kernel_isDiagnosticsEnabled(x_167); @@ -27293,47 +27296,47 @@ if (x_172 == 0) { if (x_171 == 0) { -x_125 = x_171; -x_126 = x_156; -x_127 = lean_box(0); -x_128 = x_157; -x_129 = x_159; -x_130 = x_160; -x_131 = x_161; -x_132 = x_162; -x_133 = x_163; -x_134 = x_169; +x_125 = x_156; +x_126 = lean_box(0); +x_127 = x_158; +x_128 = x_159; +x_129 = x_160; +x_130 = x_161; +x_131 = x_163; +x_132 = x_169; +x_133 = x_164; +x_134 = x_171; x_135 = x_21; goto block_155; } else { -x_125 = x_171; -x_126 = x_156; -x_127 = lean_box(0); -x_128 = x_157; -x_129 = x_159; -x_130 = x_160; -x_131 = x_161; -x_132 = x_162; -x_133 = x_163; -x_134 = x_169; +x_125 = x_156; +x_126 = lean_box(0); +x_127 = x_158; +x_128 = x_159; +x_129 = x_160; +x_130 = x_161; +x_131 = x_163; +x_132 = x_169; +x_133 = x_164; +x_134 = x_171; x_135 = x_172; goto block_155; } } else { -x_125 = x_171; -x_126 = x_156; -x_127 = lean_box(0); -x_128 = x_157; -x_129 = x_159; -x_130 = x_160; -x_131 = x_161; -x_132 = x_162; -x_133 = x_163; -x_134 = x_169; +x_125 = x_156; +x_126 = lean_box(0); +x_127 = x_158; +x_128 = x_159; +x_129 = x_160; +x_130 = x_161; +x_131 = x_163; +x_132 = x_169; +x_133 = x_164; +x_134 = x_171; x_135 = x_171; goto block_155; } @@ -27341,20 +27344,20 @@ goto block_155; block_183: { lean_object* x_182; -lean_inc(x_180); -lean_inc_ref(x_175); +lean_inc(x_174); +lean_inc_ref(x_177); +lean_inc(x_178); +lean_inc_ref(x_180); lean_inc(x_179); -lean_inc_ref(x_178); -lean_inc(x_181); -lean_inc_ref(x_174); +lean_inc_ref(x_181); lean_inc_ref(x_1); -x_182 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_67, x_174, x_181, x_178, x_179, x_175, x_180); +x_182 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_1, x_67, x_181, x_179, x_180, x_178, x_177, x_174); lean_dec(x_67); x_53 = x_174; -x_54 = x_175; -x_55 = x_177; +x_54 = x_176; +x_55 = x_179; x_56 = x_178; -x_57 = x_179; +x_57 = x_177; x_58 = x_180; x_59 = x_181; x_60 = x_182; @@ -27367,66 +27370,66 @@ if (x_193 == 0) lean_object* x_194; lean_dec(x_26); lean_inc_ref(x_186); -x_194 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_188, x_185, x_192, x_187, x_189, x_186, x_190); +x_194 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_191, x_192, x_188, x_190, x_187, x_186, x_185); if (lean_obj_tag(x_194) == 0) { lean_object* x_195; lean_dec_ref(x_194); -x_195 = l_Lean_Elab_Term_saveState___redArg(x_192, x_189, x_190); +x_195 = l_Lean_Elab_Term_saveState___redArg(x_188, x_187, x_185); if (lean_obj_tag(x_195) == 0) { lean_object* x_196; uint8_t x_197; x_196 = lean_ctor_get(x_195, 0); lean_inc(x_196); lean_dec_ref(x_195); -x_197 = lean_nat_dec_lt(x_65, x_191); +x_197 = lean_nat_dec_lt(x_65, x_189); if (x_197 == 0) { -lean_dec(x_191); +lean_dec(x_189); x_156 = x_185; -x_157 = x_186; -x_158 = lean_box(0); -x_159 = x_196; +x_157 = lean_box(0); +x_158 = x_196; +x_159 = x_188; x_160 = x_187; -x_161 = x_189; -x_162 = x_190; -x_163 = x_192; -x_164 = x_193; +x_161 = x_186; +x_162 = x_193; +x_163 = x_190; +x_164 = x_192; goto block_173; } else { if (x_197 == 0) { -lean_dec(x_191); +lean_dec(x_189); x_156 = x_185; -x_157 = x_186; -x_158 = lean_box(0); -x_159 = x_196; +x_157 = lean_box(0); +x_158 = x_196; +x_159 = x_188; x_160 = x_187; -x_161 = x_189; -x_162 = x_190; -x_163 = x_192; -x_164 = x_193; +x_161 = x_186; +x_162 = x_193; +x_163 = x_190; +x_164 = x_192; goto block_173; } else { size_t x_198; size_t x_199; uint8_t x_200; x_198 = 0; -x_199 = lean_usize_of_nat(x_191); -x_200 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__19(x_193, x_2, x_67, x_191, x_67, x_198, x_199); +x_199 = lean_usize_of_nat(x_189); +x_200 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__19(x_193, x_2, x_67, x_189, x_67, x_198, x_199); if (x_200 == 0) { x_156 = x_185; -x_157 = x_186; -x_158 = lean_box(0); -x_159 = x_196; +x_157 = lean_box(0); +x_158 = x_196; +x_159 = x_188; x_160 = x_187; -x_161 = x_189; -x_162 = x_190; -x_163 = x_192; -x_164 = x_193; +x_161 = x_186; +x_162 = x_193; +x_163 = x_190; +x_164 = x_192; goto block_173; } else @@ -27434,11 +27437,11 @@ else if (x_197 == 0) { x_174 = x_185; -x_175 = x_186; -x_176 = lean_box(0); -x_177 = x_196; +x_175 = lean_box(0); +x_176 = x_196; +x_177 = x_186; x_178 = x_187; -x_179 = x_189; +x_179 = x_188; x_180 = x_190; x_181 = x_192; goto block_183; @@ -27448,11 +27451,11 @@ else if (x_197 == 0) { x_174 = x_185; -x_175 = x_186; -x_176 = lean_box(0); -x_177 = x_196; +x_175 = lean_box(0); +x_176 = x_196; +x_177 = x_186; x_178 = x_187; -x_179 = x_189; +x_179 = x_188; x_180 = x_190; x_181 = x_192; goto block_183; @@ -27464,11 +27467,11 @@ x_201 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_ if (x_201 == 0) { x_174 = x_185; -x_175 = x_186; -x_176 = lean_box(0); -x_177 = x_196; +x_175 = lean_box(0); +x_176 = x_196; +x_177 = x_186; x_178 = x_187; -x_179 = x_189; +x_179 = x_188; x_180 = x_190; x_181 = x_192; goto block_183; @@ -27476,12 +27479,12 @@ goto block_183; else { lean_dec(x_196); -lean_dec(x_192); -lean_dec(x_190); -lean_dec(x_189); -lean_dec_ref(x_187); +lean_dec_ref(x_192); +lean_dec_ref(x_190); +lean_dec(x_188); +lean_dec(x_187); lean_dec_ref(x_186); -lean_dec_ref(x_185); +lean_dec(x_185); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -27496,13 +27499,13 @@ goto block_20; else { uint8_t x_202; -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); +lean_dec_ref(x_192); +lean_dec_ref(x_190); lean_dec(x_189); -lean_dec_ref(x_187); +lean_dec(x_188); +lean_dec(x_187); lean_dec_ref(x_186); -lean_dec_ref(x_185); +lean_dec(x_185); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -27530,13 +27533,13 @@ return x_204; } else { -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); +lean_dec_ref(x_192); +lean_dec_ref(x_190); lean_dec(x_189); -lean_dec_ref(x_187); +lean_dec(x_188); +lean_dec(x_187); lean_dec_ref(x_186); -lean_dec_ref(x_185); +lean_dec(x_185); lean_dec(x_67); x_30 = x_194; goto block_31; @@ -27545,13 +27548,13 @@ goto block_31; else { lean_object* x_205; -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); +lean_dec_ref(x_192); +lean_dec_ref(x_190); lean_dec(x_189); -lean_dec_ref(x_187); +lean_dec(x_188); +lean_dec(x_187); lean_dec_ref(x_186); -lean_dec_ref(x_185); +lean_dec(x_185); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -27566,7 +27569,7 @@ if (lean_is_scalar(x_26)) { x_205 = x_26; lean_ctor_set_tag(x_205, 1); } -lean_ctor_set(x_205, 0, x_188); +lean_ctor_set(x_205, 0, x_191); return x_205; } } @@ -27581,13 +27584,13 @@ lean_inc_ref(x_214); x_217 = l_Lean_Exception_isRuntime(x_214); x_184 = lean_box(0); x_185 = x_207; -x_186 = x_208; +x_186 = x_210; x_187 = x_209; -x_188 = x_214; -x_189 = x_210; +x_188 = x_208; +x_189 = x_212; x_190 = x_211; -x_191 = x_213; -x_192 = x_212; +x_191 = x_214; +x_192 = x_213; x_193 = x_217; goto block_206; } @@ -27595,13 +27598,13 @@ else { x_184 = lean_box(0); x_185 = x_207; -x_186 = x_208; +x_186 = x_210; x_187 = x_209; -x_188 = x_214; -x_189 = x_210; +x_188 = x_208; +x_189 = x_212; x_190 = x_211; -x_191 = x_213; -x_192 = x_212; +x_191 = x_214; +x_192 = x_213; x_193 = x_216; goto block_206; } @@ -27611,13 +27614,13 @@ block_228: if (lean_obj_tag(x_226) == 0) { lean_dec_ref(x_226); -lean_dec(x_225); -lean_dec(x_224); +lean_dec_ref(x_225); +lean_dec_ref(x_224); lean_dec(x_223); lean_dec(x_222); -lean_dec_ref(x_221); +lean_dec(x_221); lean_dec_ref(x_220); -lean_dec_ref(x_219); +lean_dec(x_219); lean_dec(x_67); lean_dec(x_26); x_15 = x_27; @@ -27631,12 +27634,12 @@ x_227 = lean_ctor_get(x_226, 0); lean_inc(x_227); lean_dec_ref(x_226); x_207 = x_219; -x_208 = x_220; +x_208 = x_222; x_209 = x_221; -x_210 = x_222; -x_211 = x_223; -x_212 = x_225; -x_213 = x_224; +x_210 = x_220; +x_211 = x_224; +x_212 = x_223; +x_213 = x_225; x_214 = x_227; x_215 = lean_box(0); goto block_218; @@ -27647,36 +27650,36 @@ block_286: if (x_240 == 0) { lean_object* x_241; -lean_inc_ref(x_233); -x_241 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_67, x_235, x_236, x_233, x_237); +lean_inc_ref(x_235); +x_241 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_67, x_238, x_236, x_235, x_232); if (lean_obj_tag(x_241) == 0) { lean_object* x_242; lean_dec_ref(x_241); -lean_inc(x_237); -lean_inc_ref(x_233); -lean_inc(x_236); +lean_inc(x_232); lean_inc_ref(x_235); +lean_inc(x_236); +lean_inc_ref(x_238); lean_inc(x_67); -x_242 = l_Lean_Elab_checkCodomainsLevel(x_67, x_235, x_236, x_233, x_237); +x_242 = l_Lean_Elab_checkCodomainsLevel(x_67, x_238, x_236, x_235, x_232); if (lean_obj_tag(x_242) == 0) { lean_object* x_243; lean_dec_ref(x_242); -lean_inc_ref(x_233); -x_243 = l_Lean_Elab_checkTerminationByHints(x_67, x_233, x_237); +lean_inc_ref(x_235); +x_243 = l_Lean_Elab_checkTerminationByHints(x_67, x_235, x_232); if (lean_obj_tag(x_243) == 0) { lean_object* x_244; lean_dec_ref(x_243); -lean_inc(x_237); -lean_inc_ref(x_233); -lean_inc(x_236); +lean_inc(x_232); lean_inc_ref(x_235); -lean_inc(x_239); -lean_inc_ref(x_232); +lean_inc(x_236); +lean_inc_ref(x_238); +lean_inc(x_233); +lean_inc_ref(x_239); lean_inc(x_67); -x_244 = l_Lean_Elab_elabTerminationByHints(x_67, x_232, x_239, x_235, x_236, x_233, x_237); +x_244 = l_Lean_Elab_elabTerminationByHints(x_67, x_239, x_233, x_238, x_236, x_235, x_232); if (lean_obj_tag(x_244) == 0) { lean_object* x_245; uint8_t x_246; @@ -27699,30 +27702,30 @@ x_249 = lean_array_get(x_66, x_67, x_65); x_250 = lean_ctor_get(x_249, 0); lean_inc(x_250); lean_dec(x_249); -x_251 = lean_ctor_get(x_233, 0); -x_252 = lean_ctor_get(x_233, 1); -x_253 = lean_ctor_get(x_233, 2); -x_254 = lean_ctor_get(x_233, 3); -x_255 = lean_ctor_get(x_233, 4); -x_256 = lean_ctor_get(x_233, 5); -x_257 = lean_ctor_get(x_233, 6); -x_258 = lean_ctor_get(x_233, 7); -x_259 = lean_ctor_get(x_233, 8); -x_260 = lean_ctor_get(x_233, 9); -x_261 = lean_ctor_get(x_233, 10); -x_262 = lean_ctor_get(x_233, 11); -x_263 = lean_ctor_get_uint8(x_233, sizeof(void*)*14); -x_264 = lean_ctor_get(x_233, 12); -x_265 = lean_ctor_get_uint8(x_233, sizeof(void*)*14 + 1); -x_266 = lean_ctor_get(x_233, 13); +x_251 = lean_ctor_get(x_235, 0); +x_252 = lean_ctor_get(x_235, 1); +x_253 = lean_ctor_get(x_235, 2); +x_254 = lean_ctor_get(x_235, 3); +x_255 = lean_ctor_get(x_235, 4); +x_256 = lean_ctor_get(x_235, 5); +x_257 = lean_ctor_get(x_235, 6); +x_258 = lean_ctor_get(x_235, 7); +x_259 = lean_ctor_get(x_235, 8); +x_260 = lean_ctor_get(x_235, 9); +x_261 = lean_ctor_get(x_235, 10); +x_262 = lean_ctor_get(x_235, 11); +x_263 = lean_ctor_get_uint8(x_235, sizeof(void*)*14); +x_264 = lean_ctor_get(x_235, 12); +x_265 = lean_ctor_get_uint8(x_235, sizeof(void*)*14 + 1); +x_266 = lean_ctor_get(x_235, 13); lean_inc(x_67); lean_inc_ref(x_1); x_267 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__24_spec__27___lam__1___boxed), 10, 5); lean_closure_set(x_267, 0, x_1); lean_closure_set(x_267, 1, x_67); lean_closure_set(x_267, 2, x_245); -lean_closure_set(x_267, 3, x_230); -lean_closure_set(x_267, 4, x_231); +lean_closure_set(x_267, 3, x_231); +lean_closure_set(x_267, 4, x_230); x_268 = l_Lean_replaceRef(x_250, x_256); lean_dec(x_250); lean_inc_ref(x_266); @@ -27755,16 +27758,16 @@ lean_ctor_set(x_269, 12, x_264); lean_ctor_set(x_269, 13, x_266); lean_ctor_set_uint8(x_269, sizeof(void*)*14, x_263); lean_ctor_set_uint8(x_269, sizeof(void*)*14 + 1, x_265); -lean_inc(x_237); +lean_inc(x_232); lean_inc(x_236); -lean_inc_ref(x_235); -x_270 = l_Lean_Meta_mapErrorImp___redArg(x_267, x_229, x_235, x_236, x_269, x_237); +lean_inc_ref(x_238); +x_270 = l_Lean_Meta_mapErrorImp___redArg(x_267, x_229, x_238, x_236, x_269, x_232); if (lean_obj_tag(x_270) == 0) { x_219 = x_232; -x_220 = x_233; -x_221 = x_235; -x_222 = x_236; +x_220 = x_235; +x_221 = x_236; +x_222 = x_233; x_223 = x_237; x_224 = x_238; x_225 = x_239; @@ -27779,11 +27782,11 @@ lean_inc(x_271); lean_dec_ref(x_270); x_207 = x_232; x_208 = x_233; -x_209 = x_235; -x_210 = x_236; -x_211 = x_237; -x_212 = x_239; -x_213 = x_238; +x_209 = x_236; +x_210 = x_235; +x_211 = x_238; +x_212 = x_237; +x_213 = x_239; x_214 = x_271; x_215 = lean_box(0); goto block_218; @@ -27792,22 +27795,22 @@ goto block_218; else { lean_object* x_272; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); -lean_inc(x_237); -lean_inc_ref(x_233); -lean_inc(x_236); +lean_inc(x_232); lean_inc_ref(x_235); -lean_inc(x_239); -lean_inc_ref(x_232); +lean_inc(x_236); +lean_inc_ref(x_238); +lean_inc(x_233); +lean_inc_ref(x_239); lean_inc(x_67); lean_inc_ref(x_1); -x_272 = l_Lean_Elab_wfRecursion(x_1, x_67, x_245, x_232, x_239, x_235, x_236, x_233, x_237); +x_272 = l_Lean_Elab_wfRecursion(x_1, x_67, x_245, x_239, x_233, x_238, x_236, x_235, x_232); x_219 = x_232; -x_220 = x_233; -x_221 = x_235; -x_222 = x_236; +x_220 = x_235; +x_221 = x_236; +x_222 = x_233; x_223 = x_237; x_224 = x_238; x_225 = x_239; @@ -27819,22 +27822,22 @@ else { lean_object* x_273; lean_dec(x_245); -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); -lean_inc(x_237); -lean_inc_ref(x_233); -lean_inc(x_236); +lean_inc(x_232); lean_inc_ref(x_235); -lean_inc(x_239); -lean_inc_ref(x_232); +lean_inc(x_236); +lean_inc_ref(x_238); +lean_inc(x_233); +lean_inc_ref(x_239); lean_inc(x_67); lean_inc_ref(x_1); -x_273 = l_Lean_Elab_partialFixpoint(x_1, x_67, x_232, x_239, x_235, x_236, x_233, x_237); +x_273 = l_Lean_Elab_partialFixpoint(x_1, x_67, x_239, x_233, x_238, x_236, x_235, x_232); x_219 = x_232; -x_220 = x_233; -x_221 = x_235; -x_222 = x_236; +x_220 = x_235; +x_221 = x_236; +x_222 = x_233; x_223 = x_237; x_224 = x_238; x_225 = x_239; @@ -27845,22 +27848,22 @@ goto block_228; else { lean_object* x_274; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); -lean_inc(x_237); -lean_inc_ref(x_233); -lean_inc(x_236); +lean_inc(x_232); lean_inc_ref(x_235); -lean_inc(x_239); -lean_inc_ref(x_232); +lean_inc(x_236); +lean_inc_ref(x_238); +lean_inc(x_233); +lean_inc_ref(x_239); lean_inc(x_67); lean_inc_ref(x_1); -x_274 = l_Lean_Elab_Structural_structuralRecursion(x_1, x_67, x_245, x_232, x_239, x_235, x_236, x_233, x_237); +x_274 = l_Lean_Elab_Structural_structuralRecursion(x_1, x_67, x_245, x_239, x_233, x_238, x_236, x_235, x_232); x_219 = x_232; -x_220 = x_233; -x_221 = x_235; -x_222 = x_236; +x_220 = x_235; +x_221 = x_236; +x_222 = x_233; x_223 = x_237; x_224 = x_238; x_225 = x_239; @@ -27871,19 +27874,19 @@ goto block_228; else { lean_object* x_275; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); x_275 = lean_ctor_get(x_244, 0); lean_inc(x_275); lean_dec_ref(x_244); x_207 = x_232; x_208 = x_233; -x_209 = x_235; -x_210 = x_236; -x_211 = x_237; -x_212 = x_239; -x_213 = x_238; +x_209 = x_236; +x_210 = x_235; +x_211 = x_238; +x_212 = x_237; +x_213 = x_239; x_214 = x_275; x_215 = lean_box(0); goto block_218; @@ -27891,13 +27894,13 @@ goto block_218; } else { -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); x_219 = x_232; -x_220 = x_233; -x_221 = x_235; -x_222 = x_236; +x_220 = x_235; +x_221 = x_236; +x_222 = x_233; x_223 = x_237; x_224 = x_238; x_225 = x_239; @@ -27907,13 +27910,13 @@ goto block_228; } else { -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); x_219 = x_232; -x_220 = x_233; -x_221 = x_235; -x_222 = x_236; +x_220 = x_235; +x_221 = x_236; +x_222 = x_233; x_223 = x_237; x_224 = x_238; x_225 = x_239; @@ -27923,15 +27926,15 @@ goto block_228; } else { -lean_dec(x_239); -lean_dec(x_238); +lean_dec_ref(x_239); +lean_dec_ref(x_238); lean_dec(x_237); lean_dec(x_236); lean_dec_ref(x_235); -lean_dec_ref(x_233); -lean_dec_ref(x_232); -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec(x_233); +lean_dec(x_232); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); lean_dec(x_67); lean_dec(x_26); @@ -27948,37 +27951,37 @@ return x_241; else { size_t x_276; size_t x_277; lean_object* x_278; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); lean_dec(x_26); x_276 = lean_array_size(x_67); x_277 = 0; -lean_inc(x_237); -lean_inc_ref(x_233); -lean_inc(x_236); +lean_inc(x_232); lean_inc_ref(x_235); -lean_inc_ref(x_232); -x_278 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__21(x_3, x_67, x_276, x_277, x_27, x_232, x_239, x_235, x_236, x_233, x_237); +lean_inc(x_236); +lean_inc_ref(x_238); +lean_inc_ref(x_239); +x_278 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__21(x_3, x_67, x_276, x_277, x_27, x_239, x_233, x_238, x_236, x_235, x_232); if (lean_obj_tag(x_278) == 0) { lean_object* x_279; lean_dec_ref(x_278); -lean_inc(x_237); -lean_inc_ref(x_233); +lean_inc(x_232); +lean_inc_ref(x_235); lean_inc(x_67); lean_inc_ref(x_1); -x_279 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_67, x_3, x_232, x_239, x_235, x_236, x_233, x_237); +x_279 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_67, x_3, x_239, x_233, x_238, x_236, x_235, x_232); if (lean_obj_tag(x_279) == 0) { uint8_t x_280; lean_dec_ref(x_279); -x_280 = lean_nat_dec_lt(x_65, x_238); +x_280 = lean_nat_dec_lt(x_65, x_237); if (x_280 == 0) { -lean_dec(x_238); lean_dec(x_237); -lean_dec_ref(x_233); +lean_dec_ref(x_235); +lean_dec(x_232); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -27987,14 +27990,14 @@ goto block_20; else { uint8_t x_281; -x_281 = lean_nat_dec_le(x_238, x_238); +x_281 = lean_nat_dec_le(x_237, x_237); if (x_281 == 0) { if (x_280 == 0) { -lean_dec(x_238); lean_dec(x_237); -lean_dec_ref(x_233); +lean_dec_ref(x_235); +lean_dec(x_232); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -28003,10 +28006,10 @@ goto block_20; else { size_t x_282; lean_object* x_283; -x_282 = lean_usize_of_nat(x_238); -lean_dec(x_238); -x_283 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_282, x_27, x_233, x_237); +x_282 = lean_usize_of_nat(x_237); lean_dec(x_237); +x_283 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_282, x_27, x_235, x_232); +lean_dec(x_232); lean_dec(x_67); x_44 = x_283; goto block_45; @@ -28015,10 +28018,10 @@ goto block_45; else { size_t x_284; lean_object* x_285; -x_284 = lean_usize_of_nat(x_238); -lean_dec(x_238); -x_285 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_284, x_27, x_233, x_237); +x_284 = lean_usize_of_nat(x_237); lean_dec(x_237); +x_285 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_284, x_27, x_235, x_232); +lean_dec(x_232); lean_dec(x_67); x_44 = x_285; goto block_45; @@ -28027,9 +28030,9 @@ goto block_45; } else { -lean_dec(x_238); lean_dec(x_237); -lean_dec_ref(x_233); +lean_dec_ref(x_235); +lean_dec(x_232); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -28043,13 +28046,13 @@ return x_279; } else { -lean_dec(x_239); -lean_dec(x_238); +lean_dec_ref(x_239); +lean_dec_ref(x_238); lean_dec(x_237); lean_dec(x_236); lean_dec_ref(x_235); -lean_dec_ref(x_233); -lean_dec_ref(x_232); +lean_dec(x_233); +lean_dec(x_232); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -28067,19 +28070,19 @@ block_312: if (x_297 == 0) { uint8_t x_298; -x_298 = lean_nat_dec_lt(x_65, x_296); +x_298 = lean_nat_dec_lt(x_65, x_295); if (x_298 == 0) { x_230 = x_287; x_231 = x_288; x_232 = x_289; -x_233 = x_290; +x_233 = x_293; x_234 = lean_box(0); x_235 = x_291; -x_236 = x_293; -x_237 = x_294; -x_238 = x_296; -x_239 = x_295; +x_236 = x_290; +x_237 = x_295; +x_238 = x_294; +x_239 = x_296; x_240 = x_3; goto block_286; } @@ -28090,13 +28093,13 @@ if (x_298 == 0) x_230 = x_287; x_231 = x_288; x_232 = x_289; -x_233 = x_290; +x_233 = x_293; x_234 = lean_box(0); x_235 = x_291; -x_236 = x_293; -x_237 = x_294; -x_238 = x_296; -x_239 = x_295; +x_236 = x_290; +x_237 = x_295; +x_238 = x_294; +x_239 = x_296; x_240 = x_3; goto block_286; } @@ -28104,18 +28107,18 @@ else { size_t x_299; size_t x_300; uint8_t x_301; x_299 = 0; -x_300 = lean_usize_of_nat(x_296); +x_300 = lean_usize_of_nat(x_295); x_301 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__7(x_67, x_299, x_300); x_230 = x_287; x_231 = x_288; x_232 = x_289; -x_233 = x_290; +x_233 = x_293; x_234 = lean_box(0); x_235 = x_291; -x_236 = x_293; -x_237 = x_294; -x_238 = x_296; -x_239 = x_295; +x_236 = x_290; +x_237 = x_295; +x_238 = x_294; +x_239 = x_296; x_240 = x_301; goto block_286; } @@ -28124,26 +28127,26 @@ goto block_286; else { uint8_t x_302; lean_object* x_303; -lean_dec(x_288); -lean_dec_ref(x_287); +lean_dec_ref(x_288); +lean_dec(x_287); lean_dec_ref(x_229); lean_dec(x_26); x_302 = 0; -lean_inc(x_294); -lean_inc_ref(x_290); +lean_inc(x_289); +lean_inc_ref(x_291); lean_inc(x_67); lean_inc_ref(x_1); -x_303 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_67, x_302, x_289, x_295, x_291, x_293, x_290, x_294); +x_303 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_67, x_302, x_296, x_293, x_294, x_290, x_291, x_289); if (lean_obj_tag(x_303) == 0) { uint8_t x_304; lean_dec_ref(x_303); -x_304 = lean_nat_dec_lt(x_65, x_296); +x_304 = lean_nat_dec_lt(x_65, x_295); if (x_304 == 0) { -lean_dec(x_296); -lean_dec(x_294); -lean_dec_ref(x_290); +lean_dec(x_295); +lean_dec_ref(x_291); +lean_dec(x_289); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -28152,14 +28155,14 @@ goto block_20; else { uint8_t x_305; -x_305 = lean_nat_dec_le(x_296, x_296); +x_305 = lean_nat_dec_le(x_295, x_295); if (x_305 == 0) { if (x_304 == 0) { -lean_dec(x_296); -lean_dec(x_294); -lean_dec_ref(x_290); +lean_dec(x_295); +lean_dec_ref(x_291); +lean_dec(x_289); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -28169,10 +28172,10 @@ else { size_t x_306; size_t x_307; lean_object* x_308; x_306 = 0; -x_307 = lean_usize_of_nat(x_296); -lean_dec(x_296); -x_308 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_306, x_307, x_27, x_290, x_294); -lean_dec(x_294); +x_307 = lean_usize_of_nat(x_295); +lean_dec(x_295); +x_308 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_306, x_307, x_27, x_291, x_289); +lean_dec(x_289); lean_dec(x_67); x_28 = x_308; goto block_29; @@ -28182,10 +28185,10 @@ else { size_t x_309; size_t x_310; lean_object* x_311; x_309 = 0; -x_310 = lean_usize_of_nat(x_296); -lean_dec(x_296); -x_311 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_309, x_310, x_27, x_290, x_294); -lean_dec(x_294); +x_310 = lean_usize_of_nat(x_295); +lean_dec(x_295); +x_311 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_309, x_310, x_27, x_291, x_289); +lean_dec(x_289); lean_dec(x_67); x_28 = x_311; goto block_29; @@ -28194,9 +28197,9 @@ goto block_29; } else { -lean_dec(x_296); -lean_dec(x_294); -lean_dec_ref(x_290); +lean_dec(x_295); +lean_dec_ref(x_291); +lean_dec(x_289); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -28217,18 +28220,18 @@ uint8_t x_322; x_322 = lean_nat_dec_lt(x_65, x_320); if (x_322 == 0) { -lean_inc(x_319); -lean_inc_ref(x_313); -x_287 = x_313; +lean_inc_ref(x_319); +lean_inc(x_314); +x_287 = x_314; x_288 = x_319; x_289 = x_313; -x_290 = x_314; +x_290 = x_317; x_291 = x_316; x_292 = lean_box(0); -x_293 = x_317; +x_293 = x_314; x_294 = x_318; -x_295 = x_319; -x_296 = x_320; +x_295 = x_320; +x_296 = x_319; x_297 = x_3; goto block_312; } @@ -28236,18 +28239,18 @@ else { if (x_322 == 0) { -lean_inc(x_319); -lean_inc_ref(x_313); -x_287 = x_313; +lean_inc_ref(x_319); +lean_inc(x_314); +x_287 = x_314; x_288 = x_319; x_289 = x_313; -x_290 = x_314; +x_290 = x_317; x_291 = x_316; x_292 = lean_box(0); -x_293 = x_317; +x_293 = x_314; x_294 = x_318; -x_295 = x_319; -x_296 = x_320; +x_295 = x_320; +x_296 = x_319; x_297 = x_3; goto block_312; } @@ -28257,18 +28260,18 @@ size_t x_323; size_t x_324; uint8_t x_325; x_323 = 0; x_324 = lean_usize_of_nat(x_320); x_325 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__10(x_67, x_323, x_324); -lean_inc(x_319); -lean_inc_ref(x_313); -x_287 = x_313; +lean_inc_ref(x_319); +lean_inc(x_314); +x_287 = x_314; x_288 = x_319; x_289 = x_313; -x_290 = x_314; +x_290 = x_317; x_291 = x_316; x_292 = lean_box(0); -x_293 = x_317; +x_293 = x_314; x_294 = x_318; -x_295 = x_319; -x_296 = x_320; +x_295 = x_320; +x_296 = x_319; x_297 = x_325; goto block_312; } @@ -28282,9 +28285,9 @@ lean_dec_ref(x_229); lean_dec(x_26); x_326 = lean_array_get(x_66, x_67, x_65); lean_dec(x_67); -lean_inc(x_318); -lean_inc_ref(x_314); -x_327 = l_Lean_Elab_eraseRecAppSyntax(x_326, x_314, x_318); +lean_inc(x_313); +lean_inc_ref(x_316); +x_327 = l_Lean_Elab_eraseRecAppSyntax(x_326, x_316, x_313); if (lean_obj_tag(x_327) == 0) { lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; @@ -28296,7 +28299,7 @@ x_330 = lean_ctor_get(x_328, 3); x_331 = lean_ctor_get(x_328, 8); lean_inc_ref(x_331); lean_inc(x_330); -x_332 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_330, x_314, x_318); +x_332 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_330, x_316, x_313); if (lean_obj_tag(x_332) == 0) { uint8_t x_333; @@ -28310,24 +28313,24 @@ lean_inc(x_330); x_335 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_335, 0, x_330); lean_ctor_set(x_335, 1, x_334); -lean_inc(x_318); -lean_inc_ref(x_314); +lean_inc(x_313); +lean_inc_ref(x_316); lean_inc_ref(x_1); -x_336 = l_Lean_Elab_addAndCompileNonRec(x_1, x_328, x_335, x_2, x_313, x_319, x_316, x_317, x_314, x_318); +x_336 = l_Lean_Elab_addAndCompileNonRec(x_1, x_328, x_335, x_2, x_3, x_319, x_314, x_318, x_317, x_316, x_313); if (lean_obj_tag(x_336) == 0) { lean_dec_ref(x_336); x_46 = x_331; -x_47 = x_314; -x_48 = x_318; +x_47 = x_316; +x_48 = x_313; x_49 = lean_box(0); goto block_52; } else { lean_dec_ref(x_331); -lean_dec(x_318); -lean_dec_ref(x_314); +lean_dec_ref(x_316); +lean_dec(x_313); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -28346,24 +28349,24 @@ lean_inc(x_330); x_338 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_338, 0, x_330); lean_ctor_set(x_338, 1, x_337); -lean_inc(x_318); -lean_inc_ref(x_314); +lean_inc(x_313); +lean_inc_ref(x_316); lean_inc_ref(x_1); -x_339 = l_Lean_Elab_addNonRec(x_1, x_328, x_2, x_338, x_2, x_2, x_313, x_319, x_316, x_317, x_314, x_318); +x_339 = l_Lean_Elab_addNonRec(x_1, x_328, x_2, x_338, x_2, x_2, x_3, x_319, x_314, x_318, x_317, x_316, x_313); if (lean_obj_tag(x_339) == 0) { lean_dec_ref(x_339); x_46 = x_331; -x_47 = x_314; -x_48 = x_318; +x_47 = x_316; +x_48 = x_313; x_49 = lean_box(0); goto block_52; } else { lean_dec_ref(x_331); -lean_dec(x_318); -lean_dec_ref(x_314); +lean_dec_ref(x_316); +lean_dec(x_313); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -28379,12 +28382,12 @@ else { lean_dec_ref(x_331); lean_dec(x_328); -lean_dec(x_319); -lean_dec(x_318); +lean_dec_ref(x_319); +lean_dec_ref(x_318); lean_dec(x_317); lean_dec_ref(x_316); -lean_dec_ref(x_314); -lean_dec_ref(x_313); +lean_dec(x_314); +lean_dec(x_313); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -28398,12 +28401,12 @@ return x_332; else { uint8_t x_340; -lean_dec(x_319); -lean_dec(x_318); +lean_dec_ref(x_319); +lean_dec_ref(x_318); lean_dec(x_317); lean_dec_ref(x_316); -lean_dec_ref(x_314); -lean_dec_ref(x_313); +lean_dec(x_314); +lean_dec(x_313); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -28437,13 +28440,13 @@ x_352 = lean_unsigned_to_nat(1u); x_353 = lean_nat_dec_eq(x_351, x_352); if (x_353 == 0) { -x_313 = x_344; -x_314 = x_348; +x_313 = x_349; +x_314 = x_345; x_315 = lean_box(0); -x_316 = x_346; +x_316 = x_348; x_317 = x_347; -x_318 = x_349; -x_319 = x_345; +x_318 = x_346; +x_319 = x_344; x_320 = x_351; x_321 = x_353; goto block_343; @@ -28453,13 +28456,13 @@ else lean_object* x_354; uint8_t x_355; x_354 = lean_array_get(x_66, x_67, x_65); x_355 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_354); -x_313 = x_344; -x_314 = x_348; +x_313 = x_349; +x_314 = x_345; x_315 = lean_box(0); -x_316 = x_346; +x_316 = x_348; x_317 = x_347; -x_318 = x_349; -x_319 = x_345; +x_318 = x_346; +x_319 = x_344; x_320 = x_351; x_321 = x_355; goto block_343; @@ -28630,20 +28633,20 @@ uint8_t x_57; lean_inc(x_55); x_57 = l_Lean_Exception_isRuntime(x_55); x_16 = x_55; -x_17 = x_53; -x_18 = lean_box(0); -x_19 = x_54; -x_20 = x_52; +x_17 = x_52; +x_18 = x_54; +x_19 = lean_box(0); +x_20 = x_53; x_21 = x_57; goto block_37; } else { x_16 = x_55; -x_17 = x_53; -x_18 = lean_box(0); -x_19 = x_54; -x_20 = x_52; +x_17 = x_52; +x_18 = x_54; +x_19 = lean_box(0); +x_20 = x_53; x_21 = x_56; goto block_37; } @@ -28713,20 +28716,20 @@ uint8_t x_69; lean_inc(x_67); x_69 = l_Lean_Exception_isRuntime(x_67); x_16 = x_67; -x_17 = x_65; -x_18 = lean_box(0); -x_19 = x_66; -x_20 = x_64; +x_17 = x_64; +x_18 = x_66; +x_19 = lean_box(0); +x_20 = x_65; x_21 = x_69; goto block_37; } else { x_16 = x_67; -x_17 = x_65; -x_18 = lean_box(0); -x_19 = x_66; -x_20 = x_64; +x_17 = x_64; +x_18 = x_66; +x_19 = lean_box(0); +x_20 = x_65; x_21 = x_68; goto block_37; } @@ -28812,20 +28815,20 @@ uint8_t x_83; lean_inc(x_81); x_83 = l_Lean_Exception_isRuntime(x_81); x_16 = x_81; -x_17 = x_79; -x_18 = lean_box(0); -x_19 = x_80; -x_20 = x_78; +x_17 = x_78; +x_18 = x_80; +x_19 = lean_box(0); +x_20 = x_79; x_21 = x_83; goto block_37; } else { x_16 = x_81; -x_17 = x_79; -x_18 = lean_box(0); -x_19 = x_80; -x_20 = x_78; +x_17 = x_78; +x_18 = x_80; +x_19 = lean_box(0); +x_20 = x_79; x_21 = x_82; goto block_37; } @@ -28917,7 +28920,7 @@ if (x_21 == 0) if (lean_obj_tag(x_16) == 0) { uint8_t x_22; -lean_dec_ref(x_19); +lean_dec_ref(x_18); x_22 = !lean_is_exclusive(x_16); if (x_22 == 0) { @@ -28927,7 +28930,7 @@ x_24 = lean_ctor_get(x_16, 0); lean_dec(x_24); x_25 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 0, x_20); lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_27, 0, x_26); @@ -28936,7 +28939,7 @@ x_28 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_23); lean_ctor_set(x_16, 1, x_28); -lean_ctor_set(x_16, 0, x_20); +lean_ctor_set(x_16, 0, x_17); x_29 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_29, 0, x_16); return x_29; @@ -28949,7 +28952,7 @@ lean_inc(x_30); lean_dec(x_16); x_31 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__2___closed__0; x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_17); +lean_ctor_set(x_32, 0, x_20); lean_ctor_set(x_32, 1, x_31); x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_32); @@ -28958,7 +28961,7 @@ x_34 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_30); x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_20); +lean_ctor_set(x_35, 0, x_17); lean_ctor_set(x_35, 1, x_34); x_36 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_36, 0, x_35); @@ -28967,19 +28970,19 @@ return x_36; } else { -lean_dec(x_20); -lean_dec_ref(x_17); +lean_dec_ref(x_20); +lean_dec(x_17); lean_dec_ref(x_16); -x_11 = x_19; +x_11 = x_18; goto block_15; } } else { -lean_dec(x_20); -lean_dec_ref(x_17); +lean_dec_ref(x_20); +lean_dec(x_17); lean_dec_ref(x_16); -x_11 = x_19; +x_11 = x_18; goto block_15; } } @@ -29019,7 +29022,7 @@ x_23 = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsaf x_24 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial_spec__2___redArg(x_23, x_12); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_30; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_44; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_357; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_30; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_44; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_357; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); if (lean_is_exclusive(x_24)) { @@ -29147,26 +29150,26 @@ block_43: if (x_41 == 0) { lean_object* x_42; -lean_dec_ref(x_34); -x_42 = l_Lean_Elab_Term_SavedState_restore(x_37, x_41, x_36, x_39, x_38, x_33, x_32, x_35); -lean_dec(x_35); lean_dec_ref(x_32); -lean_dec(x_33); -lean_dec_ref(x_38); +x_42 = l_Lean_Elab_Term_SavedState_restore(x_40, x_41, x_35, x_34, x_33, x_38, x_37, x_39); lean_dec(x_39); -lean_dec_ref(x_36); +lean_dec_ref(x_37); +lean_dec(x_38); +lean_dec_ref(x_33); +lean_dec(x_34); +lean_dec_ref(x_35); x_30 = x_42; goto block_31; } else { +lean_dec_ref(x_40); lean_dec(x_39); -lean_dec_ref(x_38); +lean_dec(x_38); lean_dec_ref(x_37); -lean_dec_ref(x_36); -lean_dec(x_35); -lean_dec(x_33); -lean_dec_ref(x_32); +lean_dec_ref(x_35); +lean_dec(x_34); +lean_dec_ref(x_33); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -29174,7 +29177,7 @@ lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec_ref(x_2); -return x_34; +return x_32; } } block_45: @@ -29230,11 +29233,11 @@ if (lean_obj_tag(x_60) == 0) lean_dec_ref(x_60); lean_dec(x_59); lean_dec_ref(x_58); -lean_dec_ref(x_57); +lean_dec(x_57); lean_dec_ref(x_56); lean_dec(x_55); lean_dec_ref(x_54); -lean_dec(x_53); +lean_dec_ref(x_53); x_15 = x_27; x_16 = lean_box(0); goto block_20; @@ -29249,29 +29252,29 @@ if (x_62 == 0) uint8_t x_63; lean_inc(x_61); x_63 = l_Lean_Exception_isRuntime(x_61); -x_32 = x_54; +x_32 = x_60; x_33 = x_53; -x_34 = x_60; -x_35 = x_55; -x_36 = x_56; -x_37 = x_57; -x_38 = x_58; +x_34 = x_55; +x_35 = x_54; +x_36 = lean_box(0); +x_37 = x_56; +x_38 = x_57; x_39 = x_59; -x_40 = lean_box(0); +x_40 = x_58; x_41 = x_63; goto block_43; } else { -x_32 = x_54; +x_32 = x_60; x_33 = x_53; -x_34 = x_60; -x_35 = x_55; -x_36 = x_56; -x_37 = x_57; -x_38 = x_58; +x_34 = x_55; +x_35 = x_54; +x_36 = lean_box(0); +x_37 = x_56; +x_38 = x_57; x_39 = x_59; -x_40 = lean_box(0); +x_40 = x_58; x_41 = x_62; goto block_43; } @@ -29282,59 +29285,59 @@ block_82: if (x_79 == 0) { lean_object* x_80; -lean_dec_ref(x_74); -lean_inc_ref(x_73); -x_80 = l_Lean_Elab_Term_SavedState_restore(x_73, x_79, x_71, x_77, x_76, x_69, x_78, x_72); +lean_dec_ref(x_78); +lean_inc_ref(x_76); +x_80 = l_Lean_Elab_Term_SavedState_restore(x_76, x_79, x_70, x_69, x_68, x_74, x_77, x_73); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_dec_ref(x_80); +lean_inc(x_74); +lean_inc_ref(x_68); lean_inc(x_69); -lean_inc_ref(x_76); -lean_inc(x_77); -lean_inc_ref(x_71); +lean_inc_ref(x_70); lean_inc_ref(x_2); -x_81 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_67, x_71, x_77, x_76, x_69, x_78, x_72); +x_81 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_67, x_70, x_69, x_68, x_74, x_77, x_73); lean_dec(x_67); -x_53 = x_69; -x_54 = x_68; -x_55 = x_70; -x_56 = x_71; -x_57 = x_73; +x_53 = x_68; +x_54 = x_70; +x_55 = x_69; +x_56 = x_72; +x_57 = x_74; x_58 = x_76; -x_59 = x_77; +x_59 = x_75; x_60 = x_81; goto block_64; } else { -lean_dec_ref(x_78); -lean_dec(x_72); +lean_dec_ref(x_77); +lean_dec(x_73); lean_dec(x_67); -x_53 = x_69; -x_54 = x_68; -x_55 = x_70; -x_56 = x_71; -x_57 = x_73; +x_53 = x_68; +x_54 = x_70; +x_55 = x_69; +x_56 = x_72; +x_57 = x_74; x_58 = x_76; -x_59 = x_77; +x_59 = x_75; x_60 = x_80; goto block_64; } } else { -lean_dec_ref(x_78); -lean_dec(x_72); +lean_dec_ref(x_77); +lean_dec(x_73); lean_dec(x_67); -x_53 = x_69; -x_54 = x_68; -x_55 = x_70; -x_56 = x_71; -x_57 = x_73; +x_53 = x_68; +x_54 = x_70; +x_55 = x_69; +x_56 = x_72; +x_57 = x_74; x_58 = x_76; -x_59 = x_77; -x_60 = x_74; +x_59 = x_75; +x_60 = x_78; goto block_64; } } @@ -29350,31 +29353,31 @@ lean_dec(x_96); x_97 = lean_ctor_get(x_92, 2); lean_dec(x_97); x_98 = l_Lean_maxRecDepth; -x_99 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_88, x_98); +x_99 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_91, x_98); lean_ctor_set(x_92, 4, x_99); -lean_ctor_set(x_92, 2, x_88); -lean_ctor_set_uint8(x_92, sizeof(void*)*14, x_85); +lean_ctor_set(x_92, 2, x_91); +lean_ctor_set_uint8(x_92, sizeof(void*)*14, x_90); lean_inc(x_93); lean_inc_ref(x_92); +lean_inc(x_87); +lean_inc_ref(x_83); lean_inc(x_84); -lean_inc_ref(x_90); -lean_inc(x_91); -lean_inc_ref(x_87); +lean_inc_ref(x_85); lean_inc(x_67); lean_inc_ref(x_2); -x_100 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_67, x_1, x_87, x_91, x_90, x_84, x_92, x_93); +x_100 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_67, x_1, x_85, x_84, x_83, x_87, x_92, x_93); if (lean_obj_tag(x_100) == 0) { lean_dec_ref(x_92); lean_dec(x_93); lean_dec(x_67); -x_53 = x_84; -x_54 = x_83; -x_55 = x_86; -x_56 = x_87; -x_57 = x_89; -x_58 = x_90; -x_59 = x_91; +x_53 = x_83; +x_54 = x_85; +x_55 = x_84; +x_56 = x_86; +x_57 = x_87; +x_58 = x_89; +x_59 = x_88; x_60 = x_100; goto block_64; } @@ -29390,15 +29393,15 @@ uint8_t x_103; x_103 = l_Lean_Exception_isRuntime(x_101); x_68 = x_83; x_69 = x_84; -x_70 = x_86; -x_71 = x_87; -x_72 = x_93; -x_73 = x_89; -x_74 = x_100; -x_75 = lean_box(0); -x_76 = x_90; -x_77 = x_91; -x_78 = x_92; +x_70 = x_85; +x_71 = lean_box(0); +x_72 = x_86; +x_73 = x_93; +x_74 = x_87; +x_75 = x_88; +x_76 = x_89; +x_77 = x_92; +x_78 = x_100; x_79 = x_103; goto block_82; } @@ -29407,15 +29410,15 @@ else lean_dec(x_101); x_68 = x_83; x_69 = x_84; -x_70 = x_86; -x_71 = x_87; -x_72 = x_93; -x_73 = x_89; -x_74 = x_100; -x_75 = lean_box(0); -x_76 = x_90; -x_77 = x_91; -x_78 = x_92; +x_70 = x_85; +x_71 = lean_box(0); +x_72 = x_86; +x_73 = x_93; +x_74 = x_87; +x_75 = x_88; +x_76 = x_89; +x_77 = x_92; +x_78 = x_100; x_79 = x_102; goto block_82; } @@ -29451,11 +29454,11 @@ lean_inc(x_105); lean_inc(x_104); lean_dec(x_92); x_117 = l_Lean_maxRecDepth; -x_118 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_88, x_117); +x_118 = l_Lean_Option_get___at___00Lean_Elab_addPreDefinitions_spec__3(x_91, x_117); x_119 = lean_alloc_ctor(0, 14, 2); lean_ctor_set(x_119, 0, x_104); lean_ctor_set(x_119, 1, x_105); -lean_ctor_set(x_119, 2, x_88); +lean_ctor_set(x_119, 2, x_91); lean_ctor_set(x_119, 3, x_106); lean_ctor_set(x_119, 4, x_118); lean_ctor_set(x_119, 5, x_107); @@ -29467,29 +29470,29 @@ lean_ctor_set(x_119, 10, x_112); lean_ctor_set(x_119, 11, x_113); lean_ctor_set(x_119, 12, x_114); lean_ctor_set(x_119, 13, x_116); -lean_ctor_set_uint8(x_119, sizeof(void*)*14, x_85); +lean_ctor_set_uint8(x_119, sizeof(void*)*14, x_90); lean_ctor_set_uint8(x_119, sizeof(void*)*14 + 1, x_115); lean_inc(x_93); lean_inc_ref(x_119); +lean_inc(x_87); +lean_inc_ref(x_83); lean_inc(x_84); -lean_inc_ref(x_90); -lean_inc(x_91); -lean_inc_ref(x_87); +lean_inc_ref(x_85); lean_inc(x_67); lean_inc_ref(x_2); -x_120 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_67, x_1, x_87, x_91, x_90, x_84, x_119, x_93); +x_120 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_67, x_1, x_85, x_84, x_83, x_87, x_119, x_93); if (lean_obj_tag(x_120) == 0) { lean_dec_ref(x_119); lean_dec(x_93); lean_dec(x_67); -x_53 = x_84; -x_54 = x_83; -x_55 = x_86; -x_56 = x_87; -x_57 = x_89; -x_58 = x_90; -x_59 = x_91; +x_53 = x_83; +x_54 = x_85; +x_55 = x_84; +x_56 = x_86; +x_57 = x_87; +x_58 = x_89; +x_59 = x_88; x_60 = x_120; goto block_64; } @@ -29505,15 +29508,15 @@ uint8_t x_123; x_123 = l_Lean_Exception_isRuntime(x_121); x_68 = x_83; x_69 = x_84; -x_70 = x_86; -x_71 = x_87; -x_72 = x_93; -x_73 = x_89; -x_74 = x_120; -x_75 = lean_box(0); -x_76 = x_90; -x_77 = x_91; -x_78 = x_119; +x_70 = x_85; +x_71 = lean_box(0); +x_72 = x_86; +x_73 = x_93; +x_74 = x_87; +x_75 = x_88; +x_76 = x_89; +x_77 = x_119; +x_78 = x_120; x_79 = x_123; goto block_82; } @@ -29522,15 +29525,15 @@ else lean_dec(x_121); x_68 = x_83; x_69 = x_84; -x_70 = x_86; -x_71 = x_87; -x_72 = x_93; -x_73 = x_89; -x_74 = x_120; -x_75 = lean_box(0); -x_76 = x_90; -x_77 = x_91; -x_78 = x_119; +x_70 = x_85; +x_71 = lean_box(0); +x_72 = x_86; +x_73 = x_93; +x_74 = x_87; +x_75 = x_88; +x_76 = x_89; +x_77 = x_119; +x_78 = x_120; x_79 = x_122; goto block_82; } @@ -29542,7 +29545,7 @@ block_155: if (x_135 == 0) { lean_object* x_136; uint8_t x_137; -x_136 = lean_st_ref_take(x_129); +x_136 = lean_st_ref_take(x_132); x_137 = !lean_is_exclusive(x_136); if (x_137 == 0) { @@ -29550,24 +29553,24 @@ lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; x_138 = lean_ctor_get(x_136, 0); x_139 = lean_ctor_get(x_136, 5); lean_dec(x_139); -x_140 = l_Lean_Kernel_enableDiag(x_138, x_127); +x_140 = l_Lean_Kernel_enableDiag(x_138, x_131); x_141 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; lean_ctor_set(x_136, 5, x_141); lean_ctor_set(x_136, 0, x_140); -x_142 = lean_st_ref_set(x_129, x_136); -lean_inc(x_129); -lean_inc_ref(x_126); -x_83 = x_126; -x_84 = x_125; -x_85 = x_127; -x_86 = x_129; -x_87 = x_130; -x_88 = x_131; -x_89 = x_132; -x_90 = x_133; -x_91 = x_134; -x_92 = x_126; -x_93 = x_129; +x_142 = lean_st_ref_set(x_132, x_136); +lean_inc(x_132); +lean_inc_ref(x_128); +x_83 = x_125; +x_84 = x_127; +x_85 = x_126; +x_86 = x_128; +x_87 = x_129; +x_88 = x_132; +x_89 = x_130; +x_90 = x_131; +x_91 = x_133; +x_92 = x_128; +x_93 = x_132; x_94 = lean_box(0); goto block_124; } @@ -29591,7 +29594,7 @@ lean_inc(x_145); lean_inc(x_144); lean_inc(x_143); lean_dec(x_136); -x_151 = l_Lean_Kernel_enableDiag(x_143, x_127); +x_151 = l_Lean_Kernel_enableDiag(x_143, x_131); x_152 = l_Lean_setEnv___at___00Lean_Elab_addPreDefinitions_spec__6___redArg___closed__2; x_153 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_153, 0, x_151); @@ -29603,39 +29606,39 @@ lean_ctor_set(x_153, 5, x_152); lean_ctor_set(x_153, 6, x_148); lean_ctor_set(x_153, 7, x_149); lean_ctor_set(x_153, 8, x_150); -x_154 = lean_st_ref_set(x_129, x_153); -lean_inc(x_129); -lean_inc_ref(x_126); -x_83 = x_126; -x_84 = x_125; -x_85 = x_127; -x_86 = x_129; -x_87 = x_130; -x_88 = x_131; -x_89 = x_132; -x_90 = x_133; -x_91 = x_134; -x_92 = x_126; -x_93 = x_129; +x_154 = lean_st_ref_set(x_132, x_153); +lean_inc(x_132); +lean_inc_ref(x_128); +x_83 = x_125; +x_84 = x_127; +x_85 = x_126; +x_86 = x_128; +x_87 = x_129; +x_88 = x_132; +x_89 = x_130; +x_90 = x_131; +x_91 = x_133; +x_92 = x_128; +x_93 = x_132; x_94 = lean_box(0); goto block_124; } } else { -lean_inc(x_129); -lean_inc_ref(x_126); -x_83 = x_126; -x_84 = x_125; -x_85 = x_127; -x_86 = x_129; -x_87 = x_130; -x_88 = x_131; -x_89 = x_132; -x_90 = x_133; -x_91 = x_134; -x_92 = x_126; -x_93 = x_129; +lean_inc(x_132); +lean_inc_ref(x_128); +x_83 = x_125; +x_84 = x_127; +x_85 = x_126; +x_86 = x_128; +x_87 = x_129; +x_88 = x_132; +x_89 = x_130; +x_90 = x_131; +x_91 = x_133; +x_92 = x_128; +x_93 = x_132; x_94 = lean_box(0); goto block_124; } @@ -29643,14 +29646,14 @@ goto block_124; block_173: { lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; uint8_t x_172; -x_165 = lean_st_ref_get(x_158); -x_166 = lean_ctor_get(x_157, 2); +x_165 = lean_st_ref_get(x_163); +x_166 = lean_ctor_get(x_159, 2); x_167 = lean_ctor_get(x_165, 0); lean_inc_ref(x_167); lean_dec(x_165); x_168 = l_Lean_Elab_async; lean_inc_ref(x_166); -x_169 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_166, x_168, x_162); +x_169 = l_Lean_Option_set___at___00Lean_Elab_addPreDefinitions_spec__2(x_166, x_168, x_161); x_170 = l_Lean_diagnostics; x_171 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_visitLevel_spec__0_spec__0_spec__1(x_169, x_170); x_172 = l_Lean_Kernel_isDiagnosticsEnabled(x_167); @@ -29661,14 +29664,14 @@ if (x_171 == 0) { x_125 = x_156; x_126 = x_157; -x_127 = x_171; -x_128 = lean_box(0); -x_129 = x_158; -x_130 = x_159; -x_131 = x_169; -x_132 = x_161; -x_133 = x_163; -x_134 = x_164; +x_127 = x_158; +x_128 = x_159; +x_129 = x_160; +x_130 = x_162; +x_131 = x_171; +x_132 = x_163; +x_133 = x_169; +x_134 = lean_box(0); x_135 = x_21; goto block_155; } @@ -29676,14 +29679,14 @@ else { x_125 = x_156; x_126 = x_157; -x_127 = x_171; -x_128 = lean_box(0); -x_129 = x_158; -x_130 = x_159; -x_131 = x_169; -x_132 = x_161; -x_133 = x_163; -x_134 = x_164; +x_127 = x_158; +x_128 = x_159; +x_129 = x_160; +x_130 = x_162; +x_131 = x_171; +x_132 = x_163; +x_133 = x_169; +x_134 = lean_box(0); x_135 = x_172; goto block_155; } @@ -29692,14 +29695,14 @@ else { x_125 = x_156; x_126 = x_157; -x_127 = x_171; -x_128 = lean_box(0); -x_129 = x_158; -x_130 = x_159; -x_131 = x_169; -x_132 = x_161; -x_133 = x_163; -x_134 = x_164; +x_127 = x_158; +x_128 = x_159; +x_129 = x_160; +x_130 = x_162; +x_131 = x_171; +x_132 = x_163; +x_133 = x_169; +x_134 = lean_box(0); x_135 = x_171; goto block_155; } @@ -29707,22 +29710,22 @@ goto block_155; block_183: { lean_object* x_182; -lean_inc(x_176); +lean_inc(x_180); +lean_inc_ref(x_177); +lean_inc(x_178); lean_inc_ref(x_174); lean_inc(x_175); -lean_inc_ref(x_180); -lean_inc(x_181); -lean_inc_ref(x_177); +lean_inc_ref(x_176); lean_inc_ref(x_2); -x_182 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_67, x_177, x_181, x_180, x_175, x_174, x_176); +x_182 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addSorried(x_2, x_67, x_176, x_175, x_174, x_178, x_177, x_180); lean_dec(x_67); -x_53 = x_175; -x_54 = x_174; -x_55 = x_176; +x_53 = x_174; +x_54 = x_176; +x_55 = x_175; x_56 = x_177; -x_57 = x_179; -x_58 = x_180; -x_59 = x_181; +x_57 = x_178; +x_58 = x_179; +x_59 = x_180; x_60 = x_182; goto block_64; } @@ -29732,67 +29735,67 @@ if (x_193 == 0) { lean_object* x_194; lean_dec(x_26); -lean_inc_ref(x_184); -x_194 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_186, x_188, x_192, x_191, x_185, x_184, x_187); +lean_inc_ref(x_189); +x_194 = l_Lean_Elab_logException___at___00__private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedLevelMVarsAtPreDef_spec__2(x_192, x_186, x_185, x_184, x_190, x_189, x_191); if (lean_obj_tag(x_194) == 0) { lean_object* x_195; lean_dec_ref(x_194); -x_195 = l_Lean_Elab_Term_saveState___redArg(x_192, x_185, x_187); +x_195 = l_Lean_Elab_Term_saveState___redArg(x_185, x_190, x_191); if (lean_obj_tag(x_195) == 0) { lean_object* x_196; uint8_t x_197; x_196 = lean_ctor_get(x_195, 0); lean_inc(x_196); lean_dec_ref(x_195); -x_197 = lean_nat_dec_lt(x_65, x_190); +x_197 = lean_nat_dec_lt(x_65, x_187); if (x_197 == 0) { -lean_dec(x_190); -x_156 = x_185; -x_157 = x_184; -x_158 = x_187; -x_159 = x_188; -x_160 = lean_box(0); -x_161 = x_196; -x_162 = x_193; +lean_dec(x_187); +x_156 = x_184; +x_157 = x_186; +x_158 = x_185; +x_159 = x_189; +x_160 = x_190; +x_161 = x_193; +x_162 = x_196; x_163 = x_191; -x_164 = x_192; +x_164 = lean_box(0); goto block_173; } else { if (x_197 == 0) { -lean_dec(x_190); -x_156 = x_185; -x_157 = x_184; -x_158 = x_187; -x_159 = x_188; -x_160 = lean_box(0); -x_161 = x_196; -x_162 = x_193; +lean_dec(x_187); +x_156 = x_184; +x_157 = x_186; +x_158 = x_185; +x_159 = x_189; +x_160 = x_190; +x_161 = x_193; +x_162 = x_196; x_163 = x_191; -x_164 = x_192; +x_164 = lean_box(0); goto block_173; } else { size_t x_198; size_t x_199; uint8_t x_200; x_198 = 0; -x_199 = lean_usize_of_nat(x_190); -x_200 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__19(x_193, x_1, x_67, x_190, x_67, x_198, x_199); +x_199 = lean_usize_of_nat(x_187); +x_200 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__19(x_193, x_1, x_67, x_187, x_67, x_198, x_199); if (x_200 == 0) { -x_156 = x_185; -x_157 = x_184; -x_158 = x_187; -x_159 = x_188; -x_160 = lean_box(0); -x_161 = x_196; -x_162 = x_193; +x_156 = x_184; +x_157 = x_186; +x_158 = x_185; +x_159 = x_189; +x_160 = x_190; +x_161 = x_193; +x_162 = x_196; x_163 = x_191; -x_164 = x_192; +x_164 = lean_box(0); goto block_173; } else @@ -29801,12 +29804,12 @@ if (x_197 == 0) { x_174 = x_184; x_175 = x_185; -x_176 = x_187; -x_177 = x_188; -x_178 = lean_box(0); +x_176 = x_186; +x_177 = x_189; +x_178 = x_190; x_179 = x_196; x_180 = x_191; -x_181 = x_192; +x_181 = lean_box(0); goto block_183; } else @@ -29815,12 +29818,12 @@ if (x_197 == 0) { x_174 = x_184; x_175 = x_185; -x_176 = x_187; -x_177 = x_188; -x_178 = lean_box(0); +x_176 = x_186; +x_177 = x_189; +x_178 = x_190; x_179 = x_196; x_180 = x_191; -x_181 = x_192; +x_181 = lean_box(0); goto block_183; } else @@ -29831,21 +29834,21 @@ if (x_201 == 0) { x_174 = x_184; x_175 = x_185; -x_176 = x_187; -x_177 = x_188; -x_178 = lean_box(0); +x_176 = x_186; +x_177 = x_189; +x_178 = x_190; x_179 = x_196; x_180 = x_191; -x_181 = x_192; +x_181 = lean_box(0); goto block_183; } else { lean_dec(x_196); -lean_dec(x_192); -lean_dec_ref(x_191); -lean_dec_ref(x_188); -lean_dec(x_187); +lean_dec(x_191); +lean_dec(x_190); +lean_dec_ref(x_189); +lean_dec_ref(x_186); lean_dec(x_185); lean_dec_ref(x_184); lean_dec(x_67); @@ -29862,11 +29865,11 @@ goto block_20; else { uint8_t x_202; -lean_dec(x_192); -lean_dec_ref(x_191); +lean_dec(x_191); lean_dec(x_190); -lean_dec_ref(x_188); +lean_dec_ref(x_189); lean_dec(x_187); +lean_dec_ref(x_186); lean_dec(x_185); lean_dec_ref(x_184); lean_dec(x_67); @@ -29896,11 +29899,11 @@ return x_204; } else { -lean_dec(x_192); -lean_dec_ref(x_191); +lean_dec(x_191); lean_dec(x_190); -lean_dec_ref(x_188); +lean_dec_ref(x_189); lean_dec(x_187); +lean_dec_ref(x_186); lean_dec(x_185); lean_dec_ref(x_184); lean_dec(x_67); @@ -29911,11 +29914,11 @@ goto block_31; else { lean_object* x_205; -lean_dec(x_192); -lean_dec_ref(x_191); +lean_dec(x_191); lean_dec(x_190); -lean_dec_ref(x_188); +lean_dec_ref(x_189); lean_dec(x_187); +lean_dec_ref(x_186); lean_dec(x_185); lean_dec_ref(x_184); lean_dec(x_67); @@ -29932,7 +29935,7 @@ if (lean_is_scalar(x_26)) { x_205 = x_26; lean_ctor_set_tag(x_205, 1); } -lean_ctor_set(x_205, 0, x_186); +lean_ctor_set(x_205, 0, x_192); return x_205; } } @@ -29945,29 +29948,29 @@ if (x_216 == 0) uint8_t x_217; lean_inc_ref(x_214); x_217 = l_Lean_Exception_isRuntime(x_214); -x_184 = x_208; -x_185 = x_207; -x_186 = x_214; -x_187 = x_209; -x_188 = x_210; -x_189 = lean_box(0); -x_190 = x_211; -x_191 = x_212; -x_192 = x_213; +x_184 = x_207; +x_185 = x_209; +x_186 = x_208; +x_187 = x_210; +x_188 = lean_box(0); +x_189 = x_211; +x_190 = x_212; +x_191 = x_213; +x_192 = x_214; x_193 = x_217; goto block_206; } else { -x_184 = x_208; -x_185 = x_207; -x_186 = x_214; -x_187 = x_209; -x_188 = x_210; -x_189 = lean_box(0); -x_190 = x_211; -x_191 = x_212; -x_192 = x_213; +x_184 = x_207; +x_185 = x_209; +x_186 = x_208; +x_187 = x_210; +x_188 = lean_box(0); +x_189 = x_211; +x_190 = x_212; +x_191 = x_213; +x_192 = x_214; x_193 = x_216; goto block_206; } @@ -29978,10 +29981,10 @@ if (lean_obj_tag(x_226) == 0) { lean_dec_ref(x_226); lean_dec(x_225); -lean_dec_ref(x_224); -lean_dec(x_223); -lean_dec_ref(x_222); -lean_dec(x_221); +lean_dec(x_224); +lean_dec_ref(x_223); +lean_dec(x_222); +lean_dec_ref(x_221); lean_dec(x_220); lean_dec_ref(x_219); lean_dec(x_67); @@ -29996,9 +29999,9 @@ lean_object* x_227; x_227 = lean_ctor_get(x_226, 0); lean_inc(x_227); lean_dec_ref(x_226); -x_207 = x_220; -x_208 = x_219; -x_209 = x_221; +x_207 = x_219; +x_208 = x_221; +x_209 = x_220; x_210 = x_222; x_211 = x_223; x_212 = x_224; @@ -30013,36 +30016,36 @@ block_286: if (x_240 == 0) { lean_object* x_241; -lean_inc_ref(x_232); -x_241 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_67, x_238, x_233, x_232, x_234); +lean_inc_ref(x_237); +x_241 = l_Lean_Elab_ensureFunIndReservedNamesAvailable(x_67, x_232, x_238, x_237, x_239); if (lean_obj_tag(x_241) == 0) { lean_object* x_242; lean_dec_ref(x_241); -lean_inc(x_234); +lean_inc(x_239); +lean_inc_ref(x_237); +lean_inc(x_238); lean_inc_ref(x_232); -lean_inc(x_233); -lean_inc_ref(x_238); lean_inc(x_67); -x_242 = l_Lean_Elab_checkCodomainsLevel(x_67, x_238, x_233, x_232, x_234); +x_242 = l_Lean_Elab_checkCodomainsLevel(x_67, x_232, x_238, x_237, x_239); if (lean_obj_tag(x_242) == 0) { lean_object* x_243; lean_dec_ref(x_242); -lean_inc_ref(x_232); -x_243 = l_Lean_Elab_checkTerminationByHints(x_67, x_232, x_234); +lean_inc_ref(x_237); +x_243 = l_Lean_Elab_checkTerminationByHints(x_67, x_237, x_239); if (lean_obj_tag(x_243) == 0) { lean_object* x_244; lean_dec_ref(x_243); -lean_inc(x_234); +lean_inc(x_239); +lean_inc_ref(x_237); +lean_inc(x_238); lean_inc_ref(x_232); lean_inc(x_233); -lean_inc_ref(x_238); -lean_inc(x_239); -lean_inc_ref(x_235); +lean_inc_ref(x_234); lean_inc(x_67); -x_244 = l_Lean_Elab_elabTerminationByHints(x_67, x_235, x_239, x_238, x_233, x_232, x_234); +x_244 = l_Lean_Elab_elabTerminationByHints(x_67, x_234, x_233, x_232, x_238, x_237, x_239); if (lean_obj_tag(x_244) == 0) { lean_object* x_245; uint8_t x_246; @@ -30065,30 +30068,30 @@ x_249 = lean_array_get(x_66, x_67, x_65); x_250 = lean_ctor_get(x_249, 0); lean_inc(x_250); lean_dec(x_249); -x_251 = lean_ctor_get(x_232, 0); -x_252 = lean_ctor_get(x_232, 1); -x_253 = lean_ctor_get(x_232, 2); -x_254 = lean_ctor_get(x_232, 3); -x_255 = lean_ctor_get(x_232, 4); -x_256 = lean_ctor_get(x_232, 5); -x_257 = lean_ctor_get(x_232, 6); -x_258 = lean_ctor_get(x_232, 7); -x_259 = lean_ctor_get(x_232, 8); -x_260 = lean_ctor_get(x_232, 9); -x_261 = lean_ctor_get(x_232, 10); -x_262 = lean_ctor_get(x_232, 11); -x_263 = lean_ctor_get_uint8(x_232, sizeof(void*)*14); -x_264 = lean_ctor_get(x_232, 12); -x_265 = lean_ctor_get_uint8(x_232, sizeof(void*)*14 + 1); -x_266 = lean_ctor_get(x_232, 13); +x_251 = lean_ctor_get(x_237, 0); +x_252 = lean_ctor_get(x_237, 1); +x_253 = lean_ctor_get(x_237, 2); +x_254 = lean_ctor_get(x_237, 3); +x_255 = lean_ctor_get(x_237, 4); +x_256 = lean_ctor_get(x_237, 5); +x_257 = lean_ctor_get(x_237, 6); +x_258 = lean_ctor_get(x_237, 7); +x_259 = lean_ctor_get(x_237, 8); +x_260 = lean_ctor_get(x_237, 9); +x_261 = lean_ctor_get(x_237, 10); +x_262 = lean_ctor_get(x_237, 11); +x_263 = lean_ctor_get_uint8(x_237, sizeof(void*)*14); +x_264 = lean_ctor_get(x_237, 12); +x_265 = lean_ctor_get_uint8(x_237, sizeof(void*)*14 + 1); +x_266 = lean_ctor_get(x_237, 13); lean_inc(x_67); lean_inc_ref(x_2); x_267 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__24___lam__1___boxed), 10, 5); lean_closure_set(x_267, 0, x_2); lean_closure_set(x_267, 1, x_67); lean_closure_set(x_267, 2, x_245); -lean_closure_set(x_267, 3, x_230); -lean_closure_set(x_267, 4, x_231); +lean_closure_set(x_267, 3, x_231); +lean_closure_set(x_267, 4, x_230); x_268 = l_Lean_replaceRef(x_250, x_256); lean_dec(x_250); lean_inc_ref(x_266); @@ -30121,10 +30124,10 @@ lean_ctor_set(x_269, 12, x_264); lean_ctor_set(x_269, 13, x_266); lean_ctor_set_uint8(x_269, sizeof(void*)*14, x_263); lean_ctor_set_uint8(x_269, sizeof(void*)*14 + 1, x_265); -lean_inc(x_234); -lean_inc(x_233); -lean_inc_ref(x_238); -x_270 = l_Lean_Meta_mapErrorImp___redArg(x_267, x_229, x_238, x_233, x_269, x_234); +lean_inc(x_239); +lean_inc(x_238); +lean_inc_ref(x_232); +x_270 = l_Lean_Meta_mapErrorImp___redArg(x_267, x_229, x_232, x_238, x_269, x_239); if (lean_obj_tag(x_270) == 0) { x_219 = x_232; @@ -30143,9 +30146,9 @@ lean_object* x_271; x_271 = lean_ctor_get(x_270, 0); lean_inc(x_271); lean_dec_ref(x_270); -x_207 = x_233; -x_208 = x_232; -x_209 = x_234; +x_207 = x_232; +x_208 = x_234; +x_209 = x_233; x_210 = x_235; x_211 = x_237; x_212 = x_238; @@ -30158,18 +30161,18 @@ goto block_218; else { lean_object* x_272; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); -lean_inc(x_234); +lean_inc(x_239); +lean_inc_ref(x_237); +lean_inc(x_238); lean_inc_ref(x_232); lean_inc(x_233); -lean_inc_ref(x_238); -lean_inc(x_239); -lean_inc_ref(x_235); +lean_inc_ref(x_234); lean_inc(x_67); lean_inc_ref(x_2); -x_272 = l_Lean_Elab_wfRecursion(x_2, x_67, x_245, x_235, x_239, x_238, x_233, x_232, x_234); +x_272 = l_Lean_Elab_wfRecursion(x_2, x_67, x_245, x_234, x_233, x_232, x_238, x_237, x_239); x_219 = x_232; x_220 = x_233; x_221 = x_234; @@ -30185,18 +30188,18 @@ else { lean_object* x_273; lean_dec(x_245); -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); -lean_inc(x_234); +lean_inc(x_239); +lean_inc_ref(x_237); +lean_inc(x_238); lean_inc_ref(x_232); lean_inc(x_233); -lean_inc_ref(x_238); -lean_inc(x_239); -lean_inc_ref(x_235); +lean_inc_ref(x_234); lean_inc(x_67); lean_inc_ref(x_2); -x_273 = l_Lean_Elab_partialFixpoint(x_2, x_67, x_235, x_239, x_238, x_233, x_232, x_234); +x_273 = l_Lean_Elab_partialFixpoint(x_2, x_67, x_234, x_233, x_232, x_238, x_237, x_239); x_219 = x_232; x_220 = x_233; x_221 = x_234; @@ -30211,18 +30214,18 @@ goto block_228; else { lean_object* x_274; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); -lean_inc(x_234); +lean_inc(x_239); +lean_inc_ref(x_237); +lean_inc(x_238); lean_inc_ref(x_232); lean_inc(x_233); -lean_inc_ref(x_238); -lean_inc(x_239); -lean_inc_ref(x_235); +lean_inc_ref(x_234); lean_inc(x_67); lean_inc_ref(x_2); -x_274 = l_Lean_Elab_Structural_structuralRecursion(x_2, x_67, x_245, x_235, x_239, x_238, x_233, x_232, x_234); +x_274 = l_Lean_Elab_Structural_structuralRecursion(x_2, x_67, x_245, x_234, x_233, x_232, x_238, x_237, x_239); x_219 = x_232; x_220 = x_233; x_221 = x_234; @@ -30237,15 +30240,15 @@ goto block_228; else { lean_object* x_275; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); x_275 = lean_ctor_get(x_244, 0); lean_inc(x_275); lean_dec_ref(x_244); -x_207 = x_233; -x_208 = x_232; -x_209 = x_234; +x_207 = x_232; +x_208 = x_234; +x_209 = x_233; x_210 = x_235; x_211 = x_237; x_212 = x_238; @@ -30257,8 +30260,8 @@ goto block_218; } else { -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); x_219 = x_232; x_220 = x_233; @@ -30273,8 +30276,8 @@ goto block_228; } else { -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); x_219 = x_232; x_220 = x_233; @@ -30290,14 +30293,14 @@ goto block_228; else { lean_dec(x_239); -lean_dec_ref(x_238); -lean_dec(x_237); -lean_dec_ref(x_235); -lean_dec(x_234); +lean_dec(x_238); +lean_dec_ref(x_237); +lean_dec(x_235); +lean_dec_ref(x_234); lean_dec(x_233); lean_dec_ref(x_232); -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); lean_dec(x_67); lean_dec(x_26); @@ -30314,37 +30317,37 @@ return x_241; else { size_t x_276; size_t x_277; lean_object* x_278; -lean_dec(x_231); -lean_dec_ref(x_230); +lean_dec_ref(x_231); +lean_dec(x_230); lean_dec_ref(x_229); lean_dec(x_26); x_276 = lean_array_size(x_67); x_277 = 0; -lean_inc(x_234); +lean_inc(x_239); +lean_inc_ref(x_237); +lean_inc(x_238); lean_inc_ref(x_232); -lean_inc(x_233); -lean_inc_ref(x_238); -lean_inc_ref(x_235); -x_278 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__21(x_3, x_67, x_276, x_277, x_27, x_235, x_239, x_238, x_233, x_232, x_234); +lean_inc_ref(x_234); +x_278 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addPreDefinitions_spec__21(x_3, x_67, x_276, x_277, x_27, x_234, x_233, x_232, x_238, x_237, x_239); if (lean_obj_tag(x_278) == 0) { lean_object* x_279; lean_dec_ref(x_278); -lean_inc(x_234); -lean_inc_ref(x_232); +lean_inc(x_239); +lean_inc_ref(x_237); lean_inc(x_67); lean_inc_ref(x_2); -x_279 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_67, x_3, x_235, x_239, x_238, x_233, x_232, x_234); +x_279 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_2, x_67, x_3, x_234, x_233, x_232, x_238, x_237, x_239); if (lean_obj_tag(x_279) == 0) { uint8_t x_280; lean_dec_ref(x_279); -x_280 = lean_nat_dec_lt(x_65, x_237); +x_280 = lean_nat_dec_lt(x_65, x_235); if (x_280 == 0) { -lean_dec(x_237); -lean_dec(x_234); -lean_dec_ref(x_232); +lean_dec(x_239); +lean_dec_ref(x_237); +lean_dec(x_235); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -30353,14 +30356,14 @@ goto block_20; else { uint8_t x_281; -x_281 = lean_nat_dec_le(x_237, x_237); +x_281 = lean_nat_dec_le(x_235, x_235); if (x_281 == 0) { if (x_280 == 0) { -lean_dec(x_237); -lean_dec(x_234); -lean_dec_ref(x_232); +lean_dec(x_239); +lean_dec_ref(x_237); +lean_dec(x_235); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -30369,10 +30372,10 @@ goto block_20; else { size_t x_282; lean_object* x_283; -x_282 = lean_usize_of_nat(x_237); -lean_dec(x_237); -x_283 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_282, x_27, x_232, x_234); -lean_dec(x_234); +x_282 = lean_usize_of_nat(x_235); +lean_dec(x_235); +x_283 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_282, x_27, x_237, x_239); +lean_dec(x_239); lean_dec(x_67); x_44 = x_283; goto block_45; @@ -30381,10 +30384,10 @@ goto block_45; else { size_t x_284; lean_object* x_285; -x_284 = lean_usize_of_nat(x_237); -lean_dec(x_237); -x_285 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_284, x_27, x_232, x_234); -lean_dec(x_234); +x_284 = lean_usize_of_nat(x_235); +lean_dec(x_235); +x_285 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__9___redArg(x_67, x_277, x_284, x_27, x_237, x_239); +lean_dec(x_239); lean_dec(x_67); x_44 = x_285; goto block_45; @@ -30393,9 +30396,9 @@ goto block_45; } else { -lean_dec(x_237); -lean_dec(x_234); -lean_dec_ref(x_232); +lean_dec(x_239); +lean_dec_ref(x_237); +lean_dec(x_235); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -30410,10 +30413,10 @@ return x_279; else { lean_dec(x_239); -lean_dec_ref(x_238); -lean_dec(x_237); -lean_dec_ref(x_235); -lean_dec(x_234); +lean_dec(x_238); +lean_dec_ref(x_237); +lean_dec(x_235); +lean_dec_ref(x_234); lean_dec(x_233); lean_dec_ref(x_232); lean_dec(x_67); @@ -30433,15 +30436,15 @@ block_312: if (x_297 == 0) { uint8_t x_298; -x_298 = lean_nat_dec_lt(x_65, x_294); +x_298 = lean_nat_dec_lt(x_65, x_293); if (x_298 == 0) { -x_230 = x_287; -x_231 = x_288; -x_232 = x_290; -x_233 = x_289; -x_234 = x_291; -x_235 = x_292; +x_230 = x_288; +x_231 = x_287; +x_232 = x_289; +x_233 = x_291; +x_234 = x_290; +x_235 = x_293; x_236 = lean_box(0); x_237 = x_294; x_238 = x_295; @@ -30453,12 +30456,12 @@ else { if (x_298 == 0) { -x_230 = x_287; -x_231 = x_288; -x_232 = x_290; -x_233 = x_289; -x_234 = x_291; -x_235 = x_292; +x_230 = x_288; +x_231 = x_287; +x_232 = x_289; +x_233 = x_291; +x_234 = x_290; +x_235 = x_293; x_236 = lean_box(0); x_237 = x_294; x_238 = x_295; @@ -30470,14 +30473,14 @@ else { size_t x_299; size_t x_300; uint8_t x_301; x_299 = 0; -x_300 = lean_usize_of_nat(x_294); +x_300 = lean_usize_of_nat(x_293); x_301 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__7(x_67, x_299, x_300); -x_230 = x_287; -x_231 = x_288; -x_232 = x_290; -x_233 = x_289; -x_234 = x_291; -x_235 = x_292; +x_230 = x_288; +x_231 = x_287; +x_232 = x_289; +x_233 = x_291; +x_234 = x_290; +x_235 = x_293; x_236 = lean_box(0); x_237 = x_294; x_238 = x_295; @@ -30495,21 +30498,21 @@ lean_dec_ref(x_287); lean_dec_ref(x_229); lean_dec(x_26); x_302 = 0; -lean_inc(x_291); -lean_inc_ref(x_290); +lean_inc(x_296); +lean_inc_ref(x_294); lean_inc(x_67); lean_inc_ref(x_2); -x_303 = l_Lean_Elab_addAndCompileUnsafe(x_2, x_67, x_302, x_292, x_296, x_295, x_289, x_290, x_291); +x_303 = l_Lean_Elab_addAndCompileUnsafe(x_2, x_67, x_302, x_290, x_291, x_289, x_295, x_294, x_296); if (lean_obj_tag(x_303) == 0) { uint8_t x_304; lean_dec_ref(x_303); -x_304 = lean_nat_dec_lt(x_65, x_294); +x_304 = lean_nat_dec_lt(x_65, x_293); if (x_304 == 0) { -lean_dec(x_294); -lean_dec(x_291); -lean_dec_ref(x_290); +lean_dec(x_296); +lean_dec_ref(x_294); +lean_dec(x_293); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -30518,14 +30521,14 @@ goto block_20; else { uint8_t x_305; -x_305 = lean_nat_dec_le(x_294, x_294); +x_305 = lean_nat_dec_le(x_293, x_293); if (x_305 == 0) { if (x_304 == 0) { -lean_dec(x_294); -lean_dec(x_291); -lean_dec_ref(x_290); +lean_dec(x_296); +lean_dec_ref(x_294); +lean_dec(x_293); lean_dec(x_67); x_15 = x_27; x_16 = lean_box(0); @@ -30535,10 +30538,10 @@ else { size_t x_306; size_t x_307; lean_object* x_308; x_306 = 0; -x_307 = lean_usize_of_nat(x_294); -lean_dec(x_294); -x_308 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_306, x_307, x_27, x_290, x_291); -lean_dec(x_291); +x_307 = lean_usize_of_nat(x_293); +lean_dec(x_293); +x_308 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_306, x_307, x_27, x_294, x_296); +lean_dec(x_296); lean_dec(x_67); x_28 = x_308; goto block_29; @@ -30548,10 +30551,10 @@ else { size_t x_309; size_t x_310; lean_object* x_311; x_309 = 0; -x_310 = lean_usize_of_nat(x_294); -lean_dec(x_294); -x_311 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_309, x_310, x_27, x_290, x_291); -lean_dec(x_291); +x_310 = lean_usize_of_nat(x_293); +lean_dec(x_293); +x_311 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_addPreDefinitions_spec__11___redArg(x_67, x_309, x_310, x_27, x_294, x_296); +lean_dec(x_296); lean_dec(x_67); x_28 = x_311; goto block_29; @@ -30560,9 +30563,9 @@ goto block_29; } else { -lean_dec(x_294); -lean_dec(x_291); -lean_dec_ref(x_290); +lean_dec(x_296); +lean_dec_ref(x_294); +lean_dec(x_293); lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); @@ -30583,16 +30586,16 @@ uint8_t x_322; x_322 = lean_nat_dec_lt(x_65, x_320); if (x_322 == 0) { -lean_inc(x_319); -lean_inc_ref(x_316); -x_287 = x_316; -x_288 = x_319; -x_289 = x_314; -x_290 = x_313; -x_291 = x_315; -x_292 = x_316; -x_293 = lean_box(0); -x_294 = x_320; +lean_inc(x_314); +lean_inc_ref(x_315); +x_287 = x_315; +x_288 = x_314; +x_289 = x_313; +x_290 = x_315; +x_291 = x_314; +x_292 = lean_box(0); +x_293 = x_320; +x_294 = x_317; x_295 = x_318; x_296 = x_319; x_297 = x_3; @@ -30602,16 +30605,16 @@ else { if (x_322 == 0) { -lean_inc(x_319); -lean_inc_ref(x_316); -x_287 = x_316; -x_288 = x_319; -x_289 = x_314; -x_290 = x_313; -x_291 = x_315; -x_292 = x_316; -x_293 = lean_box(0); -x_294 = x_320; +lean_inc(x_314); +lean_inc_ref(x_315); +x_287 = x_315; +x_288 = x_314; +x_289 = x_313; +x_290 = x_315; +x_291 = x_314; +x_292 = lean_box(0); +x_293 = x_320; +x_294 = x_317; x_295 = x_318; x_296 = x_319; x_297 = x_3; @@ -30623,16 +30626,16 @@ size_t x_323; size_t x_324; uint8_t x_325; x_323 = 0; x_324 = lean_usize_of_nat(x_320); x_325 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addPreDefinitions_spec__10(x_67, x_323, x_324); -lean_inc(x_319); -lean_inc_ref(x_316); -x_287 = x_316; -x_288 = x_319; -x_289 = x_314; -x_290 = x_313; -x_291 = x_315; -x_292 = x_316; -x_293 = lean_box(0); -x_294 = x_320; +lean_inc(x_314); +lean_inc_ref(x_315); +x_287 = x_315; +x_288 = x_314; +x_289 = x_313; +x_290 = x_315; +x_291 = x_314; +x_292 = lean_box(0); +x_293 = x_320; +x_294 = x_317; x_295 = x_318; x_296 = x_319; x_297 = x_325; @@ -30648,9 +30651,9 @@ lean_dec_ref(x_229); lean_dec(x_26); x_326 = lean_array_get(x_66, x_67, x_65); lean_dec(x_67); -lean_inc(x_315); -lean_inc_ref(x_313); -x_327 = l_Lean_Elab_eraseRecAppSyntax(x_326, x_313, x_315); +lean_inc(x_319); +lean_inc_ref(x_317); +x_327 = l_Lean_Elab_eraseRecAppSyntax(x_326, x_317, x_319); if (lean_obj_tag(x_327) == 0) { lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; @@ -30662,7 +30665,7 @@ x_330 = lean_ctor_get(x_328, 3); x_331 = lean_ctor_get(x_328, 8); lean_inc_ref(x_331); lean_inc(x_330); -x_332 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_330, x_313, x_315); +x_332 = l_Lean_Meta_ensureEqnReservedNamesAvailable(x_330, x_317, x_319); if (lean_obj_tag(x_332) == 0) { uint8_t x_333; @@ -30676,24 +30679,24 @@ lean_inc(x_330); x_335 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_335, 0, x_330); lean_ctor_set(x_335, 1, x_334); -lean_inc(x_315); -lean_inc_ref(x_313); +lean_inc(x_319); +lean_inc_ref(x_317); lean_inc_ref(x_2); -x_336 = l_Lean_Elab_addAndCompileNonRec(x_2, x_328, x_335, x_1, x_316, x_319, x_318, x_314, x_313, x_315); +x_336 = l_Lean_Elab_addAndCompileNonRec(x_2, x_328, x_335, x_1, x_3, x_315, x_314, x_313, x_318, x_317, x_319); if (lean_obj_tag(x_336) == 0) { lean_dec_ref(x_336); x_46 = x_331; -x_47 = x_313; -x_48 = x_315; +x_47 = x_317; +x_48 = x_319; x_49 = lean_box(0); goto block_52; } else { lean_dec_ref(x_331); -lean_dec(x_315); -lean_dec_ref(x_313); +lean_dec(x_319); +lean_dec_ref(x_317); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -30712,24 +30715,24 @@ lean_inc(x_330); x_338 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_338, 0, x_330); lean_ctor_set(x_338, 1, x_337); -lean_inc(x_315); -lean_inc_ref(x_313); +lean_inc(x_319); +lean_inc_ref(x_317); lean_inc_ref(x_2); -x_339 = l_Lean_Elab_addNonRec(x_2, x_328, x_1, x_338, x_1, x_1, x_316, x_319, x_318, x_314, x_313, x_315); +x_339 = l_Lean_Elab_addNonRec(x_2, x_328, x_1, x_338, x_1, x_1, x_3, x_315, x_314, x_313, x_318, x_317, x_319); if (lean_obj_tag(x_339) == 0) { lean_dec_ref(x_339); x_46 = x_331; -x_47 = x_313; -x_48 = x_315; +x_47 = x_317; +x_48 = x_319; x_49 = lean_box(0); goto block_52; } else { lean_dec_ref(x_331); -lean_dec(x_315); -lean_dec_ref(x_313); +lean_dec(x_319); +lean_dec_ref(x_317); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -30746,9 +30749,9 @@ else lean_dec_ref(x_331); lean_dec(x_328); lean_dec(x_319); -lean_dec_ref(x_318); -lean_dec_ref(x_316); -lean_dec(x_315); +lean_dec(x_318); +lean_dec_ref(x_317); +lean_dec_ref(x_315); lean_dec(x_314); lean_dec_ref(x_313); lean_dec(x_13); @@ -30765,9 +30768,9 @@ else { uint8_t x_340; lean_dec(x_319); -lean_dec_ref(x_318); -lean_dec_ref(x_316); -lean_dec(x_315); +lean_dec(x_318); +lean_dec_ref(x_317); +lean_dec_ref(x_315); lean_dec(x_314); lean_dec_ref(x_313); lean_dec(x_13); @@ -30803,13 +30806,13 @@ x_352 = lean_unsigned_to_nat(1u); x_353 = lean_nat_dec_eq(x_351, x_352); if (x_353 == 0) { -x_313 = x_348; -x_314 = x_347; -x_315 = x_349; -x_316 = x_344; -x_317 = lean_box(0); -x_318 = x_346; -x_319 = x_345; +x_313 = x_346; +x_314 = x_345; +x_315 = x_344; +x_316 = lean_box(0); +x_317 = x_348; +x_318 = x_347; +x_319 = x_349; x_320 = x_351; x_321 = x_353; goto block_343; @@ -30819,13 +30822,13 @@ else lean_object* x_354; uint8_t x_355; x_354 = lean_array_get(x_66, x_67, x_65); x_355 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_354); -x_313 = x_348; -x_314 = x_347; -x_315 = x_349; -x_316 = x_344; -x_317 = lean_box(0); -x_318 = x_346; -x_319 = x_345; +x_313 = x_346; +x_314 = x_345; +x_315 = x_344; +x_316 = lean_box(0); +x_317 = x_348; +x_318 = x_347; +x_319 = x_349; x_320 = x_351; x_321 = x_355; goto block_343; @@ -30960,7 +30963,7 @@ block_40: { lean_object* x_28; double x_29; double x_30; double x_31; double x_32; double x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; x_28 = lean_io_mono_nanos_now(); -x_29 = lean_float_of_nat(x_25); +x_29 = lean_float_of_nat(x_24); x_30 = l_Lean_Elab_addPreDefinitions___lam__2___closed__0; x_31 = lean_float_div(x_29, x_30); x_32 = lean_float_of_nat(x_28); @@ -30975,7 +30978,7 @@ lean_ctor_set(x_37, 0, x_26); lean_ctor_set(x_37, 1, x_36); x_38 = lean_unbox(x_22); lean_dec(x_22); -x_39 = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_addPreDefinitions_spec__23___redArg(x_2, x_3, x_4, x_18, x_38, x_24, x_5, x_37, x_11, x_12, x_13, x_14, x_15, x_16); +x_39 = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_addPreDefinitions_spec__23___redArg(x_2, x_3, x_4, x_18, x_38, x_25, x_5, x_37, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec_ref(x_18); return x_39; } @@ -31158,16 +31161,16 @@ if (lean_obj_tag(x_103) == 0) { lean_dec_ref(x_103); lean_dec(x_23); -x_47 = x_92; -x_48 = x_95; +x_47 = x_95; +x_48 = x_92; x_49 = x_9; x_50 = lean_box(0); goto block_52; } else { -x_53 = x_92; -x_54 = x_95; +x_53 = x_95; +x_54 = x_92; x_55 = x_103; goto block_58; } @@ -31179,8 +31182,8 @@ lean_dec_ref(x_10); x_104 = lean_ctor_get(x_99, 0); lean_inc(x_104); lean_dec_ref(x_99); -x_41 = x_92; -x_42 = x_95; +x_41 = x_95; +x_42 = x_92; x_43 = x_104; x_44 = lean_box(0); goto block_46; @@ -31193,8 +31196,8 @@ lean_dec_ref(x_10); x_105 = lean_ctor_get(x_97, 0); lean_inc(x_105); lean_dec_ref(x_97); -x_41 = x_92; -x_42 = x_95; +x_41 = x_95; +x_42 = x_92; x_43 = x_105; x_44 = lean_box(0); goto block_46; @@ -31204,8 +31207,8 @@ else { lean_dec_ref(x_10); lean_dec_ref(x_6); -x_53 = x_92; -x_54 = x_95; +x_53 = x_95; +x_54 = x_92; x_55 = x_96; goto block_58; } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c b/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c index ac81444314..6c963f4614 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c @@ -35,13 +35,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutua LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___redArg(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__0(lean_object*, lean_object*); -size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); -uint8_t lean_usize_dec_eq(size_t, size_t); -lean_object* lean_array_uget(lean_object*, size_t); -uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); -lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "trace"}; static const lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__0 = (const lean_object*)&l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__0_value; static const lean_ctor_object l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__0_value),LEAN_SCALAR_PTR_LITERAL(212, 145, 141, 177, 67, 149, 127, 197)}}; @@ -52,7 +45,10 @@ LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Le LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_closure_object l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Elab_Mutual_addPreDefsFromUnary___lam__0___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; @@ -62,18 +58,18 @@ static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__1; static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__2; static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; extern lean_object* l_Lean_Elab_instInhabitedPreDefinition_default; +lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_PreDefinition_filterAttrs(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); +extern lean_object* l_Lean_allowUnsafeReducibility; +extern lean_object* l_Lean_diagnostics; extern lean_object* l_Lean_maxRecDepth; -lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_allowUnsafeReducibility; -extern lean_object* l_Lean_diagnostics; uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -81,8 +77,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnabl LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_abstractNestedProofs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,81 +496,6 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_13; -x_13 = lean_usize_dec_eq(x_2, x_3); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_array_uget(x_1, x_2); -x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*9); -x_16 = lean_ctor_get(x_14, 3); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Elab_DefKind_isTheorem(x_15); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = l_Lean_Meta_markAsRecursive___redArg(x_16, x_5); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec_ref(x_18); -x_7 = x_19; -x_8 = lean_box(0); -goto block_12; -} -else -{ -return x_18; -} -} -else -{ -lean_object* x_20; -lean_dec(x_16); -x_20 = lean_box(0); -x_7 = x_20; -x_8 = lean_box(0); -goto block_12; -} -} -else -{ -lean_object* x_21; -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_4); -return x_21; -} -block_12: -{ -size_t x_9; size_t x_10; -x_9 = 1; -x_10 = lean_usize_add(x_2, x_9); -x_2 = x_10; -x_4 = x_7; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_1, x_7, x_8, x_4, x_5); -lean_dec(x_5); -lean_dec_ref(x_1); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3) { _start: { @@ -678,8 +597,9 @@ uint8_t x_15; x_15 = lean_usize_dec_eq(x_5, x_6); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_uget(x_4, x_5); +uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_16 = 1; +x_17 = lean_array_uget(x_4, x_5); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); @@ -688,17 +608,17 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_2); lean_inc_ref(x_1); -x_17 = l_Lean_Elab_addNonRec(x_1, x_16, x_15, x_2, x_3, x_15, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Elab_addNonRec(x_1, x_17, x_15, x_2, x_3, x_15, x_16, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; size_t x_19; size_t x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec_ref(x_17); -x_19 = 1; -x_20 = lean_usize_add(x_5, x_19); -x_5 = x_20; -x_7 = x_18; +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = 1; +x_21 = lean_usize_add(x_5, x_20); +x_5 = x_21; +x_7 = x_19; goto _start; } else @@ -711,12 +631,12 @@ lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_2); lean_dec_ref(x_1); -return x_17; +return x_18; } } else { -lean_object* x_22; +lean_object* x_23; lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -725,9 +645,9 @@ lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_2); lean_dec_ref(x_1); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_7); -return x_22; +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_7); +return x_23; } } } @@ -777,307 +697,317 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; uint8_t x_101; lean_object* x_122; lean_object* x_150; lean_object* x_152; uint8_t x_153; -x_13 = ((lean_object*)(l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__0)); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_101; uint8_t x_122; +x_13 = lean_ctor_get(x_4, 3); x_14 = l_Lean_Elab_instInhabitedPreDefinition_default; -lean_inc_ref(x_4); -x_15 = l_Lean_Elab_PreDefinition_filterAttrs(x_4, x_13); -lean_inc_ref(x_2); -x_16 = lean_array_to_list(x_2); -x_17 = lean_box(0); -x_18 = l_List_mapTR_loop___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__0(x_16, x_17); -x_19 = lean_unsigned_to_nat(0u); -x_152 = lean_array_get_size(x_2); -x_153 = lean_nat_dec_lt(x_19, x_152); -if (x_153 == 0) +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_borrowed(x_14, x_2, x_15); +x_17 = lean_ctor_get(x_16, 3); +x_18 = lean_st_ref_get(x_11); +x_19 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_19); +x_20 = lean_ctor_get(x_10, 1); +lean_inc_ref(x_20); +x_21 = lean_ctor_get(x_10, 2); +lean_inc_ref(x_21); +x_22 = lean_ctor_get(x_10, 3); +lean_inc(x_22); +x_23 = lean_ctor_get(x_10, 5); +lean_inc(x_23); +x_24 = lean_ctor_get(x_10, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_10, 7); +lean_inc(x_25); +x_26 = lean_ctor_get(x_10, 8); +lean_inc(x_26); +x_27 = lean_ctor_get(x_10, 9); +lean_inc(x_27); +x_28 = lean_ctor_get(x_10, 10); +lean_inc(x_28); +x_29 = lean_ctor_get(x_10, 11); +lean_inc(x_29); +x_30 = lean_ctor_get(x_10, 12); +lean_inc(x_30); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_32 = lean_ctor_get(x_10, 13); +lean_inc_ref(x_32); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + lean_ctor_release(x_10, 2); + lean_ctor_release(x_10, 3); + lean_ctor_release(x_10, 4); + lean_ctor_release(x_10, 5); + lean_ctor_release(x_10, 6); + lean_ctor_release(x_10, 7); + lean_ctor_release(x_10, 8); + lean_ctor_release(x_10, 9); + lean_ctor_release(x_10, 10); + lean_ctor_release(x_10, 11); + lean_ctor_release(x_10, 12); + lean_ctor_release(x_10, 13); + x_33 = x_10; +} else { + lean_dec_ref(x_10); + x_33 = lean_box(0); +} +x_34 = lean_ctor_get(x_18, 0); +lean_inc_ref(x_34); +lean_dec(x_18); +x_35 = ((lean_object*)(l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__0)); +x_36 = lean_name_eq(x_13, x_17); +x_37 = l_Lean_Elab_PreDefinition_filterAttrs(x_4, x_35); +x_38 = lean_array_to_list(x_2); +x_39 = lean_box(0); +x_40 = l_List_mapTR_loop___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__0(x_38, x_39); +x_41 = l_Lean_allowUnsafeReducibility; +x_42 = 1; +x_43 = l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1(x_21, x_41, x_42); +x_44 = l_Lean_diagnostics; +x_45 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__2(x_43, x_44); +x_122 = l_Lean_Kernel_isDiagnosticsEnabled(x_34); +lean_dec_ref(x_34); +if (x_122 == 0) { -x_122 = lean_box(0); -goto block_149; +if (x_45 == 0) +{ +x_46 = x_19; +x_47 = x_20; +x_48 = x_22; +x_49 = x_23; +x_50 = x_24; +x_51 = x_25; +x_52 = x_26; +x_53 = x_27; +x_54 = x_28; +x_55 = x_29; +x_56 = x_30; +x_57 = x_31; +x_58 = x_32; +x_59 = x_11; +x_60 = lean_box(0); +goto block_100; } else { -lean_object* x_154; uint8_t x_155; -x_154 = lean_box(0); -x_155 = lean_nat_dec_le(x_152, x_152); -if (x_155 == 0) -{ -if (x_153 == 0) -{ -x_122 = lean_box(0); -goto block_149; -} -else -{ -size_t x_156; size_t x_157; lean_object* x_158; -x_156 = 0; -x_157 = lean_usize_of_nat(x_152); -x_158 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_2, x_156, x_157, x_154, x_11); -x_150 = x_158; -goto block_151; +x_101 = x_122; +goto block_121; } } else { -size_t x_159; size_t x_160; lean_object* x_161; -x_159 = 0; -x_160 = lean_usize_of_nat(x_152); -x_161 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_2, x_159, x_160, x_154, x_11); -x_150 = x_161; -goto block_151; +x_101 = x_45; +goto block_121; } +block_100: +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = l_Lean_maxRecDepth; +x_62 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__3(x_43, x_61); +if (lean_is_scalar(x_33)) { + x_63 = lean_alloc_ctor(0, 14, 2); +} else { + x_63 = x_33; } -block_76: +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_47); +lean_ctor_set(x_63, 2, x_43); +lean_ctor_set(x_63, 3, x_48); +lean_ctor_set(x_63, 4, x_62); +lean_ctor_set(x_63, 5, x_49); +lean_ctor_set(x_63, 6, x_50); +lean_ctor_set(x_63, 7, x_51); +lean_ctor_set(x_63, 8, x_52); +lean_ctor_set(x_63, 9, x_53); +lean_ctor_set(x_63, 10, x_54); +lean_ctor_set(x_63, 11, x_55); +lean_ctor_set(x_63, 12, x_56); +lean_ctor_set(x_63, 13, x_58); +lean_ctor_set_uint8(x_63, sizeof(void*)*14, x_45); +lean_ctor_set_uint8(x_63, sizeof(void*)*14 + 1, x_57); +if (x_36 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = l_Lean_maxRecDepth; -x_39 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__3(x_21, x_38); -x_40 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_40, 0, x_23); -lean_ctor_set(x_40, 1, x_24); -lean_ctor_set(x_40, 2, x_21); -lean_ctor_set(x_40, 3, x_25); -lean_ctor_set(x_40, 4, x_39); -lean_ctor_set(x_40, 5, x_26); -lean_ctor_set(x_40, 6, x_27); -lean_ctor_set(x_40, 7, x_28); -lean_ctor_set(x_40, 8, x_29); -lean_ctor_set(x_40, 9, x_30); -lean_ctor_set(x_40, 10, x_31); -lean_ctor_set(x_40, 11, x_32); -lean_ctor_set(x_40, 12, x_33); -lean_ctor_set(x_40, 13, x_35); -lean_ctor_set_uint8(x_40, sizeof(void*)*14, x_20); -lean_ctor_set_uint8(x_40, sizeof(void*)*14 + 1, x_34); -if (x_22 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_41 = lean_ctor_get(x_15, 3); -lean_inc(x_41); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_17); -x_43 = lean_box(x_22); -x_44 = lean_box(x_5); -x_45 = lean_box(x_22); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_64 = lean_ctor_get(x_37, 3); +lean_inc(x_64); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_39); +x_66 = lean_box(x_36); +x_67 = lean_box(x_5); +x_68 = lean_box(x_36); +x_69 = lean_box(x_42); lean_inc_ref(x_1); -x_46 = lean_alloc_closure((void*)(l_Lean_Elab_addNonRec___boxed), 13, 6); -lean_closure_set(x_46, 0, x_1); -lean_closure_set(x_46, 1, x_15); -lean_closure_set(x_46, 2, x_43); -lean_closure_set(x_46, 3, x_42); -lean_closure_set(x_46, 4, x_44); -lean_closure_set(x_46, 5, x_45); -lean_inc(x_36); -lean_inc_ref(x_40); +x_70 = lean_alloc_closure((void*)(l_Lean_Elab_addNonRec___boxed), 14, 7); +lean_closure_set(x_70, 0, x_1); +lean_closure_set(x_70, 1, x_37); +lean_closure_set(x_70, 2, x_66); +lean_closure_set(x_70, 3, x_65); +lean_closure_set(x_70, 4, x_67); +lean_closure_set(x_70, 5, x_68); +lean_closure_set(x_70, 6, x_69); +lean_inc(x_59); +lean_inc_ref(x_63); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_47 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg(x_22, x_46, x_6, x_7, x_8, x_9, x_40, x_36); -if (lean_obj_tag(x_47) == 0) +x_71 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg(x_36, x_70, x_6, x_7, x_8, x_9, x_63, x_59); +if (lean_obj_tag(x_71) == 0) { -uint8_t x_48; -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -x_50 = lean_array_get_size(x_3); -x_51 = lean_box(0); -x_52 = lean_nat_dec_lt(x_19, x_50); -if (x_52 == 0) +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +x_74 = lean_array_get_size(x_3); +x_75 = lean_box(0); +x_76 = lean_nat_dec_lt(x_15, x_74); +if (x_76 == 0) { -lean_dec_ref(x_40); -lean_dec(x_36); -lean_dec(x_18); +lean_dec_ref(x_63); +lean_dec(x_59); +lean_dec(x_40); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -lean_ctor_set(x_47, 0, x_51); -return x_47; +lean_ctor_set(x_71, 0, x_75); +return x_71; } else { -uint8_t x_53; -x_53 = lean_nat_dec_le(x_50, x_50); -if (x_53 == 0) +uint8_t x_77; +x_77 = lean_nat_dec_le(x_74, x_74); +if (x_77 == 0) { -if (x_52 == 0) +if (x_76 == 0) { -lean_dec_ref(x_40); -lean_dec(x_36); -lean_dec(x_18); +lean_dec_ref(x_63); +lean_dec(x_59); +lean_dec(x_40); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -lean_ctor_set(x_47, 0, x_51); -return x_47; +lean_ctor_set(x_71, 0, x_75); +return x_71; } else { -size_t x_54; size_t x_55; lean_object* x_56; -lean_free_object(x_47); -x_54 = 0; -x_55 = lean_usize_of_nat(x_50); -x_56 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_18, x_5, x_3, x_54, x_55, x_51, x_6, x_7, x_8, x_9, x_40, x_36); -return x_56; +size_t x_78; size_t x_79; lean_object* x_80; +lean_free_object(x_71); +x_78 = 0; +x_79 = lean_usize_of_nat(x_74); +x_80 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_40, x_5, x_3, x_78, x_79, x_75, x_6, x_7, x_8, x_9, x_63, x_59); +return x_80; } } else { -size_t x_57; size_t x_58; lean_object* x_59; -lean_free_object(x_47); -x_57 = 0; -x_58 = lean_usize_of_nat(x_50); -x_59 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_18, x_5, x_3, x_57, x_58, x_51, x_6, x_7, x_8, x_9, x_40, x_36); -return x_59; +size_t x_81; size_t x_82; lean_object* x_83; +lean_free_object(x_71); +x_81 = 0; +x_82 = lean_usize_of_nat(x_74); +x_83 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_40, x_5, x_3, x_81, x_82, x_75, x_6, x_7, x_8, x_9, x_63, x_59); +return x_83; } } } else { -lean_object* x_60; lean_object* x_61; uint8_t x_62; -lean_dec(x_47); -x_60 = lean_array_get_size(x_3); -x_61 = lean_box(0); -x_62 = lean_nat_dec_lt(x_19, x_60); -if (x_62 == 0) +lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_71); +x_84 = lean_array_get_size(x_3); +x_85 = lean_box(0); +x_86 = lean_nat_dec_lt(x_15, x_84); +if (x_86 == 0) { -lean_object* x_63; -lean_dec_ref(x_40); -lean_dec(x_36); -lean_dec(x_18); +lean_object* x_87; +lean_dec_ref(x_63); +lean_dec(x_59); +lean_dec(x_40); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -x_63 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_63, 0, x_61); -return x_63; +x_87 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_87, 0, x_85); +return x_87; } else { -uint8_t x_64; -x_64 = lean_nat_dec_le(x_60, x_60); -if (x_64 == 0) +uint8_t x_88; +x_88 = lean_nat_dec_le(x_84, x_84); +if (x_88 == 0) { -if (x_62 == 0) +if (x_86 == 0) { -lean_object* x_65; -lean_dec_ref(x_40); -lean_dec(x_36); -lean_dec(x_18); +lean_object* x_89; +lean_dec_ref(x_63); +lean_dec(x_59); +lean_dec(x_40); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_61); -return x_65; +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_85); +return x_89; } else { -size_t x_66; size_t x_67; lean_object* x_68; -x_66 = 0; -x_67 = lean_usize_of_nat(x_60); -x_68 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_18, x_5, x_3, x_66, x_67, x_61, x_6, x_7, x_8, x_9, x_40, x_36); -return x_68; +size_t x_90; size_t x_91; lean_object* x_92; +x_90 = 0; +x_91 = lean_usize_of_nat(x_84); +x_92 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_40, x_5, x_3, x_90, x_91, x_85, x_6, x_7, x_8, x_9, x_63, x_59); +return x_92; } } else { -size_t x_69; size_t x_70; lean_object* x_71; -x_69 = 0; -x_70 = lean_usize_of_nat(x_60); -x_71 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_18, x_5, x_3, x_69, x_70, x_61, x_6, x_7, x_8, x_9, x_40, x_36); +size_t x_93; size_t x_94; lean_object* x_95; +x_93 = 0; +x_94 = lean_usize_of_nat(x_84); +x_95 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_40, x_5, x_3, x_93, x_94, x_85, x_6, x_7, x_8, x_9, x_63, x_59); +return x_95; +} +} +} +} +else +{ +lean_dec_ref(x_63); +lean_dec(x_59); +lean_dec(x_40); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); return x_71; } } -} -} else { -lean_dec_ref(x_40); -lean_dec(x_36); -lean_dec(x_18); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_1); -return x_47; +lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_40); +x_96 = lean_ctor_get(x_37, 3); +lean_inc(x_96); +x_97 = 0; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_39); +x_99 = l_Lean_Elab_addNonRec(x_1, x_37, x_97, x_98, x_5, x_97, x_42, x_6, x_7, x_8, x_9, x_63, x_59); +return x_99; } } -else -{ -lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_18); -x_72 = lean_ctor_get(x_15, 3); -lean_inc(x_72); -x_73 = 0; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_17); -x_75 = l_Lean_Elab_addNonRec(x_1, x_15, x_73, x_74, x_5, x_73, x_6, x_7, x_8, x_9, x_40, x_36); -return x_75; -} -} -block_96: -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; -x_83 = lean_ctor_get(x_80, 0); -lean_inc_ref(x_83); -x_84 = lean_ctor_get(x_80, 1); -lean_inc_ref(x_84); -x_85 = lean_ctor_get(x_80, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_80, 5); -lean_inc(x_86); -x_87 = lean_ctor_get(x_80, 6); -lean_inc(x_87); -x_88 = lean_ctor_get(x_80, 7); -lean_inc(x_88); -x_89 = lean_ctor_get(x_80, 8); -lean_inc(x_89); -x_90 = lean_ctor_get(x_80, 9); -lean_inc(x_90); -x_91 = lean_ctor_get(x_80, 10); -lean_inc(x_91); -x_92 = lean_ctor_get(x_80, 11); -lean_inc(x_92); -x_93 = lean_ctor_get(x_80, 12); -lean_inc(x_93); -x_94 = lean_ctor_get_uint8(x_80, sizeof(void*)*14 + 1); -x_95 = lean_ctor_get(x_80, 13); -lean_inc_ref(x_95); -lean_dec_ref(x_80); -x_20 = x_77; -x_21 = x_78; -x_22 = x_79; -x_23 = x_83; -x_24 = x_84; -x_25 = x_85; -x_26 = x_86; -x_27 = x_87; -x_28 = x_88; -x_29 = x_89; -x_30 = x_90; -x_31 = x_91; -x_32 = x_92; -x_33 = x_93; -x_34 = x_94; -x_35 = x_95; -x_36 = x_81; -x_37 = lean_box(0); -goto block_76; -} block_121: { if (x_101 == 0) @@ -1091,18 +1021,27 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_102, 0); x_105 = lean_ctor_get(x_102, 5); lean_dec(x_105); -x_106 = l_Lean_Kernel_enableDiag(x_104, x_97); +x_106 = l_Lean_Kernel_enableDiag(x_104, x_45); x_107 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; lean_ctor_set(x_102, 5, x_107); lean_ctor_set(x_102, 0, x_106); x_108 = lean_st_ref_set(x_11, x_102); -x_77 = x_97; -x_78 = x_98; -x_79 = x_99; -x_80 = x_10; -x_81 = x_11; -x_82 = lean_box(0); -goto block_96; +x_46 = x_19; +x_47 = x_20; +x_48 = x_22; +x_49 = x_23; +x_50 = x_24; +x_51 = x_25; +x_52 = x_26; +x_53 = x_27; +x_54 = x_28; +x_55 = x_29; +x_56 = x_30; +x_57 = x_31; +x_58 = x_32; +x_59 = x_11; +x_60 = lean_box(0); +goto block_100; } else { @@ -1124,7 +1063,7 @@ lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); lean_dec(x_102); -x_117 = l_Lean_Kernel_enableDiag(x_109, x_97); +x_117 = l_Lean_Kernel_enableDiag(x_109, x_45); x_118 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; x_119 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_119, 0, x_117); @@ -1137,145 +1076,42 @@ lean_ctor_set(x_119, 6, x_114); lean_ctor_set(x_119, 7, x_115); lean_ctor_set(x_119, 8, x_116); x_120 = lean_st_ref_set(x_11, x_119); -x_77 = x_97; -x_78 = x_98; -x_79 = x_99; -x_80 = x_10; -x_81 = x_11; -x_82 = lean_box(0); -goto block_96; +x_46 = x_19; +x_47 = x_20; +x_48 = x_22; +x_49 = x_23; +x_50 = x_24; +x_51 = x_25; +x_52 = x_26; +x_53 = x_27; +x_54 = x_28; +x_55 = x_29; +x_56 = x_30; +x_57 = x_31; +x_58 = x_32; +x_59 = x_11; +x_60 = lean_box(0); +goto block_100; } } else { -x_77 = x_97; -x_78 = x_98; -x_79 = x_99; -x_80 = x_10; -x_81 = x_11; -x_82 = lean_box(0); -goto block_96; -} -} -block_149: -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; uint8_t x_148; -x_123 = lean_ctor_get(x_4, 3); -lean_inc(x_123); -lean_dec_ref(x_4); -x_124 = lean_array_get(x_14, x_2, x_19); -lean_dec_ref(x_2); -x_125 = lean_ctor_get(x_124, 3); -lean_inc(x_125); -lean_dec(x_124); -x_126 = lean_st_ref_get(x_11); -x_127 = lean_ctor_get(x_10, 0); -x_128 = lean_ctor_get(x_10, 1); -x_129 = lean_ctor_get(x_10, 2); -x_130 = lean_ctor_get(x_10, 3); -x_131 = lean_ctor_get(x_10, 5); -x_132 = lean_ctor_get(x_10, 6); -x_133 = lean_ctor_get(x_10, 7); -x_134 = lean_ctor_get(x_10, 8); -x_135 = lean_ctor_get(x_10, 9); -x_136 = lean_ctor_get(x_10, 10); -x_137 = lean_ctor_get(x_10, 11); -x_138 = lean_ctor_get(x_10, 12); -x_139 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); -x_140 = lean_ctor_get(x_10, 13); -x_141 = lean_ctor_get(x_126, 0); -lean_inc_ref(x_141); -lean_dec(x_126); -x_142 = lean_name_eq(x_123, x_125); -lean_dec(x_125); -lean_dec(x_123); -x_143 = l_Lean_allowUnsafeReducibility; -x_144 = 1; -lean_inc_ref(x_129); -x_145 = l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1(x_129, x_143, x_144); -x_146 = l_Lean_diagnostics; -x_147 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__2(x_145, x_146); -x_148 = l_Lean_Kernel_isDiagnosticsEnabled(x_141); -lean_dec_ref(x_141); -if (x_148 == 0) -{ -if (x_147 == 0) -{ -lean_inc_ref(x_140); -lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_inc_ref(x_128); -lean_inc_ref(x_127); -lean_dec_ref(x_10); -x_20 = x_147; -x_21 = x_145; -x_22 = x_142; -x_23 = x_127; -x_24 = x_128; -x_25 = x_130; -x_26 = x_131; -x_27 = x_132; -x_28 = x_133; -x_29 = x_134; -x_30 = x_135; -x_31 = x_136; -x_32 = x_137; -x_33 = x_138; -x_34 = x_139; -x_35 = x_140; -x_36 = x_11; -x_37 = lean_box(0); -goto block_76; -} -else -{ -x_97 = x_147; -x_98 = x_145; -x_99 = x_142; -x_100 = lean_box(0); -x_101 = x_148; -goto block_121; -} -} -else -{ -x_97 = x_147; -x_98 = x_145; -x_99 = x_142; -x_100 = lean_box(0); -x_101 = x_147; -goto block_121; -} -} -block_151: -{ -if (lean_obj_tag(x_150) == 0) -{ -lean_dec_ref(x_150); -x_122 = lean_box(0); -goto block_149; -} -else -{ -lean_dec(x_18); -lean_dec_ref(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -return x_150; +x_46 = x_19; +x_47 = x_20; +x_48 = x_22; +x_49 = x_23; +x_50 = x_24; +x_51 = x_25; +x_52 = x_26; +x_53 = x_27; +x_54 = x_28; +x_55 = x_29; +x_56 = x_30; +x_57 = x_31; +x_58 = x_32; +x_59 = x_11; +x_60 = lean_box(0); +goto block_100; } } } @@ -1330,33 +1166,6 @@ x_12 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUn return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_1, x_2, x_3, x_4, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -return x_14; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c index 8f79d83b14..42f73f9172 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c @@ -490,25 +490,22 @@ lean_object* l_Lean_enableRealizationsForConst(lean_object*, lean_object*, lean_ lean_object* l_Lean_Meta_generateEagerEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Structural_structuralRecursion_spec__2___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Structural_structuralRecursion_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object*, lean_object*); +lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 58, .m_capacity = 58, .m_length = 57, .m_data = "structural recursion failed, produced type incorrect term"}; static const lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__0 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__0_value; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__2; lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); lean_object* l_Lean_Meta_mapErrorImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Structural_structuralRecursion_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_abstractNestedProofs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -9107,73 +9104,7 @@ lean_dec_ref(x_1); return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_11; -x_11 = l_Lean_Meta_markAsRecursive___redArg(x_2, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec_ref(x_11); -x_13 = lean_apply_8(x_3, x_12, x_4, x_5, x_6, x_7, x_8, x_9, lean_box(0)); -return x_13; -} -else -{ -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -return x_11; -} -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -x_14 = lean_box(0); -x_15 = lean_apply_8(x_3, x_14, x_4, x_5, x_6, x_7, x_8, x_9, lean_box(0)); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -x_12 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_array_to_list(x_1); -x_14 = 1; -x_15 = l_Lean_Elab_addNonRec(x_2, x_3, x_4, x_13, x_14, x_4, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_4); -x_14 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -9184,6 +9115,24 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_addNonRec(x_1, x_2, x_3, x_4, x_5, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_3); +x_14 = lean_unbox(x_5); +x_15 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(x_1, x_2, x_13, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__1() { _start: { @@ -9198,7 +9147,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__1; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1), 2, 1); +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -9217,49 +9166,44 @@ lean_inc_ref(x_11); x_16 = l_Lean_Elab_eraseRecAppSyntax(x_15, x_11, x_12); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); lean_dec_ref(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*9); -x_19 = lean_ctor_get(x_17, 3); -lean_inc(x_19); -x_20 = lean_box(x_14); -lean_inc_ref(x_2); +x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__2; lean_inc_ref(x_1); -x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0___boxed), 12, 4); -lean_closure_set(x_21, 0, x_1); -lean_closure_set(x_21, 1, x_2); -lean_closure_set(x_21, 2, x_17); -lean_closure_set(x_21, 3, x_20); -x_22 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__2; -x_23 = l_Lean_Elab_DefKind_isTheorem(x_18); -x_24 = lean_box(x_23); +x_19 = lean_array_to_list(x_1); +x_20 = 1; +x_21 = lean_box(x_14); +x_22 = lean_box(x_20); lean_inc(x_8); lean_inc_ref(x_7); -x_25 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2___boxed), 10, 5); -lean_closure_set(x_25, 0, x_24); -lean_closure_set(x_25, 1, x_19); -lean_closure_set(x_25, 2, x_21); -lean_closure_set(x_25, 3, x_7); -lean_closure_set(x_25, 4, x_8); +lean_inc_ref(x_2); +x_23 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1___boxed), 12, 7); +lean_closure_set(x_23, 0, x_2); +lean_closure_set(x_23, 1, x_17); +lean_closure_set(x_23, 2, x_21); +lean_closure_set(x_23, 3, x_19); +lean_closure_set(x_23, 4, x_22); +lean_closure_set(x_23, 5, x_7); +lean_closure_set(x_23, 6, x_8); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_26 = l_Lean_Meta_mapErrorImp___redArg(x_25, x_22, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_26) == 0) +x_24 = l_Lean_Meta_mapErrorImp___redArg(x_23, x_18, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_24) == 0) { -if (lean_obj_tag(x_26) == 0) +if (lean_obj_tag(x_24) == 0) { -lean_object* x_27; size_t x_28; size_t x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec_ref(x_26); -x_28 = 1; -x_29 = lean_usize_add(x_4, x_28); -x_4 = x_29; -x_6 = x_27; +lean_object* x_25; size_t x_26; size_t x_27; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec_ref(x_24); +x_26 = 1; +x_27 = lean_usize_add(x_4, x_26); +x_4 = x_27; +x_6 = x_25; goto _start; } else @@ -9272,12 +9216,12 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_26; +return x_24; } } else { -uint8_t x_31; +uint8_t x_29; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -9286,26 +9230,26 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) +x_29 = !lean_is_exclusive(x_24); +if (x_29 == 0) { -return x_26; +return x_24; } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_26, 0); -lean_inc(x_32); -lean_dec(x_26); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_24, 0); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; } } } else { -uint8_t x_34; +uint8_t x_32; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -9314,26 +9258,26 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_34 = !lean_is_exclusive(x_16); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_16); +if (x_32 == 0) { return x_16; } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_16, 0); -lean_inc(x_35); +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_16, 0); +lean_inc(x_33); lean_dec(x_16); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_35); -return x_36; +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +return x_34; } } } else { -lean_object* x_37; +lean_object* x_35; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -9342,9 +9286,9 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_37 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_37, 0, x_6); -return x_37; +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_6); +return x_35; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c index 181bd05f81..049ee32c13 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c @@ -250,9 +250,9 @@ extern lean_object* l_Lean_Elab_instInhabitedModifiers_default; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Structural_addSmartUnfoldingDef_spec__0_spec__0___redArg(uint8_t, lean_object*); @@ -4849,65 +4849,66 @@ x_8 = l_Lean_Elab_Structural_addSmartUnfoldingDefAux(x_1, x_2, x_3, x_4, x_5, x_ return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_12 = l_Lean_Elab_Structural_addSmartUnfoldingDefAux(x_1, x_2, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_13 = l_Lean_Elab_Structural_addSmartUnfoldingDefAux(x_1, x_2, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -lean_dec_ref(x_12); -x_14 = lean_ctor_get(x_13, 3); -x_15 = lean_box(0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Elab_addNonRec(x_3, x_13, x_4, x_16, x_4, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_17; +lean_dec_ref(x_13); +x_15 = lean_ctor_get(x_14, 3); +x_16 = lean_box(0); +lean_inc(x_15); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Elab_addNonRec(x_3, x_14, x_4, x_17, x_4, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_18; } else { -uint8_t x_18; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); +uint8_t x_19; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); lean_dec_ref(x_3); -x_18 = !lean_is_exclusive(x_12); -if (x_18 == 0) +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) { -return x_12; +return x_13; } else { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -return x_20; +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_4); -x_13 = l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_4); +x_14 = lean_unbox(x_5); +x_15 = l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Structural_addSmartUnfoldingDef_spec__0_spec__0___redArg(uint8_t x_1, lean_object* x_2) { @@ -5139,11 +5140,13 @@ uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x lean_free_object(x_12); x_16 = 1; x_17 = lean_box(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed), 11, 4); +lean_inc(x_14); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed), 12, 5); lean_closure_set(x_18, 0, x_2); lean_closure_set(x_18, 1, x_3); lean_closure_set(x_18, 2, x_1); lean_closure_set(x_18, 3, x_17); +lean_closure_set(x_18, 4, x_14); x_19 = lean_unbox(x_14); lean_dec(x_14); x_20 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Structural_addSmartUnfoldingDef_spec__0___redArg(x_19, x_18, x_4, x_5, x_6, x_7, x_8, x_9); @@ -5179,11 +5182,13 @@ if (x_23 == 0) uint8_t x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; x_24 = 1; x_25 = lean_box(x_24); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed), 11, 4); +lean_inc(x_22); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_addSmartUnfoldingDef___lam__0___boxed), 12, 5); lean_closure_set(x_26, 0, x_2); lean_closure_set(x_26, 1, x_3); lean_closure_set(x_26, 2, x_1); lean_closure_set(x_26, 3, x_25); +lean_closure_set(x_26, 4, x_22); x_27 = lean_unbox(x_22); lean_dec(x_22); x_28 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Structural_addSmartUnfoldingDef_spec__0___redArg(x_27, x_26, x_4, x_5, x_6, x_7, x_8, x_9);