diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 3205214e2e..b64fc2dae6 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -1,7 +1,5 @@ #include "util/options.h" -// please update - namespace lean { options get_default_options() { options opts; diff --git a/stage0/stdlib/Lean/AddDecl.c b/stage0/stdlib/Lean/AddDecl.c index 0b136a5384..bf507470da 100644 --- a/stage0/stdlib/Lean/AddDecl.c +++ b/stage0/stdlib/Lean/AddDecl.c @@ -1884,54 +1884,129 @@ lean_inc(x_3); x_29 = l_Lean_ofExceptKernelException___at_Lean_addDecl_addAsAxiom___spec__1(x_28, x_3, x_4, x_24); if (lean_obj_tag(x_29) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); +lean_inc(x_30); x_32 = l_Lean_setEnv___at_Lean_compileDecls_doCompile___spec__12(x_30, x_3, x_4, x_31); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_box(0); -x_35 = l_Lean_Declaration_getTopLevelNames(x_1); -x_36 = lean_box(0); -lean_inc(x_35); -x_37 = l_List_forIn_x27_loop___at_Lean_addDecl_doAdd___spec__1(x_34, x_35, x_35, x_35, x_36, lean_box(0), x_3, x_4, x_33); -lean_dec(x_3); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_32, 1); +x_35 = lean_ctor_get(x_32, 0); lean_dec(x_35); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) +x_36 = l_Lean_Environment_header(x_30); +lean_dec(x_30); +x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*5 + 4); +lean_dec(x_36); +if (x_37 == 0) { -lean_object* x_39; -x_39 = lean_ctor_get(x_37, 0); -lean_dec(x_39); -lean_ctor_set(x_37, 0, x_36); -return x_37; +lean_object* x_38; +lean_dec(x_3); +lean_dec(x_1); +x_38 = lean_box(0); +lean_ctor_set(x_32, 0, x_38); +return x_32; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_37, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_free_object(x_32); +x_39 = lean_box(0); +x_40 = l_Lean_Declaration_getTopLevelNames(x_1); +x_41 = lean_box(0); lean_inc(x_40); -lean_dec(x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_42 = l_List_forIn_x27_loop___at_Lean_addDecl_doAdd___spec__1(x_39, x_40, x_40, x_40, x_41, lean_box(0), x_3, x_4, x_34); +lean_dec(x_3); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +lean_ctor_set(x_42, 0, x_41); +return x_42; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_41); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} } } else { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_29, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_29, 1); -lean_inc(x_43); +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_dec(x_32); +x_48 = l_Lean_Environment_header(x_30); +lean_dec(x_30); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*5 + 4); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_3); +lean_dec(x_1); +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_47); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_52 = lean_box(0); +x_53 = l_Lean_Declaration_getTopLevelNames(x_1); +x_54 = lean_box(0); +lean_inc(x_53); +x_55 = l_List_forIn_x27_loop___at_Lean_addDecl_doAdd___spec__1(x_52, x_53, x_53, x_53, x_54, lean_box(0), x_3, x_4, x_47); +lean_dec(x_3); +lean_dec(x_53); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_57 = x_55; +} else { + lean_dec_ref(x_55); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_57; +} +lean_ctor_set(x_58, 0, x_54); +lean_ctor_set(x_58, 1, x_56); +return x_58; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_29, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_29, 1); +lean_inc(x_60); lean_dec(x_29); -x_6 = x_42; -x_7 = x_43; +x_6 = x_59; +x_7 = x_60; goto block_21; } block_21: diff --git a/stage0/stdlib/Lean/Data/LOption.c b/stage0/stdlib/Lean/Data/LOption.c index a0b08ad1ce..c89b7871a7 100644 --- a/stage0/stdlib/Lean/Data/LOption.c +++ b/stage0/stdlib/Lean/Data/LOption.c @@ -19,6 +19,7 @@ static lean_object* l_Lean_instToStringLOption___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_LOption_0__Lean_beqLOption____x40_Lean_Data_LOption___hyg_42_(lean_object*); static lean_object* l_Lean_instToStringLOption___rarg___closed__3; static lean_object* l_Lean_instToStringLOption___rarg___closed__4; +LEAN_EXPORT lean_object* l_Lean_LOption_toOption___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_instBEqLOption(lean_object*); LEAN_EXPORT lean_object* l_toLOptionM___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_toLOptionM___rarg___lambda__1(lean_object*, lean_object*); @@ -28,6 +29,7 @@ LEAN_EXPORT lean_object* l_Lean_instToStringLOption___rarg(lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_Data_LOption_0__Lean_beqLOption____x40_Lean_Data_LOption___hyg_42____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToStringLOption___rarg___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LOption_toOption(lean_object*); LEAN_EXPORT lean_object* l_Option_toLOption(lean_object*); LEAN_EXPORT lean_object* l_Option_toLOption___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedLOption(lean_object* x_1) { @@ -208,6 +210,45 @@ x_2 = lean_alloc_closure((void*)(l_Lean_instToStringLOption___rarg), 2, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_LOption_toOption___rarg(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +else +{ +lean_object* x_5; +lean_dec(x_1); +x_5 = lean_box(0); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_LOption_toOption(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_LOption_toOption___rarg), 1, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Option_toLOption___rarg(lean_object* x_1) { _start: { diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index 14471f4f30..1d8bc1d46a 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -506,7 +506,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___boxed(lean_object*, static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__3; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange__1___closed__3; -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__8___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_elabExport___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabOpen___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1152,6 +1151,7 @@ LEAN_EXPORT lean_object* l_Lean_validateDocComment___at_Lean_Elab_Command_elabAd LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange__1___closed__5; uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__10; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabOpen___spec__15___closed__3; @@ -24883,7 +24883,7 @@ lean_dec(x_6); x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_1, x_3, x_4, x_8); +x_10 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_1, x_3, x_4, x_8); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); @@ -24898,7 +24898,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_9, x_3, x_4, x_14); +x_15 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_9, x_3, x_4, x_14); lean_dec(x_4); lean_dec(x_3); x_16 = !lean_is_exclusive(x_15); @@ -24930,7 +24930,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); lean_dec(x_12); -x_22 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_9, x_3, x_4, x_21); +x_22 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_9, x_3, x_4, x_21); lean_dec(x_4); lean_dec(x_3); x_23 = !lean_is_exclusive(x_22); diff --git a/stage0/stdlib/Lean/Elab/CheckTactic.c b/stage0/stdlib/Lean/Elab/CheckTactic.c index 23ce089f37..cd29a8b9f0 100644 --- a/stage0/stdlib/Lean/Elab/CheckTactic.c +++ b/stage0/stdlib/Lean/Elab/CheckTactic.c @@ -70,7 +70,6 @@ lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_obj static lean_object* l_Lean_Elab_CheckTactic_elabCheckTacticFailure___closed__1; static lean_object* l_Lean_Elab_CheckTactic_expandCheckSimp___closed__1; static lean_object* l_Lean_Elab_CheckTactic_expandCheckSimp___closed__12; -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_CheckTactic_elabCheckTactic__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_CheckTactic_elabCheckTactic_declRange__1___closed__2; lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,6 +160,7 @@ extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_CheckTactic_elabCheckTactic___lambda__2___closed__3; static lean_object* l___regBuiltin_Lean_Elab_CheckTactic_elabCheckTactic_declRange__1___closed__6; uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_CheckTactic_elabCheckTactic__1___closed__6; uint8_t l_Lean_Exception_isRuntime(lean_object*); static lean_object* l_Lean_Elab_CheckTactic_elabCheckTactic___lambda__2___closed__10; @@ -232,7 +232,7 @@ lean_dec(x_6); x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_1, x_3, x_4, x_8); +x_10 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_1, x_3, x_4, x_8); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); @@ -247,7 +247,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_9, x_3, x_4, x_14); +x_15 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_9, x_3, x_4, x_14); lean_dec(x_4); lean_dec(x_3); x_16 = !lean_is_exclusive(x_15); @@ -279,7 +279,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); lean_dec(x_12); -x_22 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_9, x_3, x_4, x_21); +x_22 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_9, x_3, x_4, x_21); lean_dec(x_4); lean_dec(x_3); x_23 = !lean_is_exclusive(x_22); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 320b421174..c6d85d20e3 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -18,6 +18,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermE LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__9; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_wrapAsync___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,13 +33,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLint LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___lambda__1___closed__3; static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__1; +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkState___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t l_Lean_Elab_Command_mkMetaContext___closed__2; static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_withLoggingExceptions___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__2; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,8 +54,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wra lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__5___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157_(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_logSnapshotTask(lean_object*, lean_object*, lean_object*, lean_object*); @@ -64,6 +65,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___lambda__1___closed__3; static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabCommand_go___spec__19(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -75,7 +77,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMC LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1; +static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__5; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand_go___spec__13(lean_object*, lean_object*); @@ -88,11 +92,11 @@ LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Command_runLinters___s LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__3; lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__1; static lean_object* l_Lean_Elab_Command_elabCommand_go___closed__5; lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkState___closed__11; static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__16; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972_(lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__21; static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__1; lean_object* l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(lean_object*, lean_object*); @@ -110,7 +114,6 @@ lean_object* l_Lean_indentD(lean_object*); double lean_float_div(double, double); lean_object* lean_io_get_tid(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand_go___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__6; static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__6___closed__2; lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_io_promise_new(lean_object*); @@ -151,6 +154,7 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinte LEAN_EXPORT lean_object* l_Lean_Elab_Command_wrapAsync___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__2___closed__2; lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__2; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__3___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); @@ -159,7 +163,6 @@ LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Elab_Command_wrapAsyncAsSnaps LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___closed__2; lean_object* l_Lean_Expr_sort___override(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__3; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -214,6 +217,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__2(lean_obj static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__3; lean_object* l_Array_qsort_sort___at_Lean_addTraceAsMessages___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213_(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__6; static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5; static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__3; @@ -224,10 +228,10 @@ uint8_t lean_float_decLt(double, double); LEAN_EXPORT lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__12___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftCoreM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withEnv___at_Lean_Elab_Command_runLintersAsync___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___rarg___closed__1; lean_object* l_Lean_MessageData_hasSyntheticSorry(lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3; static lean_object* l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*); static lean_object* l_Lean_Elab_Command_mkMetaContext___closed__3; @@ -237,6 +241,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermE static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_empty; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM; @@ -271,13 +276,13 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__6; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__5; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__22; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1; uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1; +lean_object* l_Lean_Language_SnapshotTree_getAll(lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_liftCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__1; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand_go___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__17; @@ -307,7 +312,7 @@ static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spe static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM; LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_withSetOptionIn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4; uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); @@ -316,7 +321,7 @@ static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__14; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__3; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand_go___closed__7; @@ -328,15 +333,12 @@ LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_wrapAsync lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1; LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Command_runLinters___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withEnv___at_Lean_Elab_Command_runLintersAsync___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__4; lean_object* lean_io_promise_resolve(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reportDiag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkState___closed__8; @@ -344,7 +346,7 @@ lean_object* lean_io_promise_result_opt(lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_unlockAsync(lean_object*); @@ -356,6 +358,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters_ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand_go___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_withSetOptionIn___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_runLintersAsync___closed__1; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__5(lean_object*, size_t, size_t, lean_object*); @@ -385,19 +388,21 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getBracketedBinderIds(lean_object*, lean_object* l_Std_DHashMap_Internal_AssocList_getD___at_Lean_addTraceAsMessages___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_liftCoreM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Language_SnapshotTree_waitAll(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkState___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__6___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__16; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg(lean_object*, lean_object*); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__4; static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___lambda__1___closed__4; lean_object* l_Lean_MessageData_ofSyntax(lean_object*); extern lean_object* l_ByteArray_empty; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727_; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,7 +416,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabComma lean_object* l_instDecidableEqPos___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__5; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__3; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Elab_Command_runLinters___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -420,7 +424,6 @@ static size_t l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___close lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__7(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__4; @@ -460,6 +463,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wra LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -472,18 +476,17 @@ static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__11; static lean_object* l_Lean_Elab_Command_runLinters___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__5(lean_object*); -static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkState___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_liftCommandElabM___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEvalTermElabMCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__4; lean_object* l_liftExcept___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__3___closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__3; static lean_object* l_Lean_Elab_Command_runLinters___lambda__1___closed__2; lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,12 +505,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_withSetOp static lean_object* l_Lean_withSetOptionIn___closed__4; static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__19; +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__17; lean_object* l_Lean_Elab_InfoState_substituteLazy(lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__5___closed__1; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_nil; @@ -517,9 +520,10 @@ extern lean_object* l_Lean_levelZero; uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_addTraceAsMessages___spec__2(lean_object*, lean_object*); lean_object* lean_io_mono_nanos_now(lean_object*); lean_object* l_panic___at_String_fromUTF8_x21___spec__1(lean_object*); -LEAN_EXPORT uint8_t l_Lean_Elab_Command_elabCommandTopLevel___lambda__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_modifyScope(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430_(lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -528,12 +532,12 @@ lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean LEAN_EXPORT lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_withLoggingExceptions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868_(lean_object*); static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_withSetOptionIn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkState___closed__2; lean_object* lean_thunk_get_own(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__2; extern lean_object* l_Lean_Elab_builtinIncrementalElabs; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__7; LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Command_runLinters___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -541,6 +545,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Comma static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__1; extern lean_object* l_Task_Priority_default; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__3; static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -557,6 +562,7 @@ static lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM__ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getBracketedBinderIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_withSetOptionIn___spec__6___closed__1; lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__3; LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___at_Lean_Elab_Command_elabCommand_go___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_warningAsError; extern lean_object* l_Lean_Elab_pp_macroStack; @@ -564,13 +570,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkMetaContext; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___rarg___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_getBracketedBinderIds___spec__1___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_MessageLog_empty; static lean_object* l_Lean_Elab_Command_mkState___closed__7; uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__4; static lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1; extern lean_object* l_Lean_trace_profiler_threshold; @@ -578,10 +584,12 @@ LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__4; -static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__3; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1; static lean_object* l_Lean_Elab_Command_mkState___closed__1; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_liftCommandElabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___boxed(lean_object*); @@ -591,6 +599,7 @@ static lean_object* l_Lean_Elab_Command_modifyScope___closed__4; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__7; extern lean_object* l_Lean_diagnostics; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__5(lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__2; static lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___closed__1; @@ -614,12 +623,12 @@ static lean_object* l_Lean_Elab_Command_mkMetaContext___closed__1; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__27; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__18; LEAN_EXPORT lean_object* l_Lean_withSetOptionIn___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withLoggingExceptions(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand_go___spec__8___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__6; extern lean_object* l_Std_Format_defWidth; @@ -631,7 +640,6 @@ LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_wrapAsync LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__12(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__2; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -643,6 +651,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_C LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_thunk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__3; static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___lambda__1___closed__1; lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); lean_object* l_Lean_Meta_mkForallFVars_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -661,13 +670,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLinters___lambda__1(lean_object* static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__1; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__5; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__5; +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__2; static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__6___closed__4; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__6; static lean_object* l_Lean_Elab_Command_modifyScope___closed__2; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__17; static lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__3___closed__1; double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); @@ -677,9 +686,7 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLi size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__2; static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__8; LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static double l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___closed__4; @@ -699,6 +706,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__4(lean_obj static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__6; static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__3; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2; @@ -712,6 +720,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__4; static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__12___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__6___closed__3; @@ -720,6 +729,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Ela static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__3; static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; static lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5; static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; @@ -733,7 +743,6 @@ static lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand_go___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -743,6 +752,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Command_ lean_object* l_Lean_throwError___at_Lean_realizeGlobalConstCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames___boxed(lean_object*); lean_object* l_Lean_Language_SnapshotTask_defaultReportingRange_x3f(lean_object*); @@ -755,7 +765,6 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLi static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__8; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabBinders___rarg(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_Command_initFn____x40_Lean_Elab_Command___hyg_3627_(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__2; @@ -764,7 +773,6 @@ static lean_object* l_Lean_Elab_Command_mkState___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand_go___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__2; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_598_(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -777,10 +785,9 @@ static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__3; static lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_findAux(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__12; static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___closed__1; -static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); @@ -796,17 +803,18 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScopes___rarg___boxed(lean_objec LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__19; +static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__2; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__1; static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___lambda__1___closed__8; uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Command_modifyScope___spec__1(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_getBracketedBinderIds___spec__1(lean_object*, lean_object*); +lean_object* l_IO_Promise_result_x21___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -823,6 +831,7 @@ static double l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4__ LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__26; +lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand_go___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg___closed__1; @@ -832,7 +841,6 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__2; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_wrapAsyncAsSnapshot(lean_object*); @@ -847,19 +855,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__6___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__2; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__1; lean_object* lean_erase_macro_scopes(lean_object*); extern lean_object* l_Lean_Elab_incrementalAttr; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM(lean_object*); static lean_object* l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116_(lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__2___closed__2; +static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__7; static lean_object* l_Lean_Elab_Command_elabCommand_go___closed__4; extern lean_object* l_Lean_firstFrontendMacroScope; @@ -871,9 +877,10 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_run LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedScope; lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEvalTermElabMCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_hasMissing(lean_object*); @@ -897,13 +904,13 @@ size_t lean_array_size(lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__5___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_addTraceAsMessages___spec__16(lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Lean_trace_profiler; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_elabCommand_go___spec__17___at_Lean_Elab_Command_elabCommand_go___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_PersistentArray_isEmpty___rarg(lean_object*); lean_object* l_Lean_Language_SnapshotTask_get___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__2; -static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -928,6 +935,7 @@ static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___cl static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand_go___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at_Lean_Elab_Command_elabCommand_go___spec__16___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -936,6 +944,7 @@ static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___cl static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__18; static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__3; LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Command_withLoggingExceptions___spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__1; lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__2___closed__1; lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*); @@ -955,14 +964,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lam LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM; lean_object* l_instHashablePos___boxed(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__5; lean_object* l_Lean_MessageLog_toArray(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withMacroExpansion(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1; static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_getBracketedBinderIds___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand_go___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__7___boxed(lean_object*, lean_object*, lean_object*); @@ -970,7 +978,9 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_withSetOptionIn___spec__7(l lean_object* l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__4; +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_getBracketedBinderIds___spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__23; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -989,6 +999,7 @@ static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___clos LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Command_runLinters___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_addTraceAsMessages___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398_(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM; @@ -998,10 +1009,13 @@ uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__4; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_liftCommandElabMCore___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968_; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1(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_Command_0__Lean_Elab_Command_mkTermContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_markAllReported(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); @@ -1012,7 +1026,6 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters_ LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_liftCommandElabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__6___closed__1; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__3; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__2(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__2___closed__1; @@ -1029,11 +1042,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runC LEAN_EXPORT lean_object* l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__2; size_t lean_usize_land(size_t, size_t); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__2; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__2; static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -21126,7 +21139,59 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_12 = lean_array_uset(x_7, x_2, x_9); +x_2 = x_11; +x_3 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_MessageLog_append(x_4, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -21220,7 +21285,7 @@ return x_30; } } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at_Lean_Elab_Command_runLintersAsync___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_withEnv___at_Lean_Elab_Command_runLintersAsync___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -21233,7 +21298,7 @@ lean_dec(x_6); x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_1, x_3, x_4, x_8); +x_10 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_1, x_3, x_4, x_8); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); @@ -21248,7 +21313,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_9, x_3, x_4, x_14); +x_15 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_9, x_3, x_4, x_14); lean_dec(x_4); lean_dec(x_3); x_16 = !lean_is_exclusive(x_15); @@ -21280,7 +21345,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); lean_dec(x_12); -x_22 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_9, x_3, x_4, x_21); +x_22 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_9, x_3, x_4, x_21); lean_dec(x_4); lean_dec(x_3); x_23 = !lean_is_exclusive(x_22); @@ -21307,70 +21372,250 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_st_ref_take(x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_7 = l_Lean_Language_SnapshotTree_getAll(x_1); +x_8 = lean_array_size(x_7); +x_9 = 0; +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(x_8, x_9, x_7); +x_11 = lean_array_get_size(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_lt(x_12, x_11); +x_14 = lean_st_ref_take(x_5, x_6); +if (x_13 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_7, 6); -lean_dec(x_10); -lean_ctor_set(x_7, 6, x_2); -x_11 = lean_st_ref_set(x_4, x_7, x_8); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); +lean_object* x_74; lean_dec(x_11); -x_13 = l_Lean_Elab_Command_runLinters(x_1, x_3, x_4, x_12); -return x_13; +lean_dec(x_10); +x_74 = l_Lean_MessageLog_empty; +x_15 = x_74; +goto block_73; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 7); -x_21 = lean_ctor_get(x_7, 8); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); +uint8_t x_75; +x_75 = lean_nat_dec_le(x_11, x_11); +if (x_75 == 0) +{ +lean_object* x_76; +lean_dec(x_11); +lean_dec(x_10); +x_76 = l_Lean_MessageLog_empty; +x_15 = x_76; +goto block_73; +} +else +{ +size_t x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_78 = l_Lean_MessageLog_empty; +x_79 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(x_10, x_9, x_77, x_78); +lean_dec(x_10); +x_15 = x_79; +goto block_73; +} +} +block_73: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -x_22 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_22, 0, x_14); -lean_ctor_set(x_22, 1, x_15); -lean_ctor_set(x_22, 2, x_16); -lean_ctor_set(x_22, 3, x_17); -lean_ctor_set(x_22, 4, x_18); -lean_ctor_set(x_22, 5, x_19); -lean_ctor_set(x_22, 6, x_2); -lean_ctor_set(x_22, 7, x_20); -lean_ctor_set(x_22, 8, x_21); -x_23 = lean_st_ref_set(x_4, x_22, x_8); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Lean_Elab_Command_runLinters(x_1, x_3, x_4, x_24); -return x_25; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l_Lean_MessageLog_markAllReported(x_15); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +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; uint8_t x_27; +x_20 = lean_ctor_get(x_16, 1); +x_21 = l_Lean_MessageLog_append(x_20, x_18); +lean_ctor_set(x_16, 1, x_21); +x_22 = lean_st_ref_set(x_5, x_16, x_17); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_take(x_5, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_25, 6); +lean_dec(x_28); +lean_ctor_set(x_25, 6, x_3); +x_29 = lean_st_ref_set(x_5, x_25, x_26); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_30); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +x_34 = lean_ctor_get(x_25, 2); +x_35 = lean_ctor_get(x_25, 3); +x_36 = lean_ctor_get(x_25, 4); +x_37 = lean_ctor_get(x_25, 5); +x_38 = lean_ctor_get(x_25, 7); +x_39 = lean_ctor_get(x_25, 8); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_40 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_40, 0, x_32); +lean_ctor_set(x_40, 1, x_33); +lean_ctor_set(x_40, 2, x_34); +lean_ctor_set(x_40, 3, x_35); +lean_ctor_set(x_40, 4, x_36); +lean_ctor_set(x_40, 5, x_37); +lean_ctor_set(x_40, 6, x_3); +lean_ctor_set(x_40, 7, x_38); +lean_ctor_set(x_40, 8, x_39); +x_41 = lean_st_ref_set(x_5, x_40, x_26); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_42); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_44 = lean_ctor_get(x_16, 0); +x_45 = lean_ctor_get(x_16, 1); +x_46 = lean_ctor_get(x_16, 2); +x_47 = lean_ctor_get(x_16, 3); +x_48 = lean_ctor_get(x_16, 4); +x_49 = lean_ctor_get(x_16, 5); +x_50 = lean_ctor_get(x_16, 6); +x_51 = lean_ctor_get(x_16, 7); +x_52 = lean_ctor_get(x_16, 8); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_16); +x_53 = l_Lean_MessageLog_append(x_45, x_18); +x_54 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_54, 0, x_44); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_46); +lean_ctor_set(x_54, 3, x_47); +lean_ctor_set(x_54, 4, x_48); +lean_ctor_set(x_54, 5, x_49); +lean_ctor_set(x_54, 6, x_50); +lean_ctor_set(x_54, 7, x_51); +lean_ctor_set(x_54, 8, x_52); +x_55 = lean_st_ref_set(x_5, x_54, x_17); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_take(x_5, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_58, 2); +lean_inc(x_62); +x_63 = lean_ctor_get(x_58, 3); +lean_inc(x_63); +x_64 = lean_ctor_get(x_58, 4); +lean_inc(x_64); +x_65 = lean_ctor_get(x_58, 5); +lean_inc(x_65); +x_66 = lean_ctor_get(x_58, 7); +lean_inc(x_66); +x_67 = lean_ctor_get(x_58, 8); +lean_inc(x_67); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + lean_ctor_release(x_58, 2); + lean_ctor_release(x_58, 3); + lean_ctor_release(x_58, 4); + lean_ctor_release(x_58, 5); + lean_ctor_release(x_58, 6); + lean_ctor_release(x_58, 7); + lean_ctor_release(x_58, 8); + x_68 = x_58; +} else { + lean_dec_ref(x_58); + x_68 = lean_box(0); +} +if (lean_is_scalar(x_68)) { + x_69 = lean_alloc_ctor(0, 9, 0); +} else { + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_61); +lean_ctor_set(x_69, 2, x_62); +lean_ctor_set(x_69, 3, x_63); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_3); +lean_ctor_set(x_69, 7, x_66); +lean_ctor_set(x_69, 8, x_67); +x_70 = lean_st_ref_set(x_5, x_69, x_59); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_71); +return x_72; } } } -static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1() { +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_apply_2(x_1, x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync___lambda__2___boxed), 4, 2); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_3); +x_6 = l_Task_Priority_default; +x_7 = 0; +x_8 = lean_io_map_task(x_5, x_2, x_6, x_7, x_4); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -21378,30 +21623,60 @@ x_1 = lean_mk_string_unchecked("runLintersAsync", 15, 15); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Command_Linter_name___autoParam___closed__1; x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__6; -x_4 = l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1; +x_4 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__2; +x_1 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__2; x_2 = 1; x_3 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___closed__1; x_4 = l_Lean_Name_toString(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4() { +_start: +{ +uint64_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Elab_Command_mkState___closed__11; +x_3 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set_uint64(x_3, sizeof(void*)*1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3; +x_3 = l_Lean_Language_Snapshot_Diagnostics_empty; +x_4 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4; +x_5 = 0; +x_6 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_1); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -21410,59 +21685,150 @@ x_2 = l_Lean_Language_SnapshotTask_defaultReportingRange_x3f(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t 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; -x_6 = l_IO_CancelToken_new(x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync___lambda__1), 5, 1); -lean_closure_set(x_9, 0, x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_7); -x_11 = l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__3; -lean_inc(x_3); -lean_inc(x_10); -x_12 = l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg(x_9, x_10, x_11, x_3, x_4, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_7 = lean_box(0); +x_8 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__5; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_2); +lean_inc(x_9); +x_10 = l_Lean_Language_SnapshotTree_waitAll(x_9, x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_IO_CancelToken_new(x_12); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_st_ref_get(x_4, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync___lambda__1), 6, 2); +lean_closure_set(x_16, 0, x_9); +lean_closure_set(x_16, 1, x_1); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_14); +x_18 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3; +lean_inc(x_4); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 6); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_InfoState_substituteLazy(x_18); -x_20 = l_Task_Priority_default; -x_21 = 0; -x_22 = lean_io_map_task(x_13, x_19, x_20, x_21, x_17); +x_19 = l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg(x_16, x_17, x_18, x_4, x_5, x_15); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_st_ref_get(x_5, x_21); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = lean_box(0); -x_26 = l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__4; -x_27 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_10); -lean_ctor_set(x_27, 3, x_23); -x_28 = l_Lean_Elab_Command_logSnapshotTask(x_27, x_3, x_4, x_24); -lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 6); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_InfoState_substituteLazy(x_25); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync___lambda__3), 4, 2); +lean_closure_set(x_27, 0, x_20); +lean_closure_set(x_27, 1, x_11); +x_28 = l_Task_Priority_default; +x_29 = 1; +x_30 = lean_io_bind_task(x_26, x_27, x_28, x_29, x_24); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6; +x_34 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_34, 0, x_7); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_17); +lean_ctor_set(x_34, 3, x_31); +x_35 = l_Lean_Elab_Command_logSnapshotTask(x_34, x_4, x_5, x_32); +lean_dec(x_4); +return x_35; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 1); +x_3 = lean_thunk_get_own(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync___lambda__5___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = lean_ctor_get(x_3, 7); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_8, 8); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_box(0); +x_12 = l_Lean_Elab_Command_runLintersAsync___lambda__4(x_1, x_10, x_11, x_3, x_4, x_9); +return x_12; +} +else +{ +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; 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; +x_13 = lean_ctor_get(x_6, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 1); +lean_inc(x_14); +lean_dec(x_6); +x_15 = lean_ctor_get(x_13, 8); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +lean_dec(x_7); +x_17 = lean_box(0); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_IO_Promise_result_x21___rarg(x_18); +lean_dec(x_18); +x_20 = l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1; +x_21 = l_Task_Priority_default; +x_22 = 1; +x_23 = lean_task_map(x_20, x_19, x_21, x_22); +x_24 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6; +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_17); +lean_ctor_set(x_25, 3, x_23); +x_26 = lean_array_push(x_15, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_runLintersAsync___lambda__4(x_1, x_26, x_27, x_3, x_4, x_14); return x_28; } } +} static lean_object* _init_l_Lean_Elab_Command_runLintersAsync___closed__1() { _start: { @@ -21508,7 +21874,7 @@ x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); lean_dec(x_16); x_19 = l_Lean_Environment_unlockAsync(x_18); -x_20 = l_Lean_withEnv___at_Lean_Elab_Command_runLintersAsync___spec__1(x_19, x_14, x_2, x_3, x_17); +x_20 = l_Lean_withEnv___at_Lean_Elab_Command_runLintersAsync___spec__3(x_19, x_14, x_2, x_3, x_17); if (lean_obj_tag(x_20) == 0) { uint8_t x_21; @@ -21562,27 +21928,80 @@ else { lean_object* x_31; lean_object* x_32; x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_runLintersAsync___lambda__2(x_1, x_31, x_2, x_3, x_7); +x_32 = l_Lean_Elab_Command_runLintersAsync___lambda__6(x_1, x_31, x_2, x_3, x_7); lean_dec(x_3); return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_runLintersAsync___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_Command_runLintersAsync___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__5___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Command_runLintersAsync___lambda__5(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Elab_Command_runLintersAsync___lambda__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_Command_runLintersAsync___lambda__6(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_2); return x_6; @@ -21984,7 +22403,7 @@ x_8 = l_Lean_Elab_mkElabAttribute___rarg(x_3, x_4, x_5, x_6, x_7, x_1, x_2); return x_8; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__1() { _start: { lean_object* x_1; @@ -21992,23 +22411,23 @@ x_1 = lean_mk_string_unchecked("commandElabAttribute", 20, 20); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Command_Linter_name___autoParam___closed__1; x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__6; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__1; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__2; x_3 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe(x_2, x_1); return x_3; } @@ -25449,7 +25868,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -25459,28 +25878,28 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__16; -x_2 = lean_unsigned_to_nat(3627u); +x_2 = lean_unsigned_to_nat(3868u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__2; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__2; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__1() { _start: { lean_object* x_1; @@ -25488,23 +25907,23 @@ x_1 = lean_mk_string_unchecked("MacroExpandedSnapshot", 21, 21); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Command_Linter_name___autoParam___closed__1; x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__6; -x_4 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__1; +x_4 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727_() { +static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968_() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__2; +x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__2; return x_1; } } @@ -25512,24 +25931,7 @@ static lean_object* _init_l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot( _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727_; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___lambda__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 1); -x_3 = lean_thunk_get_own(x_2); -return x_3; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___lambda__1___boxed), 1, 0); +x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968_; return x_1; } } @@ -25552,7 +25954,7 @@ x_8 = lean_ctor_get(x_5, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_5, 1); lean_inc(x_9); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1; +x_10 = l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1; x_11 = 1; x_12 = l_Lean_Language_SnapshotTask_map___rarg(x_5, x_10, x_8, x_9, x_11); x_13 = 1; @@ -25582,15 +25984,6 @@ lean_ctor_set(x_7, 1, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___lambda__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___lambda__1(x_1); -lean_dec(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -32323,23 +32716,11 @@ return x_4; static lean_object* _init_l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5() { _start: { -uint64_t x_1; lean_object* x_2; lean_object* x_3; -x_1 = 0; -x_2 = l_Lean_Elab_Command_mkState___closed__11; -x_3 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set_uint64(x_3, sizeof(void*)*1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__4; x_3 = l_Lean_Language_Snapshot_Diagnostics_empty; -x_4 = l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5; +x_4 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4; x_5 = 0; x_6 = lean_alloc_ctor(0, 4, 1); lean_ctor_set(x_6, 0, x_2); @@ -32452,10 +32833,10 @@ x_18 = lean_ctor_get(x_1, 0); x_19 = lean_ctor_get(x_18, 2); x_20 = lean_unsigned_to_nat(0u); x_21 = lean_nat_dec_lt(x_20, x_19); -x_22 = l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5; +x_22 = l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4; x_23 = l_Lean_Elab_Command_mkState___closed__1; x_24 = l_Array_zipWithAux___at_Lean_Elab_Command_elabCommand_go___spec__14___at_Lean_Elab_Command_elabCommand_go___spec__15(x_16, x_17, x_22, x_14, x_2, x_20, x_23); -x_25 = l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__6; +x_25 = l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5; x_26 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_3); @@ -33539,7 +33920,7 @@ x_13 = l_Lean_Syntax_getKind(x_1); x_14 = 1; x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___closed__1; x_16 = l_Lean_Name_toString(x_13, x_14, x_15); -x_17 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1; +x_17 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1; x_18 = lean_box(x_14); x_19 = lean_alloc_closure((void*)(l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___boxed), 8, 5); lean_closure_set(x_19, 0, x_17); @@ -33562,7 +33943,7 @@ x_24 = l_Lean_Syntax_getKind(x_23); x_25 = 1; x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___closed__1; x_27 = l_Lean_Name_toString(x_24, x_25, x_26); -x_28 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1; +x_28 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1; x_29 = lean_box(x_25); x_30 = lean_alloc_closure((void*)(l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___boxed), 8, 5); lean_closure_set(x_30, 0, x_28); @@ -34109,7 +34490,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__1() { _start: { lean_object* x_1; @@ -34117,38 +34498,38 @@ x_1 = lean_mk_string_unchecked("input", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__16; -x_2 = lean_unsigned_to_nat(5116u); +x_2 = lean_unsigned_to_nat(5357u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__3; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__3; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1() { _start: { lean_object* x_1; @@ -34156,17 +34537,17 @@ x_1 = lean_mk_string_unchecked("showPartialSyntaxErrors", 23, 23); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__3() { _start: { lean_object* x_1; @@ -34174,13 +34555,13 @@ x_1 = lean_mk_string_unchecked("show elaboration errors from partial syntax tree return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__3; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -34189,30 +34570,30 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Command_Linter_name___autoParam___closed__1; x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__6; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__4; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__4; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__5; x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__1() { _start: { lean_object* x_1; @@ -34220,27 +34601,27 @@ x_1 = lean_mk_string_unchecked("info", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__16; -x_2 = lean_unsigned_to_nat(5189u); +x_2 = lean_unsigned_to_nat(5430u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__4() { _start: { lean_object* x_1; @@ -34248,23 +34629,23 @@ x_1 = lean_mk_string_unchecked("snapshotTree", 12, 12); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__4; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__3; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__3; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -34272,7 +34653,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__5; +x_7 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__5; x_8 = l_Lean_registerTraceClass(x_7, x_3, x_4, x_6); return x_8; } @@ -34300,190 +34681,7 @@ return x_12; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_st_ref_take(x_5, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = lean_ctor_get(x_12, 6); -x_16 = lean_ctor_get(x_12, 1); -lean_dec(x_16); -x_17 = l_Lean_MessageLog_append(x_1, x_10); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_15, 2); -x_20 = l_Lean_PersistentArray_append___rarg(x_2, x_19); -lean_dec(x_19); -lean_ctor_set(x_15, 2, x_20); -lean_ctor_set(x_12, 1, x_17); -x_21 = lean_st_ref_set(x_5, x_12, x_13); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -x_24 = lean_box(0); -lean_ctor_set(x_21, 0, x_24); -return x_21; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -else -{ -uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_28 = lean_ctor_get_uint8(x_15, sizeof(void*)*3); -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -x_31 = lean_ctor_get(x_15, 2); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_15); -x_32 = l_Lean_PersistentArray_append___rarg(x_2, x_31); -lean_dec(x_31); -x_33 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_33, 0, x_29); -lean_ctor_set(x_33, 1, x_30); -lean_ctor_set(x_33, 2, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_28); -lean_ctor_set(x_12, 6, x_33); -lean_ctor_set(x_12, 1, x_17); -x_34 = lean_st_ref_set(x_5, x_12, x_13); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_36 = x_34; -} else { - lean_dec_ref(x_34); - x_36 = lean_box(0); -} -x_37 = lean_box(0); -if (lean_is_scalar(x_36)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_36; -} -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_39 = lean_ctor_get(x_12, 0); -x_40 = lean_ctor_get(x_12, 2); -x_41 = lean_ctor_get(x_12, 3); -x_42 = lean_ctor_get(x_12, 4); -x_43 = lean_ctor_get(x_12, 5); -x_44 = lean_ctor_get(x_12, 6); -x_45 = lean_ctor_get(x_12, 7); -x_46 = lean_ctor_get(x_12, 8); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_12); -x_47 = l_Lean_MessageLog_append(x_1, x_10); -x_48 = lean_ctor_get_uint8(x_44, sizeof(void*)*3); -x_49 = lean_ctor_get(x_44, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -x_51 = lean_ctor_get(x_44, 2); -lean_inc(x_51); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - lean_ctor_release(x_44, 2); - x_52 = x_44; -} else { - lean_dec_ref(x_44); - x_52 = lean_box(0); -} -x_53 = l_Lean_PersistentArray_append___rarg(x_2, x_51); -lean_dec(x_51); -if (lean_is_scalar(x_52)) { - x_54 = lean_alloc_ctor(0, 3, 1); -} else { - x_54 = x_52; -} -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_50); -lean_ctor_set(x_54, 2, x_53); -lean_ctor_set_uint8(x_54, sizeof(void*)*3, x_48); -x_55 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_55, 0, x_39); -lean_ctor_set(x_55, 1, x_47); -lean_ctor_set(x_55, 2, x_40); -lean_ctor_set(x_55, 3, x_41); -lean_ctor_set(x_55, 4, x_42); -lean_ctor_set(x_55, 5, x_43); -lean_ctor_set(x_55, 6, x_54); -lean_ctor_set(x_55, 7, x_45); -lean_ctor_set(x_55, 8, x_46); -x_56 = lean_st_ref_set(x_5, x_55, x_13); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; -} else { - lean_dec_ref(x_56); - x_58 = lean_box(0); -} -x_59 = lean_box(0); -if (lean_is_scalar(x_58)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_58; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_57); -return x_60; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -34491,26 +34689,34 @@ x_1 = lean_mk_string_unchecked("guardMsgsCmd", 12, 12); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_Linter_name___autoParam___closed__1; -x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1; +x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Command_elabCommandTopLevel___lambda__2(lean_object* x_1) { +LEAN_EXPORT uint8_t l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2; +x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__2; x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; @@ -34521,12 +34727,12 @@ x_4 = l_Lean_Name_toString(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__1; +x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2; x_3 = l_Lean_Language_Snapshot_Diagnostics_empty; x_4 = l_Lean_Elab_Command_mkState___closed__13; x_5 = 0; @@ -34539,25 +34745,17 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); return x_6; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Language_instTypeNameSnapshotLeaf; -x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__2; +x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__3; x_3 = l_Lean_Language_DynamicSnapshot_ofTyped___at_Lean_Language_instInhabitedDynamicSnapshot___spec__1(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -34565,7 +34763,7 @@ x_1 = l_Lean_Elab_Command_showPartialSyntaxErrors; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_24; @@ -34622,34 +34820,34 @@ x_22 = l_Lean_Syntax_hasMissing(x_1); x_23 = lean_st_ref_take(x_3, x_7); if (x_22 == 0) { -uint8_t x_155; +uint8_t x_279; lean_dec(x_11); -x_155 = 0; -x_24 = x_155; -goto block_154; +x_279 = 0; +x_24 = x_279; +goto block_278; } else { -lean_object* x_156; uint8_t x_157; -x_156 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__5; -x_157 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_11, x_156); +lean_object* x_280; uint8_t x_281; +x_280 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__5; +x_281 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_11, x_280); lean_dec(x_11); -if (x_157 == 0) +if (x_281 == 0) { -uint8_t x_158; -x_158 = 1; -x_24 = x_158; -goto block_154; +uint8_t x_282; +x_282 = 1; +x_24 = x_282; +goto block_278; } else { -uint8_t x_159; -x_159 = 0; -x_24 = x_159; -goto block_154; +uint8_t x_283; +x_283 = 0; +x_24 = x_283; +goto block_278; } } -block_154: +block_278: { lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; x_25 = lean_ctor_get(x_23, 0); @@ -34676,7 +34874,7 @@ lean_ctor_set_uint8(x_27, sizeof(void*)*9, x_24); x_28 = !lean_is_exclusive(x_25); if (x_28 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_56; lean_object* x_57; lean_object* x_76; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_89; lean_object* x_90; lean_object* x_142; lean_object* x_153; x_29 = lean_ctor_get(x_25, 1); x_30 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__3; lean_ctor_set(x_25, 1, x_30); @@ -34693,276 +34891,448 @@ lean_dec(x_33); lean_inc(x_3); lean_inc(x_27); lean_inc(x_1); -x_76 = l_Lean_Elab_Command_elabCommand(x_1, x_27, x_3, x_35); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_78 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4; -lean_inc(x_1); -x_79 = l_Lean_Syntax_findAux(x_78, x_1); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; -x_80 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync), 4, 1); -lean_closure_set(x_80, 0, x_1); -lean_inc(x_3); -lean_inc(x_27); -x_81 = l_Lean_Elab_withLogging___at_Lean_Elab_Command_withLoggingExceptions___spec__1(x_80, x_27, x_3, x_77); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_36 = x_82; -x_37 = x_83; -goto block_55; -} -else -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_81, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); -lean_dec(x_81); -x_56 = x_84; -x_57 = x_85; -goto block_75; -} -} -else -{ -lean_object* x_86; -lean_dec(x_79); -lean_dec(x_1); -x_86 = lean_box(0); -x_36 = x_86; -x_37 = x_77; -goto block_55; -} -} -else -{ -lean_object* x_87; lean_object* x_88; -lean_dec(x_1); -x_87 = lean_ctor_get(x_76, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_76, 1); -lean_inc(x_88); -lean_dec(x_76); -x_56 = x_87; -x_57 = x_88; -goto block_75; -} -block_55: +x_153 = l_Lean_Elab_Command_elabCommand(x_1, x_27, x_3, x_35); +if (lean_obj_tag(x_153) == 0) { if (lean_obj_tag(x_19) == 0) { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_box(0); -x_39 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_29, x_34, x_38, x_27, x_3, x_37); -lean_dec(x_3); -lean_dec(x_27); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -lean_ctor_set(x_39, 0, x_36); -return x_39; +lean_object* x_154; +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_142 = x_154; +goto block_152; } else { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); +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_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_ctor_get(x_19, 0); +lean_inc(x_156); +lean_dec(x_19); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +lean_dec(x_156); +x_158 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4; +x_159 = lean_io_promise_resolve(x_158, x_157, x_155); +lean_dec(x_157); +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +lean_dec(x_159); +x_142 = x_160; +goto block_152; +} +} +else +{ +lean_dec(x_27); +lean_dec(x_1); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_153, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_153, 1); +lean_inc(x_162); +lean_dec(x_153); +x_89 = x_161; +x_90 = x_162; +goto block_141; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_163 = lean_ctor_get(x_153, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_153, 1); +lean_inc(x_164); +lean_dec(x_153); +x_165 = lean_ctor_get(x_19, 0); +lean_inc(x_165); +lean_dec(x_19); +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4; +x_168 = lean_io_promise_resolve(x_167, x_166, x_164); +lean_dec(x_166); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +lean_dec(x_168); +x_89 = x_163; +x_90 = x_169; +goto block_141; +} +} +block_88: +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_38 = lean_st_ref_get(x_3, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); lean_dec(x_39); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -else -{ -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; uint8_t x_51; -x_44 = lean_ctor_get(x_19, 0); +x_42 = lean_st_ref_take(x_3, x_40); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -lean_dec(x_19); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3; -x_47 = lean_io_promise_resolve(x_46, x_45, x_37); -lean_dec(x_45); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); +lean_dec(x_42); +x_45 = !lean_is_exclusive(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_43, 6); +x_47 = lean_ctor_get(x_43, 1); lean_dec(x_47); -x_50 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_29, x_34, x_48, x_27, x_3, x_49); -lean_dec(x_3); -lean_dec(x_27); -lean_dec(x_48); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) +x_48 = l_Lean_MessageLog_append(x_29, x_41); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) { -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_36); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_46, 2); +x_51 = l_Lean_PersistentArray_append___rarg(x_34, x_50); lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_36); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -block_75: -{ -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_box(0); -x_59 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_29, x_34, x_58, x_27, x_3, x_57); +lean_ctor_set(x_46, 2, x_51); +lean_ctor_set(x_43, 1, x_48); +x_52 = lean_st_ref_set(x_3, x_43, x_44); lean_dec(x_3); -lean_dec(x_27); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) { -lean_object* x_61; -x_61 = lean_ctor_get(x_59, 0); -lean_dec(x_61); -lean_ctor_set_tag(x_59, 1); -lean_ctor_set(x_59, 0, x_56); -return x_59; +lean_object* x_54; +x_54 = lean_ctor_get(x_52, 0); +lean_dec(x_54); +lean_ctor_set(x_52, 0, x_36); +return x_52; } else { -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_59, 1); -lean_inc(x_62); -lean_dec(x_59); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_56); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_dec(x_52); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_36); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_64 = lean_ctor_get(x_19, 0); +uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_57 = lean_ctor_get_uint8(x_46, sizeof(void*)*3); +x_58 = lean_ctor_get(x_46, 0); +x_59 = lean_ctor_get(x_46, 1); +x_60 = lean_ctor_get(x_46, 2); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_46); +x_61 = l_Lean_PersistentArray_append___rarg(x_34, x_60); +lean_dec(x_60); +x_62 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_62, 0, x_58); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_61); +lean_ctor_set_uint8(x_62, sizeof(void*)*3, x_57); +lean_ctor_set(x_43, 6, x_62); +lean_ctor_set(x_43, 1, x_48); +x_63 = lean_st_ref_set(x_3, x_43, x_44); +lean_dec(x_3); +x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); -lean_dec(x_19); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3; -x_67 = lean_io_promise_resolve(x_66, x_65, x_57); -lean_dec(x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_29, x_34, x_68, x_27, x_3, x_69); -lean_dec(x_3); -lean_dec(x_27); -lean_dec(x_68); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) -{ -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -lean_ctor_set_tag(x_70, 1); -lean_ctor_set(x_70, 0, x_56); -return x_70; +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_36); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} } else { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 1); +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; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_67 = lean_ctor_get(x_43, 0); +x_68 = lean_ctor_get(x_43, 2); +x_69 = lean_ctor_get(x_43, 3); +x_70 = lean_ctor_get(x_43, 4); +x_71 = lean_ctor_get(x_43, 5); +x_72 = lean_ctor_get(x_43, 6); +x_73 = lean_ctor_get(x_43, 7); +x_74 = lean_ctor_get(x_43, 8); +lean_inc(x_74); lean_inc(x_73); -lean_dec(x_70); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_56); -lean_ctor_set(x_74, 1, x_73); -return x_74; +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_43); +x_75 = l_Lean_MessageLog_append(x_29, x_41); +x_76 = lean_ctor_get_uint8(x_72, sizeof(void*)*3); +x_77 = lean_ctor_get(x_72, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_72, 1); +lean_inc(x_78); +x_79 = lean_ctor_get(x_72, 2); +lean_inc(x_79); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + lean_ctor_release(x_72, 2); + x_80 = x_72; +} else { + lean_dec_ref(x_72); + x_80 = lean_box(0); +} +x_81 = l_Lean_PersistentArray_append___rarg(x_34, x_79); +lean_dec(x_79); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 3, 1); +} else { + x_82 = x_80; +} +lean_ctor_set(x_82, 0, x_77); +lean_ctor_set(x_82, 1, x_78); +lean_ctor_set(x_82, 2, x_81); +lean_ctor_set_uint8(x_82, sizeof(void*)*3, x_76); +x_83 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_83, 0, x_67); +lean_ctor_set(x_83, 1, x_75); +lean_ctor_set(x_83, 2, x_68); +lean_ctor_set(x_83, 3, x_69); +lean_ctor_set(x_83, 4, x_70); +lean_ctor_set(x_83, 5, x_71); +lean_ctor_set(x_83, 6, x_82); +lean_ctor_set(x_83, 7, x_73); +lean_ctor_set(x_83, 8, x_74); +x_84 = lean_st_ref_set(x_3, x_83, x_44); +lean_dec(x_3); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_86 = x_84; +} else { + lean_dec_ref(x_84); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_36); +lean_ctor_set(x_87, 1, x_85); +return x_87; } } +block_141: +{ +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; uint8_t x_98; +x_91 = lean_st_ref_get(x_3, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_take(x_3, x_93); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = !lean_is_exclusive(x_96); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_99 = lean_ctor_get(x_96, 6); +x_100 = lean_ctor_get(x_96, 1); +lean_dec(x_100); +x_101 = l_Lean_MessageLog_append(x_29, x_94); +x_102 = !lean_is_exclusive(x_99); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_103 = lean_ctor_get(x_99, 2); +x_104 = l_Lean_PersistentArray_append___rarg(x_34, x_103); +lean_dec(x_103); +lean_ctor_set(x_99, 2, x_104); +lean_ctor_set(x_96, 1, x_101); +x_105 = lean_st_ref_set(x_3, x_96, x_97); +lean_dec(x_3); +x_106 = !lean_is_exclusive(x_105); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_105, 0); +lean_dec(x_107); +lean_ctor_set_tag(x_105, 1); +lean_ctor_set(x_105, 0, x_89); +return x_105; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_108); +lean_dec(x_105); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_89); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_123; lean_object* x_124; lean_object* x_141; -x_89 = lean_ctor_get(x_25, 0); -x_90 = lean_ctor_get(x_25, 1); -x_91 = lean_ctor_get(x_25, 2); -x_92 = lean_ctor_get(x_25, 3); -x_93 = lean_ctor_get(x_25, 4); -x_94 = lean_ctor_get(x_25, 5); -x_95 = lean_ctor_get(x_25, 6); -x_96 = lean_ctor_get(x_25, 7); -x_97 = lean_ctor_get(x_25, 8); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_25); -x_98 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__3; -x_99 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_99, 0, x_89); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set(x_99, 2, x_91); -lean_ctor_set(x_99, 3, x_92); -lean_ctor_set(x_99, 4, x_93); -lean_ctor_set(x_99, 5, x_94); -lean_ctor_set(x_99, 6, x_95); -lean_ctor_set(x_99, 7, x_96); -lean_ctor_set(x_99, 8, x_97); -x_100 = lean_st_ref_set(x_3, x_99, x_26); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_102 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_3, x_101); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -lean_inc(x_3); -lean_inc(x_27); -lean_inc(x_1); -x_141 = l_Lean_Elab_Command_elabCommand(x_1, x_27, x_3, x_104); -if (lean_obj_tag(x_141) == 0) +uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_110 = lean_ctor_get_uint8(x_99, sizeof(void*)*3); +x_111 = lean_ctor_get(x_99, 0); +x_112 = lean_ctor_get(x_99, 1); +x_113 = lean_ctor_get(x_99, 2); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_99); +x_114 = l_Lean_PersistentArray_append___rarg(x_34, x_113); +lean_dec(x_113); +x_115 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_115, 0, x_111); +lean_ctor_set(x_115, 1, x_112); +lean_ctor_set(x_115, 2, x_114); +lean_ctor_set_uint8(x_115, sizeof(void*)*3, x_110); +lean_ctor_set(x_96, 6, x_115); +lean_ctor_set(x_96, 1, x_101); +x_116 = lean_st_ref_set(x_3, x_96, x_97); +lean_dec(x_3); +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_118 = x_116; +} else { + lean_dec_ref(x_116); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; + lean_ctor_set_tag(x_119, 1); +} +lean_ctor_set(x_119, 0, x_89); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4; +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_120 = lean_ctor_get(x_96, 0); +x_121 = lean_ctor_get(x_96, 2); +x_122 = lean_ctor_get(x_96, 3); +x_123 = lean_ctor_get(x_96, 4); +x_124 = lean_ctor_get(x_96, 5); +x_125 = lean_ctor_get(x_96, 6); +x_126 = lean_ctor_get(x_96, 7); +x_127 = lean_ctor_get(x_96, 8); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_96); +x_128 = l_Lean_MessageLog_append(x_29, x_94); +x_129 = lean_ctor_get_uint8(x_125, sizeof(void*)*3); +x_130 = lean_ctor_get(x_125, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_125, 2); +lean_inc(x_132); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + lean_ctor_release(x_125, 2); + x_133 = x_125; +} else { + lean_dec_ref(x_125); + x_133 = lean_box(0); +} +x_134 = l_Lean_PersistentArray_append___rarg(x_34, x_132); +lean_dec(x_132); +if (lean_is_scalar(x_133)) { + x_135 = lean_alloc_ctor(0, 3, 1); +} else { + x_135 = x_133; +} +lean_ctor_set(x_135, 0, x_130); +lean_ctor_set(x_135, 1, x_131); +lean_ctor_set(x_135, 2, x_134); +lean_ctor_set_uint8(x_135, sizeof(void*)*3, x_129); +x_136 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_136, 0, x_120); +lean_ctor_set(x_136, 1, x_128); +lean_ctor_set(x_136, 2, x_121); +lean_ctor_set(x_136, 3, x_122); +lean_ctor_set(x_136, 4, x_123); +lean_ctor_set(x_136, 5, x_124); +lean_ctor_set(x_136, 6, x_135); +lean_ctor_set(x_136, 7, x_126); +lean_ctor_set(x_136, 8, x_127); +x_137 = lean_st_ref_set(x_3, x_136, x_97); +lean_dec(x_3); +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_139 = x_137; +} else { + lean_dec_ref(x_137); + x_139 = lean_box(0); +} +if (lean_is_scalar(x_139)) { + x_140 = lean_alloc_ctor(1, 2, 0); +} else { + x_140 = x_139; + lean_ctor_set_tag(x_140, 1); +} +lean_ctor_set(x_140, 0, x_89); +lean_ctor_set(x_140, 1, x_138); +return x_140; +} +} +block_152: +{ +lean_object* x_143; lean_object* x_144; +x_143 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1; lean_inc(x_1); x_144 = l_Lean_Syntax_findAux(x_143, x_1); if (lean_obj_tag(x_144) == 0) @@ -34971,7 +35341,6 @@ lean_object* x_145; lean_object* x_146; x_145 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync), 4, 1); lean_closure_set(x_145, 0, x_1); lean_inc(x_3); -lean_inc(x_27); x_146 = l_Lean_Elab_withLogging___at_Lean_Elab_Command_withLoggingExceptions___spec__1(x_145, x_27, x_3, x_142); if (lean_obj_tag(x_146) == 0) { @@ -34981,9 +35350,9 @@ lean_inc(x_147); x_148 = lean_ctor_get(x_146, 1); lean_inc(x_148); lean_dec(x_146); -x_105 = x_147; -x_106 = x_148; -goto block_122; +x_36 = x_147; +x_37 = x_148; +goto block_88; } else { @@ -34993,173 +35362,418 @@ lean_inc(x_149); x_150 = lean_ctor_get(x_146, 1); lean_inc(x_150); lean_dec(x_146); -x_123 = x_149; -x_124 = x_150; -goto block_140; +x_89 = x_149; +x_90 = x_150; +goto block_141; } } else { lean_object* x_151; lean_dec(x_144); +lean_dec(x_27); lean_dec(x_1); x_151 = lean_box(0); -x_105 = x_151; -x_106 = x_142; -goto block_122; +x_36 = x_151; +x_37 = x_142; +goto block_88; +} } } else { -lean_object* x_152; lean_object* x_153; +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_218; lean_object* x_219; lean_object* x_250; lean_object* x_261; +x_170 = lean_ctor_get(x_25, 0); +x_171 = lean_ctor_get(x_25, 1); +x_172 = lean_ctor_get(x_25, 2); +x_173 = lean_ctor_get(x_25, 3); +x_174 = lean_ctor_get(x_25, 4); +x_175 = lean_ctor_get(x_25, 5); +x_176 = lean_ctor_get(x_25, 6); +x_177 = lean_ctor_get(x_25, 7); +x_178 = lean_ctor_get(x_25, 8); +lean_inc(x_178); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_25); +x_179 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__3; +x_180 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_180, 0, x_170); +lean_ctor_set(x_180, 1, x_179); +lean_ctor_set(x_180, 2, x_172); +lean_ctor_set(x_180, 3, x_173); +lean_ctor_set(x_180, 4, x_174); +lean_ctor_set(x_180, 5, x_175); +lean_ctor_set(x_180, 6, x_176); +lean_ctor_set(x_180, 7, x_177); +lean_ctor_set(x_180, 8, x_178); +x_181 = lean_st_ref_set(x_3, x_180, x_26); +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +lean_dec(x_181); +x_183 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_3, x_182); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec(x_183); +lean_inc(x_3); +lean_inc(x_27); +lean_inc(x_1); +x_261 = l_Lean_Elab_Command_elabCommand(x_1, x_27, x_3, x_185); +if (lean_obj_tag(x_261) == 0) +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_262; +x_262 = lean_ctor_get(x_261, 1); +lean_inc(x_262); +lean_dec(x_261); +x_250 = x_262; +goto block_260; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +lean_dec(x_261); +x_264 = lean_ctor_get(x_19, 0); +lean_inc(x_264); +lean_dec(x_19); +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +lean_dec(x_264); +x_266 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4; +x_267 = lean_io_promise_resolve(x_266, x_265, x_263); +lean_dec(x_265); +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +lean_dec(x_267); +x_250 = x_268; +goto block_260; +} +} +else +{ +lean_dec(x_27); lean_dec(x_1); -x_152 = lean_ctor_get(x_141, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_141, 1); -lean_inc(x_153); -lean_dec(x_141); -x_123 = x_152; -x_124 = x_153; -goto block_140; -} -block_122: -{ if (lean_obj_tag(x_19) == 0) { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_107 = lean_box(0); -x_108 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_90, x_103, x_107, x_27, x_3, x_106); -lean_dec(x_3); -lean_dec(x_27); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_110 = x_108; -} else { - lean_dec_ref(x_108); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_105); -lean_ctor_set(x_111, 1, x_109); -return x_111; +lean_object* x_269; lean_object* x_270; +x_269 = lean_ctor_get(x_261, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_261, 1); +lean_inc(x_270); +lean_dec(x_261); +x_218 = x_269; +x_219 = x_270; +goto block_249; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_112 = lean_ctor_get(x_19, 0); -lean_inc(x_112); +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_271 = lean_ctor_get(x_261, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_261, 1); +lean_inc(x_272); +lean_dec(x_261); +x_273 = lean_ctor_get(x_19, 0); +lean_inc(x_273); lean_dec(x_19); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_114 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3; -x_115 = lean_io_promise_resolve(x_114, x_113, x_106); -lean_dec(x_113); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_90, x_103, x_116, x_27, x_3, x_117); -lean_dec(x_3); -lean_dec(x_27); -lean_dec(x_116); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_120 = x_118; -} else { - lean_dec_ref(x_118); - x_120 = lean_box(0); -} -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 2, 0); -} else { - x_121 = x_120; -} -lean_ctor_set(x_121, 0, x_105); -lean_ctor_set(x_121, 1, x_119); -return x_121; +x_274 = lean_ctor_get(x_273, 1); +lean_inc(x_274); +lean_dec(x_273); +x_275 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4; +x_276 = lean_io_promise_resolve(x_275, x_274, x_272); +lean_dec(x_274); +x_277 = lean_ctor_get(x_276, 1); +lean_inc(x_277); +lean_dec(x_276); +x_218 = x_271; +x_219 = x_277; +goto block_249; } } -block_140: +block_217: { -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_125 = lean_box(0); -x_126 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_90, x_103, x_125, x_27, x_3, x_124); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_188 = lean_st_ref_get(x_3, x_187); +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_188, 1); +lean_inc(x_190); +lean_dec(x_188); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = lean_st_ref_take(x_3, x_190); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_193, 2); +lean_inc(x_196); +x_197 = lean_ctor_get(x_193, 3); +lean_inc(x_197); +x_198 = lean_ctor_get(x_193, 4); +lean_inc(x_198); +x_199 = lean_ctor_get(x_193, 5); +lean_inc(x_199); +x_200 = lean_ctor_get(x_193, 6); +lean_inc(x_200); +x_201 = lean_ctor_get(x_193, 7); +lean_inc(x_201); +x_202 = lean_ctor_get(x_193, 8); +lean_inc(x_202); +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); + lean_ctor_release(x_193, 5); + lean_ctor_release(x_193, 6); + lean_ctor_release(x_193, 7); + lean_ctor_release(x_193, 8); + x_203 = x_193; +} else { + lean_dec_ref(x_193); + x_203 = lean_box(0); +} +x_204 = l_Lean_MessageLog_append(x_171, x_191); +x_205 = lean_ctor_get_uint8(x_200, sizeof(void*)*3); +x_206 = lean_ctor_get(x_200, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_200, 1); +lean_inc(x_207); +x_208 = lean_ctor_get(x_200, 2); +lean_inc(x_208); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + lean_ctor_release(x_200, 2); + x_209 = x_200; +} else { + lean_dec_ref(x_200); + x_209 = lean_box(0); +} +x_210 = l_Lean_PersistentArray_append___rarg(x_184, x_208); +lean_dec(x_208); +if (lean_is_scalar(x_209)) { + x_211 = lean_alloc_ctor(0, 3, 1); +} else { + x_211 = x_209; +} +lean_ctor_set(x_211, 0, x_206); +lean_ctor_set(x_211, 1, x_207); +lean_ctor_set(x_211, 2, x_210); +lean_ctor_set_uint8(x_211, sizeof(void*)*3, x_205); +if (lean_is_scalar(x_203)) { + x_212 = lean_alloc_ctor(0, 9, 0); +} else { + x_212 = x_203; +} +lean_ctor_set(x_212, 0, x_195); +lean_ctor_set(x_212, 1, x_204); +lean_ctor_set(x_212, 2, x_196); +lean_ctor_set(x_212, 3, x_197); +lean_ctor_set(x_212, 4, x_198); +lean_ctor_set(x_212, 5, x_199); +lean_ctor_set(x_212, 6, x_211); +lean_ctor_set(x_212, 7, x_201); +lean_ctor_set(x_212, 8, x_202); +x_213 = lean_st_ref_set(x_3, x_212, x_194); lean_dec(x_3); -lean_dec(x_27); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; +x_214 = lean_ctor_get(x_213, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_215 = x_213; } else { - lean_dec_ref(x_126); - x_128 = lean_box(0); + lean_dec_ref(x_213); + x_215 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(0, 2, 0); } else { - x_129 = x_128; - lean_ctor_set_tag(x_129, 1); + x_216 = x_215; } -lean_ctor_set(x_129, 0, x_123); -lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_216, 0, x_186); +lean_ctor_set(x_216, 1, x_214); +return x_216; +} +block_249: +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_220 = lean_st_ref_get(x_3, x_219); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +lean_dec(x_220); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +lean_dec(x_221); +x_224 = lean_st_ref_take(x_3, x_222); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = lean_ctor_get(x_225, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_225, 2); +lean_inc(x_228); +x_229 = lean_ctor_get(x_225, 3); +lean_inc(x_229); +x_230 = lean_ctor_get(x_225, 4); +lean_inc(x_230); +x_231 = lean_ctor_get(x_225, 5); +lean_inc(x_231); +x_232 = lean_ctor_get(x_225, 6); +lean_inc(x_232); +x_233 = lean_ctor_get(x_225, 7); +lean_inc(x_233); +x_234 = lean_ctor_get(x_225, 8); +lean_inc(x_234); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + lean_ctor_release(x_225, 2); + lean_ctor_release(x_225, 3); + lean_ctor_release(x_225, 4); + lean_ctor_release(x_225, 5); + lean_ctor_release(x_225, 6); + lean_ctor_release(x_225, 7); + lean_ctor_release(x_225, 8); + x_235 = x_225; +} else { + lean_dec_ref(x_225); + x_235 = lean_box(0); +} +x_236 = l_Lean_MessageLog_append(x_171, x_223); +x_237 = lean_ctor_get_uint8(x_232, sizeof(void*)*3); +x_238 = lean_ctor_get(x_232, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_232, 1); +lean_inc(x_239); +x_240 = lean_ctor_get(x_232, 2); +lean_inc(x_240); +if (lean_is_exclusive(x_232)) { + lean_ctor_release(x_232, 0); + lean_ctor_release(x_232, 1); + lean_ctor_release(x_232, 2); + x_241 = x_232; +} else { + lean_dec_ref(x_232); + x_241 = lean_box(0); +} +x_242 = l_Lean_PersistentArray_append___rarg(x_184, x_240); +lean_dec(x_240); +if (lean_is_scalar(x_241)) { + x_243 = lean_alloc_ctor(0, 3, 1); +} else { + x_243 = x_241; +} +lean_ctor_set(x_243, 0, x_238); +lean_ctor_set(x_243, 1, x_239); +lean_ctor_set(x_243, 2, x_242); +lean_ctor_set_uint8(x_243, sizeof(void*)*3, x_237); +if (lean_is_scalar(x_235)) { + x_244 = lean_alloc_ctor(0, 9, 0); +} else { + x_244 = x_235; +} +lean_ctor_set(x_244, 0, x_227); +lean_ctor_set(x_244, 1, x_236); +lean_ctor_set(x_244, 2, x_228); +lean_ctor_set(x_244, 3, x_229); +lean_ctor_set(x_244, 4, x_230); +lean_ctor_set(x_244, 5, x_231); +lean_ctor_set(x_244, 6, x_243); +lean_ctor_set(x_244, 7, x_233); +lean_ctor_set(x_244, 8, x_234); +x_245 = lean_st_ref_set(x_3, x_244, x_226); +lean_dec(x_3); +x_246 = lean_ctor_get(x_245, 1); +lean_inc(x_246); +if (lean_is_exclusive(x_245)) { + lean_ctor_release(x_245, 0); + lean_ctor_release(x_245, 1); + x_247 = x_245; +} else { + lean_dec_ref(x_245); + x_247 = lean_box(0); +} +if (lean_is_scalar(x_247)) { + x_248 = lean_alloc_ctor(1, 2, 0); +} else { + x_248 = x_247; + lean_ctor_set_tag(x_248, 1); +} +lean_ctor_set(x_248, 0, x_218); +lean_ctor_set(x_248, 1, x_246); +return x_248; +} +block_260: +{ +lean_object* x_251; lean_object* x_252; +x_251 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1; +lean_inc(x_1); +x_252 = l_Lean_Syntax_findAux(x_251, x_1); +if (lean_obj_tag(x_252) == 0) +{ +lean_object* x_253; lean_object* x_254; +x_253 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLintersAsync), 4, 1); +lean_closure_set(x_253, 0, x_1); +lean_inc(x_3); +x_254 = l_Lean_Elab_withLogging___at_Lean_Elab_Command_withLoggingExceptions___spec__1(x_253, x_27, x_3, x_250); +if (lean_obj_tag(x_254) == 0) +{ +lean_object* x_255; lean_object* x_256; +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); +lean_dec(x_254); +x_186 = x_255; +x_187 = x_256; +goto block_217; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_130 = lean_ctor_get(x_19, 0); -lean_inc(x_130); -lean_dec(x_19); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3; -x_133 = lean_io_promise_resolve(x_132, x_131, x_124); -lean_dec(x_131); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_90, x_103, x_134, x_27, x_3, x_135); -lean_dec(x_3); +lean_object* x_257; lean_object* x_258; +x_257 = lean_ctor_get(x_254, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_254, 1); +lean_inc(x_258); +lean_dec(x_254); +x_218 = x_257; +x_219 = x_258; +goto block_249; +} +} +else +{ +lean_object* x_259; +lean_dec(x_252); lean_dec(x_27); -lean_dec(x_134); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_138 = x_136; -} else { - lean_dec_ref(x_136); - x_138 = lean_box(0); -} -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(1, 2, 0); -} else { - x_139 = x_138; - lean_ctor_set_tag(x_139, 1); -} -lean_ctor_set(x_139, 0, x_123); -lean_ctor_set(x_139, 1, x_137); -return x_139; +lean_dec(x_1); +x_259 = lean_box(0); +x_186 = x_259; +x_187 = x_250; +goto block_217; } } } @@ -35208,7 +35822,7 @@ lean_dec(x_14); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3), 4, 1); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2), 4, 1); lean_closure_set(x_18, 0, x_1); x_19 = l_Lean_Elab_Command_elabCommandTopLevel___closed__1; x_20 = lean_box(0); @@ -35263,7 +35877,7 @@ lean_dec(x_35); x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3), 4, 1); +x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2), 4, 1); lean_closure_set(x_39, 0, x_1); x_40 = l_Lean_Elab_Command_elabCommandTopLevel___closed__1; x_41 = lean_box(0); @@ -35273,22 +35887,11 @@ return x_42; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__2(x_1); +x_2 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_1); x_3 = lean_box(x_2); return x_3; } @@ -39877,7 +40480,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Command_modifyScope___closed__1; x_2 = l_Lean_Elab_Command_modifyScope___closed__2; -x_3 = lean_unsigned_to_nat(749u); +x_3 = lean_unsigned_to_nat(763u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Elab_Command_modifyScope___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -45064,14 +45667,20 @@ l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__8 = _init_l lean_mark_persistent(l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__8); l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__9 = _init_l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__9(); lean_mark_persistent(l_Lean_Elab_Command_wrapAsyncAsSnapshot___rarg___lambda__5___closed__9); -l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1); -l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__2 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__2); -l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__3 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__3); -l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__4 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__4); +l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__1 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__1); +l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__2 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__2); +l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__3); +l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__4); +l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__5 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__5); +l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__4___closed__6); +l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1 = _init_l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___lambda__6___closed__1); l_Lean_Elab_Command_runLintersAsync___closed__1 = _init_l_Lean_Elab_Command_runLintersAsync___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_runLintersAsync___closed__1); l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1(); @@ -45100,11 +45709,11 @@ l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7 = _init_l_Lean_Elab lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7); l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8 = _init_l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8(); lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972____closed__2); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2972_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213____closed__2); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3213_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_commandElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute); @@ -45147,23 +45756,21 @@ l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4); l_Lean_Elab_Command_instMonadRecDepthCommandElabM = _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM(); lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627____closed__2); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3627_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868____closed__2); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3868_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__1 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__1); -l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__2 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727____closed__2); -l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727_ = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727_(); -lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3727_); +}l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__1 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__1); +l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__2 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968____closed__2); +l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968_ = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968_(); +lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3968_); l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot = _init_l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot(); lean_mark_persistent(l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1); l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__1(); lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__1); l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__2(); @@ -45194,8 +45801,6 @@ l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__4 = _init_l_Lean_Elab_C lean_mark_persistent(l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__4); l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5 = _init_l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__5); -l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__6 = _init_l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand_go___lambda__3___closed__6); l_Lean_Elab_Command_elabCommand_go___lambda__4___closed__1 = _init_l_Lean_Elab_Command_elabCommand_go___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand_go___lambda__4___closed__1); l_Lean_Elab_Command_elabCommand_go___lambda__6___closed__1 = _init_l_Lean_Elab_Command_elabCommand_go___lambda__6___closed__1(); @@ -45224,57 +45829,57 @@ l_Lean_Elab_Command_elabCommand_go___closed__7 = _init_l_Lean_Elab_Command_elabC lean_mark_persistent(l_Lean_Elab_Command_elabCommand_go___closed__7); l_Lean_Elab_Command_elabCommand_go___boxed__const__1 = _init_l_Lean_Elab_Command_elabCommand_go___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand_go___boxed__const__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116____closed__3); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5116_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357____closed__3); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5357_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157____closed__5); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5157_(lean_io_mk_world()); +}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398____closed__5); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5398_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_showPartialSyntaxErrors = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors); lean_dec_ref(res); -}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189____closed__5); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5189_(lean_io_mk_world()); +}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430____closed__5); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_5430_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1(); +}l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__1); +l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___closed__2); +l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1); l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__2); -l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__1); -l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__2); -l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__3); -l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__4); -l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__5 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__3___closed__5); +l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__3); +l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__4); +l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__5 = _init_l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__5); l_Lean_Elab_Command_elabCommandTopLevel___closed__1 = _init_l_Lean_Elab_Command_elabCommandTopLevel___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommandTopLevel___closed__1); l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Frontend.c b/stage0/stdlib/Lean/Elab/Frontend.c index 8191801e35..043fc06347 100644 --- a/stage0/stdlib/Lean/Elab/Frontend.c +++ b/stage0/stdlib/Lean/Elab/Frontend.c @@ -20,10 +20,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__2(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setMessages___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Firefox_Profile_export(lean_object*, double, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getParserState(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_IO_processCommandsIncrementally(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__1(size_t, size_t, lean_object*); @@ -34,12 +34,14 @@ static lean_object* l_Lean_Elab_runFrontend___lambda__4___closed__2; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); double lean_float_div(double, double); static lean_object* l_Lean_Elab_process___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getParserState___rarg(lean_object*, lean_object*); lean_object* l___private_Init_GetElem_0__List_get_x21Internal___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_runFrontend___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,7 +53,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7___boxed(lean_object static lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__1; static lean_object* l_Lean_Elab_runFrontend___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(size_t, size_t, lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); lean_object* l_Lean_Language_SnapshotTree_getAll(lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); @@ -68,6 +70,7 @@ static lean_object* l_Lean_Elab_runFrontend___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState___boxed(lean_object*); size_t lean_usize_of_nat(lean_object*); uint8_t l_Lean_Parser_isTerminalCommand(lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend(lean_object*, lean_object*, lean_object*, lean_object*); @@ -75,13 +78,9 @@ lean_object* l_Lean_Language_Lean_processCommands(lean_object*, lean_object*, le static lean_object* l_Lean_Elab_runFrontend___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_process___closed__2; lean_object* l_Lean_Environment_displayStats(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_async; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setParserState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -95,8 +94,10 @@ static lean_object* l_Lean_Elab_runFrontend___closed__4; lean_object* lean_io_mono_nanos_now(lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(size_t, size_t, lean_object*); lean_object* lean_task_get_own(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_ModuleRefs_toLspModuleRefs(lean_object*, lean_object*); @@ -108,7 +109,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_runFrontend___spe LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setMessages(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; LEAN_EXPORT uint8_t l_Lean_Elab_runFrontend___lambda__3(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState(lean_object*); static lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -124,8 +124,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1___boxed LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__1(lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_runFrontend___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(lean_object*, lean_object*, uint8_t); @@ -135,7 +133,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setCommandState(lean_object*, lean LEAN_EXPORT lean_object* l_Lean_Elab_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos___rarg(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Language_SnapshotTask_map___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_MessageLog_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*); @@ -164,6 +161,7 @@ extern lean_object* l_Lean_internal_cmdlineSnapshots; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos(lean_object*); static lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4; @@ -1955,36 +1953,6 @@ return x_3; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -x_12 = lean_array_uset(x_7, x_2, x_9); -x_2 = x_11; -x_3 = x_12; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); @@ -2005,7 +1973,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -2039,7 +2007,7 @@ return x_4; } } } -static lean_object* _init_l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1() { +static lean_object* _init_l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2048,7 +2016,7 @@ x_2 = lean_array_mk(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -2056,7 +2024,7 @@ x_4 = lean_nat_dec_lt(x_2, x_3); if (x_4 == 0) { lean_object* x_5; -x_5 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_5 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; return x_5; } else @@ -2068,7 +2036,7 @@ lean_dec(x_6); if (x_7 == 0) { lean_object* x_8; -x_8 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_8 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; return x_8; } else @@ -2076,14 +2044,14 @@ else size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_usize_of_nat(x_2); x_10 = lean_usize_of_nat(x_3); -x_11 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; -x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(x_1, x_9, x_10, x_11); +x_11 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(x_1, x_9, x_10, x_11); return x_12; } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -2110,28 +2078,6 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; -x_6 = lean_array_uget(x_1, x_2); -x_7 = l_Lean_MessageLog_append(x_4, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_2 = x_9; -x_4 = x_7; -goto _start; -} -else -{ -return x_4; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_IO_processCommandsIncrementally_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -2149,15 +2095,15 @@ x_9 = l_Lean_Language_Lean_instToSnapshotTreeCommandParsedSnapshot_go(x_2); x_10 = l_Lean_Language_SnapshotTree_getAll(x_9); x_11 = lean_array_size(x_10); x_12 = 0; -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__1(x_11, x_12, x_10); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(x_11, x_12, x_10); x_14 = lean_array_get_size(x_13); x_15 = lean_unsigned_to_nat(0u); x_16 = lean_nat_dec_lt(x_15, x_14); x_17 = lean_array_size(x_7); lean_inc(x_7); -x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(x_17, x_12, x_7); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__1(x_17, x_12, x_7); x_19 = lean_array_get_size(x_18); -x_20 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(x_18, x_15, x_19); +x_20 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(x_18, x_15, x_19); lean_dec(x_19); lean_dec(x_18); x_21 = l_Array_toPArray_x27___rarg(x_20); @@ -2187,7 +2133,7 @@ lean_inc(x_30); lean_dec(x_6); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(x_17, x_12, x_7); +x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(x_17, x_12, x_7); if (x_16 == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; @@ -2240,7 +2186,7 @@ size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_objec x_42 = lean_usize_of_nat(x_14); lean_dec(x_14); x_43 = l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4; -x_44 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6(x_13, x_12, x_42, x_43); +x_44 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(x_13, x_12, x_42, x_43); lean_dec(x_13); lean_ctor_set(x_24, 1, x_44); x_45 = lean_alloc_ctor(0, 4, 0); @@ -2278,7 +2224,7 @@ lean_inc(x_52); lean_dec(x_6); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -x_54 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(x_17, x_12, x_7); +x_54 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(x_17, x_12, x_7); if (x_16 == 0) { lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; @@ -2333,7 +2279,7 @@ size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_objec x_64 = lean_usize_of_nat(x_14); lean_dec(x_14); x_65 = l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4; -x_66 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6(x_13, x_12, x_64, x_65); +x_66 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(x_13, x_12, x_64, x_65); lean_dec(x_13); lean_ctor_set(x_24, 6, x_51); lean_ctor_set(x_24, 1, x_66); @@ -2402,7 +2348,7 @@ lean_inc(x_83); lean_dec(x_6); x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); -x_85 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(x_17, x_12, x_7); +x_85 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(x_17, x_12, x_7); if (x_16 == 0) { lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; @@ -2473,7 +2419,7 @@ size_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_obje x_97 = lean_usize_of_nat(x_14); lean_dec(x_14); x_98 = l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4; -x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6(x_13, x_12, x_97, x_98); +x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_runLintersAsync___spec__2(x_13, x_12, x_97, x_98); lean_dec(x_13); x_100 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_100, 0, x_71); @@ -2530,19 +2476,7 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go__ return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -2550,23 +2484,23 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(x_1, x_2, x_3); +x_4 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -2574,23 +2508,10 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_IO_processCommandsIncrementally(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -2610,7 +2531,7 @@ lean_inc(x_9); lean_dec(x_7); lean_inc(x_8); x_10 = lean_task_get_own(x_8); -x_11 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_11 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_12 = l_Lean_Elab_IO_processCommandsIncrementally_go(x_1, x_10, x_8, x_11, x_9); return x_12; } @@ -2667,7 +2588,7 @@ lean_inc(x_24); lean_dec(x_22); lean_inc(x_23); x_25 = lean_task_get_own(x_23); -x_26 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_26 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_27 = l_Lean_Elab_IO_processCommandsIncrementally_go(x_1, x_25, x_23, x_26, x_24); return x_27; } @@ -2723,7 +2644,7 @@ lean_inc(x_39); lean_dec(x_37); lean_inc(x_38); x_40 = lean_task_get_own(x_38); -x_41 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_41 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_42 = l_Lean_Elab_IO_processCommandsIncrementally_go(x_1, x_40, x_38, x_41, x_39); return x_42; } @@ -2965,7 +2886,7 @@ x_9 = lean_usize_add(x_2, x_8); if (lean_obj_tag(x_7) == 0) { lean_object* x_10; lean_object* x_11; -x_10 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_10 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_11 = l_Array_append___rarg(x_4, x_10); x_2 = x_9; x_4 = x_11; @@ -3666,7 +3587,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_2 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_3 = l___private_Lean_Language_Lean_Types_0__Lean_Language_Lean_pushOpt___rarg(x_1, x_2); return x_3; } @@ -3737,7 +3658,7 @@ x_100 = lean_ctor_get(x_35, 0); x_101 = lean_ctor_get(x_100, 1); lean_inc(x_101); lean_dec(x_100); -x_102 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_102 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_103 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__8), 3, 2); lean_closure_set(x_103, 0, x_29); lean_closure_set(x_103, 1, x_102); @@ -3762,7 +3683,7 @@ lean_dec(x_35); x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); lean_dec(x_108); -x_110 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_110 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_111 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__8), 3, 2); lean_closure_set(x_111, 0, x_29); lean_closure_set(x_111, 1, x_110); @@ -4116,7 +4037,7 @@ if (lean_is_exclusive(x_120)) { x_165 = lean_ctor_get(x_163, 1); lean_inc(x_165); lean_dec(x_163); -x_166 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; +x_166 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1; x_167 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__8), 3, 2); lean_closure_set(x_167, 0, x_29); lean_closure_set(x_167, 1, x_166); @@ -4511,8 +4432,8 @@ l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4 = _init_l_Lean_Elab_Front lean_mark_persistent(l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4); l_Lean_Elab_Frontend_processCommand___closed__1 = _init_l_Lean_Elab_Frontend_processCommand___closed__1(); lean_mark_persistent(l_Lean_Elab_Frontend_processCommand___closed__1); -l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1 = _init_l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1(); -lean_mark_persistent(l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1); +l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1 = _init_l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1(); +lean_mark_persistent(l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___closed__1); l_Lean_Elab_process___closed__1 = _init_l_Lean_Elab_process___closed__1(); lean_mark_persistent(l_Lean_Elab_process___closed__1); l_Lean_Elab_process___closed__2 = _init_l_Lean_Elab_process___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 58ea6dafb9..25f4d2e748 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -26,7 +26,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__12___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___boxed(lean_object**); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5___boxed(lean_object*); lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_finishElab___spec__5(lean_object*, size_t, size_t); @@ -44,7 +43,6 @@ LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_E LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__8___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__9(lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__8___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MutualClosure_main___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); @@ -233,6 +231,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutua LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_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 uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__3; static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__4___closed__14; static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___closed__2; @@ -284,7 +283,6 @@ static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_M static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5771____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_float_decLt(double, double); -static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__2; @@ -293,6 +291,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0 LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__2(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_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage___closed__2; static uint64_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__6; +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5771____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___lambda__1___boxed(lean_object**); @@ -348,7 +347,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabH LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); -static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7___rarg___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualDef_finishElab___spec__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -420,6 +418,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Term_elabMut LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__4___closed__1; static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__13; +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__1(lean_object*, lean_object*); @@ -460,6 +459,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_M lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage___closed__4; LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_unlockAsync(lean_object*); @@ -467,7 +467,6 @@ lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_logError___s static lean_object* l_List_mapTR_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage___spec__1___closed__2; lean_object* l_IO_CancelToken_new(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5732____closed__2; lean_object* lean_task_pure(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs(lean_object*, lean_object*); @@ -637,6 +636,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withF LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualDef_finishElab___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__14; @@ -705,6 +705,7 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualD uint8_t l_Lean_Syntax_isMissing(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__8; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___boxed(lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__4___closed__4; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__2; lean_object* lean_io_map_task(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -788,7 +789,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply___boxe LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__5___closed__2; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__1; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage___spec__1___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -855,6 +855,7 @@ lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(l lean_object* lean_find_ext_expr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(size_t, size_t, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -918,6 +919,7 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_MutualDef_0 LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(lean_object*); lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__5___closed__3; LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -932,7 +934,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_colle lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2(lean_object*); static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___boxed(lean_object*); lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__2; @@ -1065,11 +1066,9 @@ static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_Mu static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__4___closed__5; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1; -static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9___boxed(lean_object**); @@ -1147,6 +1146,7 @@ lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__2___boxed(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_elabSync(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1207,12 +1207,12 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0 LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___closed__1; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5693____closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__8(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instantiateMVarsProfiling___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasSorry(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__1___closed__4; @@ -1352,9 +1352,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_clean LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_finishElab___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___spec__2(lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__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_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object*, size_t, size_t); @@ -1384,6 +1382,7 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); @@ -1423,8 +1422,8 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef_ lean_object* l_Lean_Elab_Term_mkBodyInfo(lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__8___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__8(lean_object*, size_t, size_t); lean_object* l_Lean_RBTree_union___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4___boxed(lean_object*); lean_object* l_Lean_Elab_fixLevelParams(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_Term_expandWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -59980,37 +59979,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -x_12 = lean_array_uset(x_7, x_2, x_9); -x_2 = x_11; -x_3 = x_12; -goto _start; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -60019,7 +59988,7 @@ if (x_4 == 0) { lean_object* x_5; uint8_t x_6; x_5 = lean_array_uget(x_1, x_2); -x_6 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(x_5); +x_6 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(x_5); lean_dec(x_5); if (x_6 == 0) { @@ -60044,7 +60013,7 @@ return x_11; } } } -static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__1() { +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -60052,34 +60021,34 @@ x_1 = lean_mk_string_unchecked("hasSorry", 8, 8); return x_1; } } -static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__2() { +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__1; +x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1(lean_object* x_1) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__2; +x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__2; x_3 = lean_name_eq(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___closed__1() { +static lean_object* _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___boxed), 1, 0); return x_1; } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -60104,7 +60073,7 @@ lean_dec(x_7); x_9 = lean_ctor_get(x_5, 4); lean_inc(x_9); lean_dec(x_5); -x_10 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___closed__1; +x_10 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___closed__1; x_11 = l_Lean_MessageData_hasTag(x_10, x_9); if (x_11 == 0) { @@ -60130,7 +60099,7 @@ return x_16; } } } -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(lean_object* x_1) { +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -60153,7 +60122,7 @@ size_t x_7; size_t x_8; uint8_t x_9; x_7 = 0; x_8 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_9 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6(x_2, x_7, x_8); +x_9 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(x_2, x_7, x_8); return x_9; } } @@ -60177,18 +60146,18 @@ size_t x_15; size_t x_16; uint8_t x_17; x_15 = 0; x_16 = lean_usize_of_nat(x_11); lean_dec(x_11); -x_17 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(x_10, x_15, x_16); +x_17 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6(x_10, x_15, x_16); return x_17; } } } } -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(lean_object* x_1) { +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; x_2 = lean_ctor_get(x_1, 0); -x_3 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(x_2); +x_3 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(x_2); if (x_3 == 0) { lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -60209,7 +60178,7 @@ size_t x_9; size_t x_10; uint8_t x_11; x_9 = 0; x_10 = lean_usize_of_nat(x_5); lean_dec(x_5); -x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(x_4, x_9, x_10); +x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6(x_4, x_9, x_10); return x_11; } } @@ -60219,7 +60188,7 @@ return x_3; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__8(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -60229,7 +60198,7 @@ if (x_4 == 0) lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_array_uget(x_1, x_2); x_6 = l_Lean_MessageLog_reportedPlusUnreported(x_5); -x_7 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(x_6); +x_7 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(x_6); lean_dec(x_6); if (x_7 == 0) { @@ -60319,7 +60288,7 @@ _start: lean_object* x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_15 = l_Lean_Language_SnapshotTree_getAll(x_5); x_16 = lean_array_size(x_15); -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(x_16, x_4, x_15); +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_runLintersAsync___spec__1(x_16, x_4, x_15); x_18 = lean_array_push(x_17, x_6); x_19 = lean_array_get_size(x_18); x_20 = lean_unsigned_to_nat(0u); @@ -60338,7 +60307,7 @@ else size_t x_24; uint8_t x_25; x_24 = lean_usize_of_nat(x_19); lean_dec(x_19); -x_25 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__8(x_18, x_4, x_24); +x_25 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(x_18, x_4, x_24); lean_dec(x_18); if (x_25 == 0) { @@ -61116,16 +61085,28 @@ lean_dec(x_1); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(x_4, x_5, x_3); -return x_6; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(x_1, x_4, x_5); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; } } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -61142,11 +61123,21 @@ x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1(x_1); +x_2 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__3(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -61166,40 +61157,6 @@ x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__5(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_PersistentArray_anyM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__4(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__8(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -65940,12 +65897,12 @@ l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Ter lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__2___closed__4); l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__2___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__2___closed__5(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__2___closed__5); -l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__1 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__1(); -lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__1); -l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__2 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__2(); -lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___lambda__1___closed__2); -l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___closed__1 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___closed__1(); -lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7___closed__1); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__1 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__1(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__1); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__2 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__2(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___lambda__1___closed__2); +l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___closed__1 = _init_l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___closed__1(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___closed__1); l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3___closed__1 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3___closed__1); l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3___closed__2 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 9d75fdea83..4f32fcecbd 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -343,7 +343,6 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___lambda__1___clo lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__2___closed__1; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__17; @@ -768,6 +767,7 @@ lean_object* l_Lean_throwError___at_Lean_withSetOptionIn___spec__7(lean_object*, static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__13; static lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__21; +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__10; static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__3___closed__2; @@ -15864,7 +15864,7 @@ lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_26, x_2, x_3, x_27); +x_28 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_26, x_2, x_3, x_27); x_29 = !lean_is_exclusive(x_28); if (x_29 == 0) { @@ -17181,7 +17181,7 @@ lean_inc(x_463); x_464 = lean_ctor_get(x_462, 1); lean_inc(x_464); lean_dec(x_462); -x_465 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__2(x_463, x_2, x_3, x_464); +x_465 = l_Lean_setEnv___at_Lean_Elab_Command_runLintersAsync___spec__4(x_463, x_2, x_3, x_464); x_466 = lean_ctor_get(x_465, 1); lean_inc(x_466); if (lean_is_exclusive(x_465)) { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c index 2522a9c06e..afa3b0aa61 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c @@ -39,9 +39,11 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteExpr(lean_object*, lean LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteExpr_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__6; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Power_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Expr_denoteExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteExpr_go(lean_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_nat_abs(lean_object*); @@ -58,6 +60,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr_go___boxed(lean_o lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr_denoteTerm___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*); @@ -177,7 +180,7 @@ return x_12; else { lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_14, 8); +x_30 = lean_ctor_get(x_14, 9); lean_inc(x_30); lean_dec(x_14); x_31 = l_Lean_Expr_app___override(x_30, x_27); @@ -228,7 +231,7 @@ return x_49; else { lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_32, 8); +x_50 = lean_ctor_get(x_32, 9); lean_inc(x_50); lean_dec(x_32); x_51 = l_Lean_Expr_app___override(x_50, x_46); @@ -295,7 +298,7 @@ if (x_13 == 0) lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_14 = lean_ctor_get(x_12, 0); x_15 = lean_ctor_get(x_12, 1); -x_16 = lean_ctor_get(x_14, 12); +x_16 = lean_ctor_get(x_14, 13); lean_inc(x_16); lean_dec(x_14); x_17 = lean_ctor_get(x_1, 0); @@ -329,7 +332,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_27, 9); +x_28 = lean_ctor_get(x_27, 10); lean_inc(x_28); lean_dec(x_27); x_29 = l_Lean_mkNatLit(x_20); @@ -345,7 +348,7 @@ x_32 = lean_ctor_get(x_25, 1); lean_inc(x_32); lean_inc(x_31); lean_dec(x_25); -x_33 = lean_ctor_get(x_31, 9); +x_33 = lean_ctor_get(x_31, 10); lean_inc(x_33); lean_dec(x_31); x_34 = l_Lean_mkNatLit(x_20); @@ -407,7 +410,7 @@ if (x_44 == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_45, 9); +x_46 = lean_ctor_get(x_45, 10); lean_inc(x_46); lean_dec(x_45); x_47 = l_Lean_mkNatLit(x_20); @@ -423,7 +426,7 @@ x_50 = lean_ctor_get(x_43, 1); lean_inc(x_50); lean_inc(x_49); lean_dec(x_43); -x_51 = lean_ctor_get(x_49, 9); +x_51 = lean_ctor_get(x_49, 10); lean_inc(x_51); lean_dec(x_49); x_52 = l_Lean_mkNatLit(x_20); @@ -475,7 +478,7 @@ x_60 = lean_ctor_get(x_12, 1); lean_inc(x_60); lean_inc(x_59); lean_dec(x_12); -x_61 = lean_ctor_get(x_59, 12); +x_61 = lean_ctor_get(x_59, 13); lean_inc(x_61); lean_dec(x_59); x_62 = lean_ctor_get(x_1, 0); @@ -515,7 +518,7 @@ if (lean_is_exclusive(x_70)) { lean_dec_ref(x_70); x_73 = lean_box(0); } -x_74 = lean_ctor_get(x_71, 9); +x_74 = lean_ctor_get(x_71, 10); lean_inc(x_74); lean_dec(x_71); x_75 = l_Lean_mkNatLit(x_65); @@ -591,7 +594,7 @@ if (lean_is_exclusive(x_85)) { lean_dec_ref(x_85); x_88 = lean_box(0); } -x_89 = lean_ctor_get(x_86, 9); +x_89 = lean_ctor_get(x_86, 10); lean_inc(x_89); lean_dec(x_86); x_90 = l_Lean_mkNatLit(x_65); @@ -723,7 +726,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); -x_22 = lean_ctor_get(x_17, 6); +x_22 = lean_ctor_get(x_17, 7); lean_inc(x_22); lean_dec(x_17); x_23 = l_Lean_mkAppB(x_22, x_2, x_20); @@ -921,7 +924,7 @@ if (x_22 == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_16, 6); +x_24 = lean_ctor_get(x_16, 7); lean_inc(x_24); lean_dec(x_16); x_25 = l_Lean_mkAppB(x_24, x_19, x_23); @@ -936,7 +939,7 @@ x_27 = lean_ctor_get(x_21, 1); lean_inc(x_27); lean_inc(x_26); lean_dec(x_21); -x_28 = lean_ctor_get(x_16, 6); +x_28 = lean_ctor_get(x_16, 7); lean_inc(x_28); lean_dec(x_16); x_29 = l_Lean_mkAppB(x_28, x_19, x_26); @@ -1079,7 +1082,7 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_17, 5); +x_22 = lean_ctor_get(x_17, 6); lean_inc(x_22); lean_dec(x_17); x_23 = l_Lean_mkAppB(x_22, x_2, x_21); @@ -1094,7 +1097,7 @@ x_25 = lean_ctor_get(x_19, 1); lean_inc(x_25); lean_inc(x_24); lean_dec(x_19); -x_26 = lean_ctor_get(x_17, 5); +x_26 = lean_ctor_get(x_17, 6); lean_inc(x_26); lean_dec(x_17); x_27 = l_Lean_mkAppB(x_26, x_2, x_24); @@ -1193,7 +1196,7 @@ lean_inc(x_45); x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); lean_dec(x_44); -x_47 = lean_ctor_get(x_42, 5); +x_47 = lean_ctor_get(x_42, 6); lean_inc(x_47); lean_dec(x_42); x_48 = l_Lean_mkAppB(x_47, x_2, x_45); @@ -1382,7 +1385,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_17, 12); +x_18 = lean_ctor_get(x_17, 13); lean_inc(x_18); lean_dec(x_17); x_19 = lean_ctor_get(x_18, 2); @@ -1417,7 +1420,7 @@ x_26 = lean_ctor_get(x_15, 1); lean_inc(x_26); lean_inc(x_25); lean_dec(x_15); -x_27 = lean_ctor_get(x_25, 12); +x_27 = lean_ctor_get(x_25, 13); lean_inc(x_27); lean_dec(x_25); x_28 = lean_ctor_get(x_27, 2); @@ -1497,7 +1500,7 @@ if (x_45 == 0) { lean_object* x_46; lean_object* x_47; lean_object* x_48; x_46 = lean_ctor_get(x_44, 0); -x_47 = lean_ctor_get(x_42, 8); +x_47 = lean_ctor_get(x_42, 9); lean_inc(x_47); lean_dec(x_42); x_48 = l_Lean_Expr_app___override(x_47, x_46); @@ -1512,7 +1515,7 @@ x_50 = lean_ctor_get(x_44, 1); lean_inc(x_50); lean_inc(x_49); lean_dec(x_44); -x_51 = lean_ctor_get(x_42, 8); +x_51 = lean_ctor_get(x_42, 9); lean_inc(x_51); lean_dec(x_42); x_52 = l_Lean_Expr_app___override(x_51, x_49); @@ -1605,7 +1608,7 @@ if (x_71 == 0) { lean_object* x_72; lean_object* x_73; lean_object* x_74; x_72 = lean_ctor_get(x_70, 0); -x_73 = lean_ctor_get(x_65, 5); +x_73 = lean_ctor_get(x_65, 6); lean_inc(x_73); lean_dec(x_65); x_74 = l_Lean_mkAppB(x_73, x_68, x_72); @@ -1620,7 +1623,7 @@ x_76 = lean_ctor_get(x_70, 1); lean_inc(x_76); lean_inc(x_75); lean_dec(x_70); -x_77 = lean_ctor_get(x_65, 5); +x_77 = lean_ctor_get(x_65, 6); lean_inc(x_77); lean_dec(x_65); x_78 = l_Lean_mkAppB(x_77, x_68, x_75); @@ -1740,7 +1743,7 @@ if (x_101 == 0) { lean_object* x_102; lean_object* x_103; lean_object* x_104; x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_95, 7); +x_103 = lean_ctor_get(x_95, 8); lean_inc(x_103); lean_dec(x_95); x_104 = l_Lean_mkAppB(x_103, x_98, x_102); @@ -1755,7 +1758,7 @@ x_106 = lean_ctor_get(x_100, 1); lean_inc(x_106); lean_inc(x_105); lean_dec(x_100); -x_107 = lean_ctor_get(x_95, 7); +x_107 = lean_ctor_get(x_95, 8); lean_inc(x_107); lean_dec(x_95); x_108 = l_Lean_mkAppB(x_107, x_98, x_105); @@ -1875,7 +1878,7 @@ if (x_131 == 0) { lean_object* x_132; lean_object* x_133; lean_object* x_134; x_132 = lean_ctor_get(x_130, 0); -x_133 = lean_ctor_get(x_125, 6); +x_133 = lean_ctor_get(x_125, 7); lean_inc(x_133); lean_dec(x_125); x_134 = l_Lean_mkAppB(x_133, x_128, x_132); @@ -1890,7 +1893,7 @@ x_136 = lean_ctor_get(x_130, 1); lean_inc(x_136); lean_inc(x_135); lean_dec(x_130); -x_137 = lean_ctor_get(x_125, 6); +x_137 = lean_ctor_get(x_125, 7); lean_inc(x_137); lean_dec(x_125); x_138 = l_Lean_mkAppB(x_137, x_128, x_135); @@ -2001,7 +2004,7 @@ if (x_158 == 0) { lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; x_159 = lean_ctor_get(x_157, 0); -x_160 = lean_ctor_get(x_155, 9); +x_160 = lean_ctor_get(x_155, 10); lean_inc(x_160); lean_dec(x_155); x_161 = l_Lean_mkNatLit(x_153); @@ -2017,7 +2020,7 @@ x_164 = lean_ctor_get(x_157, 1); lean_inc(x_164); lean_inc(x_163); lean_dec(x_157); -x_165 = lean_ctor_get(x_155, 9); +x_165 = lean_ctor_get(x_155, 10); lean_inc(x_165); lean_dec(x_155); x_166 = l_Lean_mkNatLit(x_153); @@ -2221,6 +2224,33 @@ lean_dec(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(x_1); +x_13 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Util(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Var(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c index a36b709152..ab3d42d14e 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c @@ -14,19 +14,24 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Int_decidableDvd(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_gcdExt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; +lean_object* l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2; -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_mkEqCnstr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -41,27 +46,26 @@ static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_G size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_Meta_Grind_reportIssue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMapM_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_checkSystem(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyAndCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_emod(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1; lean_object* l_Lean_Grind_CommRing_Poly_mulConstC(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f(lean_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_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_mkEqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -70,25 +74,28 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_set___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; static lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); lean_object* lean_nat_to_int(lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__3; lean_object* l_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -99,35 +106,36 @@ lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(lean_object*, lean static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1; lean_object* l_Lean_Meta_Grind_Arith_CommRing_hasChar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_process_ring_diseq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__3; -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_Meta_Grind_isSameExpr_unsafe__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__2; lean_object* l_Lean_mkNot(lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; lean_object* l_Lean_Grind_CommRing_Expr_toPolyM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_updateLastTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_mulConst(lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_degree(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; -lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); @@ -135,59 +143,61 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith_ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; LEAN_EXPORT lean_object* lean_process_ring_eq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* lean_nat_abs(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2; static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__2___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f(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_indentExpr(lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1; +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__1; lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_compare(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3; uint8_t lean_int_dec_lt(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_lc(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasis(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_addNewEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Grind_CommRing_Poly_divides(lean_object*, lean_object*); uint64_t l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -195,10 +205,10 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommR LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4; lean_object* l_Lean_Meta_Grind_getConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; @@ -402,7 +412,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 15); +x_16 = lean_ctor_get(x_14, 16); lean_inc(x_16); lean_dec(x_14); x_17 = l_Lean_Grind_CommRing_Poly_degree(x_1); @@ -481,11 +491,11 @@ x_41 = !lean_is_exclusive(x_38); if (x_41 == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_38, 15); +x_42 = lean_ctor_get(x_38, 16); x_43 = lean_unsigned_to_nat(1u); x_44 = lean_nat_add(x_42, x_43); lean_dec(x_42); -lean_ctor_set(x_38, 15, x_44); +lean_ctor_set(x_38, 16, x_44); x_45 = lean_array_fset(x_40, x_3, x_38); lean_ctor_set(x_21, 0, x_45); x_46 = lean_st_ref_set(x_4, x_19, x_22); @@ -522,7 +532,7 @@ return x_52; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; x_53 = lean_ctor_get(x_38, 0); x_54 = lean_ctor_get(x_38, 1); x_55 = lean_ctor_get(x_38, 2); @@ -542,6 +552,8 @@ x_68 = lean_ctor_get(x_38, 15); x_69 = lean_ctor_get(x_38, 16); x_70 = lean_ctor_get(x_38, 17); x_71 = lean_ctor_get(x_38, 18); +x_72 = lean_ctor_get(x_38, 19); +lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); lean_inc(x_69); @@ -562,741 +574,754 @@ lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); lean_dec(x_38); -x_72 = lean_unsigned_to_nat(1u); -x_73 = lean_nat_add(x_68, x_72); -lean_dec(x_68); -x_74 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_74, 0, x_53); -lean_ctor_set(x_74, 1, x_54); -lean_ctor_set(x_74, 2, x_55); -lean_ctor_set(x_74, 3, x_56); -lean_ctor_set(x_74, 4, x_57); -lean_ctor_set(x_74, 5, x_58); -lean_ctor_set(x_74, 6, x_59); -lean_ctor_set(x_74, 7, x_60); -lean_ctor_set(x_74, 8, x_61); -lean_ctor_set(x_74, 9, x_62); -lean_ctor_set(x_74, 10, x_63); -lean_ctor_set(x_74, 11, x_64); -lean_ctor_set(x_74, 12, x_65); -lean_ctor_set(x_74, 13, x_66); -lean_ctor_set(x_74, 14, x_67); -lean_ctor_set(x_74, 15, x_73); -lean_ctor_set(x_74, 16, x_69); -lean_ctor_set(x_74, 17, x_70); -lean_ctor_set(x_74, 18, x_71); -x_75 = lean_array_fset(x_40, x_3, x_74); -lean_ctor_set(x_21, 0, x_75); -x_76 = lean_st_ref_set(x_4, x_19, x_22); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_78 = x_76; +x_73 = lean_unsigned_to_nat(1u); +x_74 = lean_nat_add(x_69, x_73); +lean_dec(x_69); +x_75 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_75, 0, x_53); +lean_ctor_set(x_75, 1, x_54); +lean_ctor_set(x_75, 2, x_55); +lean_ctor_set(x_75, 3, x_56); +lean_ctor_set(x_75, 4, x_57); +lean_ctor_set(x_75, 5, x_58); +lean_ctor_set(x_75, 6, x_59); +lean_ctor_set(x_75, 7, x_60); +lean_ctor_set(x_75, 8, x_61); +lean_ctor_set(x_75, 9, x_62); +lean_ctor_set(x_75, 10, x_63); +lean_ctor_set(x_75, 11, x_64); +lean_ctor_set(x_75, 12, x_65); +lean_ctor_set(x_75, 13, x_66); +lean_ctor_set(x_75, 14, x_67); +lean_ctor_set(x_75, 15, x_68); +lean_ctor_set(x_75, 16, x_74); +lean_ctor_set(x_75, 17, x_70); +lean_ctor_set(x_75, 18, x_71); +lean_ctor_set(x_75, 19, x_72); +x_76 = lean_array_fset(x_40, x_3, x_75); +lean_ctor_set(x_21, 0, x_76); +x_77 = lean_st_ref_set(x_4, x_19, x_22); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_79 = x_77; } else { - lean_dec_ref(x_76); - x_78 = lean_box(0); + lean_dec_ref(x_77); + x_79 = lean_box(0); } -x_79 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_79, 0, x_1); -lean_ctor_set(x_79, 1, x_2); -lean_ctor_set(x_79, 2, x_17); -lean_ctor_set(x_79, 3, x_16); -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(0, 2, 0); +x_80 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_80, 0, x_1); +lean_ctor_set(x_80, 1, x_2); +lean_ctor_set(x_80, 2, x_17); +lean_ctor_set(x_80, 3, x_16); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 2, 0); } else { - x_80 = x_78; + x_81 = x_79; } -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_77); -return x_80; +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; } } } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_81 = lean_ctor_get(x_21, 0); -x_82 = lean_ctor_get(x_21, 1); -x_83 = lean_ctor_get(x_21, 2); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_82 = lean_ctor_get(x_21, 0); +x_83 = lean_ctor_get(x_21, 1); +x_84 = lean_ctor_get(x_21, 2); +lean_inc(x_84); lean_inc(x_83); lean_inc(x_82); -lean_inc(x_81); lean_dec(x_21); -x_84 = lean_array_get_size(x_81); -x_85 = lean_nat_dec_lt(x_3, x_84); -lean_dec(x_84); -if (x_85 == 0) +x_85 = lean_array_get_size(x_82); +x_86 = lean_nat_dec_lt(x_3, x_85); +lean_dec(x_85); +if (x_86 == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_86 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_86, 0, x_81); -lean_ctor_set(x_86, 1, x_82); -lean_ctor_set(x_86, 2, x_83); -lean_ctor_set(x_20, 2, x_86); -x_87 = lean_st_ref_set(x_4, x_19, x_22); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_89 = x_87; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_87 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_87, 0, x_82); +lean_ctor_set(x_87, 1, x_83); +lean_ctor_set(x_87, 2, x_84); +lean_ctor_set(x_20, 2, x_87); +x_88 = lean_st_ref_set(x_4, x_19, x_22); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; } else { - lean_dec_ref(x_87); - x_89 = lean_box(0); + lean_dec_ref(x_88); + x_90 = lean_box(0); } -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_1); -lean_ctor_set(x_90, 1, x_2); -lean_ctor_set(x_90, 2, x_17); -lean_ctor_set(x_90, 3, x_16); -if (lean_is_scalar(x_89)) { - x_91 = lean_alloc_ctor(0, 2, 0); +x_91 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_91, 0, x_1); +lean_ctor_set(x_91, 1, x_2); +lean_ctor_set(x_91, 2, x_17); +lean_ctor_set(x_91, 3, x_16); +if (lean_is_scalar(x_90)) { + x_92 = lean_alloc_ctor(0, 2, 0); } else { - x_91 = x_89; + x_92 = x_90; } -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -return x_91; +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_89); +return x_92; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_92 = lean_array_fget(x_81, x_3); -x_93 = lean_box(0); -x_94 = lean_array_fset(x_81, x_3, x_93); -x_95 = lean_ctor_get(x_92, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_92, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_93 = lean_array_fget(x_82, x_3); +x_94 = lean_box(0); +x_95 = lean_array_fset(x_82, x_3, x_94); +x_96 = lean_ctor_get(x_93, 0); lean_inc(x_96); -x_97 = lean_ctor_get(x_92, 2); +x_97 = lean_ctor_get(x_93, 1); lean_inc(x_97); -x_98 = lean_ctor_get(x_92, 3); +x_98 = lean_ctor_get(x_93, 2); lean_inc(x_98); -x_99 = lean_ctor_get(x_92, 4); +x_99 = lean_ctor_get(x_93, 3); lean_inc(x_99); -x_100 = lean_ctor_get(x_92, 5); +x_100 = lean_ctor_get(x_93, 4); lean_inc(x_100); -x_101 = lean_ctor_get(x_92, 6); +x_101 = lean_ctor_get(x_93, 5); lean_inc(x_101); -x_102 = lean_ctor_get(x_92, 7); +x_102 = lean_ctor_get(x_93, 6); lean_inc(x_102); -x_103 = lean_ctor_get(x_92, 8); +x_103 = lean_ctor_get(x_93, 7); lean_inc(x_103); -x_104 = lean_ctor_get(x_92, 9); +x_104 = lean_ctor_get(x_93, 8); lean_inc(x_104); -x_105 = lean_ctor_get(x_92, 10); +x_105 = lean_ctor_get(x_93, 9); lean_inc(x_105); -x_106 = lean_ctor_get(x_92, 11); +x_106 = lean_ctor_get(x_93, 10); lean_inc(x_106); -x_107 = lean_ctor_get(x_92, 12); +x_107 = lean_ctor_get(x_93, 11); lean_inc(x_107); -x_108 = lean_ctor_get(x_92, 13); +x_108 = lean_ctor_get(x_93, 12); lean_inc(x_108); -x_109 = lean_ctor_get(x_92, 14); +x_109 = lean_ctor_get(x_93, 13); lean_inc(x_109); -x_110 = lean_ctor_get(x_92, 15); +x_110 = lean_ctor_get(x_93, 14); lean_inc(x_110); -x_111 = lean_ctor_get(x_92, 16); +x_111 = lean_ctor_get(x_93, 15); lean_inc(x_111); -x_112 = lean_ctor_get(x_92, 17); +x_112 = lean_ctor_get(x_93, 16); lean_inc(x_112); -x_113 = lean_ctor_get(x_92, 18); +x_113 = lean_ctor_get(x_93, 17); lean_inc(x_113); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - lean_ctor_release(x_92, 2); - lean_ctor_release(x_92, 3); - lean_ctor_release(x_92, 4); - lean_ctor_release(x_92, 5); - lean_ctor_release(x_92, 6); - lean_ctor_release(x_92, 7); - lean_ctor_release(x_92, 8); - lean_ctor_release(x_92, 9); - lean_ctor_release(x_92, 10); - lean_ctor_release(x_92, 11); - lean_ctor_release(x_92, 12); - lean_ctor_release(x_92, 13); - lean_ctor_release(x_92, 14); - lean_ctor_release(x_92, 15); - lean_ctor_release(x_92, 16); - lean_ctor_release(x_92, 17); - lean_ctor_release(x_92, 18); - x_114 = x_92; +x_114 = lean_ctor_get(x_93, 18); +lean_inc(x_114); +x_115 = lean_ctor_get(x_93, 19); +lean_inc(x_115); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + lean_ctor_release(x_93, 2); + lean_ctor_release(x_93, 3); + lean_ctor_release(x_93, 4); + lean_ctor_release(x_93, 5); + lean_ctor_release(x_93, 6); + lean_ctor_release(x_93, 7); + lean_ctor_release(x_93, 8); + lean_ctor_release(x_93, 9); + lean_ctor_release(x_93, 10); + lean_ctor_release(x_93, 11); + lean_ctor_release(x_93, 12); + lean_ctor_release(x_93, 13); + lean_ctor_release(x_93, 14); + lean_ctor_release(x_93, 15); + lean_ctor_release(x_93, 16); + lean_ctor_release(x_93, 17); + lean_ctor_release(x_93, 18); + lean_ctor_release(x_93, 19); + x_116 = x_93; } else { - lean_dec_ref(x_92); - x_114 = lean_box(0); + lean_dec_ref(x_93); + x_116 = lean_box(0); } -x_115 = lean_unsigned_to_nat(1u); -x_116 = lean_nat_add(x_110, x_115); -lean_dec(x_110); -if (lean_is_scalar(x_114)) { - x_117 = lean_alloc_ctor(0, 19, 0); +x_117 = lean_unsigned_to_nat(1u); +x_118 = lean_nat_add(x_112, x_117); +lean_dec(x_112); +if (lean_is_scalar(x_116)) { + x_119 = lean_alloc_ctor(0, 20, 0); } else { - x_117 = x_114; + x_119 = x_116; } -lean_ctor_set(x_117, 0, x_95); -lean_ctor_set(x_117, 1, x_96); -lean_ctor_set(x_117, 2, x_97); -lean_ctor_set(x_117, 3, x_98); -lean_ctor_set(x_117, 4, x_99); -lean_ctor_set(x_117, 5, x_100); -lean_ctor_set(x_117, 6, x_101); -lean_ctor_set(x_117, 7, x_102); -lean_ctor_set(x_117, 8, x_103); -lean_ctor_set(x_117, 9, x_104); -lean_ctor_set(x_117, 10, x_105); -lean_ctor_set(x_117, 11, x_106); -lean_ctor_set(x_117, 12, x_107); -lean_ctor_set(x_117, 13, x_108); -lean_ctor_set(x_117, 14, x_109); -lean_ctor_set(x_117, 15, x_116); -lean_ctor_set(x_117, 16, x_111); -lean_ctor_set(x_117, 17, x_112); -lean_ctor_set(x_117, 18, x_113); -x_118 = lean_array_fset(x_94, x_3, x_117); -x_119 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_82); -lean_ctor_set(x_119, 2, x_83); -lean_ctor_set(x_20, 2, x_119); -x_120 = lean_st_ref_set(x_4, x_19, x_22); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_122 = x_120; -} else { - lean_dec_ref(x_120); - x_122 = lean_box(0); -} -x_123 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_123, 0, x_1); -lean_ctor_set(x_123, 1, x_2); -lean_ctor_set(x_123, 2, x_17); -lean_ctor_set(x_123, 3, x_16); -if (lean_is_scalar(x_122)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { +lean_ctor_set(x_119, 0, x_96); +lean_ctor_set(x_119, 1, x_97); +lean_ctor_set(x_119, 2, x_98); +lean_ctor_set(x_119, 3, x_99); +lean_ctor_set(x_119, 4, x_100); +lean_ctor_set(x_119, 5, x_101); +lean_ctor_set(x_119, 6, x_102); +lean_ctor_set(x_119, 7, x_103); +lean_ctor_set(x_119, 8, x_104); +lean_ctor_set(x_119, 9, x_105); +lean_ctor_set(x_119, 10, x_106); +lean_ctor_set(x_119, 11, x_107); +lean_ctor_set(x_119, 12, x_108); +lean_ctor_set(x_119, 13, x_109); +lean_ctor_set(x_119, 14, x_110); +lean_ctor_set(x_119, 15, x_111); +lean_ctor_set(x_119, 16, x_118); +lean_ctor_set(x_119, 17, x_113); +lean_ctor_set(x_119, 18, x_114); +lean_ctor_set(x_119, 19, x_115); +x_120 = lean_array_fset(x_95, x_3, x_119); +x_121 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_83); +lean_ctor_set(x_121, 2, x_84); +lean_ctor_set(x_20, 2, x_121); +x_122 = lean_st_ref_set(x_4, x_19, x_22); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); x_124 = x_122; +} else { + lean_dec_ref(x_122); + x_124 = lean_box(0); } -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_121); -return x_124; +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_1); +lean_ctor_set(x_125, 1, x_2); +lean_ctor_set(x_125, 2, x_17); +lean_ctor_set(x_125, 3, x_16); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_123); +return x_126; } } } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_125 = lean_ctor_get(x_20, 0); -x_126 = lean_ctor_get(x_20, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_20); -x_127 = lean_ctor_get(x_21, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_21, 1); +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; +x_127 = lean_ctor_get(x_20, 0); +x_128 = lean_ctor_get(x_20, 1); lean_inc(x_128); -x_129 = lean_ctor_get(x_21, 2); +lean_inc(x_127); +lean_dec(x_20); +x_129 = lean_ctor_get(x_21, 0); lean_inc(x_129); +x_130 = lean_ctor_get(x_21, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_21, 2); +lean_inc(x_131); if (lean_is_exclusive(x_21)) { lean_ctor_release(x_21, 0); lean_ctor_release(x_21, 1); lean_ctor_release(x_21, 2); - x_130 = x_21; + x_132 = x_21; } else { lean_dec_ref(x_21); - x_130 = lean_box(0); + x_132 = lean_box(0); } -x_131 = lean_array_get_size(x_127); -x_132 = lean_nat_dec_lt(x_3, x_131); -lean_dec(x_131); -if (x_132 == 0) +x_133 = lean_array_get_size(x_129); +x_134 = lean_nat_dec_lt(x_3, x_133); +lean_dec(x_133); +if (x_134 == 0) { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -if (lean_is_scalar(x_130)) { - x_133 = lean_alloc_ctor(0, 3, 0); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +if (lean_is_scalar(x_132)) { + x_135 = lean_alloc_ctor(0, 3, 0); } else { - x_133 = x_130; + x_135 = x_132; } -lean_ctor_set(x_133, 0, x_127); -lean_ctor_set(x_133, 1, x_128); -lean_ctor_set(x_133, 2, x_129); -x_134 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_134, 0, x_125); -lean_ctor_set(x_134, 1, x_126); -lean_ctor_set(x_134, 2, x_133); -lean_ctor_set(x_19, 13, x_134); -x_135 = lean_st_ref_set(x_4, x_19, x_22); -x_136 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - lean_ctor_release(x_135, 1); - x_137 = x_135; -} else { - lean_dec_ref(x_135); - x_137 = lean_box(0); -} -x_138 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_138, 0, x_1); -lean_ctor_set(x_138, 1, x_2); -lean_ctor_set(x_138, 2, x_17); -lean_ctor_set(x_138, 3, x_16); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { +lean_ctor_set(x_135, 0, x_129); +lean_ctor_set(x_135, 1, x_130); +lean_ctor_set(x_135, 2, x_131); +x_136 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_136, 0, x_127); +lean_ctor_set(x_136, 1, x_128); +lean_ctor_set(x_136, 2, x_135); +lean_ctor_set(x_19, 13, x_136); +x_137 = lean_st_ref_set(x_4, x_19, x_22); +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); x_139 = x_137; +} else { + lean_dec_ref(x_137); + x_139 = lean_box(0); } -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -return x_139; +x_140 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_140, 0, x_1); +lean_ctor_set(x_140, 1, x_2); +lean_ctor_set(x_140, 2, x_17); +lean_ctor_set(x_140, 3, x_16); +if (lean_is_scalar(x_139)) { + x_141 = lean_alloc_ctor(0, 2, 0); +} else { + x_141 = x_139; +} +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_138); +return x_141; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_140 = lean_array_fget(x_127, x_3); -x_141 = lean_box(0); -x_142 = lean_array_fset(x_127, x_3, x_141); -x_143 = lean_ctor_get(x_140, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_140, 1); -lean_inc(x_144); -x_145 = lean_ctor_get(x_140, 2); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_142 = lean_array_fget(x_129, x_3); +x_143 = lean_box(0); +x_144 = lean_array_fset(x_129, x_3, x_143); +x_145 = lean_ctor_get(x_142, 0); lean_inc(x_145); -x_146 = lean_ctor_get(x_140, 3); +x_146 = lean_ctor_get(x_142, 1); lean_inc(x_146); -x_147 = lean_ctor_get(x_140, 4); +x_147 = lean_ctor_get(x_142, 2); lean_inc(x_147); -x_148 = lean_ctor_get(x_140, 5); +x_148 = lean_ctor_get(x_142, 3); lean_inc(x_148); -x_149 = lean_ctor_get(x_140, 6); +x_149 = lean_ctor_get(x_142, 4); lean_inc(x_149); -x_150 = lean_ctor_get(x_140, 7); +x_150 = lean_ctor_get(x_142, 5); lean_inc(x_150); -x_151 = lean_ctor_get(x_140, 8); +x_151 = lean_ctor_get(x_142, 6); lean_inc(x_151); -x_152 = lean_ctor_get(x_140, 9); +x_152 = lean_ctor_get(x_142, 7); lean_inc(x_152); -x_153 = lean_ctor_get(x_140, 10); +x_153 = lean_ctor_get(x_142, 8); lean_inc(x_153); -x_154 = lean_ctor_get(x_140, 11); +x_154 = lean_ctor_get(x_142, 9); lean_inc(x_154); -x_155 = lean_ctor_get(x_140, 12); +x_155 = lean_ctor_get(x_142, 10); lean_inc(x_155); -x_156 = lean_ctor_get(x_140, 13); +x_156 = lean_ctor_get(x_142, 11); lean_inc(x_156); -x_157 = lean_ctor_get(x_140, 14); +x_157 = lean_ctor_get(x_142, 12); lean_inc(x_157); -x_158 = lean_ctor_get(x_140, 15); +x_158 = lean_ctor_get(x_142, 13); lean_inc(x_158); -x_159 = lean_ctor_get(x_140, 16); +x_159 = lean_ctor_get(x_142, 14); lean_inc(x_159); -x_160 = lean_ctor_get(x_140, 17); +x_160 = lean_ctor_get(x_142, 15); lean_inc(x_160); -x_161 = lean_ctor_get(x_140, 18); +x_161 = lean_ctor_get(x_142, 16); lean_inc(x_161); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - lean_ctor_release(x_140, 2); - lean_ctor_release(x_140, 3); - lean_ctor_release(x_140, 4); - lean_ctor_release(x_140, 5); - lean_ctor_release(x_140, 6); - lean_ctor_release(x_140, 7); - lean_ctor_release(x_140, 8); - lean_ctor_release(x_140, 9); - lean_ctor_release(x_140, 10); - lean_ctor_release(x_140, 11); - lean_ctor_release(x_140, 12); - lean_ctor_release(x_140, 13); - lean_ctor_release(x_140, 14); - lean_ctor_release(x_140, 15); - lean_ctor_release(x_140, 16); - lean_ctor_release(x_140, 17); - lean_ctor_release(x_140, 18); - x_162 = x_140; +x_162 = lean_ctor_get(x_142, 17); +lean_inc(x_162); +x_163 = lean_ctor_get(x_142, 18); +lean_inc(x_163); +x_164 = lean_ctor_get(x_142, 19); +lean_inc(x_164); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + lean_ctor_release(x_142, 4); + lean_ctor_release(x_142, 5); + lean_ctor_release(x_142, 6); + lean_ctor_release(x_142, 7); + lean_ctor_release(x_142, 8); + lean_ctor_release(x_142, 9); + lean_ctor_release(x_142, 10); + lean_ctor_release(x_142, 11); + lean_ctor_release(x_142, 12); + lean_ctor_release(x_142, 13); + lean_ctor_release(x_142, 14); + lean_ctor_release(x_142, 15); + lean_ctor_release(x_142, 16); + lean_ctor_release(x_142, 17); + lean_ctor_release(x_142, 18); + lean_ctor_release(x_142, 19); + x_165 = x_142; } else { - lean_dec_ref(x_140); - x_162 = lean_box(0); + lean_dec_ref(x_142); + x_165 = lean_box(0); } -x_163 = lean_unsigned_to_nat(1u); -x_164 = lean_nat_add(x_158, x_163); -lean_dec(x_158); -if (lean_is_scalar(x_162)) { - x_165 = lean_alloc_ctor(0, 19, 0); +x_166 = lean_unsigned_to_nat(1u); +x_167 = lean_nat_add(x_161, x_166); +lean_dec(x_161); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 20, 0); } else { - x_165 = x_162; + x_168 = x_165; } -lean_ctor_set(x_165, 0, x_143); -lean_ctor_set(x_165, 1, x_144); -lean_ctor_set(x_165, 2, x_145); -lean_ctor_set(x_165, 3, x_146); -lean_ctor_set(x_165, 4, x_147); -lean_ctor_set(x_165, 5, x_148); -lean_ctor_set(x_165, 6, x_149); -lean_ctor_set(x_165, 7, x_150); -lean_ctor_set(x_165, 8, x_151); -lean_ctor_set(x_165, 9, x_152); -lean_ctor_set(x_165, 10, x_153); -lean_ctor_set(x_165, 11, x_154); -lean_ctor_set(x_165, 12, x_155); -lean_ctor_set(x_165, 13, x_156); -lean_ctor_set(x_165, 14, x_157); -lean_ctor_set(x_165, 15, x_164); -lean_ctor_set(x_165, 16, x_159); -lean_ctor_set(x_165, 17, x_160); -lean_ctor_set(x_165, 18, x_161); -x_166 = lean_array_fset(x_142, x_3, x_165); -if (lean_is_scalar(x_130)) { - x_167 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_168, 0, x_145); +lean_ctor_set(x_168, 1, x_146); +lean_ctor_set(x_168, 2, x_147); +lean_ctor_set(x_168, 3, x_148); +lean_ctor_set(x_168, 4, x_149); +lean_ctor_set(x_168, 5, x_150); +lean_ctor_set(x_168, 6, x_151); +lean_ctor_set(x_168, 7, x_152); +lean_ctor_set(x_168, 8, x_153); +lean_ctor_set(x_168, 9, x_154); +lean_ctor_set(x_168, 10, x_155); +lean_ctor_set(x_168, 11, x_156); +lean_ctor_set(x_168, 12, x_157); +lean_ctor_set(x_168, 13, x_158); +lean_ctor_set(x_168, 14, x_159); +lean_ctor_set(x_168, 15, x_160); +lean_ctor_set(x_168, 16, x_167); +lean_ctor_set(x_168, 17, x_162); +lean_ctor_set(x_168, 18, x_163); +lean_ctor_set(x_168, 19, x_164); +x_169 = lean_array_fset(x_144, x_3, x_168); +if (lean_is_scalar(x_132)) { + x_170 = lean_alloc_ctor(0, 3, 0); } else { - x_167 = x_130; + x_170 = x_132; } -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_128); -lean_ctor_set(x_167, 2, x_129); -x_168 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_168, 0, x_125); -lean_ctor_set(x_168, 1, x_126); -lean_ctor_set(x_168, 2, x_167); -lean_ctor_set(x_19, 13, x_168); -x_169 = lean_st_ref_set(x_4, x_19, x_22); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - x_171 = x_169; +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_130); +lean_ctor_set(x_170, 2, x_131); +x_171 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_171, 0, x_127); +lean_ctor_set(x_171, 1, x_128); +lean_ctor_set(x_171, 2, x_170); +lean_ctor_set(x_19, 13, x_171); +x_172 = lean_st_ref_set(x_4, x_19, x_22); +x_173 = lean_ctor_get(x_172, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_174 = x_172; } else { - lean_dec_ref(x_169); - x_171 = lean_box(0); + lean_dec_ref(x_172); + x_174 = lean_box(0); } -x_172 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_172, 0, x_1); -lean_ctor_set(x_172, 1, x_2); -lean_ctor_set(x_172, 2, x_17); -lean_ctor_set(x_172, 3, x_16); -if (lean_is_scalar(x_171)) { - x_173 = lean_alloc_ctor(0, 2, 0); +x_175 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_175, 0, x_1); +lean_ctor_set(x_175, 1, x_2); +lean_ctor_set(x_175, 2, x_17); +lean_ctor_set(x_175, 3, x_16); +if (lean_is_scalar(x_174)) { + x_176 = lean_alloc_ctor(0, 2, 0); } else { - x_173 = x_171; + x_176 = x_174; } -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_170); -return x_173; +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_173); +return x_176; } } } else { -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; uint8_t 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; uint8_t x_197; -x_174 = lean_ctor_get(x_19, 0); -x_175 = lean_ctor_get(x_19, 1); -x_176 = lean_ctor_get(x_19, 2); -x_177 = lean_ctor_get(x_19, 3); -x_178 = lean_ctor_get(x_19, 4); -x_179 = lean_ctor_get(x_19, 5); -x_180 = lean_ctor_get(x_19, 6); -x_181 = lean_ctor_get_uint8(x_19, sizeof(void*)*15); -x_182 = lean_ctor_get(x_19, 7); -x_183 = lean_ctor_get(x_19, 8); -x_184 = lean_ctor_get(x_19, 9); -x_185 = lean_ctor_get(x_19, 10); -x_186 = lean_ctor_get(x_19, 11); -x_187 = lean_ctor_get(x_19, 12); -x_188 = lean_ctor_get(x_19, 14); +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; 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_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; uint8_t x_200; +x_177 = lean_ctor_get(x_19, 0); +x_178 = lean_ctor_get(x_19, 1); +x_179 = lean_ctor_get(x_19, 2); +x_180 = lean_ctor_get(x_19, 3); +x_181 = lean_ctor_get(x_19, 4); +x_182 = lean_ctor_get(x_19, 5); +x_183 = lean_ctor_get(x_19, 6); +x_184 = lean_ctor_get_uint8(x_19, sizeof(void*)*15); +x_185 = lean_ctor_get(x_19, 7); +x_186 = lean_ctor_get(x_19, 8); +x_187 = lean_ctor_get(x_19, 9); +x_188 = lean_ctor_get(x_19, 10); +x_189 = lean_ctor_get(x_19, 11); +x_190 = lean_ctor_get(x_19, 12); +x_191 = lean_ctor_get(x_19, 14); +lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); lean_inc(x_188); lean_inc(x_187); lean_inc(x_186); lean_inc(x_185); -lean_inc(x_184); lean_inc(x_183); lean_inc(x_182); +lean_inc(x_181); lean_inc(x_180); lean_inc(x_179); lean_inc(x_178); lean_inc(x_177); -lean_inc(x_176); -lean_inc(x_175); -lean_inc(x_174); lean_dec(x_19); -x_189 = lean_ctor_get(x_20, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_20, 1); -lean_inc(x_190); +x_192 = lean_ctor_get(x_20, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_20, 1); +lean_inc(x_193); if (lean_is_exclusive(x_20)) { lean_ctor_release(x_20, 0); lean_ctor_release(x_20, 1); lean_ctor_release(x_20, 2); - x_191 = x_20; + x_194 = x_20; } else { lean_dec_ref(x_20); - x_191 = lean_box(0); + x_194 = lean_box(0); } -x_192 = lean_ctor_get(x_21, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_21, 1); -lean_inc(x_193); -x_194 = lean_ctor_get(x_21, 2); -lean_inc(x_194); +x_195 = lean_ctor_get(x_21, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_21, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_21, 2); +lean_inc(x_197); if (lean_is_exclusive(x_21)) { lean_ctor_release(x_21, 0); lean_ctor_release(x_21, 1); lean_ctor_release(x_21, 2); - x_195 = x_21; + x_198 = x_21; } else { lean_dec_ref(x_21); - x_195 = lean_box(0); + x_198 = lean_box(0); } -x_196 = lean_array_get_size(x_192); -x_197 = lean_nat_dec_lt(x_3, x_196); -lean_dec(x_196); -if (x_197 == 0) +x_199 = lean_array_get_size(x_195); +x_200 = lean_nat_dec_lt(x_3, x_199); +lean_dec(x_199); +if (x_200 == 0) { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -if (lean_is_scalar(x_195)) { - x_198 = lean_alloc_ctor(0, 3, 0); +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +if (lean_is_scalar(x_198)) { + x_201 = lean_alloc_ctor(0, 3, 0); } else { - x_198 = x_195; + x_201 = x_198; } -lean_ctor_set(x_198, 0, x_192); -lean_ctor_set(x_198, 1, x_193); -lean_ctor_set(x_198, 2, x_194); -if (lean_is_scalar(x_191)) { - x_199 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_201, 0, x_195); +lean_ctor_set(x_201, 1, x_196); +lean_ctor_set(x_201, 2, x_197); +if (lean_is_scalar(x_194)) { + x_202 = lean_alloc_ctor(0, 3, 0); } else { - x_199 = x_191; + x_202 = x_194; } -lean_ctor_set(x_199, 0, x_189); -lean_ctor_set(x_199, 1, x_190); -lean_ctor_set(x_199, 2, x_198); -x_200 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_200, 0, x_174); -lean_ctor_set(x_200, 1, x_175); -lean_ctor_set(x_200, 2, x_176); -lean_ctor_set(x_200, 3, x_177); -lean_ctor_set(x_200, 4, x_178); -lean_ctor_set(x_200, 5, x_179); -lean_ctor_set(x_200, 6, x_180); -lean_ctor_set(x_200, 7, x_182); -lean_ctor_set(x_200, 8, x_183); -lean_ctor_set(x_200, 9, x_184); -lean_ctor_set(x_200, 10, x_185); -lean_ctor_set(x_200, 11, x_186); -lean_ctor_set(x_200, 12, x_187); -lean_ctor_set(x_200, 13, x_199); -lean_ctor_set(x_200, 14, x_188); -lean_ctor_set_uint8(x_200, sizeof(void*)*15, x_181); -x_201 = lean_st_ref_set(x_4, x_200, x_22); -x_202 = lean_ctor_get(x_201, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_201)) { - lean_ctor_release(x_201, 0); - lean_ctor_release(x_201, 1); - x_203 = x_201; +lean_ctor_set(x_202, 0, x_192); +lean_ctor_set(x_202, 1, x_193); +lean_ctor_set(x_202, 2, x_201); +x_203 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_203, 0, x_177); +lean_ctor_set(x_203, 1, x_178); +lean_ctor_set(x_203, 2, x_179); +lean_ctor_set(x_203, 3, x_180); +lean_ctor_set(x_203, 4, x_181); +lean_ctor_set(x_203, 5, x_182); +lean_ctor_set(x_203, 6, x_183); +lean_ctor_set(x_203, 7, x_185); +lean_ctor_set(x_203, 8, x_186); +lean_ctor_set(x_203, 9, x_187); +lean_ctor_set(x_203, 10, x_188); +lean_ctor_set(x_203, 11, x_189); +lean_ctor_set(x_203, 12, x_190); +lean_ctor_set(x_203, 13, x_202); +lean_ctor_set(x_203, 14, x_191); +lean_ctor_set_uint8(x_203, sizeof(void*)*15, x_184); +x_204 = lean_st_ref_set(x_4, x_203, x_22); +x_205 = lean_ctor_get(x_204, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + x_206 = x_204; } else { - lean_dec_ref(x_201); - x_203 = lean_box(0); + lean_dec_ref(x_204); + x_206 = lean_box(0); } -x_204 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_204, 0, x_1); -lean_ctor_set(x_204, 1, x_2); -lean_ctor_set(x_204, 2, x_17); -lean_ctor_set(x_204, 3, x_16); -if (lean_is_scalar(x_203)) { - x_205 = lean_alloc_ctor(0, 2, 0); +x_207 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_207, 0, x_1); +lean_ctor_set(x_207, 1, x_2); +lean_ctor_set(x_207, 2, x_17); +lean_ctor_set(x_207, 3, x_16); +if (lean_is_scalar(x_206)) { + x_208 = lean_alloc_ctor(0, 2, 0); } else { - x_205 = x_203; + x_208 = x_206; } -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_202); -return x_205; +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_205); +return x_208; } else { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_206 = lean_array_fget(x_192, x_3); -x_207 = lean_box(0); -x_208 = lean_array_fset(x_192, x_3, x_207); -x_209 = lean_ctor_get(x_206, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_206, 1); -lean_inc(x_210); -x_211 = lean_ctor_get(x_206, 2); -lean_inc(x_211); -x_212 = lean_ctor_get(x_206, 3); +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_209 = lean_array_fget(x_195, x_3); +x_210 = lean_box(0); +x_211 = lean_array_fset(x_195, x_3, x_210); +x_212 = lean_ctor_get(x_209, 0); lean_inc(x_212); -x_213 = lean_ctor_get(x_206, 4); +x_213 = lean_ctor_get(x_209, 1); lean_inc(x_213); -x_214 = lean_ctor_get(x_206, 5); +x_214 = lean_ctor_get(x_209, 2); lean_inc(x_214); -x_215 = lean_ctor_get(x_206, 6); +x_215 = lean_ctor_get(x_209, 3); lean_inc(x_215); -x_216 = lean_ctor_get(x_206, 7); +x_216 = lean_ctor_get(x_209, 4); lean_inc(x_216); -x_217 = lean_ctor_get(x_206, 8); +x_217 = lean_ctor_get(x_209, 5); lean_inc(x_217); -x_218 = lean_ctor_get(x_206, 9); +x_218 = lean_ctor_get(x_209, 6); lean_inc(x_218); -x_219 = lean_ctor_get(x_206, 10); +x_219 = lean_ctor_get(x_209, 7); lean_inc(x_219); -x_220 = lean_ctor_get(x_206, 11); +x_220 = lean_ctor_get(x_209, 8); lean_inc(x_220); -x_221 = lean_ctor_get(x_206, 12); +x_221 = lean_ctor_get(x_209, 9); lean_inc(x_221); -x_222 = lean_ctor_get(x_206, 13); +x_222 = lean_ctor_get(x_209, 10); lean_inc(x_222); -x_223 = lean_ctor_get(x_206, 14); +x_223 = lean_ctor_get(x_209, 11); lean_inc(x_223); -x_224 = lean_ctor_get(x_206, 15); +x_224 = lean_ctor_get(x_209, 12); lean_inc(x_224); -x_225 = lean_ctor_get(x_206, 16); +x_225 = lean_ctor_get(x_209, 13); lean_inc(x_225); -x_226 = lean_ctor_get(x_206, 17); +x_226 = lean_ctor_get(x_209, 14); lean_inc(x_226); -x_227 = lean_ctor_get(x_206, 18); +x_227 = lean_ctor_get(x_209, 15); lean_inc(x_227); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - lean_ctor_release(x_206, 2); - lean_ctor_release(x_206, 3); - lean_ctor_release(x_206, 4); - lean_ctor_release(x_206, 5); - lean_ctor_release(x_206, 6); - lean_ctor_release(x_206, 7); - lean_ctor_release(x_206, 8); - lean_ctor_release(x_206, 9); - lean_ctor_release(x_206, 10); - lean_ctor_release(x_206, 11); - lean_ctor_release(x_206, 12); - lean_ctor_release(x_206, 13); - lean_ctor_release(x_206, 14); - lean_ctor_release(x_206, 15); - lean_ctor_release(x_206, 16); - lean_ctor_release(x_206, 17); - lean_ctor_release(x_206, 18); - x_228 = x_206; +x_228 = lean_ctor_get(x_209, 16); +lean_inc(x_228); +x_229 = lean_ctor_get(x_209, 17); +lean_inc(x_229); +x_230 = lean_ctor_get(x_209, 18); +lean_inc(x_230); +x_231 = lean_ctor_get(x_209, 19); +lean_inc(x_231); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + lean_ctor_release(x_209, 2); + lean_ctor_release(x_209, 3); + lean_ctor_release(x_209, 4); + lean_ctor_release(x_209, 5); + lean_ctor_release(x_209, 6); + lean_ctor_release(x_209, 7); + lean_ctor_release(x_209, 8); + lean_ctor_release(x_209, 9); + lean_ctor_release(x_209, 10); + lean_ctor_release(x_209, 11); + lean_ctor_release(x_209, 12); + lean_ctor_release(x_209, 13); + lean_ctor_release(x_209, 14); + lean_ctor_release(x_209, 15); + lean_ctor_release(x_209, 16); + lean_ctor_release(x_209, 17); + lean_ctor_release(x_209, 18); + lean_ctor_release(x_209, 19); + x_232 = x_209; } else { - lean_dec_ref(x_206); - x_228 = lean_box(0); + lean_dec_ref(x_209); + x_232 = lean_box(0); } -x_229 = lean_unsigned_to_nat(1u); -x_230 = lean_nat_add(x_224, x_229); -lean_dec(x_224); -if (lean_is_scalar(x_228)) { - x_231 = lean_alloc_ctor(0, 19, 0); +x_233 = lean_unsigned_to_nat(1u); +x_234 = lean_nat_add(x_228, x_233); +lean_dec(x_228); +if (lean_is_scalar(x_232)) { + x_235 = lean_alloc_ctor(0, 20, 0); } else { - x_231 = x_228; + x_235 = x_232; } -lean_ctor_set(x_231, 0, x_209); -lean_ctor_set(x_231, 1, x_210); -lean_ctor_set(x_231, 2, x_211); -lean_ctor_set(x_231, 3, x_212); -lean_ctor_set(x_231, 4, x_213); -lean_ctor_set(x_231, 5, x_214); -lean_ctor_set(x_231, 6, x_215); -lean_ctor_set(x_231, 7, x_216); -lean_ctor_set(x_231, 8, x_217); -lean_ctor_set(x_231, 9, x_218); -lean_ctor_set(x_231, 10, x_219); -lean_ctor_set(x_231, 11, x_220); -lean_ctor_set(x_231, 12, x_221); -lean_ctor_set(x_231, 13, x_222); -lean_ctor_set(x_231, 14, x_223); -lean_ctor_set(x_231, 15, x_230); -lean_ctor_set(x_231, 16, x_225); -lean_ctor_set(x_231, 17, x_226); -lean_ctor_set(x_231, 18, x_227); -x_232 = lean_array_fset(x_208, x_3, x_231); -if (lean_is_scalar(x_195)) { - x_233 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_235, 0, x_212); +lean_ctor_set(x_235, 1, x_213); +lean_ctor_set(x_235, 2, x_214); +lean_ctor_set(x_235, 3, x_215); +lean_ctor_set(x_235, 4, x_216); +lean_ctor_set(x_235, 5, x_217); +lean_ctor_set(x_235, 6, x_218); +lean_ctor_set(x_235, 7, x_219); +lean_ctor_set(x_235, 8, x_220); +lean_ctor_set(x_235, 9, x_221); +lean_ctor_set(x_235, 10, x_222); +lean_ctor_set(x_235, 11, x_223); +lean_ctor_set(x_235, 12, x_224); +lean_ctor_set(x_235, 13, x_225); +lean_ctor_set(x_235, 14, x_226); +lean_ctor_set(x_235, 15, x_227); +lean_ctor_set(x_235, 16, x_234); +lean_ctor_set(x_235, 17, x_229); +lean_ctor_set(x_235, 18, x_230); +lean_ctor_set(x_235, 19, x_231); +x_236 = lean_array_fset(x_211, x_3, x_235); +if (lean_is_scalar(x_198)) { + x_237 = lean_alloc_ctor(0, 3, 0); } else { - x_233 = x_195; + x_237 = x_198; } -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_193); -lean_ctor_set(x_233, 2, x_194); -if (lean_is_scalar(x_191)) { - x_234 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_196); +lean_ctor_set(x_237, 2, x_197); +if (lean_is_scalar(x_194)) { + x_238 = lean_alloc_ctor(0, 3, 0); } else { - x_234 = x_191; + x_238 = x_194; } -lean_ctor_set(x_234, 0, x_189); -lean_ctor_set(x_234, 1, x_190); -lean_ctor_set(x_234, 2, x_233); -x_235 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_235, 0, x_174); -lean_ctor_set(x_235, 1, x_175); -lean_ctor_set(x_235, 2, x_176); -lean_ctor_set(x_235, 3, x_177); -lean_ctor_set(x_235, 4, x_178); -lean_ctor_set(x_235, 5, x_179); -lean_ctor_set(x_235, 6, x_180); -lean_ctor_set(x_235, 7, x_182); -lean_ctor_set(x_235, 8, x_183); -lean_ctor_set(x_235, 9, x_184); -lean_ctor_set(x_235, 10, x_185); -lean_ctor_set(x_235, 11, x_186); -lean_ctor_set(x_235, 12, x_187); -lean_ctor_set(x_235, 13, x_234); -lean_ctor_set(x_235, 14, x_188); -lean_ctor_set_uint8(x_235, sizeof(void*)*15, x_181); -x_236 = lean_st_ref_set(x_4, x_235, x_22); -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_238 = x_236; +lean_ctor_set(x_238, 0, x_192); +lean_ctor_set(x_238, 1, x_193); +lean_ctor_set(x_238, 2, x_237); +x_239 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_239, 0, x_177); +lean_ctor_set(x_239, 1, x_178); +lean_ctor_set(x_239, 2, x_179); +lean_ctor_set(x_239, 3, x_180); +lean_ctor_set(x_239, 4, x_181); +lean_ctor_set(x_239, 5, x_182); +lean_ctor_set(x_239, 6, x_183); +lean_ctor_set(x_239, 7, x_185); +lean_ctor_set(x_239, 8, x_186); +lean_ctor_set(x_239, 9, x_187); +lean_ctor_set(x_239, 10, x_188); +lean_ctor_set(x_239, 11, x_189); +lean_ctor_set(x_239, 12, x_190); +lean_ctor_set(x_239, 13, x_238); +lean_ctor_set(x_239, 14, x_191); +lean_ctor_set_uint8(x_239, sizeof(void*)*15, x_184); +x_240 = lean_st_ref_set(x_4, x_239, x_22); +x_241 = lean_ctor_get(x_240, 1); +lean_inc(x_241); +if (lean_is_exclusive(x_240)) { + lean_ctor_release(x_240, 0); + lean_ctor_release(x_240, 1); + x_242 = x_240; } else { - lean_dec_ref(x_236); - x_238 = lean_box(0); + lean_dec_ref(x_240); + x_242 = lean_box(0); } -x_239 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_239, 0, x_1); -lean_ctor_set(x_239, 1, x_2); -lean_ctor_set(x_239, 2, x_17); -lean_ctor_set(x_239, 3, x_16); -if (lean_is_scalar(x_238)) { - x_240 = lean_alloc_ctor(0, 2, 0); +x_243 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_243, 0, x_1); +lean_ctor_set(x_243, 1, x_2); +lean_ctor_set(x_243, 2, x_17); +lean_ctor_set(x_243, 3, x_16); +if (lean_is_scalar(x_242)) { + x_244 = lean_alloc_ctor(0, 2, 0); } else { - x_240 = x_238; + x_244 = x_242; } -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_237); -return x_240; +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_241); +return x_244; } } } else { -uint8_t x_241; +uint8_t x_245; lean_dec(x_2); lean_dec(x_1); -x_241 = !lean_is_exclusive(x_13); -if (x_241 == 0) +x_245 = !lean_is_exclusive(x_13); +if (x_245 == 0) { return x_13; } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_242 = lean_ctor_get(x_13, 0); -x_243 = lean_ctor_get(x_13, 1); -lean_inc(x_243); -lean_inc(x_242); +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_13, 0); +x_247 = lean_ctor_get(x_13, 1); +lean_inc(x_247); +lean_inc(x_246); lean_dec(x_13); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_242); -lean_ctor_set(x_244, 1, x_243); -return x_244; +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } } @@ -1599,13 +1624,13 @@ if (x_13 == 0) lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_12, 0); x_15 = lean_ctor_get(x_12, 1); -x_16 = lean_ctor_get(x_14, 14); +x_16 = lean_ctor_get(x_14, 15); lean_inc(x_16); x_17 = l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__1(x_16, x_1); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_14, 13); +x_18 = lean_ctor_get(x_14, 14); lean_inc(x_18); lean_dec(x_14); x_19 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(x_18, x_1); @@ -1776,13 +1801,13 @@ x_61 = lean_ctor_get(x_12, 1); lean_inc(x_61); lean_inc(x_60); lean_dec(x_12); -x_62 = lean_ctor_get(x_60, 14); +x_62 = lean_ctor_get(x_60, 15); lean_inc(x_62); x_63 = l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__1(x_62, x_1); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_60, 13); +x_64 = lean_ctor_get(x_60, 14); lean_inc(x_64); lean_dec(x_60); x_65 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(x_64, x_1); @@ -1996,272 +2021,266 @@ lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(lean_object* x_1, lean_object* x_2, uint8_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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { _start: { -if (lean_obj_tag(x_7) == 0) +if (lean_obj_tag(x_8) == 0) { -lean_object* x_20; -lean_dec(x_4); -lean_dec(x_1); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_8); -lean_ctor_set(x_20, 1, x_19); -return x_20; +lean_object* x_21; +lean_dec(x_5); +lean_dec(x_2); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_9); +lean_ctor_set(x_21, 1, x_20); +return x_21; } else { -lean_dec(x_8); -if (x_2 == 0) +lean_dec(x_9); +if (x_3 == 0) { -uint8_t x_21; -x_21 = !lean_is_exclusive(x_7); -if (x_21 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_8); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_7, 0); -x_23 = lean_ctor_get(x_7, 1); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_inc(x_1); -x_25 = l_Lean_Grind_CommRing_Poly_divides(x_24, x_1); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_8, 0); +x_24 = lean_ctor_get(x_8, 1); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = l_Lean_Grind_CommRing_Poly_lc(x_25); +x_27 = l_Int_decidableDvd(x_26, x_1); +lean_dec(x_26); +if (x_27 == 0) { -lean_free_object(x_7); -lean_dec(x_22); -lean_inc(x_4); -{ -lean_object* _tmp_6 = x_23; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_8 = lean_box(0); -x_7 = _tmp_6; -x_8 = _tmp_7; -x_9 = _tmp_8; -} -goto _start; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_free_object(x_8); lean_dec(x_23); -lean_dec(x_4); -lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_22); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -lean_ctor_set_tag(x_7, 0); -lean_ctor_set(x_7, 1, x_29); -lean_ctor_set(x_7, 0, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_7); -lean_ctor_set(x_30, 1, x_19); -return x_30; -} -} -else +lean_inc(x_5); { -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_ctor_get(x_7, 0); -x_32 = lean_ctor_get(x_7, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_7); -x_33 = lean_ctor_get(x_31, 0); -lean_inc(x_33); -lean_inc(x_1); -x_34 = l_Lean_Grind_CommRing_Poly_divides(x_33, x_1); -if (x_34 == 0) -{ -lean_dec(x_31); -lean_inc(x_4); -{ -lean_object* _tmp_6 = x_32; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_8 = lean_box(0); -x_7 = _tmp_6; +lean_object* _tmp_7 = x_24; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_9 = lean_box(0); x_8 = _tmp_7; x_9 = _tmp_8; +x_10 = _tmp_9; } goto _start; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_32); -lean_dec(x_4); -lean_dec(x_1); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_31); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_19); -return x_40; +uint8_t x_29; +lean_inc(x_2); +x_29 = l_Lean_Grind_CommRing_Poly_divides(x_25, x_2); +if (x_29 == 0) +{ +lean_free_object(x_8); +lean_dec(x_23); +lean_inc(x_5); +{ +lean_object* _tmp_7 = x_24; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_9 = lean_box(0); +x_8 = _tmp_7; +x_9 = _tmp_8; +x_10 = _tmp_9; +} +goto _start; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_24); +lean_dec(x_5); +lean_dec(x_2); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_23); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 1, x_33); +lean_ctor_set(x_8, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_8); +lean_ctor_set(x_34, 1, x_20); +return x_34; } } } else { +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_8, 0); +x_36 = lean_ctor_get(x_8, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_8); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +x_38 = l_Lean_Grind_CommRing_Poly_lc(x_37); +x_39 = l_Int_decidableDvd(x_38, x_1); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_dec(x_37); +lean_dec(x_35); +lean_inc(x_5); +{ +lean_object* _tmp_7 = x_36; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_9 = lean_box(0); +x_8 = _tmp_7; +x_9 = _tmp_8; +x_10 = _tmp_9; +} +goto _start; +} +else +{ uint8_t x_41; -x_41 = !lean_is_exclusive(x_7); +lean_inc(x_2); +x_41 = l_Lean_Grind_CommRing_Poly_divides(x_37, x_2); if (x_41 == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_42 = lean_ctor_get(x_7, 0); -x_43 = lean_ctor_get(x_7, 1); -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -x_45 = l_Lean_Grind_CommRing_Poly_lc(x_44); -x_46 = lean_nat_abs(x_45); -lean_dec(x_45); -x_47 = lean_unsigned_to_nat(1u); -x_48 = lean_nat_dec_eq(x_46, x_47); -lean_dec(x_46); +lean_dec(x_35); +lean_inc(x_5); +{ +lean_object* _tmp_7 = x_36; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_9 = lean_box(0); +x_8 = _tmp_7; +x_9 = _tmp_8; +x_10 = _tmp_9; +} +goto _start; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_36); +lean_dec(x_5); +lean_dec(x_2); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_35); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_20); +return x_47; +} +} +} +} +else +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_8); if (x_48 == 0) { -lean_dec(x_44); -lean_free_object(x_7); -lean_dec(x_42); -lean_inc(x_4); +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_8, 0); +x_50 = lean_ctor_get(x_8, 1); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_inc(x_2); +x_52 = l_Lean_Grind_CommRing_Poly_divides(x_51, x_2); +if (x_52 == 0) { -lean_object* _tmp_6 = x_43; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_8 = lean_box(0); -x_7 = _tmp_6; +lean_free_object(x_8); +lean_dec(x_49); +lean_inc(x_5); +{ +lean_object* _tmp_7 = x_50; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_9 = lean_box(0); x_8 = _tmp_7; x_9 = _tmp_8; +x_10 = _tmp_9; } goto _start; } else { -uint8_t x_50; -lean_inc(x_1); -x_50 = l_Lean_Grind_CommRing_Poly_divides(x_44, x_1); -if (x_50 == 0) -{ -lean_free_object(x_7); -lean_dec(x_42); -lean_inc(x_4); -{ -lean_object* _tmp_6 = x_43; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_8 = lean_box(0); -x_7 = _tmp_6; -x_8 = _tmp_7; -x_9 = _tmp_8; -} -goto _start; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_43); -lean_dec(x_4); -lean_dec(x_1); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_42); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = lean_box(0); -lean_ctor_set_tag(x_7, 0); -lean_ctor_set(x_7, 1, x_54); -lean_ctor_set(x_7, 0, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_7); -lean_ctor_set(x_55, 1, x_19); -return x_55; -} +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_50); +lean_dec(x_5); +lean_dec(x_2); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_49); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_box(0); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 1, x_56); +lean_ctor_set(x_8, 0, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_8); +lean_ctor_set(x_57, 1, x_20); +return x_57; } } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_56 = lean_ctor_get(x_7, 0); -x_57 = lean_ctor_get(x_7, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_7); -x_58 = lean_ctor_get(x_56, 0); +lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_58 = lean_ctor_get(x_8, 0); +x_59 = lean_ctor_get(x_8, 1); +lean_inc(x_59); lean_inc(x_58); -x_59 = l_Lean_Grind_CommRing_Poly_lc(x_58); -x_60 = lean_nat_abs(x_59); -lean_dec(x_59); -x_61 = lean_unsigned_to_nat(1u); -x_62 = lean_nat_dec_eq(x_60, x_61); -lean_dec(x_60); -if (x_62 == 0) +lean_dec(x_8); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_inc(x_2); +x_61 = l_Lean_Grind_CommRing_Poly_divides(x_60, x_2); +if (x_61 == 0) { lean_dec(x_58); -lean_dec(x_56); -lean_inc(x_4); +lean_inc(x_5); { -lean_object* _tmp_6 = x_57; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_8 = lean_box(0); -x_7 = _tmp_6; +lean_object* _tmp_7 = x_59; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_9 = lean_box(0); x_8 = _tmp_7; x_9 = _tmp_8; +x_10 = _tmp_9; } goto _start; } else { -uint8_t x_64; -lean_inc(x_1); -x_64 = l_Lean_Grind_CommRing_Poly_divides(x_58, x_1); -if (x_64 == 0) -{ -lean_dec(x_56); -lean_inc(x_4); -{ -lean_object* _tmp_6 = x_57; -lean_object* _tmp_7 = x_4; -lean_object* _tmp_8 = lean_box(0); -x_7 = _tmp_6; -x_8 = _tmp_7; -x_9 = _tmp_8; -} -goto _start; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_dec(x_57); -lean_dec(x_4); -lean_dec(x_1); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_56); -x_67 = lean_alloc_ctor(1, 1, 0); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_59); +lean_dec(x_5); +lean_dec(x_2); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_58); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_67, 0, x_66); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_19); -return x_70; +lean_ctor_set(x_67, 1, x_20); +return x_67; } } } } } } -} -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(lean_object* x_1, lean_object* x_2, uint8_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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; -x_15 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_15; +lean_object* x_16; +x_16 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_16; } } static lean_object* _init_l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1() { @@ -2276,135 +2295,135 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(lean_object* x_1, lean_object* x_2, uint8_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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -if (lean_obj_tag(x_3) == 0) +if (lean_obj_tag(x_4) == 0) { -lean_object* x_14; lean_object* x_15; -lean_dec(x_1); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; +lean_object* x_15; lean_object* x_16; +lean_dec(x_2); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_3, 0); -x_17 = lean_ctor_get(x_3, 1); -x_18 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +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; uint8_t x_27; lean_object* x_28; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_box(0); -x_22 = lean_box(0); -x_23 = lean_ctor_get(x_19, 18); -lean_inc(x_23); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); lean_dec(x_19); -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_23, 2); -lean_inc(x_25); -x_26 = lean_nat_dec_lt(x_24, x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_41; -lean_dec(x_23); -x_41 = l_outOfBounds___rarg(x_22); -x_27 = x_41; -goto block_40; -} -else +x_22 = lean_box(0); +x_23 = lean_box(0); +x_24 = lean_ctor_get(x_20, 19); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_24, 2); +lean_inc(x_26); +x_27 = lean_nat_dec_lt(x_25, x_26); +lean_dec(x_26); +if (x_27 == 0) { lean_object* x_42; -x_42 = l_Lean_PersistentArray_get_x21___rarg(x_22, x_23, x_24); -x_27 = x_42; -goto block_40; +lean_dec(x_24); +x_42 = l_outOfBounds___rarg(x_23); +x_28 = x_42; +goto block_41; } -block_40: +else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1; -lean_inc(x_27); -lean_inc(x_1); -x_29 = l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(x_1, x_2, x_21, x_28, x_27, x_27, x_27, x_28, lean_box(0), x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -lean_dec(x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); +lean_object* x_43; +x_43 = l_Lean_PersistentArray_get_x21___rarg(x_23, x_24, x_25); +x_28 = x_43; +goto block_41; +} +block_41: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1; +lean_inc(x_28); +lean_inc(x_2); +x_30 = l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(x_1, x_2, x_3, x_22, x_29, x_28, x_28, x_28, x_29, lean_box(0), x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +lean_dec(x_28); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_29, 1); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_29); -x_3 = x_17; -x_13 = x_32; +lean_dec(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_4 = x_18; +x_14 = x_33; goto _start; } else { -uint8_t x_34; -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +uint8_t x_35; +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_29, 0); -lean_dec(x_35); -x_36 = lean_ctor_get(x_31, 0); -lean_inc(x_36); -lean_dec(x_31); -lean_ctor_set(x_29, 0, x_36); -return x_29; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_29, 1); +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_30, 0); +lean_dec(x_36); +x_37 = lean_ctor_get(x_32, 0); lean_inc(x_37); -lean_dec(x_29); -x_38 = lean_ctor_get(x_31, 0); +lean_dec(x_32); +lean_ctor_set(x_30, 0, x_37); +return x_30; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_30, 1); lean_inc(x_38); -lean_dec(x_31); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; +lean_dec(x_30); +x_39 = lean_ctor_get(x_32, 0); +lean_inc(x_39); +lean_dec(x_32); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; } } } } else { -uint8_t x_43; -lean_dec(x_1); -x_43 = !lean_is_exclusive(x_18); -if (x_43 == 0) +uint8_t x_44; +lean_dec(x_2); +x_44 = !lean_is_exclusive(x_19); +if (x_44 == 0) { -return x_18; +return x_19; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_18, 0); -x_45 = lean_ctor_get(x_18, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_19, 0); +x_46 = lean_ctor_get(x_19, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_18); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_19); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } @@ -2430,12 +2449,14 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; _start: { -uint8_t x_20; lean_object* x_21; -x_20 = lean_unbox(x_2); -lean_dec(x_2); -x_21 = l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +uint8_t x_21; lean_object* x_22; +x_21 = lean_unbox(x_3); +lean_dec(x_3); +x_22 = l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(x_1, x_2, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -2444,20 +2465,21 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -return x_21; +lean_dec(x_4); +lean_dec(x_1); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_2); -lean_dec(x_2); -x_16 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2468,17 +2490,18 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_16; +lean_dec(x_1); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___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_14; lean_object* x_15; -x_14 = lean_unbox(x_2); -lean_dec(x_2); -x_15 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_3); +lean_dec(x_3); +x_16 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -2488,27 +2511,60 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_15; +lean_dec(x_1); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -lean_inc(x_1); -x_13 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); +x_13 = l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_unbox(x_14); +lean_dec(x_14); +lean_inc(x_2); +x_17 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_1, x_2, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +lean_dec(x_2); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ return x_13; } +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} } LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f___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_2); -lean_dec(x_2); -x_14 = l_Lean_Grind_CommRing_Mon_findSimp_x3f(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Grind_CommRing_Mon_findSimp_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2518,33 +2574,35 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_14; +lean_dec(x_1); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_13; lean_object* x_14; +lean_object* x_12; lean_object* x_13; lean_dec(x_1); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); x_16 = lean_ctor_get(x_1, 2); lean_inc(x_16); lean_dec(x_1); -lean_inc(x_15); -x_17 = l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(x_15, x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_15); +x_17 = l_Lean_Grind_CommRing_Mon_findSimp_x3f(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_14); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; @@ -2557,7 +2615,7 @@ x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_1 = x_16; -x_12 = x_19; +x_11 = x_19; goto _start; } else @@ -2641,14 +2699,11 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f___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_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); +lean_object* x_12; +x_12 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -2657,22 +2712,38 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_14; +lean_dec(x_2); +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_1, 0); +x_16 = lean_ctor_get(x_1, 1); +x_17 = lean_ctor_get(x_1, 2); +x_18 = lean_ctor_get(x_1, 3); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +x_19 = lean_alloc_ctor(1, 6, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_2); +lean_ctor_set(x_19, 3, x_17); +lean_ctor_set(x_19, 4, x_18); +lean_ctor_set(x_19, 5, x_3); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_14); +return x_21; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1() { _start: { lean_object* x_1; @@ -2680,7 +2751,7 @@ x_1 = lean_mk_string_unchecked("grind", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2() { _start: { lean_object* x_1; @@ -2688,7 +2759,7 @@ x_1 = lean_mk_string_unchecked("ring", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3() { _start: { lean_object* x_1; @@ -2696,18 +2767,18 @@ x_1 = lean_mk_string_unchecked("simp", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -2727,23 +2798,16 @@ uint8_t x_14; x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_ctor_get(x_13, 0); x_16 = lean_ctor_get(x_13, 1); -x_17 = lean_ctor_get(x_2, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_1, 0); +x_17 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(x_1); +x_18 = lean_ctor_get(x_2, 0); lean_inc(x_18); -x_19 = lean_ctor_get(x_1, 2); -lean_inc(x_19); -x_20 = lean_ctor_get(x_1, 3); -lean_inc(x_20); -x_21 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_17, x_18, x_15); -if (lean_obj_tag(x_21) == 0) +x_19 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_17, x_18, x_15); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_22; -lean_dec(x_20); -lean_dec(x_19); +lean_object* x_20; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2755,487 +2819,295 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = lean_box(0); -lean_ctor_set(x_13, 0, x_22); +x_20 = lean_box(0); +lean_ctor_set(x_13, 0, x_20); return x_13; } else { -lean_object* x_23; uint8_t x_24; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_free_object(x_13); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4; +x_23 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_unbox(x_24); +lean_dec(x_24); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_25 = lean_ctor_get(x_23, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; x_26 = lean_ctor_get(x_23, 1); -x_27 = lean_ctor_get(x_23, 2); -x_28 = lean_ctor_get(x_23, 3); -x_29 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_29, 0, x_2); -lean_ctor_set(x_29, 1, x_1); -lean_ctor_set(x_29, 2, x_26); -lean_ctor_set(x_29, 3, x_27); -lean_ctor_set(x_29, 4, x_28); -lean_inc(x_25); -lean_ctor_set(x_23, 3, x_20); -lean_ctor_set(x_23, 2, x_19); -lean_ctor_set(x_23, 1, x_29); -x_30 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; -x_31 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_unbox(x_32); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_box(0); +x_28 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(x_21, x_1, x_2, x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_21); +return x_28; +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 1); +x_31 = lean_ctor_get(x_23, 0); +lean_dec(x_31); +x_32 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); lean_dec(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_25); -x_34 = lean_ctor_get(x_31, 1); +x_34 = lean_ctor_get(x_21, 0); lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_box(0); -x_36 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_36; -} -else +x_35 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +if (lean_obj_tag(x_35) == 0) { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_31); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_31, 1); -x_39 = lean_ctor_get(x_31, 0); -lean_dec(x_39); -x_40 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_43 = lean_ctor_get(x_42, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_MessageData_ofExpr(x_36); +x_39 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_23, 7); +lean_ctor_set(x_23, 1, x_38); +lean_ctor_set(x_23, 0, x_39); +x_40 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_22, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); +lean_dec(x_41); +x_44 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(x_21, x_1, x_2, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_42); -x_45 = l_Lean_MessageData_ofExpr(x_43); -x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -lean_ctor_set_tag(x_31, 7); -lean_ctor_set(x_31, 1, x_45); -lean_ctor_set(x_31, 0, x_46); -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_31); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_30, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); +lean_dec(x_21); +return x_44; +} +else +{ +uint8_t x_45; +lean_free_object(x_23); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_35); +if (x_45 == 0) +{ +return x_35; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_35, 0); +x_47 = lean_ctor_get(x_35, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_35); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_free_object(x_23); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_49 = !lean_is_exclusive(x_32); +if (x_49 == 0) +{ +return x_32; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_32, 0); +x_51 = lean_ctor_get(x_32, 1); +lean_inc(x_51); lean_inc(x_50); -lean_dec(x_48); -x_51 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_50); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_49); -return x_51; +lean_dec(x_32); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} } else { -uint8_t x_52; -lean_free_object(x_31); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_52 = !lean_is_exclusive(x_42); -if (x_52 == 0) -{ -return x_42; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_42, 0); -x_54 = lean_ctor_get(x_42, 1); -lean_inc(x_54); +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_23, 1); lean_inc(x_53); -lean_dec(x_42); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -} -else -{ -uint8_t x_56; -lean_free_object(x_31); lean_dec(x_23); -lean_dec(x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_56 = !lean_is_exclusive(x_40); -if (x_56 == 0) +x_54 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_53); +if (lean_obj_tag(x_54) == 0) { -return x_40; -} -else +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_56 = lean_ctor_get(x_21, 0); +lean_inc(x_56); +x_57 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_55); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_40, 0); -x_58 = lean_ctor_get(x_40, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_40); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_31, 1); -lean_inc(x_60); -lean_dec(x_31); -x_61 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_60); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = l_Lean_MessageData_ofExpr(x_58); +x_61 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_22, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_59); +x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Lean_MessageData_ofExpr(x_64); -x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_68 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_30, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(x_21, x_1, x_2, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_66); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_65); +lean_dec(x_21); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_68 = lean_ctor_get(x_57, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_57, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_70 = x_57; +} else { + lean_dec_ref(x_57); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_72 = lean_ctor_get(x_54, 0); lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_72); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_71); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_74 = lean_ctor_get(x_63, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_63, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_76 = x_63; +x_73 = lean_ctor_get(x_54, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_74 = x_54; } else { - lean_dec_ref(x_63); - x_76 = lean_box(0); + lean_dec_ref(x_54); + x_74 = lean_box(0); } -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(1, 2, 0); } else { - x_77 = x_76; + x_75 = x_74; } -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_23); -lean_dec(x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_78 = lean_ctor_get(x_61, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_61, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_80 = x_61; -} else { - lean_dec_ref(x_61); - x_80 = lean_box(0); -} -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(1, 2, 0); -} else { - x_81 = x_80; -} -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_79); -return x_81; -} -} -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_82 = lean_ctor_get(x_23, 0); -x_83 = lean_ctor_get(x_23, 1); -x_84 = lean_ctor_get(x_23, 2); -x_85 = lean_ctor_get(x_23, 3); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_23); -x_86 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_86, 0, x_2); -lean_ctor_set(x_86, 1, x_1); -lean_ctor_set(x_86, 2, x_83); -lean_ctor_set(x_86, 3, x_84); -lean_ctor_set(x_86, 4, x_85); -lean_inc(x_82); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_82); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_87, 2, x_19); -lean_ctor_set(x_87, 3, x_20); -x_88 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; -x_89 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_unbox(x_90); -lean_dec(x_90); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_82); -x_92 = lean_ctor_get(x_89, 1); -lean_inc(x_92); -lean_dec(x_89); -x_93 = lean_box(0); -x_94 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_87, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_92); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_89, 1); -lean_inc(x_95); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_96 = x_89; -} else { - lean_dec_ref(x_89); - x_96 = lean_box(0); -} -x_97 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_95); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Lean_MessageData_ofExpr(x_100); -x_103 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -if (lean_is_scalar(x_96)) { - x_104 = lean_alloc_ctor(7, 2, 0); -} else { - x_104 = x_96; - lean_ctor_set_tag(x_104, 7); -} -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_88, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_101); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_87, x_107, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_108); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_107); -return x_109; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_96); -lean_dec(x_87); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_110 = lean_ctor_get(x_99, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_99, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_112 = x_99; -} else { - lean_dec_ref(x_99); - x_112 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(1, 2, 0); -} else { - x_113 = x_112; -} -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_111); -return x_113; -} -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_96); -lean_dec(x_87); -lean_dec(x_82); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_114 = lean_ctor_get(x_97, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_97, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - x_116 = x_97; -} else { - lean_dec_ref(x_97); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(1, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_115); -return x_117; +lean_ctor_set(x_75, 0, x_72); +lean_ctor_set(x_75, 1, x_73); +return x_75; } } } @@ -3243,26 +3115,19 @@ return x_117; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_118 = lean_ctor_get(x_13, 0); -x_119 = lean_ctor_get(x_13, 1); -lean_inc(x_119); -lean_inc(x_118); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_76 = lean_ctor_get(x_13, 0); +x_77 = lean_ctor_get(x_13, 1); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_13); -x_120 = lean_ctor_get(x_2, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_1, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_1, 2); -lean_inc(x_122); -x_123 = lean_ctor_get(x_1, 3); -lean_inc(x_123); -x_124 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_120, x_121, x_118); -if (lean_obj_tag(x_124) == 0) +x_78 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(x_1); +x_79 = lean_ctor_get(x_2, 0); +lean_inc(x_79); +x_80 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_78, x_79, x_76); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_125; lean_object* x_126; -lean_dec(x_123); -lean_dec(x_122); +lean_object* x_81; lean_object* x_82; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3274,67 +3139,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_125 = lean_box(0); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_119); -return x_126; +x_81 = lean_box(0); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_77); +return x_82; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_127 = lean_ctor_get(x_124, 0); -lean_inc(x_127); -lean_dec(x_124); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -x_130 = lean_ctor_get(x_127, 2); -lean_inc(x_130); -x_131 = lean_ctor_get(x_127, 3); -lean_inc(x_131); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - lean_ctor_release(x_127, 2); - lean_ctor_release(x_127, 3); - x_132 = x_127; -} else { - lean_dec_ref(x_127); - x_132 = lean_box(0); -} -x_133 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_133, 0, x_2); -lean_ctor_set(x_133, 1, x_1); -lean_ctor_set(x_133, 2, x_129); -lean_ctor_set(x_133, 3, x_130); -lean_ctor_set(x_133, 4, x_131); -lean_inc(x_128); -if (lean_is_scalar(x_132)) { - x_134 = lean_alloc_ctor(0, 4, 0); -} else { - x_134 = x_132; -} -lean_ctor_set(x_134, 0, x_128); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_122); -lean_ctor_set(x_134, 3, x_123); -x_135 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; -x_136 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_119); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_unbox(x_137); -lean_dec(x_137); -if (x_138 == 0) +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_83 = lean_ctor_get(x_80, 0); +lean_inc(x_83); +lean_dec(x_80); +x_84 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4; +x_85 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_84, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +lean_dec(x_86); +if (x_87 == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_128); -x_139 = lean_ctor_get(x_136, 1); -lean_inc(x_139); -lean_dec(x_136); -x_140 = lean_box(0); -x_141 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_134, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_139); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_85, 1); +lean_inc(x_88); +lean_dec(x_85); +x_89 = lean_box(0); +x_90 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(x_83, x_1, x_2, x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_88); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3344,57 +3174,60 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_141; +lean_dec(x_83); +return x_90; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_136, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_143 = x_136; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_85, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_92 = x_85; } else { - lean_dec_ref(x_136); - x_143 = lean_box(0); + lean_dec_ref(x_85); + x_92 = lean_box(0); } -x_144 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_142); -if (lean_obj_tag(x_144) == 0) +x_93 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_91); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); -x_146 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_128, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_145); -if (lean_obj_tag(x_146) == 0) +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_ctor_get(x_83, 0); +lean_inc(x_95); +x_96 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_95, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_94); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec(x_146); -x_149 = l_Lean_MessageData_ofExpr(x_147); -x_150 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -if (lean_is_scalar(x_143)) { - x_151 = lean_alloc_ctor(7, 2, 0); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = l_Lean_MessageData_ofExpr(x_97); +x_100 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +if (lean_is_scalar(x_92)) { + x_101 = lean_alloc_ctor(7, 2, 0); } else { - x_151 = x_143; - lean_ctor_set_tag(x_151, 7); + x_101 = x_92; + lean_ctor_set_tag(x_101, 7); } -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_135, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_148); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_134, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_155); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_84, x_102, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(x_83, x_1, x_2, x_104, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_105); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3404,88 +3237,15 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_154); -return x_156; +lean_dec(x_104); +lean_dec(x_83); +return x_106; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_143); -lean_dec(x_134); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_157 = lean_ctor_get(x_146, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_146, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_159 = x_146; -} else { - lean_dec_ref(x_146); - x_159 = lean_box(0); -} -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(1, 2, 0); -} else { - x_160 = x_159; -} -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -return x_160; -} -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_143); -lean_dec(x_134); -lean_dec(x_128); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_161 = lean_ctor_get(x_144, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_144, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_163 = x_144; -} else { - lean_dec_ref(x_144); - x_163 = lean_box(0); -} -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 2, 0); -} else { - x_164 = x_163; -} -lean_ctor_set(x_164, 0, x_161); -lean_ctor_set(x_164, 1, x_162); -return x_164; -} -} -} -} -} -else -{ -uint8_t x_165; +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_92); +lean_dec(x_83); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3497,32 +3257,111 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_165 = !lean_is_exclusive(x_13); -if (x_165 == 0) +x_107 = lean_ctor_get(x_96, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_96, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_109 = x_96; +} else { + lean_dec_ref(x_96); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(1, 2, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_108); +return x_110; +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_92); +lean_dec(x_83); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_111 = lean_ctor_get(x_93, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_93, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_113 = x_93; +} else { + lean_dec_ref(x_93); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(1, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_112); +return x_114; +} +} +} +} +} +else +{ +uint8_t x_115; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = !lean_is_exclusive(x_13); +if (x_115 == 0) { return x_13; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_13, 0); -x_167 = lean_ctor_get(x_13, 1); -lean_inc(x_167); -lean_inc(x_166); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_13, 0); +x_117 = lean_ctor_get(x_13, 1); +lean_inc(x_117); +lean_inc(x_116); lean_dec(x_13); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_13; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_15; +x_15 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3531,12 +3370,11 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; +lean_dec(x_1); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -3551,7 +3389,7 @@ lean_ctor_set(x_17, 1, x_14); return x_17; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__1() { _start: { lean_object* x_1; @@ -3559,19 +3397,19 @@ x_1 = lean_mk_string_unchecked("debug", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; -x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__1; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__3() { _start: { lean_object* x_1; @@ -3579,16 +3417,16 @@ x_1 = lean_mk_string_unchecked("simplifying", 11, 11); return x_1; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__5() { _start: { lean_object* x_1; @@ -3596,16 +3434,16 @@ x_1 = lean_mk_string_unchecked("\nwith", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6() { +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; uint8_t x_21; @@ -3616,7 +3454,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_ctor_get(x_3, 1); x_23 = lean_ctor_get(x_3, 0); lean_dec(x_23); -x_24 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_24 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_25 = l_Lean_Core_checkSystem(x_24, x_11, x_12, x_13); if (lean_obj_tag(x_25) == 0) { @@ -3635,7 +3473,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); lean_inc(x_22); -x_27 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(x_22, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +x_27 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1(x_22, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; @@ -3667,8 +3505,8 @@ lean_dec(x_27); x_33 = lean_ctor_get(x_28, 0); lean_inc(x_33); lean_dec(x_28); -x_34 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; -x_35 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +x_34 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_35 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_32); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_unbox(x_36); @@ -3681,7 +3519,7 @@ lean_inc(x_38); lean_dec(x_35); x_39 = lean_box(0); lean_inc(x_2); -x_40 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_38); +x_40 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_38); lean_dec(x_22); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); @@ -3709,12 +3547,7 @@ lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); lean_dec(x_46); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_22); -x_48 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +x_48 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; lean_object* x_51; @@ -3739,11 +3572,11 @@ lean_inc(x_53); lean_dec(x_51); x_54 = l_Lean_MessageData_ofExpr(x_49); x_55 = l_Lean_indentD(x_54); -x_56 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; +x_56 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; lean_ctor_set_tag(x_35, 7); lean_ctor_set(x_35, 1, x_55); lean_ctor_set(x_35, 0, x_56); -x_57 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +x_57 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; x_58 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_58, 0, x_35); lean_ctor_set(x_58, 1, x_57); @@ -3756,14 +3589,14 @@ x_62 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr x_63 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_34, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_34, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); lean_dec(x_64); lean_inc(x_2); -x_67 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +x_67 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); lean_dec(x_65); lean_dec(x_22); x_68 = lean_ctor_get(x_67, 0); @@ -3900,12 +3733,7 @@ lean_object* x_84; lean_object* x_85; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_22); -x_85 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_84); +x_85 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_84); if (lean_obj_tag(x_85) == 0) { lean_object* x_86; lean_object* x_87; lean_object* x_88; @@ -3930,11 +3758,11 @@ lean_inc(x_90); lean_dec(x_88); x_91 = l_Lean_MessageData_ofExpr(x_86); x_92 = l_Lean_indentD(x_91); -x_93 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; +x_93 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; x_94 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_92); -x_95 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +x_95 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; x_96 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); @@ -3947,14 +3775,14 @@ x_100 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_G x_101 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_101, 0, x_99); lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_34, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); +x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_34, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); x_104 = lean_ctor_get(x_102, 1); lean_inc(x_104); lean_dec(x_102); lean_inc(x_2); -x_105 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_104); +x_105 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_104); lean_dec(x_103); lean_dec(x_22); x_106 = lean_ctor_get(x_105, 0); @@ -4162,7 +3990,7 @@ lean_object* x_128; lean_object* x_129; lean_object* x_130; x_128 = lean_ctor_get(x_3, 1); lean_inc(x_128); lean_dec(x_3); -x_129 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_129 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_130 = l_Lean_Core_checkSystem(x_129, x_11, x_12, x_13); if (lean_obj_tag(x_130) == 0) { @@ -4181,7 +4009,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); lean_inc(x_128); -x_132 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(x_128, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_131); +x_132 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1(x_128, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_131); if (lean_obj_tag(x_132) == 0) { lean_object* x_133; @@ -4214,8 +4042,8 @@ lean_dec(x_132); x_139 = lean_ctor_get(x_133, 0); lean_inc(x_139); lean_dec(x_133); -x_140 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; -x_141 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_140, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_138); +x_140 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_141 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_140, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_138); x_142 = lean_ctor_get(x_141, 0); lean_inc(x_142); x_143 = lean_unbox(x_142); @@ -4228,7 +4056,7 @@ lean_inc(x_144); lean_dec(x_141); x_145 = lean_box(0); lean_inc(x_2); -x_146 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_145, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_144); +x_146 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_145, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_144); lean_dec(x_128); x_147 = lean_ctor_get(x_146, 0); lean_inc(x_147); @@ -4259,12 +4087,7 @@ lean_object* x_152; lean_object* x_153; x_152 = lean_ctor_get(x_151, 1); lean_inc(x_152); lean_dec(x_151); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_128); -x_153 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_152); +x_153 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_152); if (lean_obj_tag(x_153) == 0) { lean_object* x_154; lean_object* x_155; lean_object* x_156; @@ -4289,7 +4112,7 @@ lean_inc(x_158); lean_dec(x_156); x_159 = l_Lean_MessageData_ofExpr(x_154); x_160 = l_Lean_indentD(x_159); -x_161 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; +x_161 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; if (lean_is_scalar(x_150)) { x_162 = lean_alloc_ctor(7, 2, 0); } else { @@ -4298,7 +4121,7 @@ if (lean_is_scalar(x_150)) { } lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); -x_163 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +x_163 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; x_164 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_164, 0, x_162); lean_ctor_set(x_164, 1, x_163); @@ -4311,14 +4134,14 @@ x_168 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_G x_169 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_169, 0, x_167); lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_140, x_169, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_158); +x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_140, x_169, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_158); x_171 = lean_ctor_get(x_170, 0); lean_inc(x_171); x_172 = lean_ctor_get(x_170, 1); lean_inc(x_172); lean_dec(x_170); lean_inc(x_2); -x_173 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_171, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_172); +x_173 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_171, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_172); lean_dec(x_171); lean_dec(x_128); x_174 = lean_ctor_get(x_173, 0); @@ -4561,7 +4384,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -4571,6 +4394,2903 @@ lean_ctor_set(x_13, 1, x_12); return x_13; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1(x_2, x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_15, 0); +lean_dec(x_19); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +lean_ctor_set(x_15, 0, x_20); +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_16); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_15, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_17, 0); +lean_inc(x_26); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_26); +return x_15; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_dec(x_15); +x_28 = lean_ctor_get(x_17, 0); +lean_inc(x_28); +lean_dec(x_17); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_inc(x_1); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_12); +return x_16; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("simplified", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_20; +x_20 = !lean_is_exclusive(x_2); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_ctor_get(x_2, 0); +lean_dec(x_22); +x_23 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(x_21); +x_24 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_free_object(x_2); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_28 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = lean_box(0); +x_33 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_21, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_13 = x_34; +x_14 = x_35; +goto block_19; +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_28); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_28, 1); +x_38 = lean_ctor_get(x_28, 0); +lean_dec(x_38); +x_39 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_MessageData_ofExpr(x_42); +x_45 = l_Lean_indentD(x_44); +x_46 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_45); +lean_ctor_set(x_28, 0, x_46); +x_47 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_28); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_27, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_21, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +lean_dec(x_50); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_13 = x_53; +x_14 = x_54; +goto block_19; +} +else +{ +uint8_t x_55; +lean_free_object(x_28); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_41); +if (x_55 == 0) +{ +return x_41; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_41, 0); +x_57 = lean_ctor_get(x_41, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_41); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_free_object(x_28); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_39); +if (x_59 == 0) +{ +return x_39; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_39, 0); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_39); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_28, 1); +lean_inc(x_63); +lean_dec(x_28); +x_64 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Lean_MessageData_ofExpr(x_67); +x_70 = l_Lean_indentD(x_69); +x_71 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_27, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_68); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_21, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); +lean_dec(x_76); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_13 = x_79; +x_14 = x_80; +goto block_19; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_81 = lean_ctor_get(x_66, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_66, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_83 = x_66; +} else { + lean_dec_ref(x_66); + x_83 = lean_box(0); +} +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 2, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +return x_84; +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_85 = lean_ctor_get(x_64, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_64, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_87 = x_64; +} else { + lean_dec_ref(x_64); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +} +} +else +{ +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_24, 1); +lean_inc(x_89); +lean_dec(x_24); +x_90 = !lean_is_exclusive(x_25); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_25, 0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_92 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith(x_21, x_91, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +lean_inc(x_1); +lean_ctor_set(x_2, 1, x_93); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_25, 0, x_2); +x_13 = x_25; +x_14 = x_94; +goto block_19; +} +else +{ +uint8_t x_95; +lean_free_object(x_25); +lean_free_object(x_2); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) +{ +return x_92; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_92, 0); +x_97 = lean_ctor_get(x_92, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_92); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_25, 0); +lean_inc(x_99); +lean_dec(x_25); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_100 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith(x_21, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +lean_inc(x_1); +lean_ctor_set(x_2, 1, x_101); +lean_ctor_set(x_2, 0, x_1); +x_103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_103, 0, x_2); +x_13 = x_103; +x_14 = x_102; +goto block_19; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_free_object(x_2); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_104 = lean_ctor_get(x_100, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_100, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_106 = x_100; +} else { + lean_dec_ref(x_100); + x_106 = lean_box(0); +} +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(1, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +} +} +} +else +{ +uint8_t x_108; +lean_free_object(x_2); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_108 = !lean_is_exclusive(x_24); +if (x_108 == 0) +{ +return x_24; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_24, 0); +x_110 = lean_ctor_get(x_24, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_24); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_2, 1); +lean_inc(x_112); +lean_dec(x_2); +x_113 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(x_112); +x_114 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_118 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_117, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_116); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +lean_dec(x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); +lean_dec(x_118); +x_122 = lean_box(0); +x_123 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_112, x_122, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_121); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_13 = x_124; +x_14 = x_125; +goto block_19; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_118, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_127 = x_118; +} else { + lean_dec_ref(x_118); + x_127 = lean_box(0); +} +x_128 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_126); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +lean_dec(x_128); +x_130 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_denoteExpr(x_112, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_129); +if (lean_obj_tag(x_130) == 0) +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = l_Lean_MessageData_ofExpr(x_131); +x_134 = l_Lean_indentD(x_133); +x_135 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; +if (lean_is_scalar(x_127)) { + x_136 = lean_alloc_ctor(7, 2, 0); +} else { + x_136 = x_127; + lean_ctor_set_tag(x_136, 7); +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_138 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_117, x_138, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_132); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_112, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_141); +lean_dec(x_140); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_13 = x_143; +x_14 = x_144; +goto block_19; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_127); +lean_dec(x_112); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_145 = lean_ctor_get(x_130, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_130, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_147 = x_130; +} else { + lean_dec_ref(x_130); + x_147 = lean_box(0); +} +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(1, 2, 0); +} else { + x_148 = x_147; +} +lean_ctor_set(x_148, 0, x_145); +lean_ctor_set(x_148, 1, x_146); +return x_148; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_127); +lean_dec(x_112); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_149 = lean_ctor_get(x_128, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_128, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_151 = x_128; +} else { + lean_dec_ref(x_128); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); +} else { + x_152 = x_151; +} +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; +} +} +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_153 = lean_ctor_get(x_114, 1); +lean_inc(x_153); +lean_dec(x_114); +x_154 = lean_ctor_get(x_115, 0); +lean_inc(x_154); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + x_155 = x_115; +} else { + lean_dec_ref(x_115); + x_155 = lean_box(0); +} +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_156 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith(x_112, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_153); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +lean_inc(x_1); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_1); +lean_ctor_set(x_159, 1, x_157); +if (lean_is_scalar(x_155)) { + x_160 = lean_alloc_ctor(1, 1, 0); +} else { + x_160 = x_155; +} +lean_ctor_set(x_160, 0, x_159); +x_13 = x_160; +x_14 = x_158; +goto block_19; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_155); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_161 = lean_ctor_get(x_156, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_156, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_163 = x_156; +} else { + lean_dec_ref(x_156); + x_163 = lean_box(0); +} +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 2, 0); +} else { + x_164 = x_163; +} +lean_ctor_set(x_164, 0, x_161); +lean_ctor_set(x_164, 1, x_162); +return x_164; +} +} +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_112); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_165 = lean_ctor_get(x_114, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_114, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_167 = x_114; +} else { + lean_dec_ref(x_114); + x_167 = lean_box(0); +} +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(1, 2, 0); +} else { + x_168 = x_167; +} +lean_ctor_set(x_168, 0, x_165); +lean_ctor_set(x_168, 1, x_166); +return x_168; +} +} +block_19: +{ +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_2 = x_17; +x_12 = x_14; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_1); +x_14 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +lean_ctor_set(x_14, 0, x_19); +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_15); +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_16, 0); +lean_inc(x_25); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_ctor_get(x_16, 0); +lean_inc(x_27); +lean_dec(x_16); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_14); +if (x_29 == 0) +{ +return x_14; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_14, 0); +x_31 = lean_ctor_get(x_14, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_14); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 3); +lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 0); +lean_inc(x_20); +x_21 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_17, x_20, x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_22 = lean_box(0); +lean_ctor_set(x_13, 0, x_22); +return x_13; +} +else +{ +lean_object* x_23; uint8_t x_24; +lean_free_object(x_13); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_23, 2); +x_28 = lean_ctor_get(x_23, 3); +x_29 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_1); +lean_ctor_set(x_29, 2, x_27); +lean_ctor_set(x_29, 3, x_28); +lean_ctor_set(x_29, 4, x_2); +lean_inc(x_25); +lean_ctor_set(x_23, 3, x_19); +lean_ctor_set(x_23, 2, x_18); +lean_ctor_set(x_23, 1, x_29); +x_30 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4; +x_31 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_25); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_box(0); +x_36 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_36; +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_31, 1); +x_39 = lean_ctor_get(x_31, 0); +lean_dec(x_39); +x_40 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_MessageData_ofExpr(x_43); +x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_45); +lean_ctor_set(x_31, 0, x_46); +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_31); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_30, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_50); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_49); +return x_51; +} +else +{ +uint8_t x_52; +lean_free_object(x_31); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_52 = !lean_is_exclusive(x_42); +if (x_52 == 0) +{ +return x_42; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_42, 0); +x_54 = lean_ctor_get(x_42, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_42); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_free_object(x_31); +lean_dec(x_23); +lean_dec(x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_56 = !lean_is_exclusive(x_40); +if (x_56 == 0) +{ +return x_40; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_40, 0); +x_58 = lean_ctor_get(x_40, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_40); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_31, 1); +lean_inc(x_60); +lean_dec(x_31); +x_61 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_60); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = l_Lean_MessageData_ofExpr(x_64); +x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_30, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_72); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_71); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_74 = lean_ctor_get(x_63, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_63, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_76 = x_63; +} else { + lean_dec_ref(x_63); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_23); +lean_dec(x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_78 = lean_ctor_get(x_61, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_61, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_80 = x_61; +} else { + lean_dec_ref(x_61); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; +} +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_82 = lean_ctor_get(x_23, 0); +x_83 = lean_ctor_get(x_23, 1); +x_84 = lean_ctor_get(x_23, 2); +x_85 = lean_ctor_get(x_23, 3); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_23); +x_86 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_1); +lean_ctor_set(x_86, 2, x_84); +lean_ctor_set(x_86, 3, x_85); +lean_ctor_set(x_86, 4, x_2); +lean_inc(x_82); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_82); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set(x_87, 2, x_18); +lean_ctor_set(x_87, 3, x_19); +x_88 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4; +x_89 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_unbox(x_90); +lean_dec(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_82); +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec(x_89); +x_93 = lean_box(0); +x_94 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_87, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_92); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_89, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_96 = x_89; +} else { + lean_dec_ref(x_89); + x_96 = lean_box(0); +} +x_97 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_95); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = l_Lean_MessageData_ofExpr(x_100); +x_103 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +if (lean_is_scalar(x_96)) { + x_104 = lean_alloc_ctor(7, 2, 0); +} else { + x_104 = x_96; + lean_ctor_set_tag(x_104, 7); +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_88, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_101); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_87, x_107, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_108); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_107); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_96); +lean_dec(x_87); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_110 = lean_ctor_get(x_99, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_99, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_112 = x_99; +} else { + lean_dec_ref(x_99); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; +} +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_111); +return x_113; +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_96); +lean_dec(x_87); +lean_dec(x_82); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_114 = lean_ctor_get(x_97, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_97, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_116 = x_97; +} else { + lean_dec_ref(x_97); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 2, 0); +} else { + x_117 = x_116; +} +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_115); +return x_117; +} +} +} +} +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_118 = lean_ctor_get(x_13, 0); +x_119 = lean_ctor_get(x_13, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_13); +x_120 = lean_ctor_get(x_1, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_1, 2); +lean_inc(x_121); +x_122 = lean_ctor_get(x_1, 3); +lean_inc(x_122); +x_123 = lean_ctor_get(x_2, 0); +lean_inc(x_123); +x_124 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_120, x_123, x_118); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; +lean_dec(x_122); +lean_dec(x_121); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_119); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_127 = lean_ctor_get(x_124, 0); +lean_inc(x_127); +lean_dec(x_124); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +x_130 = lean_ctor_get(x_127, 2); +lean_inc(x_130); +x_131 = lean_ctor_get(x_127, 3); +lean_inc(x_131); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + lean_ctor_release(x_127, 2); + lean_ctor_release(x_127, 3); + x_132 = x_127; +} else { + lean_dec_ref(x_127); + x_132 = lean_box(0); +} +x_133 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_133, 0, x_129); +lean_ctor_set(x_133, 1, x_1); +lean_ctor_set(x_133, 2, x_130); +lean_ctor_set(x_133, 3, x_131); +lean_ctor_set(x_133, 4, x_2); +lean_inc(x_128); +if (lean_is_scalar(x_132)) { + x_134 = lean_alloc_ctor(0, 4, 0); +} else { + x_134 = x_132; +} +lean_ctor_set(x_134, 0, x_128); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_121); +lean_ctor_set(x_134, 3, x_122); +x_135 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4; +x_136 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_119); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_128); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +x_140 = lean_box(0); +x_141 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_134, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_139); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_136, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_143 = x_136; +} else { + lean_dec_ref(x_136); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_142); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_128, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_145); +if (lean_obj_tag(x_146) == 0) +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = l_Lean_MessageData_ofExpr(x_147); +x_150 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +if (lean_is_scalar(x_143)) { + x_151 = lean_alloc_ctor(7, 2, 0); +} else { + x_151 = x_143; + lean_ctor_set_tag(x_151, 7); +} +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_135, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_148); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_134, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_155); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_154); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_dec(x_143); +lean_dec(x_134); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_157 = lean_ctor_get(x_146, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_146, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_159 = x_146; +} else { + lean_dec_ref(x_146); + x_159 = lean_box(0); +} +if (lean_is_scalar(x_159)) { + x_160 = lean_alloc_ctor(1, 2, 0); +} else { + x_160 = x_159; +} +lean_ctor_set(x_160, 0, x_157); +lean_ctor_set(x_160, 1, x_158); +return x_160; +} +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_143); +lean_dec(x_134); +lean_dec(x_128); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_161 = lean_ctor_get(x_144, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_144, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_163 = x_144; +} else { + lean_dec_ref(x_144); + x_163 = lean_box(0); +} +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 2, 0); +} else { + x_164 = x_163; +} +lean_ctor_set(x_164, 0, x_161); +lean_ctor_set(x_164, 1, x_162); +return x_164; +} +} +} +} +} +else +{ +uint8_t x_165; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_165 = !lean_is_exclusive(x_13); +if (x_165 == 0) +{ +return x_13; +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_13, 0); +x_167 = lean_ctor_get(x_13, 1); +lean_inc(x_167); +lean_inc(x_166); +lean_dec(x_13); +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +return x_168; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_21; +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_3, 1); +x_23 = lean_ctor_get(x_3, 0); +lean_dec(x_23); +x_24 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; +x_25 = l_Lean_Core_checkSystem(x_24, x_11, x_12, x_13); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +lean_inc(x_22); +x_27 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(x_22, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_22); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_3, 0, x_30); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_3); +x_14 = x_31; +x_15 = x_29; +goto block_20; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_free_object(x_3); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_dec(x_27); +x_33 = lean_ctor_get(x_28, 0); +lean_inc(x_33); +lean_dec(x_28); +x_34 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_35 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_box(0); +lean_inc(x_2); +x_40 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_38); +lean_dec(x_22); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_14 = x_41; +x_15 = x_42; +goto block_20; +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_35); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_35, 1); +x_45 = lean_ctor_get(x_35, 0); +lean_dec(x_45); +x_46 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_22); +x_48 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_51 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_MessageData_ofExpr(x_49); +x_55 = l_Lean_indentD(x_54); +x_56 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; +lean_ctor_set_tag(x_35, 7); +lean_ctor_set(x_35, 1, x_55); +lean_ctor_set(x_35, 0, x_56); +x_57 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_35); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_MessageData_ofExpr(x_52); +x_60 = l_Lean_indentD(x_59); +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_60); +x_62 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_34, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +lean_inc(x_2); +x_67 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +lean_dec(x_65); +lean_dec(x_22); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_14 = x_68; +x_15 = x_69; +goto block_20; +} +else +{ +uint8_t x_70; +lean_dec(x_49); +lean_free_object(x_35); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_51); +if (x_70 == 0) +{ +return x_51; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_51, 0); +x_72 = lean_ctor_get(x_51, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_51); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +uint8_t x_74; +lean_free_object(x_35); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_48); +if (x_74 == 0) +{ +return x_48; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_48, 0); +x_76 = lean_ctor_get(x_48, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_48); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +else +{ +uint8_t x_78; +lean_free_object(x_35); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_46); +if (x_78 == 0) +{ +return x_46; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_46, 0); +x_80 = lean_ctor_get(x_46, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_46); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_35, 1); +lean_inc(x_82); +lean_dec(x_35); +x_83 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_22); +x_85 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_84); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_88 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_87); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = l_Lean_MessageData_ofExpr(x_86); +x_92 = l_Lean_indentD(x_91); +x_93 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; +x_96 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_MessageData_ofExpr(x_89); +x_98 = l_Lean_indentD(x_97); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_98); +x_100 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_101 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_34, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +lean_inc(x_2); +x_105 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_104); +lean_dec(x_103); +lean_dec(x_22); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_14 = x_106; +x_15 = x_107; +goto block_20; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_86); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_108 = lean_ctor_get(x_88, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_88, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_110 = x_88; +} else { + lean_dec_ref(x_88); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +return x_111; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_112 = lean_ctor_get(x_85, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_85, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_114 = x_85; +} else { + lean_dec_ref(x_85); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_116 = lean_ctor_get(x_83, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_83, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_118 = x_83; +} else { + lean_dec_ref(x_83); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +} +} +else +{ +uint8_t x_120; +lean_free_object(x_3); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_120 = !lean_is_exclusive(x_27); +if (x_120 == 0) +{ +return x_27; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_27, 0); +x_122 = lean_ctor_get(x_27, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_27); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_free_object(x_3); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_124 = !lean_is_exclusive(x_25); +if (x_124 == 0) +{ +return x_25; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_25, 0); +x_126 = lean_ctor_get(x_25, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_25); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_3, 1); +lean_inc(x_128); +lean_dec(x_3); +x_129 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; +x_130 = l_Lean_Core_checkSystem(x_129, x_11, x_12, x_13); +if (lean_obj_tag(x_130) == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +lean_inc(x_128); +x_132 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(x_128, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_131); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +lean_inc(x_128); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_128); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_128); +x_137 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_14 = x_137; +x_15 = x_134; +goto block_20; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_138 = lean_ctor_get(x_132, 1); +lean_inc(x_138); +lean_dec(x_132); +x_139 = lean_ctor_get(x_133, 0); +lean_inc(x_139); +lean_dec(x_133); +x_140 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_141 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_140, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_138); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_unbox(x_142); +lean_dec(x_142); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_144 = lean_ctor_get(x_141, 1); +lean_inc(x_144); +lean_dec(x_141); +x_145 = lean_box(0); +lean_inc(x_2); +x_146 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_145, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_144); +lean_dec(x_128); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_14 = x_147; +x_15 = x_148; +goto block_20; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_141, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_150 = x_141; +} else { + lean_dec_ref(x_141); + x_150 = lean_box(0); +} +x_151 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_149); +if (lean_obj_tag(x_151) == 0) +{ +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_151, 1); +lean_inc(x_152); +lean_dec(x_151); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_128); +x_153 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_152); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_156 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_155); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = l_Lean_MessageData_ofExpr(x_154); +x_160 = l_Lean_indentD(x_159); +x_161 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4; +if (lean_is_scalar(x_150)) { + x_162 = lean_alloc_ctor(7, 2, 0); +} else { + x_162 = x_150; + lean_ctor_set_tag(x_162, 7); +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6; +x_164 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +x_165 = l_Lean_MessageData_ofExpr(x_157); +x_166 = l_Lean_indentD(x_165); +x_167 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_166); +x_168 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_169 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_140, x_169, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_158); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +lean_inc(x_2); +x_173 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_171, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_172); +lean_dec(x_171); +lean_dec(x_128); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +x_14 = x_174; +x_15 = x_175; +goto block_20; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_154); +lean_dec(x_150); +lean_dec(x_139); +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_176 = lean_ctor_get(x_156, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_156, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_178 = x_156; +} else { + lean_dec_ref(x_156); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(1, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_150); +lean_dec(x_139); +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_180 = lean_ctor_get(x_153, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_153, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_182 = x_153; +} else { + lean_dec_ref(x_153); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(1, 2, 0); +} else { + x_183 = x_182; +} +lean_ctor_set(x_183, 0, x_180); +lean_ctor_set(x_183, 1, x_181); +return x_183; +} +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_dec(x_150); +lean_dec(x_139); +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_184 = lean_ctor_get(x_151, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_151, 1); +lean_inc(x_185); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_186 = x_151; +} else { + lean_dec_ref(x_151); + x_186 = lean_box(0); +} +if (lean_is_scalar(x_186)) { + x_187 = lean_alloc_ctor(1, 2, 0); +} else { + x_187 = x_186; +} +lean_ctor_set(x_187, 0, x_184); +lean_ctor_set(x_187, 1, x_185); +return x_187; +} +} +} +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_188 = lean_ctor_get(x_132, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_132, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + x_190 = x_132; +} else { + lean_dec_ref(x_132); + x_190 = lean_box(0); +} +if (lean_is_scalar(x_190)) { + x_191 = lean_alloc_ctor(1, 2, 0); +} else { + x_191 = x_190; +} +lean_ctor_set(x_191, 0, x_188); +lean_ctor_set(x_191, 1, x_189); +return x_191; +} +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_192 = lean_ctor_get(x_130, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_130, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_194 = x_130; +} else { + lean_dec_ref(x_130); + x_194 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(1, 2, 0); +} else { + x_195 = x_194; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +return x_195; +} +} +block_20: +{ +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_3 = x_18; +x_13 = x_15; +goto _start; +} +} +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(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: { @@ -4673,78 +7393,6 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_inc(x_1); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_1); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_12); -return x_16; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("simplified", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -4752,111 +7400,110 @@ lean_object* x_13; lean_object* x_14; uint8_t x_20; x_20 = !lean_is_exclusive(x_2); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_21 = lean_ctor_get(x_2, 1); x_22 = lean_ctor_get(x_2, 0); lean_dec(x_22); x_23 = lean_ctor_get(x_21, 0); lean_inc(x_23); -x_24 = 0; -x_25 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_23, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_24 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_25, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_free_object(x_2); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_free_object(x_2); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; -x_29 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); +lean_dec(x_24); +x_27 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_28 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); lean_dec(x_29); -x_33 = lean_box(0); -x_34 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_21, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); -x_35 = lean_ctor_get(x_34, 0); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = lean_box(0); +x_33 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_21, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_13 = x_35; -x_14 = x_36; +lean_dec(x_33); +x_13 = x_34; +x_14 = x_35; goto block_19; } else { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_29); -if (x_37 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_28); +if (x_36 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_29, 1); -x_39 = lean_ctor_get(x_29, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_28, 1); +x_38 = lean_ctor_get(x_28, 0); +lean_dec(x_38); +x_39 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); lean_dec(x_39); -x_40 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_21); -x_42 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -if (lean_obj_tag(x_42) == 0) +x_41 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_43 = lean_ctor_get(x_42, 0); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_MessageData_ofExpr(x_43); -x_46 = l_Lean_indentD(x_45); -x_47 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; -lean_ctor_set_tag(x_29, 7); -lean_ctor_set(x_29, 1, x_46); -lean_ctor_set(x_29, 0, x_47); -x_48 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_29); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_28, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); -x_51 = lean_ctor_get(x_50, 0); +lean_dec(x_41); +x_44 = l_Lean_MessageData_ofExpr(x_42); +x_45 = l_Lean_indentD(x_44); +x_46 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_45); +lean_ctor_set(x_28, 0, x_46); +x_47 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_28); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_27, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); +lean_dec(x_49); +x_52 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_21, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); lean_dec(x_50); -x_53 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_21, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_52); -lean_dec(x_51); -x_54 = lean_ctor_get(x_53, 0); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_13 = x_54; -x_14 = x_55; +lean_dec(x_52); +x_13 = x_53; +x_14 = x_54; goto block_19; } else { -uint8_t x_56; -lean_free_object(x_29); +uint8_t x_55; +lean_free_object(x_28); lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); @@ -4868,30 +7515,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_42); -if (x_56 == 0) +x_55 = !lean_is_exclusive(x_41); +if (x_55 == 0) { -return x_42; +return x_41; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_42, 0); -x_58 = lean_ctor_get(x_42, 1); -lean_inc(x_58); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_41, 0); +x_57 = lean_ctor_get(x_41, 1); lean_inc(x_57); -lean_dec(x_42); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_inc(x_56); +lean_dec(x_41); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -uint8_t x_60; -lean_free_object(x_29); +uint8_t x_59; +lean_free_object(x_28); lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); @@ -4903,119 +7550,119 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_60 = !lean_is_exclusive(x_40); -if (x_60 == 0) +x_59 = !lean_is_exclusive(x_39); +if (x_59 == 0) { -return x_40; +return x_39; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_40, 0); -x_62 = lean_ctor_get(x_40, 1); -lean_inc(x_62); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_39, 0); +x_61 = lean_ctor_get(x_39, 1); lean_inc(x_61); -lean_dec(x_40); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_inc(x_60); +lean_dec(x_39); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_29, 1); -lean_inc(x_64); -lean_dec(x_29); -x_65 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); -if (lean_obj_tag(x_65) == 0) +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_28, 1); +lean_inc(x_63); +lean_dec(x_28); +x_64 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_21); -x_67 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_66); -if (lean_obj_tag(x_67) == 0) +x_66 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_68 = lean_ctor_get(x_67, 0); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_MessageData_ofExpr(x_68); -x_71 = l_Lean_indentD(x_70); -x_72 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; -x_73 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_75 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_28, x_75, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); -x_77 = lean_ctor_get(x_76, 0); +lean_dec(x_66); +x_69 = l_Lean_MessageData_ofExpr(x_67); +x_70 = l_Lean_indentD(x_69); +x_71 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_27, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_68); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); +lean_dec(x_75); +x_78 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_21, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); lean_dec(x_76); -x_79 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_21, x_77, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_78); -lean_dec(x_77); -x_80 = lean_ctor_get(x_79, 0); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); +lean_dec(x_78); +x_13 = x_79; +x_14 = x_80; +goto block_19; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_81 = lean_ctor_get(x_66, 0); lean_inc(x_81); -lean_dec(x_79); -x_13 = x_80; -x_14 = x_81; -goto block_19; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_82 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_66, 1); lean_inc(x_82); -x_83 = lean_ctor_get(x_67, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_84 = x_67; +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_83 = x_66; } else { - lean_dec_ref(x_67); - x_84 = lean_box(0); + lean_dec_ref(x_66); + x_83 = lean_box(0); } -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 2, 0); } else { - x_85 = x_84; + x_84 = x_83; } -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_83); -return x_85; +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +return x_84; } } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); @@ -5027,41 +7674,41 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_86 = lean_ctor_get(x_65, 0); +x_85 = lean_ctor_get(x_64, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_64, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_65, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_88 = x_65; +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_87 = x_64; } else { - lean_dec_ref(x_65); - x_88 = lean_box(0); + lean_dec_ref(x_64); + x_87 = lean_box(0); } -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); } else { - x_89 = x_88; + x_88 = x_87; } -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; } } } } else { -lean_object* x_90; uint8_t x_91; -x_90 = lean_ctor_get(x_25, 1); -lean_inc(x_90); -lean_dec(x_25); -x_91 = !lean_is_exclusive(x_26); -if (x_91 == 0) +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_24, 1); +lean_inc(x_89); +lean_dec(x_24); +x_90 = !lean_is_exclusive(x_25); +if (x_90 == 0) { -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_26, 0); +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_25, 0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -5071,27 +7718,27 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_93 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_21, x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); -if (lean_obj_tag(x_93) == 0) +x_92 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_21, x_91, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_93, 0); +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); +lean_dec(x_92); lean_inc(x_1); -lean_ctor_set(x_2, 1, x_94); +lean_ctor_set(x_2, 1, x_93); lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_26, 0, x_2); -x_13 = x_26; -x_14 = x_95; +lean_ctor_set(x_25, 0, x_2); +x_13 = x_25; +x_14 = x_94; goto block_19; } else { -uint8_t x_96; -lean_free_object(x_26); +uint8_t x_95; +lean_free_object(x_25); lean_free_object(x_2); lean_dec(x_11); lean_dec(x_10); @@ -5103,32 +7750,32 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_96 = !lean_is_exclusive(x_93); -if (x_96 == 0) +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) { -return x_93; +return x_92; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_93, 0); -x_98 = lean_ctor_get(x_93, 1); -lean_inc(x_98); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_92, 0); +x_97 = lean_ctor_get(x_92, 1); lean_inc(x_97); -lean_dec(x_93); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_inc(x_96); +lean_dec(x_92); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } else { -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_26, 0); -lean_inc(x_100); -lean_dec(x_26); +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_25, 0); +lean_inc(x_99); +lean_dec(x_25); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -5138,27 +7785,27 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_101 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_21, x_100, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); -if (lean_obj_tag(x_101) == 0) +x_100 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_21, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +if (lean_obj_tag(x_100) == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_101, 0); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); +lean_dec(x_100); lean_inc(x_1); -lean_ctor_set(x_2, 1, x_102); +lean_ctor_set(x_2, 1, x_101); lean_ctor_set(x_2, 0, x_1); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_2); -x_13 = x_104; -x_14 = x_103; +x_103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_103, 0, x_2); +x_13 = x_103; +x_14 = x_102; goto block_19; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_free_object(x_2); lean_dec(x_11); lean_dec(x_10); @@ -5170,33 +7817,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_105 = lean_ctor_get(x_101, 0); +x_104 = lean_ctor_get(x_100, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_100, 1); lean_inc(x_105); -x_106 = lean_ctor_get(x_101, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_107 = x_101; +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_106 = x_100; } else { - lean_dec_ref(x_101); - x_107 = lean_box(0); + lean_dec_ref(x_100); + x_106 = lean_box(0); } -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(1, 2, 0); } else { - x_108 = x_107; + x_107 = x_106; } -lean_ctor_set(x_108, 0, x_105); -lean_ctor_set(x_108, 1, x_106); -return x_108; +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); +return x_107; } } } } else { -uint8_t x_109; +uint8_t x_108; lean_free_object(x_2); lean_dec(x_21); lean_dec(x_11); @@ -5209,141 +7856,140 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_109 = !lean_is_exclusive(x_25); -if (x_109 == 0) +x_108 = !lean_is_exclusive(x_24); +if (x_108 == 0) { -return x_25; +return x_24; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_25, 0); -x_111 = lean_ctor_get(x_25, 1); -lean_inc(x_111); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_24, 0); +x_110 = lean_ctor_get(x_24, 1); lean_inc(x_110); -lean_dec(x_25); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +lean_inc(x_109); +lean_dec(x_24); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_113 = lean_ctor_get(x_2, 1); -lean_inc(x_113); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_2, 1); +lean_inc(x_112); lean_dec(x_2); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = 0; -x_116 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_114, x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_116) == 0) +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_117; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -if (lean_obj_tag(x_117) == 0) +lean_object* x_115; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -lean_dec(x_116); -x_119 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; -x_120 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_119, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_118); -x_121 = lean_ctor_get(x_120, 0); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2; +x_118 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_117, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_116); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +lean_dec(x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_118, 1); lean_inc(x_121); -x_122 = lean_unbox(x_121); -lean_dec(x_121); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -lean_dec(x_120); -x_124 = lean_box(0); -x_125 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_113, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_123); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_13 = x_126; -x_14 = x_127; +lean_dec(x_118); +x_122 = lean_box(0); +x_123 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_112, x_122, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_121); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_13 = x_124; +x_14 = x_125; goto block_19; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_120, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_129 = x_120; +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_118, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_127 = x_118; } else { - lean_dec_ref(x_120); - x_129 = lean_box(0); + lean_dec_ref(x_118); + x_127 = lean_box(0); } -x_130 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_128); +x_128 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_126); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +lean_dec(x_128); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_112); +x_130 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_112, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_129); if (lean_obj_tag(x_130) == 0) { -lean_object* x_131; lean_object* x_132; -x_131 = lean_ctor_get(x_130, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_131 = lean_ctor_get(x_130, 0); lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); lean_dec(x_130); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_113); -x_132 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_131); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = l_Lean_MessageData_ofExpr(x_133); -x_136 = l_Lean_indentD(x_135); -x_137 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; -if (lean_is_scalar(x_129)) { - x_138 = lean_alloc_ctor(7, 2, 0); +x_133 = l_Lean_MessageData_ofExpr(x_131); +x_134 = l_Lean_indentD(x_133); +x_135 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2; +if (lean_is_scalar(x_127)) { + x_136 = lean_alloc_ctor(7, 2, 0); } else { - x_138 = x_129; - lean_ctor_set_tag(x_138, 7); + x_136 = x_127; + lean_ctor_set_tag(x_136, 7); } -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_140 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_119, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_134); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_138 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_117, x_138, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_132); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___lambda__1(x_112, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_141); +lean_dec(x_140); +x_143 = lean_ctor_get(x_142, 0); lean_inc(x_143); -lean_dec(x_141); -x_144 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_113, x_142, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); lean_dec(x_142); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_13 = x_145; -x_14 = x_146; +x_13 = x_143; +x_14 = x_144; goto block_19; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -lean_dec(x_129); -lean_dec(x_113); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_127); +lean_dec(x_112); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5354,80 +8000,80 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_147 = lean_ctor_get(x_132, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_132, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_149 = x_132; -} else { - lean_dec_ref(x_132); - x_149 = lean_box(0); -} -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(1, 2, 0); -} else { - x_150 = x_149; -} -lean_ctor_set(x_150, 0, x_147); -lean_ctor_set(x_150, 1, x_148); -return x_150; -} -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_129); -lean_dec(x_113); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_151 = lean_ctor_get(x_130, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_130, 1); -lean_inc(x_152); +x_145 = lean_ctor_get(x_130, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_130, 1); +lean_inc(x_146); if (lean_is_exclusive(x_130)) { lean_ctor_release(x_130, 0); lean_ctor_release(x_130, 1); - x_153 = x_130; + x_147 = x_130; } else { lean_dec_ref(x_130); - x_153 = lean_box(0); + x_147 = lean_box(0); } -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(1, 2, 0); } else { - x_154 = x_153; + x_148 = x_147; } -lean_ctor_set(x_154, 0, x_151); -lean_ctor_set(x_154, 1, x_152); -return x_154; +lean_ctor_set(x_148, 0, x_145); +lean_ctor_set(x_148, 1, x_146); +return x_148; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_127); +lean_dec(x_112); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_149 = lean_ctor_get(x_128, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_128, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_151 = x_128; +} else { + lean_dec_ref(x_128); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); +} else { + x_152 = x_151; +} +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; } } } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_ctor_get(x_116, 1); -lean_inc(x_155); -lean_dec(x_116); -x_156 = lean_ctor_get(x_117, 0); -lean_inc(x_156); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - x_157 = x_117; +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_153 = lean_ctor_get(x_114, 1); +lean_inc(x_153); +lean_dec(x_114); +x_154 = lean_ctor_get(x_115, 0); +lean_inc(x_154); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + x_155 = x_115; } else { - lean_dec_ref(x_117); - x_157 = lean_box(0); + lean_dec_ref(x_115); + x_155 = lean_box(0); } lean_inc(x_11); lean_inc(x_10); @@ -5438,33 +8084,33 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_158 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_113, x_156, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_155); -if (lean_obj_tag(x_158) == 0) +x_156 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_112, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_153); +if (lean_obj_tag(x_156) == 0) { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); lean_inc(x_1); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_1); -lean_ctor_set(x_161, 1, x_159); -if (lean_is_scalar(x_157)) { - x_162 = lean_alloc_ctor(1, 1, 0); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_1); +lean_ctor_set(x_159, 1, x_157); +if (lean_is_scalar(x_155)) { + x_160 = lean_alloc_ctor(1, 1, 0); } else { - x_162 = x_157; + x_160 = x_155; } -lean_ctor_set(x_162, 0, x_161); -x_13 = x_162; -x_14 = x_160; +lean_ctor_set(x_160, 0, x_159); +x_13 = x_160; +x_14 = x_158; goto block_19; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_157); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_155); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5475,33 +8121,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_163 = lean_ctor_get(x_158, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_158, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_165 = x_158; +x_161 = lean_ctor_get(x_156, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_156, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_163 = x_156; } else { - lean_dec_ref(x_158); - x_165 = lean_box(0); + lean_dec_ref(x_156); + x_163 = lean_box(0); } -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 2, 0); } else { - x_166 = x_165; + x_164 = x_163; } -lean_ctor_set(x_166, 0, x_163); -lean_ctor_set(x_166, 1, x_164); -return x_166; +lean_ctor_set(x_164, 0, x_161); +lean_ctor_set(x_164, 1, x_162); +return x_164; } } } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_113); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_112); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5512,26 +8158,26 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_167 = lean_ctor_get(x_116, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_116, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_169 = x_116; +x_165 = lean_ctor_get(x_114, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_114, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_167 = x_114; } else { - lean_dec_ref(x_116); - x_169 = lean_box(0); + lean_dec_ref(x_114); + x_167 = lean_box(0); } -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(1, 2, 0); } else { - x_170 = x_169; + x_168 = x_167; } -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_168); -return x_170; +lean_ctor_set(x_168, 0, x_165); +lean_ctor_set(x_168, 1, x_166); +return x_168; } } block_19: @@ -5672,24 +8318,6 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -5739,8 +8367,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -5759,8 +8387,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -5801,7 +8429,7 @@ x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); lean_dec(x_17); x_21 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5; -x_22 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_22 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_unbox(x_23); @@ -5855,7 +8483,7 @@ lean_ctor_set(x_22, 0, x_37); x_38 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_38, 0, x_22); lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_21, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +x_39 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_21, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -5965,7 +8593,7 @@ lean_ctor_set(x_59, 1, x_57); x_60 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_21, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_56); +x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_21, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_56); x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); x_63 = lean_ctor_get(x_61, 1); @@ -6060,7 +8688,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_74 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +x_74 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; lean_object* x_76; lean_object* x_77; @@ -6142,7 +8770,7 @@ else { lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; x_86 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; -x_87 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_87 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); x_89 = lean_unbox(x_88); @@ -6196,7 +8824,7 @@ lean_ctor_set(x_87, 0, x_102); x_103 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_103, 0, x_87); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_86, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); +x_104 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_86, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); x_106 = lean_ctor_get(x_104, 1); @@ -6306,7 +8934,7 @@ lean_ctor_set(x_124, 1, x_122); x_125 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); -x_126 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_86, x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); +x_126 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_86, x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); x_127 = lean_ctor_get(x_126, 0); lean_inc(x_127); x_128 = lean_ctor_get(x_126, 1); @@ -7018,7 +9646,7 @@ x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); x_23 = lean_box(0); -x_24 = lean_ctor_get(x_21, 18); +x_24 = lean_ctor_get(x_21, 19); lean_inc(x_24); lean_dec(x_21); x_25 = lean_ctor_get(x_24, 2); @@ -7027,20 +9655,20 @@ x_26 = lean_nat_dec_lt(x_19, x_25); lean_dec(x_25); if (x_26 == 0) { -lean_object* x_248; +lean_object* x_252; lean_dec(x_24); -x_248 = l_outOfBounds___rarg(x_23); -x_27 = x_248; -goto block_247; +x_252 = l_outOfBounds___rarg(x_23); +x_27 = x_252; +goto block_251; } else { -lean_object* x_249; -x_249 = l_Lean_PersistentArray_get_x21___rarg(x_23, x_24, x_19); -x_27 = x_249; -goto block_247; +lean_object* x_253; +x_253 = l_Lean_PersistentArray_get_x21___rarg(x_23, x_24, x_19); +x_27 = x_253; +goto block_251; } -block_247: +block_251: { lean_object* x_28; lean_inc(x_3); @@ -7125,10 +9753,10 @@ x_54 = !lean_is_exclusive(x_51); if (x_54 == 0) { lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_55 = lean_ctor_get(x_51, 18); +x_55 = lean_ctor_get(x_51, 19); x_56 = l_Lean_PersistentArray_set___rarg(x_55, x_19, x_29); lean_dec(x_19); -lean_ctor_set(x_51, 18, x_56); +lean_ctor_set(x_51, 19, x_56); x_57 = lean_array_fset(x_53, x_2, x_51); lean_dec(x_2); lean_ctor_set(x_34, 0, x_57); @@ -7157,7 +9785,7 @@ return x_62; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; x_63 = lean_ctor_get(x_51, 0); x_64 = lean_ctor_get(x_51, 1); x_65 = lean_ctor_get(x_51, 2); @@ -7177,6 +9805,8 @@ x_78 = lean_ctor_get(x_51, 15); x_79 = lean_ctor_get(x_51, 16); x_80 = lean_ctor_get(x_51, 17); x_81 = lean_ctor_get(x_51, 18); +x_82 = lean_ctor_get(x_51, 19); +lean_inc(x_82); lean_inc(x_81); lean_inc(x_80); lean_inc(x_79); @@ -7197,733 +9827,746 @@ lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_dec(x_51); -x_82 = l_Lean_PersistentArray_set___rarg(x_81, x_19, x_29); +x_83 = l_Lean_PersistentArray_set___rarg(x_82, x_19, x_29); lean_dec(x_19); -x_83 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_83, 0, x_63); -lean_ctor_set(x_83, 1, x_64); -lean_ctor_set(x_83, 2, x_65); -lean_ctor_set(x_83, 3, x_66); -lean_ctor_set(x_83, 4, x_67); -lean_ctor_set(x_83, 5, x_68); -lean_ctor_set(x_83, 6, x_69); -lean_ctor_set(x_83, 7, x_70); -lean_ctor_set(x_83, 8, x_71); -lean_ctor_set(x_83, 9, x_72); -lean_ctor_set(x_83, 10, x_73); -lean_ctor_set(x_83, 11, x_74); -lean_ctor_set(x_83, 12, x_75); -lean_ctor_set(x_83, 13, x_76); -lean_ctor_set(x_83, 14, x_77); -lean_ctor_set(x_83, 15, x_78); -lean_ctor_set(x_83, 16, x_79); -lean_ctor_set(x_83, 17, x_80); -lean_ctor_set(x_83, 18, x_82); -x_84 = lean_array_fset(x_53, x_2, x_83); +x_84 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_84, 0, x_63); +lean_ctor_set(x_84, 1, x_64); +lean_ctor_set(x_84, 2, x_65); +lean_ctor_set(x_84, 3, x_66); +lean_ctor_set(x_84, 4, x_67); +lean_ctor_set(x_84, 5, x_68); +lean_ctor_set(x_84, 6, x_69); +lean_ctor_set(x_84, 7, x_70); +lean_ctor_set(x_84, 8, x_71); +lean_ctor_set(x_84, 9, x_72); +lean_ctor_set(x_84, 10, x_73); +lean_ctor_set(x_84, 11, x_74); +lean_ctor_set(x_84, 12, x_75); +lean_ctor_set(x_84, 13, x_76); +lean_ctor_set(x_84, 14, x_77); +lean_ctor_set(x_84, 15, x_78); +lean_ctor_set(x_84, 16, x_79); +lean_ctor_set(x_84, 17, x_80); +lean_ctor_set(x_84, 18, x_81); +lean_ctor_set(x_84, 19, x_83); +x_85 = lean_array_fset(x_53, x_2, x_84); lean_dec(x_2); -lean_ctor_set(x_34, 0, x_84); -x_85 = lean_st_ref_set(x_3, x_32, x_35); +lean_ctor_set(x_34, 0, x_85); +x_86 = lean_st_ref_set(x_3, x_32, x_35); lean_dec(x_3); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_88 = x_86; } else { - lean_dec_ref(x_85); - x_87 = lean_box(0); + lean_dec_ref(x_86); + x_88 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_87; + x_89 = x_88; } -lean_ctor_set(x_88, 0, x_52); -lean_ctor_set(x_88, 1, x_86); -return x_88; +lean_ctor_set(x_89, 0, x_52); +lean_ctor_set(x_89, 1, x_87); +return x_89; } } } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_89 = lean_ctor_get(x_34, 0); -x_90 = lean_ctor_get(x_34, 1); -x_91 = lean_ctor_get(x_34, 2); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_90 = lean_ctor_get(x_34, 0); +x_91 = lean_ctor_get(x_34, 1); +x_92 = lean_ctor_get(x_34, 2); +lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); -lean_inc(x_89); lean_dec(x_34); -x_92 = lean_array_get_size(x_89); -x_93 = lean_nat_dec_lt(x_2, x_92); -lean_dec(x_92); -if (x_93 == 0) +x_93 = lean_array_get_size(x_90); +x_94 = lean_nat_dec_lt(x_2, x_93); +lean_dec(x_93); +if (x_94 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_dec(x_29); lean_dec(x_19); lean_dec(x_2); -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_89); -lean_ctor_set(x_94, 1, x_90); -lean_ctor_set(x_94, 2, x_91); -lean_ctor_set(x_33, 2, x_94); -x_95 = lean_st_ref_set(x_3, x_32, x_35); +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_90); +lean_ctor_set(x_95, 1, x_91); +lean_ctor_set(x_95, 2, x_92); +lean_ctor_set(x_33, 2, x_95); +x_96 = lean_st_ref_set(x_3, x_32, x_35); lean_dec(x_3); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -x_98 = lean_box(0); -if (lean_is_scalar(x_97)) { - x_99 = lean_alloc_ctor(0, 2, 0); +x_99 = lean_box(0); +if (lean_is_scalar(x_98)) { + x_100 = lean_alloc_ctor(0, 2, 0); } else { - x_99 = x_97; + x_100 = x_98; } -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_96); -return x_99; +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_97); +return x_100; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_100 = lean_array_fget(x_89, x_2); -x_101 = lean_box(0); -x_102 = lean_array_fset(x_89, x_2, x_101); -x_103 = lean_ctor_get(x_100, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_100, 1); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_101 = lean_array_fget(x_90, x_2); +x_102 = lean_box(0); +x_103 = lean_array_fset(x_90, x_2, x_102); +x_104 = lean_ctor_get(x_101, 0); lean_inc(x_104); -x_105 = lean_ctor_get(x_100, 2); +x_105 = lean_ctor_get(x_101, 1); lean_inc(x_105); -x_106 = lean_ctor_get(x_100, 3); +x_106 = lean_ctor_get(x_101, 2); lean_inc(x_106); -x_107 = lean_ctor_get(x_100, 4); +x_107 = lean_ctor_get(x_101, 3); lean_inc(x_107); -x_108 = lean_ctor_get(x_100, 5); +x_108 = lean_ctor_get(x_101, 4); lean_inc(x_108); -x_109 = lean_ctor_get(x_100, 6); +x_109 = lean_ctor_get(x_101, 5); lean_inc(x_109); -x_110 = lean_ctor_get(x_100, 7); +x_110 = lean_ctor_get(x_101, 6); lean_inc(x_110); -x_111 = lean_ctor_get(x_100, 8); +x_111 = lean_ctor_get(x_101, 7); lean_inc(x_111); -x_112 = lean_ctor_get(x_100, 9); +x_112 = lean_ctor_get(x_101, 8); lean_inc(x_112); -x_113 = lean_ctor_get(x_100, 10); +x_113 = lean_ctor_get(x_101, 9); lean_inc(x_113); -x_114 = lean_ctor_get(x_100, 11); +x_114 = lean_ctor_get(x_101, 10); lean_inc(x_114); -x_115 = lean_ctor_get(x_100, 12); +x_115 = lean_ctor_get(x_101, 11); lean_inc(x_115); -x_116 = lean_ctor_get(x_100, 13); +x_116 = lean_ctor_get(x_101, 12); lean_inc(x_116); -x_117 = lean_ctor_get(x_100, 14); +x_117 = lean_ctor_get(x_101, 13); lean_inc(x_117); -x_118 = lean_ctor_get(x_100, 15); +x_118 = lean_ctor_get(x_101, 14); lean_inc(x_118); -x_119 = lean_ctor_get(x_100, 16); +x_119 = lean_ctor_get(x_101, 15); lean_inc(x_119); -x_120 = lean_ctor_get(x_100, 17); +x_120 = lean_ctor_get(x_101, 16); lean_inc(x_120); -x_121 = lean_ctor_get(x_100, 18); +x_121 = lean_ctor_get(x_101, 17); lean_inc(x_121); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - lean_ctor_release(x_100, 2); - lean_ctor_release(x_100, 3); - lean_ctor_release(x_100, 4); - lean_ctor_release(x_100, 5); - lean_ctor_release(x_100, 6); - lean_ctor_release(x_100, 7); - lean_ctor_release(x_100, 8); - lean_ctor_release(x_100, 9); - lean_ctor_release(x_100, 10); - lean_ctor_release(x_100, 11); - lean_ctor_release(x_100, 12); - lean_ctor_release(x_100, 13); - lean_ctor_release(x_100, 14); - lean_ctor_release(x_100, 15); - lean_ctor_release(x_100, 16); - lean_ctor_release(x_100, 17); - lean_ctor_release(x_100, 18); - x_122 = x_100; +x_122 = lean_ctor_get(x_101, 18); +lean_inc(x_122); +x_123 = lean_ctor_get(x_101, 19); +lean_inc(x_123); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + lean_ctor_release(x_101, 2); + lean_ctor_release(x_101, 3); + lean_ctor_release(x_101, 4); + lean_ctor_release(x_101, 5); + lean_ctor_release(x_101, 6); + lean_ctor_release(x_101, 7); + lean_ctor_release(x_101, 8); + lean_ctor_release(x_101, 9); + lean_ctor_release(x_101, 10); + lean_ctor_release(x_101, 11); + lean_ctor_release(x_101, 12); + lean_ctor_release(x_101, 13); + lean_ctor_release(x_101, 14); + lean_ctor_release(x_101, 15); + lean_ctor_release(x_101, 16); + lean_ctor_release(x_101, 17); + lean_ctor_release(x_101, 18); + lean_ctor_release(x_101, 19); + x_124 = x_101; } else { - lean_dec_ref(x_100); - x_122 = lean_box(0); + lean_dec_ref(x_101); + x_124 = lean_box(0); } -x_123 = l_Lean_PersistentArray_set___rarg(x_121, x_19, x_29); +x_125 = l_Lean_PersistentArray_set___rarg(x_123, x_19, x_29); lean_dec(x_19); -if (lean_is_scalar(x_122)) { - x_124 = lean_alloc_ctor(0, 19, 0); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 20, 0); } else { - x_124 = x_122; + x_126 = x_124; } -lean_ctor_set(x_124, 0, x_103); -lean_ctor_set(x_124, 1, x_104); -lean_ctor_set(x_124, 2, x_105); -lean_ctor_set(x_124, 3, x_106); -lean_ctor_set(x_124, 4, x_107); -lean_ctor_set(x_124, 5, x_108); -lean_ctor_set(x_124, 6, x_109); -lean_ctor_set(x_124, 7, x_110); -lean_ctor_set(x_124, 8, x_111); -lean_ctor_set(x_124, 9, x_112); -lean_ctor_set(x_124, 10, x_113); -lean_ctor_set(x_124, 11, x_114); -lean_ctor_set(x_124, 12, x_115); -lean_ctor_set(x_124, 13, x_116); -lean_ctor_set(x_124, 14, x_117); -lean_ctor_set(x_124, 15, x_118); -lean_ctor_set(x_124, 16, x_119); -lean_ctor_set(x_124, 17, x_120); -lean_ctor_set(x_124, 18, x_123); -x_125 = lean_array_fset(x_102, x_2, x_124); +lean_ctor_set(x_126, 0, x_104); +lean_ctor_set(x_126, 1, x_105); +lean_ctor_set(x_126, 2, x_106); +lean_ctor_set(x_126, 3, x_107); +lean_ctor_set(x_126, 4, x_108); +lean_ctor_set(x_126, 5, x_109); +lean_ctor_set(x_126, 6, x_110); +lean_ctor_set(x_126, 7, x_111); +lean_ctor_set(x_126, 8, x_112); +lean_ctor_set(x_126, 9, x_113); +lean_ctor_set(x_126, 10, x_114); +lean_ctor_set(x_126, 11, x_115); +lean_ctor_set(x_126, 12, x_116); +lean_ctor_set(x_126, 13, x_117); +lean_ctor_set(x_126, 14, x_118); +lean_ctor_set(x_126, 15, x_119); +lean_ctor_set(x_126, 16, x_120); +lean_ctor_set(x_126, 17, x_121); +lean_ctor_set(x_126, 18, x_122); +lean_ctor_set(x_126, 19, x_125); +x_127 = lean_array_fset(x_103, x_2, x_126); lean_dec(x_2); -x_126 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_90); -lean_ctor_set(x_126, 2, x_91); -lean_ctor_set(x_33, 2, x_126); -x_127 = lean_st_ref_set(x_3, x_32, x_35); +x_128 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_91); +lean_ctor_set(x_128, 2, x_92); +lean_ctor_set(x_33, 2, x_128); +x_129 = lean_st_ref_set(x_3, x_32, x_35); lean_dec(x_3); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_129 = x_127; +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_131 = x_129; } else { - lean_dec_ref(x_127); - x_129 = lean_box(0); + lean_dec_ref(x_129); + x_131 = lean_box(0); } -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(0, 2, 0); } else { - x_130 = x_129; + x_132 = x_131; } -lean_ctor_set(x_130, 0, x_101); -lean_ctor_set(x_130, 1, x_128); -return x_130; +lean_ctor_set(x_132, 0, x_102); +lean_ctor_set(x_132, 1, x_130); +return x_132; } } } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_131 = lean_ctor_get(x_33, 0); -x_132 = lean_ctor_get(x_33, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_33); -x_133 = lean_ctor_get(x_34, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_34, 1); +lean_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; uint8_t x_140; +x_133 = lean_ctor_get(x_33, 0); +x_134 = lean_ctor_get(x_33, 1); lean_inc(x_134); -x_135 = lean_ctor_get(x_34, 2); +lean_inc(x_133); +lean_dec(x_33); +x_135 = lean_ctor_get(x_34, 0); lean_inc(x_135); +x_136 = lean_ctor_get(x_34, 1); +lean_inc(x_136); +x_137 = lean_ctor_get(x_34, 2); +lean_inc(x_137); if (lean_is_exclusive(x_34)) { lean_ctor_release(x_34, 0); lean_ctor_release(x_34, 1); lean_ctor_release(x_34, 2); - x_136 = x_34; + x_138 = x_34; } else { lean_dec_ref(x_34); - x_136 = lean_box(0); + x_138 = lean_box(0); } -x_137 = lean_array_get_size(x_133); -x_138 = lean_nat_dec_lt(x_2, x_137); -lean_dec(x_137); -if (x_138 == 0) +x_139 = lean_array_get_size(x_135); +x_140 = lean_nat_dec_lt(x_2, x_139); +lean_dec(x_139); +if (x_140 == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_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_dec(x_29); lean_dec(x_19); lean_dec(x_2); -if (lean_is_scalar(x_136)) { - x_139 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_138)) { + x_141 = lean_alloc_ctor(0, 3, 0); } else { - x_139 = x_136; + x_141 = x_138; } -lean_ctor_set(x_139, 0, x_133); -lean_ctor_set(x_139, 1, x_134); -lean_ctor_set(x_139, 2, x_135); -x_140 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_140, 0, x_131); -lean_ctor_set(x_140, 1, x_132); -lean_ctor_set(x_140, 2, x_139); -lean_ctor_set(x_32, 13, x_140); -x_141 = lean_st_ref_set(x_3, x_32, x_35); +lean_ctor_set(x_141, 0, x_135); +lean_ctor_set(x_141, 1, x_136); +lean_ctor_set(x_141, 2, x_137); +x_142 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_142, 0, x_133); +lean_ctor_set(x_142, 1, x_134); +lean_ctor_set(x_142, 2, x_141); +lean_ctor_set(x_32, 13, x_142); +x_143 = lean_st_ref_set(x_3, x_32, x_35); lean_dec(x_3); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_143 = x_141; -} else { - lean_dec_ref(x_141); - x_143 = lean_box(0); -} -x_144 = lean_box(0); -if (lean_is_scalar(x_143)) { - x_145 = lean_alloc_ctor(0, 2, 0); -} else { +x_144 = lean_ctor_get(x_143, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); x_145 = x_143; +} else { + lean_dec_ref(x_143); + x_145 = lean_box(0); } -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_142); -return x_145; +x_146 = lean_box(0); +if (lean_is_scalar(x_145)) { + x_147 = lean_alloc_ctor(0, 2, 0); +} else { + x_147 = x_145; +} +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_144); +return x_147; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_146 = lean_array_fget(x_133, x_2); -x_147 = lean_box(0); -x_148 = lean_array_fset(x_133, x_2, x_147); -x_149 = lean_ctor_get(x_146, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_146, 1); -lean_inc(x_150); -x_151 = lean_ctor_get(x_146, 2); +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_148 = lean_array_fget(x_135, x_2); +x_149 = lean_box(0); +x_150 = lean_array_fset(x_135, x_2, x_149); +x_151 = lean_ctor_get(x_148, 0); lean_inc(x_151); -x_152 = lean_ctor_get(x_146, 3); +x_152 = lean_ctor_get(x_148, 1); lean_inc(x_152); -x_153 = lean_ctor_get(x_146, 4); +x_153 = lean_ctor_get(x_148, 2); lean_inc(x_153); -x_154 = lean_ctor_get(x_146, 5); +x_154 = lean_ctor_get(x_148, 3); lean_inc(x_154); -x_155 = lean_ctor_get(x_146, 6); +x_155 = lean_ctor_get(x_148, 4); lean_inc(x_155); -x_156 = lean_ctor_get(x_146, 7); +x_156 = lean_ctor_get(x_148, 5); lean_inc(x_156); -x_157 = lean_ctor_get(x_146, 8); +x_157 = lean_ctor_get(x_148, 6); lean_inc(x_157); -x_158 = lean_ctor_get(x_146, 9); +x_158 = lean_ctor_get(x_148, 7); lean_inc(x_158); -x_159 = lean_ctor_get(x_146, 10); +x_159 = lean_ctor_get(x_148, 8); lean_inc(x_159); -x_160 = lean_ctor_get(x_146, 11); +x_160 = lean_ctor_get(x_148, 9); lean_inc(x_160); -x_161 = lean_ctor_get(x_146, 12); +x_161 = lean_ctor_get(x_148, 10); lean_inc(x_161); -x_162 = lean_ctor_get(x_146, 13); +x_162 = lean_ctor_get(x_148, 11); lean_inc(x_162); -x_163 = lean_ctor_get(x_146, 14); +x_163 = lean_ctor_get(x_148, 12); lean_inc(x_163); -x_164 = lean_ctor_get(x_146, 15); +x_164 = lean_ctor_get(x_148, 13); lean_inc(x_164); -x_165 = lean_ctor_get(x_146, 16); +x_165 = lean_ctor_get(x_148, 14); lean_inc(x_165); -x_166 = lean_ctor_get(x_146, 17); +x_166 = lean_ctor_get(x_148, 15); lean_inc(x_166); -x_167 = lean_ctor_get(x_146, 18); +x_167 = lean_ctor_get(x_148, 16); lean_inc(x_167); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - lean_ctor_release(x_146, 3); - lean_ctor_release(x_146, 4); - lean_ctor_release(x_146, 5); - lean_ctor_release(x_146, 6); - lean_ctor_release(x_146, 7); - lean_ctor_release(x_146, 8); - lean_ctor_release(x_146, 9); - lean_ctor_release(x_146, 10); - lean_ctor_release(x_146, 11); - lean_ctor_release(x_146, 12); - lean_ctor_release(x_146, 13); - lean_ctor_release(x_146, 14); - lean_ctor_release(x_146, 15); - lean_ctor_release(x_146, 16); - lean_ctor_release(x_146, 17); - lean_ctor_release(x_146, 18); - x_168 = x_146; +x_168 = lean_ctor_get(x_148, 17); +lean_inc(x_168); +x_169 = lean_ctor_get(x_148, 18); +lean_inc(x_169); +x_170 = lean_ctor_get(x_148, 19); +lean_inc(x_170); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + lean_ctor_release(x_148, 2); + lean_ctor_release(x_148, 3); + lean_ctor_release(x_148, 4); + lean_ctor_release(x_148, 5); + lean_ctor_release(x_148, 6); + lean_ctor_release(x_148, 7); + lean_ctor_release(x_148, 8); + lean_ctor_release(x_148, 9); + lean_ctor_release(x_148, 10); + lean_ctor_release(x_148, 11); + lean_ctor_release(x_148, 12); + lean_ctor_release(x_148, 13); + lean_ctor_release(x_148, 14); + lean_ctor_release(x_148, 15); + lean_ctor_release(x_148, 16); + lean_ctor_release(x_148, 17); + lean_ctor_release(x_148, 18); + lean_ctor_release(x_148, 19); + x_171 = x_148; } else { - lean_dec_ref(x_146); - x_168 = lean_box(0); + lean_dec_ref(x_148); + x_171 = lean_box(0); } -x_169 = l_Lean_PersistentArray_set___rarg(x_167, x_19, x_29); +x_172 = l_Lean_PersistentArray_set___rarg(x_170, x_19, x_29); lean_dec(x_19); -if (lean_is_scalar(x_168)) { - x_170 = lean_alloc_ctor(0, 19, 0); +if (lean_is_scalar(x_171)) { + x_173 = lean_alloc_ctor(0, 20, 0); } else { - x_170 = x_168; + x_173 = x_171; } -lean_ctor_set(x_170, 0, x_149); -lean_ctor_set(x_170, 1, x_150); -lean_ctor_set(x_170, 2, x_151); -lean_ctor_set(x_170, 3, x_152); -lean_ctor_set(x_170, 4, x_153); -lean_ctor_set(x_170, 5, x_154); -lean_ctor_set(x_170, 6, x_155); -lean_ctor_set(x_170, 7, x_156); -lean_ctor_set(x_170, 8, x_157); -lean_ctor_set(x_170, 9, x_158); -lean_ctor_set(x_170, 10, x_159); -lean_ctor_set(x_170, 11, x_160); -lean_ctor_set(x_170, 12, x_161); -lean_ctor_set(x_170, 13, x_162); -lean_ctor_set(x_170, 14, x_163); -lean_ctor_set(x_170, 15, x_164); -lean_ctor_set(x_170, 16, x_165); -lean_ctor_set(x_170, 17, x_166); -lean_ctor_set(x_170, 18, x_169); -x_171 = lean_array_fset(x_148, x_2, x_170); +lean_ctor_set(x_173, 0, x_151); +lean_ctor_set(x_173, 1, x_152); +lean_ctor_set(x_173, 2, x_153); +lean_ctor_set(x_173, 3, x_154); +lean_ctor_set(x_173, 4, x_155); +lean_ctor_set(x_173, 5, x_156); +lean_ctor_set(x_173, 6, x_157); +lean_ctor_set(x_173, 7, x_158); +lean_ctor_set(x_173, 8, x_159); +lean_ctor_set(x_173, 9, x_160); +lean_ctor_set(x_173, 10, x_161); +lean_ctor_set(x_173, 11, x_162); +lean_ctor_set(x_173, 12, x_163); +lean_ctor_set(x_173, 13, x_164); +lean_ctor_set(x_173, 14, x_165); +lean_ctor_set(x_173, 15, x_166); +lean_ctor_set(x_173, 16, x_167); +lean_ctor_set(x_173, 17, x_168); +lean_ctor_set(x_173, 18, x_169); +lean_ctor_set(x_173, 19, x_172); +x_174 = lean_array_fset(x_150, x_2, x_173); lean_dec(x_2); -if (lean_is_scalar(x_136)) { - x_172 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_138)) { + x_175 = lean_alloc_ctor(0, 3, 0); } else { - x_172 = x_136; + x_175 = x_138; } -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_134); -lean_ctor_set(x_172, 2, x_135); -x_173 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_173, 0, x_131); -lean_ctor_set(x_173, 1, x_132); -lean_ctor_set(x_173, 2, x_172); -lean_ctor_set(x_32, 13, x_173); -x_174 = lean_st_ref_set(x_3, x_32, x_35); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_136); +lean_ctor_set(x_175, 2, x_137); +x_176 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_176, 0, x_133); +lean_ctor_set(x_176, 1, x_134); +lean_ctor_set(x_176, 2, x_175); +lean_ctor_set(x_32, 13, x_176); +x_177 = lean_st_ref_set(x_3, x_32, x_35); lean_dec(x_3); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_176 = x_174; +x_178 = lean_ctor_get(x_177, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + x_179 = x_177; } else { - lean_dec_ref(x_174); - x_176 = lean_box(0); + lean_dec_ref(x_177); + x_179 = lean_box(0); } -if (lean_is_scalar(x_176)) { - x_177 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(0, 2, 0); } else { - x_177 = x_176; + x_180 = x_179; } -lean_ctor_set(x_177, 0, x_147); -lean_ctor_set(x_177, 1, x_175); -return x_177; +lean_ctor_set(x_180, 0, x_149); +lean_ctor_set(x_180, 1, x_178); +return x_180; } } } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; -x_178 = lean_ctor_get(x_32, 0); -x_179 = lean_ctor_get(x_32, 1); -x_180 = lean_ctor_get(x_32, 2); -x_181 = lean_ctor_get(x_32, 3); -x_182 = lean_ctor_get(x_32, 4); -x_183 = lean_ctor_get(x_32, 5); -x_184 = lean_ctor_get(x_32, 6); -x_185 = lean_ctor_get_uint8(x_32, sizeof(void*)*15); -x_186 = lean_ctor_get(x_32, 7); -x_187 = lean_ctor_get(x_32, 8); -x_188 = lean_ctor_get(x_32, 9); -x_189 = lean_ctor_get(x_32, 10); -x_190 = lean_ctor_get(x_32, 11); -x_191 = lean_ctor_get(x_32, 12); -x_192 = lean_ctor_get(x_32, 14); +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_181 = lean_ctor_get(x_32, 0); +x_182 = lean_ctor_get(x_32, 1); +x_183 = lean_ctor_get(x_32, 2); +x_184 = lean_ctor_get(x_32, 3); +x_185 = lean_ctor_get(x_32, 4); +x_186 = lean_ctor_get(x_32, 5); +x_187 = lean_ctor_get(x_32, 6); +x_188 = lean_ctor_get_uint8(x_32, sizeof(void*)*15); +x_189 = lean_ctor_get(x_32, 7); +x_190 = lean_ctor_get(x_32, 8); +x_191 = lean_ctor_get(x_32, 9); +x_192 = lean_ctor_get(x_32, 10); +x_193 = lean_ctor_get(x_32, 11); +x_194 = lean_ctor_get(x_32, 12); +x_195 = lean_ctor_get(x_32, 14); +lean_inc(x_195); +lean_inc(x_194); +lean_inc(x_193); lean_inc(x_192); lean_inc(x_191); lean_inc(x_190); lean_inc(x_189); -lean_inc(x_188); lean_inc(x_187); lean_inc(x_186); +lean_inc(x_185); lean_inc(x_184); lean_inc(x_183); lean_inc(x_182); lean_inc(x_181); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); lean_dec(x_32); -x_193 = lean_ctor_get(x_33, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_33, 1); -lean_inc(x_194); +x_196 = lean_ctor_get(x_33, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_33, 1); +lean_inc(x_197); if (lean_is_exclusive(x_33)) { lean_ctor_release(x_33, 0); lean_ctor_release(x_33, 1); lean_ctor_release(x_33, 2); - x_195 = x_33; + x_198 = x_33; } else { lean_dec_ref(x_33); - x_195 = lean_box(0); + x_198 = lean_box(0); } -x_196 = lean_ctor_get(x_34, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_34, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_34, 2); -lean_inc(x_198); +x_199 = lean_ctor_get(x_34, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_34, 1); +lean_inc(x_200); +x_201 = lean_ctor_get(x_34, 2); +lean_inc(x_201); if (lean_is_exclusive(x_34)) { lean_ctor_release(x_34, 0); lean_ctor_release(x_34, 1); lean_ctor_release(x_34, 2); - x_199 = x_34; + x_202 = x_34; } else { lean_dec_ref(x_34); - x_199 = lean_box(0); + x_202 = lean_box(0); } -x_200 = lean_array_get_size(x_196); -x_201 = lean_nat_dec_lt(x_2, x_200); -lean_dec(x_200); -if (x_201 == 0) +x_203 = lean_array_get_size(x_199); +x_204 = lean_nat_dec_lt(x_2, x_203); +lean_dec(x_203); +if (x_204 == 0) { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_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_dec(x_29); lean_dec(x_19); lean_dec(x_2); -if (lean_is_scalar(x_199)) { - x_202 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_202)) { + x_205 = lean_alloc_ctor(0, 3, 0); } else { - x_202 = x_199; + x_205 = x_202; } -lean_ctor_set(x_202, 0, x_196); -lean_ctor_set(x_202, 1, x_197); -lean_ctor_set(x_202, 2, x_198); -if (lean_is_scalar(x_195)) { - x_203 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_205, 0, x_199); +lean_ctor_set(x_205, 1, x_200); +lean_ctor_set(x_205, 2, x_201); +if (lean_is_scalar(x_198)) { + x_206 = lean_alloc_ctor(0, 3, 0); } else { - x_203 = x_195; + x_206 = x_198; } -lean_ctor_set(x_203, 0, x_193); -lean_ctor_set(x_203, 1, x_194); -lean_ctor_set(x_203, 2, x_202); -x_204 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_204, 0, x_178); -lean_ctor_set(x_204, 1, x_179); -lean_ctor_set(x_204, 2, x_180); -lean_ctor_set(x_204, 3, x_181); -lean_ctor_set(x_204, 4, x_182); -lean_ctor_set(x_204, 5, x_183); -lean_ctor_set(x_204, 6, x_184); -lean_ctor_set(x_204, 7, x_186); -lean_ctor_set(x_204, 8, x_187); -lean_ctor_set(x_204, 9, x_188); -lean_ctor_set(x_204, 10, x_189); -lean_ctor_set(x_204, 11, x_190); -lean_ctor_set(x_204, 12, x_191); -lean_ctor_set(x_204, 13, x_203); -lean_ctor_set(x_204, 14, x_192); -lean_ctor_set_uint8(x_204, sizeof(void*)*15, x_185); -x_205 = lean_st_ref_set(x_3, x_204, x_35); +lean_ctor_set(x_206, 0, x_196); +lean_ctor_set(x_206, 1, x_197); +lean_ctor_set(x_206, 2, x_205); +x_207 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_207, 0, x_181); +lean_ctor_set(x_207, 1, x_182); +lean_ctor_set(x_207, 2, x_183); +lean_ctor_set(x_207, 3, x_184); +lean_ctor_set(x_207, 4, x_185); +lean_ctor_set(x_207, 5, x_186); +lean_ctor_set(x_207, 6, x_187); +lean_ctor_set(x_207, 7, x_189); +lean_ctor_set(x_207, 8, x_190); +lean_ctor_set(x_207, 9, x_191); +lean_ctor_set(x_207, 10, x_192); +lean_ctor_set(x_207, 11, x_193); +lean_ctor_set(x_207, 12, x_194); +lean_ctor_set(x_207, 13, x_206); +lean_ctor_set(x_207, 14, x_195); +lean_ctor_set_uint8(x_207, sizeof(void*)*15, x_188); +x_208 = lean_st_ref_set(x_3, x_207, x_35); lean_dec(x_3); -x_206 = lean_ctor_get(x_205, 1); -lean_inc(x_206); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - x_207 = x_205; +x_209 = lean_ctor_get(x_208, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + x_210 = x_208; } else { - lean_dec_ref(x_205); - x_207 = lean_box(0); + lean_dec_ref(x_208); + x_210 = lean_box(0); } -x_208 = lean_box(0); -if (lean_is_scalar(x_207)) { - x_209 = lean_alloc_ctor(0, 2, 0); -} else { - x_209 = x_207; -} -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_206); -return x_209; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_210 = lean_array_fget(x_196, x_2); x_211 = lean_box(0); -x_212 = lean_array_fset(x_196, x_2, x_211); -x_213 = lean_ctor_get(x_210, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_210, 1); -lean_inc(x_214); -x_215 = lean_ctor_get(x_210, 2); -lean_inc(x_215); -x_216 = lean_ctor_get(x_210, 3); +if (lean_is_scalar(x_210)) { + x_212 = lean_alloc_ctor(0, 2, 0); +} else { + x_212 = x_210; +} +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_209); +return x_212; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_213 = lean_array_fget(x_199, x_2); +x_214 = lean_box(0); +x_215 = lean_array_fset(x_199, x_2, x_214); +x_216 = lean_ctor_get(x_213, 0); lean_inc(x_216); -x_217 = lean_ctor_get(x_210, 4); +x_217 = lean_ctor_get(x_213, 1); lean_inc(x_217); -x_218 = lean_ctor_get(x_210, 5); +x_218 = lean_ctor_get(x_213, 2); lean_inc(x_218); -x_219 = lean_ctor_get(x_210, 6); +x_219 = lean_ctor_get(x_213, 3); lean_inc(x_219); -x_220 = lean_ctor_get(x_210, 7); +x_220 = lean_ctor_get(x_213, 4); lean_inc(x_220); -x_221 = lean_ctor_get(x_210, 8); +x_221 = lean_ctor_get(x_213, 5); lean_inc(x_221); -x_222 = lean_ctor_get(x_210, 9); +x_222 = lean_ctor_get(x_213, 6); lean_inc(x_222); -x_223 = lean_ctor_get(x_210, 10); +x_223 = lean_ctor_get(x_213, 7); lean_inc(x_223); -x_224 = lean_ctor_get(x_210, 11); +x_224 = lean_ctor_get(x_213, 8); lean_inc(x_224); -x_225 = lean_ctor_get(x_210, 12); +x_225 = lean_ctor_get(x_213, 9); lean_inc(x_225); -x_226 = lean_ctor_get(x_210, 13); +x_226 = lean_ctor_get(x_213, 10); lean_inc(x_226); -x_227 = lean_ctor_get(x_210, 14); +x_227 = lean_ctor_get(x_213, 11); lean_inc(x_227); -x_228 = lean_ctor_get(x_210, 15); +x_228 = lean_ctor_get(x_213, 12); lean_inc(x_228); -x_229 = lean_ctor_get(x_210, 16); +x_229 = lean_ctor_get(x_213, 13); lean_inc(x_229); -x_230 = lean_ctor_get(x_210, 17); +x_230 = lean_ctor_get(x_213, 14); lean_inc(x_230); -x_231 = lean_ctor_get(x_210, 18); +x_231 = lean_ctor_get(x_213, 15); lean_inc(x_231); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - lean_ctor_release(x_210, 2); - lean_ctor_release(x_210, 3); - lean_ctor_release(x_210, 4); - lean_ctor_release(x_210, 5); - lean_ctor_release(x_210, 6); - lean_ctor_release(x_210, 7); - lean_ctor_release(x_210, 8); - lean_ctor_release(x_210, 9); - lean_ctor_release(x_210, 10); - lean_ctor_release(x_210, 11); - lean_ctor_release(x_210, 12); - lean_ctor_release(x_210, 13); - lean_ctor_release(x_210, 14); - lean_ctor_release(x_210, 15); - lean_ctor_release(x_210, 16); - lean_ctor_release(x_210, 17); - lean_ctor_release(x_210, 18); - x_232 = x_210; +x_232 = lean_ctor_get(x_213, 16); +lean_inc(x_232); +x_233 = lean_ctor_get(x_213, 17); +lean_inc(x_233); +x_234 = lean_ctor_get(x_213, 18); +lean_inc(x_234); +x_235 = lean_ctor_get(x_213, 19); +lean_inc(x_235); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + lean_ctor_release(x_213, 2); + lean_ctor_release(x_213, 3); + lean_ctor_release(x_213, 4); + lean_ctor_release(x_213, 5); + lean_ctor_release(x_213, 6); + lean_ctor_release(x_213, 7); + lean_ctor_release(x_213, 8); + lean_ctor_release(x_213, 9); + lean_ctor_release(x_213, 10); + lean_ctor_release(x_213, 11); + lean_ctor_release(x_213, 12); + lean_ctor_release(x_213, 13); + lean_ctor_release(x_213, 14); + lean_ctor_release(x_213, 15); + lean_ctor_release(x_213, 16); + lean_ctor_release(x_213, 17); + lean_ctor_release(x_213, 18); + lean_ctor_release(x_213, 19); + x_236 = x_213; } else { - lean_dec_ref(x_210); - x_232 = lean_box(0); + lean_dec_ref(x_213); + x_236 = lean_box(0); } -x_233 = l_Lean_PersistentArray_set___rarg(x_231, x_19, x_29); +x_237 = l_Lean_PersistentArray_set___rarg(x_235, x_19, x_29); lean_dec(x_19); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 19, 0); +if (lean_is_scalar(x_236)) { + x_238 = lean_alloc_ctor(0, 20, 0); } else { - x_234 = x_232; + x_238 = x_236; } -lean_ctor_set(x_234, 0, x_213); -lean_ctor_set(x_234, 1, x_214); -lean_ctor_set(x_234, 2, x_215); -lean_ctor_set(x_234, 3, x_216); -lean_ctor_set(x_234, 4, x_217); -lean_ctor_set(x_234, 5, x_218); -lean_ctor_set(x_234, 6, x_219); -lean_ctor_set(x_234, 7, x_220); -lean_ctor_set(x_234, 8, x_221); -lean_ctor_set(x_234, 9, x_222); -lean_ctor_set(x_234, 10, x_223); -lean_ctor_set(x_234, 11, x_224); -lean_ctor_set(x_234, 12, x_225); -lean_ctor_set(x_234, 13, x_226); -lean_ctor_set(x_234, 14, x_227); -lean_ctor_set(x_234, 15, x_228); -lean_ctor_set(x_234, 16, x_229); -lean_ctor_set(x_234, 17, x_230); -lean_ctor_set(x_234, 18, x_233); -x_235 = lean_array_fset(x_212, x_2, x_234); +lean_ctor_set(x_238, 0, x_216); +lean_ctor_set(x_238, 1, x_217); +lean_ctor_set(x_238, 2, x_218); +lean_ctor_set(x_238, 3, x_219); +lean_ctor_set(x_238, 4, x_220); +lean_ctor_set(x_238, 5, x_221); +lean_ctor_set(x_238, 6, x_222); +lean_ctor_set(x_238, 7, x_223); +lean_ctor_set(x_238, 8, x_224); +lean_ctor_set(x_238, 9, x_225); +lean_ctor_set(x_238, 10, x_226); +lean_ctor_set(x_238, 11, x_227); +lean_ctor_set(x_238, 12, x_228); +lean_ctor_set(x_238, 13, x_229); +lean_ctor_set(x_238, 14, x_230); +lean_ctor_set(x_238, 15, x_231); +lean_ctor_set(x_238, 16, x_232); +lean_ctor_set(x_238, 17, x_233); +lean_ctor_set(x_238, 18, x_234); +lean_ctor_set(x_238, 19, x_237); +x_239 = lean_array_fset(x_215, x_2, x_238); lean_dec(x_2); -if (lean_is_scalar(x_199)) { - x_236 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_202)) { + x_240 = lean_alloc_ctor(0, 3, 0); } else { - x_236 = x_199; + x_240 = x_202; } -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_197); -lean_ctor_set(x_236, 2, x_198); -if (lean_is_scalar(x_195)) { - x_237 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_200); +lean_ctor_set(x_240, 2, x_201); +if (lean_is_scalar(x_198)) { + x_241 = lean_alloc_ctor(0, 3, 0); } else { - x_237 = x_195; + x_241 = x_198; } -lean_ctor_set(x_237, 0, x_193); -lean_ctor_set(x_237, 1, x_194); -lean_ctor_set(x_237, 2, x_236); -x_238 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_238, 0, x_178); -lean_ctor_set(x_238, 1, x_179); -lean_ctor_set(x_238, 2, x_180); -lean_ctor_set(x_238, 3, x_181); -lean_ctor_set(x_238, 4, x_182); -lean_ctor_set(x_238, 5, x_183); -lean_ctor_set(x_238, 6, x_184); -lean_ctor_set(x_238, 7, x_186); -lean_ctor_set(x_238, 8, x_187); -lean_ctor_set(x_238, 9, x_188); -lean_ctor_set(x_238, 10, x_189); -lean_ctor_set(x_238, 11, x_190); -lean_ctor_set(x_238, 12, x_191); -lean_ctor_set(x_238, 13, x_237); -lean_ctor_set(x_238, 14, x_192); -lean_ctor_set_uint8(x_238, sizeof(void*)*15, x_185); -x_239 = lean_st_ref_set(x_3, x_238, x_35); +lean_ctor_set(x_241, 0, x_196); +lean_ctor_set(x_241, 1, x_197); +lean_ctor_set(x_241, 2, x_240); +x_242 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_242, 0, x_181); +lean_ctor_set(x_242, 1, x_182); +lean_ctor_set(x_242, 2, x_183); +lean_ctor_set(x_242, 3, x_184); +lean_ctor_set(x_242, 4, x_185); +lean_ctor_set(x_242, 5, x_186); +lean_ctor_set(x_242, 6, x_187); +lean_ctor_set(x_242, 7, x_189); +lean_ctor_set(x_242, 8, x_190); +lean_ctor_set(x_242, 9, x_191); +lean_ctor_set(x_242, 10, x_192); +lean_ctor_set(x_242, 11, x_193); +lean_ctor_set(x_242, 12, x_194); +lean_ctor_set(x_242, 13, x_241); +lean_ctor_set(x_242, 14, x_195); +lean_ctor_set_uint8(x_242, sizeof(void*)*15, x_188); +x_243 = lean_st_ref_set(x_3, x_242, x_35); lean_dec(x_3); -x_240 = lean_ctor_get(x_239, 1); -lean_inc(x_240); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_241 = x_239; +x_244 = lean_ctor_get(x_243, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_243)) { + lean_ctor_release(x_243, 0); + lean_ctor_release(x_243, 1); + x_245 = x_243; } else { - lean_dec_ref(x_239); - x_241 = lean_box(0); + lean_dec_ref(x_243); + x_245 = lean_box(0); } -if (lean_is_scalar(x_241)) { - x_242 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_245)) { + x_246 = lean_alloc_ctor(0, 2, 0); } else { - x_242 = x_241; + x_246 = x_245; } -lean_ctor_set(x_242, 0, x_211); -lean_ctor_set(x_242, 1, x_240); -return x_242; +lean_ctor_set(x_246, 0, x_214); +lean_ctor_set(x_246, 1, x_244); +return x_246; } } } else { -uint8_t x_243; +uint8_t x_247; lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); -x_243 = !lean_is_exclusive(x_28); -if (x_243 == 0) +x_247 = !lean_is_exclusive(x_28); +if (x_247 == 0) { return x_28; } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_28, 0); -x_245 = lean_ctor_get(x_28, 1); -lean_inc(x_245); -lean_inc(x_244); +lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_248 = lean_ctor_get(x_28, 0); +x_249 = lean_ctor_get(x_28, 1); +lean_inc(x_249); +lean_inc(x_248); lean_dec(x_28); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_248); +lean_ctor_set(x_250, 1, x_249); +return x_250; } } } } else { -uint8_t x_250; +uint8_t x_254; lean_dec(x_19); lean_dec(x_15); lean_dec(x_10); @@ -7935,23 +10578,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_250 = !lean_is_exclusive(x_20); -if (x_250 == 0) +x_254 = !lean_is_exclusive(x_20); +if (x_254 == 0) { return x_20; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_20, 0); -x_252 = lean_ctor_get(x_20, 1); -lean_inc(x_252); -lean_inc(x_251); +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = lean_ctor_get(x_20, 0); +x_256 = lean_ctor_get(x_20, 1); +lean_inc(x_256); +lean_inc(x_255); lean_dec(x_20); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_251); -lean_ctor_set(x_253, 1, x_252); -return x_253; +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +return x_257; } } } @@ -10428,9 +13071,9 @@ x_36 = !lean_is_exclusive(x_33); if (x_36 == 0) { lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_37 = lean_ctor_get(x_33, 17); +x_37 = lean_ctor_get(x_33, 18); x_38 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_37, x_1, x_34); -lean_ctor_set(x_33, 17, x_38); +lean_ctor_set(x_33, 18, x_38); x_39 = lean_array_fset(x_35, x_3, x_33); lean_ctor_set(x_16, 0, x_39); x_40 = lean_st_ref_set(x_4, x_14, x_17); @@ -10457,7 +13100,7 @@ return x_44; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; x_45 = lean_ctor_get(x_33, 0); x_46 = lean_ctor_get(x_33, 1); x_47 = lean_ctor_get(x_33, 2); @@ -10477,6 +13120,8 @@ x_60 = lean_ctor_get(x_33, 15); x_61 = lean_ctor_get(x_33, 16); x_62 = lean_ctor_get(x_33, 17); x_63 = lean_ctor_get(x_33, 18); +x_64 = lean_ctor_get(x_33, 19); +lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); @@ -10497,679 +13142,692 @@ lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_dec(x_33); -x_64 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_62, x_1, x_34); -x_65 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_65, 0, x_45); -lean_ctor_set(x_65, 1, x_46); -lean_ctor_set(x_65, 2, x_47); -lean_ctor_set(x_65, 3, x_48); -lean_ctor_set(x_65, 4, x_49); -lean_ctor_set(x_65, 5, x_50); -lean_ctor_set(x_65, 6, x_51); -lean_ctor_set(x_65, 7, x_52); -lean_ctor_set(x_65, 8, x_53); -lean_ctor_set(x_65, 9, x_54); -lean_ctor_set(x_65, 10, x_55); -lean_ctor_set(x_65, 11, x_56); -lean_ctor_set(x_65, 12, x_57); -lean_ctor_set(x_65, 13, x_58); -lean_ctor_set(x_65, 14, x_59); -lean_ctor_set(x_65, 15, x_60); -lean_ctor_set(x_65, 16, x_61); -lean_ctor_set(x_65, 17, x_64); -lean_ctor_set(x_65, 18, x_63); -x_66 = lean_array_fset(x_35, x_3, x_65); -lean_ctor_set(x_16, 0, x_66); -x_67 = lean_st_ref_set(x_4, x_14, x_17); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; +x_65 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_63, x_1, x_34); +x_66 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_66, 0, x_45); +lean_ctor_set(x_66, 1, x_46); +lean_ctor_set(x_66, 2, x_47); +lean_ctor_set(x_66, 3, x_48); +lean_ctor_set(x_66, 4, x_49); +lean_ctor_set(x_66, 5, x_50); +lean_ctor_set(x_66, 6, x_51); +lean_ctor_set(x_66, 7, x_52); +lean_ctor_set(x_66, 8, x_53); +lean_ctor_set(x_66, 9, x_54); +lean_ctor_set(x_66, 10, x_55); +lean_ctor_set(x_66, 11, x_56); +lean_ctor_set(x_66, 12, x_57); +lean_ctor_set(x_66, 13, x_58); +lean_ctor_set(x_66, 14, x_59); +lean_ctor_set(x_66, 15, x_60); +lean_ctor_set(x_66, 16, x_61); +lean_ctor_set(x_66, 17, x_62); +lean_ctor_set(x_66, 18, x_65); +lean_ctor_set(x_66, 19, x_64); +x_67 = lean_array_fset(x_35, x_3, x_66); +lean_ctor_set(x_16, 0, x_67); +x_68 = lean_st_ref_set(x_4, x_14, x_17); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; } else { - lean_dec_ref(x_67); - x_69 = lean_box(0); + lean_dec_ref(x_68); + x_70 = lean_box(0); } -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_69; + x_71 = x_70; } -lean_ctor_set(x_70, 0, x_34); -lean_ctor_set(x_70, 1, x_68); -return x_70; +lean_ctor_set(x_71, 0, x_34); +lean_ctor_set(x_71, 1, x_69); +return x_71; } } } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_71 = lean_ctor_get(x_16, 0); -x_72 = lean_ctor_get(x_16, 1); -x_73 = lean_ctor_get(x_16, 2); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_16, 0); +x_73 = lean_ctor_get(x_16, 1); +x_74 = lean_ctor_get(x_16, 2); +lean_inc(x_74); lean_inc(x_73); lean_inc(x_72); -lean_inc(x_71); lean_dec(x_16); -x_74 = lean_array_get_size(x_71); -x_75 = lean_nat_dec_lt(x_3, x_74); -lean_dec(x_74); -if (x_75 == 0) +x_75 = lean_array_get_size(x_72); +x_76 = lean_nat_dec_lt(x_3, x_75); +lean_dec(x_75); +if (x_76 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_dec(x_1); -x_76 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_76, 0, x_71); -lean_ctor_set(x_76, 1, x_72); -lean_ctor_set(x_76, 2, x_73); -lean_ctor_set(x_15, 2, x_76); -x_77 = lean_st_ref_set(x_4, x_14, x_17); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_79 = x_77; +x_77 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_73); +lean_ctor_set(x_77, 2, x_74); +lean_ctor_set(x_15, 2, x_77); +x_78 = lean_st_ref_set(x_4, x_14, x_17); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_80 = x_78; } else { - lean_dec_ref(x_77); - x_79 = lean_box(0); + lean_dec_ref(x_78); + x_80 = lean_box(0); } -x_80 = lean_box(0); -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(0, 2, 0); +x_81 = lean_box(0); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 2, 0); } else { - x_81 = x_79; + x_82 = x_80; } -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_78); -return x_81; +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_79); +return x_82; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_82 = lean_array_fget(x_71, x_3); -x_83 = lean_box(0); -x_84 = lean_array_fset(x_71, x_3, x_83); -x_85 = lean_ctor_get(x_82, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_82, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_83 = lean_array_fget(x_72, x_3); +x_84 = lean_box(0); +x_85 = lean_array_fset(x_72, x_3, x_84); +x_86 = lean_ctor_get(x_83, 0); lean_inc(x_86); -x_87 = lean_ctor_get(x_82, 2); +x_87 = lean_ctor_get(x_83, 1); lean_inc(x_87); -x_88 = lean_ctor_get(x_82, 3); +x_88 = lean_ctor_get(x_83, 2); lean_inc(x_88); -x_89 = lean_ctor_get(x_82, 4); +x_89 = lean_ctor_get(x_83, 3); lean_inc(x_89); -x_90 = lean_ctor_get(x_82, 5); +x_90 = lean_ctor_get(x_83, 4); lean_inc(x_90); -x_91 = lean_ctor_get(x_82, 6); +x_91 = lean_ctor_get(x_83, 5); lean_inc(x_91); -x_92 = lean_ctor_get(x_82, 7); +x_92 = lean_ctor_get(x_83, 6); lean_inc(x_92); -x_93 = lean_ctor_get(x_82, 8); +x_93 = lean_ctor_get(x_83, 7); lean_inc(x_93); -x_94 = lean_ctor_get(x_82, 9); +x_94 = lean_ctor_get(x_83, 8); lean_inc(x_94); -x_95 = lean_ctor_get(x_82, 10); +x_95 = lean_ctor_get(x_83, 9); lean_inc(x_95); -x_96 = lean_ctor_get(x_82, 11); +x_96 = lean_ctor_get(x_83, 10); lean_inc(x_96); -x_97 = lean_ctor_get(x_82, 12); +x_97 = lean_ctor_get(x_83, 11); lean_inc(x_97); -x_98 = lean_ctor_get(x_82, 13); +x_98 = lean_ctor_get(x_83, 12); lean_inc(x_98); -x_99 = lean_ctor_get(x_82, 14); +x_99 = lean_ctor_get(x_83, 13); lean_inc(x_99); -x_100 = lean_ctor_get(x_82, 15); +x_100 = lean_ctor_get(x_83, 14); lean_inc(x_100); -x_101 = lean_ctor_get(x_82, 16); +x_101 = lean_ctor_get(x_83, 15); lean_inc(x_101); -x_102 = lean_ctor_get(x_82, 17); +x_102 = lean_ctor_get(x_83, 16); lean_inc(x_102); -x_103 = lean_ctor_get(x_82, 18); +x_103 = lean_ctor_get(x_83, 17); lean_inc(x_103); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - lean_ctor_release(x_82, 3); - lean_ctor_release(x_82, 4); - lean_ctor_release(x_82, 5); - lean_ctor_release(x_82, 6); - lean_ctor_release(x_82, 7); - lean_ctor_release(x_82, 8); - lean_ctor_release(x_82, 9); - lean_ctor_release(x_82, 10); - lean_ctor_release(x_82, 11); - lean_ctor_release(x_82, 12); - lean_ctor_release(x_82, 13); - lean_ctor_release(x_82, 14); - lean_ctor_release(x_82, 15); - lean_ctor_release(x_82, 16); - lean_ctor_release(x_82, 17); - lean_ctor_release(x_82, 18); - x_104 = x_82; +x_104 = lean_ctor_get(x_83, 18); +lean_inc(x_104); +x_105 = lean_ctor_get(x_83, 19); +lean_inc(x_105); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + lean_ctor_release(x_83, 2); + lean_ctor_release(x_83, 3); + lean_ctor_release(x_83, 4); + lean_ctor_release(x_83, 5); + lean_ctor_release(x_83, 6); + lean_ctor_release(x_83, 7); + lean_ctor_release(x_83, 8); + lean_ctor_release(x_83, 9); + lean_ctor_release(x_83, 10); + lean_ctor_release(x_83, 11); + lean_ctor_release(x_83, 12); + lean_ctor_release(x_83, 13); + lean_ctor_release(x_83, 14); + lean_ctor_release(x_83, 15); + lean_ctor_release(x_83, 16); + lean_ctor_release(x_83, 17); + lean_ctor_release(x_83, 18); + lean_ctor_release(x_83, 19); + x_106 = x_83; } else { - lean_dec_ref(x_82); - x_104 = lean_box(0); + lean_dec_ref(x_83); + x_106 = lean_box(0); } -x_105 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_102, x_1, x_83); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 19, 0); +x_107 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_104, x_1, x_84); +if (lean_is_scalar(x_106)) { + x_108 = lean_alloc_ctor(0, 20, 0); } else { - x_106 = x_104; + x_108 = x_106; } -lean_ctor_set(x_106, 0, x_85); -lean_ctor_set(x_106, 1, x_86); -lean_ctor_set(x_106, 2, x_87); -lean_ctor_set(x_106, 3, x_88); -lean_ctor_set(x_106, 4, x_89); -lean_ctor_set(x_106, 5, x_90); -lean_ctor_set(x_106, 6, x_91); -lean_ctor_set(x_106, 7, x_92); -lean_ctor_set(x_106, 8, x_93); -lean_ctor_set(x_106, 9, x_94); -lean_ctor_set(x_106, 10, x_95); -lean_ctor_set(x_106, 11, x_96); -lean_ctor_set(x_106, 12, x_97); -lean_ctor_set(x_106, 13, x_98); -lean_ctor_set(x_106, 14, x_99); -lean_ctor_set(x_106, 15, x_100); -lean_ctor_set(x_106, 16, x_101); -lean_ctor_set(x_106, 17, x_105); -lean_ctor_set(x_106, 18, x_103); -x_107 = lean_array_fset(x_84, x_3, x_106); -x_108 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_72); -lean_ctor_set(x_108, 2, x_73); -lean_ctor_set(x_15, 2, x_108); -x_109 = lean_st_ref_set(x_4, x_14, x_17); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; +lean_ctor_set(x_108, 0, x_86); +lean_ctor_set(x_108, 1, x_87); +lean_ctor_set(x_108, 2, x_88); +lean_ctor_set(x_108, 3, x_89); +lean_ctor_set(x_108, 4, x_90); +lean_ctor_set(x_108, 5, x_91); +lean_ctor_set(x_108, 6, x_92); +lean_ctor_set(x_108, 7, x_93); +lean_ctor_set(x_108, 8, x_94); +lean_ctor_set(x_108, 9, x_95); +lean_ctor_set(x_108, 10, x_96); +lean_ctor_set(x_108, 11, x_97); +lean_ctor_set(x_108, 12, x_98); +lean_ctor_set(x_108, 13, x_99); +lean_ctor_set(x_108, 14, x_100); +lean_ctor_set(x_108, 15, x_101); +lean_ctor_set(x_108, 16, x_102); +lean_ctor_set(x_108, 17, x_103); +lean_ctor_set(x_108, 18, x_107); +lean_ctor_set(x_108, 19, x_105); +x_109 = lean_array_fset(x_85, x_3, x_108); +x_110 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_73); +lean_ctor_set(x_110, 2, x_74); +lean_ctor_set(x_15, 2, x_110); +x_111 = lean_st_ref_set(x_4, x_14, x_17); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_111); + x_113 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_114 = x_113; } -lean_ctor_set(x_112, 0, x_83); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_ctor_set(x_114, 0, x_84); +lean_ctor_set(x_114, 1, x_112); +return x_114; } } } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_113 = lean_ctor_get(x_15, 0); -x_114 = lean_ctor_get(x_15, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_15); -x_115 = lean_ctor_get(x_16, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_16, 1); +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_115 = lean_ctor_get(x_15, 0); +x_116 = lean_ctor_get(x_15, 1); lean_inc(x_116); -x_117 = lean_ctor_get(x_16, 2); +lean_inc(x_115); +lean_dec(x_15); +x_117 = lean_ctor_get(x_16, 0); lean_inc(x_117); +x_118 = lean_ctor_get(x_16, 1); +lean_inc(x_118); +x_119 = lean_ctor_get(x_16, 2); +lean_inc(x_119); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); lean_ctor_release(x_16, 1); lean_ctor_release(x_16, 2); - x_118 = x_16; + x_120 = x_16; } else { lean_dec_ref(x_16); - x_118 = lean_box(0); + x_120 = lean_box(0); } -x_119 = lean_array_get_size(x_115); -x_120 = lean_nat_dec_lt(x_3, x_119); -lean_dec(x_119); -if (x_120 == 0) +x_121 = lean_array_get_size(x_117); +x_122 = lean_nat_dec_lt(x_3, x_121); +lean_dec(x_121); +if (x_122 == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_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_dec(x_1); -if (lean_is_scalar(x_118)) { - x_121 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_120)) { + x_123 = lean_alloc_ctor(0, 3, 0); } else { - x_121 = x_118; + x_123 = x_120; } -lean_ctor_set(x_121, 0, x_115); -lean_ctor_set(x_121, 1, x_116); -lean_ctor_set(x_121, 2, x_117); -x_122 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_122, 0, x_113); -lean_ctor_set(x_122, 1, x_114); -lean_ctor_set(x_122, 2, x_121); -lean_ctor_set(x_14, 13, x_122); -x_123 = lean_st_ref_set(x_4, x_14, x_17); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_125 = x_123; -} else { - lean_dec_ref(x_123); - x_125 = lean_box(0); -} -x_126 = lean_box(0); -if (lean_is_scalar(x_125)) { - x_127 = lean_alloc_ctor(0, 2, 0); -} else { +lean_ctor_set(x_123, 0, x_117); +lean_ctor_set(x_123, 1, x_118); +lean_ctor_set(x_123, 2, x_119); +x_124 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_124, 0, x_115); +lean_ctor_set(x_124, 1, x_116); +lean_ctor_set(x_124, 2, x_123); +lean_ctor_set(x_14, 13, x_124); +x_125 = lean_st_ref_set(x_4, x_14, x_17); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); } -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_124); -return x_127; +x_128 = lean_box(0); +if (lean_is_scalar(x_127)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_127; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +return x_129; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_128 = lean_array_fget(x_115, x_3); -x_129 = lean_box(0); -x_130 = lean_array_fset(x_115, x_3, x_129); -x_131 = lean_ctor_get(x_128, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_128, 1); -lean_inc(x_132); -x_133 = lean_ctor_get(x_128, 2); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_130 = lean_array_fget(x_117, x_3); +x_131 = lean_box(0); +x_132 = lean_array_fset(x_117, x_3, x_131); +x_133 = lean_ctor_get(x_130, 0); lean_inc(x_133); -x_134 = lean_ctor_get(x_128, 3); +x_134 = lean_ctor_get(x_130, 1); lean_inc(x_134); -x_135 = lean_ctor_get(x_128, 4); +x_135 = lean_ctor_get(x_130, 2); lean_inc(x_135); -x_136 = lean_ctor_get(x_128, 5); +x_136 = lean_ctor_get(x_130, 3); lean_inc(x_136); -x_137 = lean_ctor_get(x_128, 6); +x_137 = lean_ctor_get(x_130, 4); lean_inc(x_137); -x_138 = lean_ctor_get(x_128, 7); +x_138 = lean_ctor_get(x_130, 5); lean_inc(x_138); -x_139 = lean_ctor_get(x_128, 8); +x_139 = lean_ctor_get(x_130, 6); lean_inc(x_139); -x_140 = lean_ctor_get(x_128, 9); +x_140 = lean_ctor_get(x_130, 7); lean_inc(x_140); -x_141 = lean_ctor_get(x_128, 10); +x_141 = lean_ctor_get(x_130, 8); lean_inc(x_141); -x_142 = lean_ctor_get(x_128, 11); +x_142 = lean_ctor_get(x_130, 9); lean_inc(x_142); -x_143 = lean_ctor_get(x_128, 12); +x_143 = lean_ctor_get(x_130, 10); lean_inc(x_143); -x_144 = lean_ctor_get(x_128, 13); +x_144 = lean_ctor_get(x_130, 11); lean_inc(x_144); -x_145 = lean_ctor_get(x_128, 14); +x_145 = lean_ctor_get(x_130, 12); lean_inc(x_145); -x_146 = lean_ctor_get(x_128, 15); +x_146 = lean_ctor_get(x_130, 13); lean_inc(x_146); -x_147 = lean_ctor_get(x_128, 16); +x_147 = lean_ctor_get(x_130, 14); lean_inc(x_147); -x_148 = lean_ctor_get(x_128, 17); +x_148 = lean_ctor_get(x_130, 15); lean_inc(x_148); -x_149 = lean_ctor_get(x_128, 18); +x_149 = lean_ctor_get(x_130, 16); lean_inc(x_149); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - lean_ctor_release(x_128, 2); - lean_ctor_release(x_128, 3); - lean_ctor_release(x_128, 4); - lean_ctor_release(x_128, 5); - lean_ctor_release(x_128, 6); - lean_ctor_release(x_128, 7); - lean_ctor_release(x_128, 8); - lean_ctor_release(x_128, 9); - lean_ctor_release(x_128, 10); - lean_ctor_release(x_128, 11); - lean_ctor_release(x_128, 12); - lean_ctor_release(x_128, 13); - lean_ctor_release(x_128, 14); - lean_ctor_release(x_128, 15); - lean_ctor_release(x_128, 16); - lean_ctor_release(x_128, 17); - lean_ctor_release(x_128, 18); - x_150 = x_128; +x_150 = lean_ctor_get(x_130, 17); +lean_inc(x_150); +x_151 = lean_ctor_get(x_130, 18); +lean_inc(x_151); +x_152 = lean_ctor_get(x_130, 19); +lean_inc(x_152); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + lean_ctor_release(x_130, 2); + lean_ctor_release(x_130, 3); + lean_ctor_release(x_130, 4); + lean_ctor_release(x_130, 5); + lean_ctor_release(x_130, 6); + lean_ctor_release(x_130, 7); + lean_ctor_release(x_130, 8); + lean_ctor_release(x_130, 9); + lean_ctor_release(x_130, 10); + lean_ctor_release(x_130, 11); + lean_ctor_release(x_130, 12); + lean_ctor_release(x_130, 13); + lean_ctor_release(x_130, 14); + lean_ctor_release(x_130, 15); + lean_ctor_release(x_130, 16); + lean_ctor_release(x_130, 17); + lean_ctor_release(x_130, 18); + lean_ctor_release(x_130, 19); + x_153 = x_130; } else { - lean_dec_ref(x_128); - x_150 = lean_box(0); + lean_dec_ref(x_130); + x_153 = lean_box(0); } -x_151 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_148, x_1, x_129); -if (lean_is_scalar(x_150)) { - x_152 = lean_alloc_ctor(0, 19, 0); +x_154 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_151, x_1, x_131); +if (lean_is_scalar(x_153)) { + x_155 = lean_alloc_ctor(0, 20, 0); } else { - x_152 = x_150; + x_155 = x_153; } -lean_ctor_set(x_152, 0, x_131); -lean_ctor_set(x_152, 1, x_132); -lean_ctor_set(x_152, 2, x_133); -lean_ctor_set(x_152, 3, x_134); -lean_ctor_set(x_152, 4, x_135); -lean_ctor_set(x_152, 5, x_136); -lean_ctor_set(x_152, 6, x_137); -lean_ctor_set(x_152, 7, x_138); -lean_ctor_set(x_152, 8, x_139); -lean_ctor_set(x_152, 9, x_140); -lean_ctor_set(x_152, 10, x_141); -lean_ctor_set(x_152, 11, x_142); -lean_ctor_set(x_152, 12, x_143); -lean_ctor_set(x_152, 13, x_144); -lean_ctor_set(x_152, 14, x_145); -lean_ctor_set(x_152, 15, x_146); -lean_ctor_set(x_152, 16, x_147); -lean_ctor_set(x_152, 17, x_151); -lean_ctor_set(x_152, 18, x_149); -x_153 = lean_array_fset(x_130, x_3, x_152); -if (lean_is_scalar(x_118)) { - x_154 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_155, 0, x_133); +lean_ctor_set(x_155, 1, x_134); +lean_ctor_set(x_155, 2, x_135); +lean_ctor_set(x_155, 3, x_136); +lean_ctor_set(x_155, 4, x_137); +lean_ctor_set(x_155, 5, x_138); +lean_ctor_set(x_155, 6, x_139); +lean_ctor_set(x_155, 7, x_140); +lean_ctor_set(x_155, 8, x_141); +lean_ctor_set(x_155, 9, x_142); +lean_ctor_set(x_155, 10, x_143); +lean_ctor_set(x_155, 11, x_144); +lean_ctor_set(x_155, 12, x_145); +lean_ctor_set(x_155, 13, x_146); +lean_ctor_set(x_155, 14, x_147); +lean_ctor_set(x_155, 15, x_148); +lean_ctor_set(x_155, 16, x_149); +lean_ctor_set(x_155, 17, x_150); +lean_ctor_set(x_155, 18, x_154); +lean_ctor_set(x_155, 19, x_152); +x_156 = lean_array_fset(x_132, x_3, x_155); +if (lean_is_scalar(x_120)) { + x_157 = lean_alloc_ctor(0, 3, 0); } else { - x_154 = x_118; + x_157 = x_120; } -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_116); -lean_ctor_set(x_154, 2, x_117); -x_155 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_155, 0, x_113); -lean_ctor_set(x_155, 1, x_114); -lean_ctor_set(x_155, 2, x_154); -lean_ctor_set(x_14, 13, x_155); -x_156 = lean_st_ref_set(x_4, x_14, x_17); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_158 = x_156; +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_118); +lean_ctor_set(x_157, 2, x_119); +x_158 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_158, 0, x_115); +lean_ctor_set(x_158, 1, x_116); +lean_ctor_set(x_158, 2, x_157); +lean_ctor_set(x_14, 13, x_158); +x_159 = lean_st_ref_set(x_4, x_14, x_17); +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_161 = x_159; } else { - lean_dec_ref(x_156); - x_158 = lean_box(0); + lean_dec_ref(x_159); + x_161 = lean_box(0); } -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_161)) { + x_162 = lean_alloc_ctor(0, 2, 0); } else { - x_159 = x_158; + x_162 = x_161; } -lean_ctor_set(x_159, 0, x_129); -lean_ctor_set(x_159, 1, x_157); -return x_159; +lean_ctor_set(x_162, 0, x_131); +lean_ctor_set(x_162, 1, x_160); +return x_162; } } } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_160 = lean_ctor_get(x_14, 0); -x_161 = lean_ctor_get(x_14, 1); -x_162 = lean_ctor_get(x_14, 2); -x_163 = lean_ctor_get(x_14, 3); -x_164 = lean_ctor_get(x_14, 4); -x_165 = lean_ctor_get(x_14, 5); -x_166 = lean_ctor_get(x_14, 6); -x_167 = lean_ctor_get_uint8(x_14, sizeof(void*)*15); -x_168 = lean_ctor_get(x_14, 7); -x_169 = lean_ctor_get(x_14, 8); -x_170 = lean_ctor_get(x_14, 9); -x_171 = lean_ctor_get(x_14, 10); -x_172 = lean_ctor_get(x_14, 11); -x_173 = lean_ctor_get(x_14, 12); -x_174 = lean_ctor_get(x_14, 14); +lean_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; uint8_t x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; +x_163 = lean_ctor_get(x_14, 0); +x_164 = lean_ctor_get(x_14, 1); +x_165 = lean_ctor_get(x_14, 2); +x_166 = lean_ctor_get(x_14, 3); +x_167 = lean_ctor_get(x_14, 4); +x_168 = lean_ctor_get(x_14, 5); +x_169 = lean_ctor_get(x_14, 6); +x_170 = lean_ctor_get_uint8(x_14, sizeof(void*)*15); +x_171 = lean_ctor_get(x_14, 7); +x_172 = lean_ctor_get(x_14, 8); +x_173 = lean_ctor_get(x_14, 9); +x_174 = lean_ctor_get(x_14, 10); +x_175 = lean_ctor_get(x_14, 11); +x_176 = lean_ctor_get(x_14, 12); +x_177 = lean_ctor_get(x_14, 14); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); lean_inc(x_174); lean_inc(x_173); lean_inc(x_172); lean_inc(x_171); -lean_inc(x_170); lean_inc(x_169); lean_inc(x_168); +lean_inc(x_167); lean_inc(x_166); lean_inc(x_165); lean_inc(x_164); lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); lean_dec(x_14); -x_175 = lean_ctor_get(x_15, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_15, 1); -lean_inc(x_176); +x_178 = lean_ctor_get(x_15, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_15, 1); +lean_inc(x_179); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); lean_ctor_release(x_15, 2); - x_177 = x_15; + x_180 = x_15; } else { lean_dec_ref(x_15); - x_177 = lean_box(0); + x_180 = lean_box(0); } -x_178 = lean_ctor_get(x_16, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_16, 1); -lean_inc(x_179); -x_180 = lean_ctor_get(x_16, 2); -lean_inc(x_180); +x_181 = lean_ctor_get(x_16, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_16, 1); +lean_inc(x_182); +x_183 = lean_ctor_get(x_16, 2); +lean_inc(x_183); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); lean_ctor_release(x_16, 1); lean_ctor_release(x_16, 2); - x_181 = x_16; + x_184 = x_16; } else { lean_dec_ref(x_16); - x_181 = lean_box(0); + x_184 = lean_box(0); } -x_182 = lean_array_get_size(x_178); -x_183 = lean_nat_dec_lt(x_3, x_182); -lean_dec(x_182); -if (x_183 == 0) +x_185 = lean_array_get_size(x_181); +x_186 = lean_nat_dec_lt(x_3, x_185); +lean_dec(x_185); +if (x_186 == 0) { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_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_dec(x_1); -if (lean_is_scalar(x_181)) { - x_184 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_184)) { + x_187 = lean_alloc_ctor(0, 3, 0); } else { - x_184 = x_181; + x_187 = x_184; } -lean_ctor_set(x_184, 0, x_178); -lean_ctor_set(x_184, 1, x_179); -lean_ctor_set(x_184, 2, x_180); -if (lean_is_scalar(x_177)) { - x_185 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_187, 0, x_181); +lean_ctor_set(x_187, 1, x_182); +lean_ctor_set(x_187, 2, x_183); +if (lean_is_scalar(x_180)) { + x_188 = lean_alloc_ctor(0, 3, 0); } else { - x_185 = x_177; + x_188 = x_180; } -lean_ctor_set(x_185, 0, x_175); -lean_ctor_set(x_185, 1, x_176); -lean_ctor_set(x_185, 2, x_184); -x_186 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_186, 0, x_160); -lean_ctor_set(x_186, 1, x_161); -lean_ctor_set(x_186, 2, x_162); -lean_ctor_set(x_186, 3, x_163); -lean_ctor_set(x_186, 4, x_164); -lean_ctor_set(x_186, 5, x_165); -lean_ctor_set(x_186, 6, x_166); -lean_ctor_set(x_186, 7, x_168); -lean_ctor_set(x_186, 8, x_169); -lean_ctor_set(x_186, 9, x_170); -lean_ctor_set(x_186, 10, x_171); -lean_ctor_set(x_186, 11, x_172); -lean_ctor_set(x_186, 12, x_173); -lean_ctor_set(x_186, 13, x_185); -lean_ctor_set(x_186, 14, x_174); -lean_ctor_set_uint8(x_186, sizeof(void*)*15, x_167); -x_187 = lean_st_ref_set(x_4, x_186, x_17); -x_188 = lean_ctor_get(x_187, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_187)) { - lean_ctor_release(x_187, 0); - lean_ctor_release(x_187, 1); - x_189 = x_187; +lean_ctor_set(x_188, 0, x_178); +lean_ctor_set(x_188, 1, x_179); +lean_ctor_set(x_188, 2, x_187); +x_189 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_189, 0, x_163); +lean_ctor_set(x_189, 1, x_164); +lean_ctor_set(x_189, 2, x_165); +lean_ctor_set(x_189, 3, x_166); +lean_ctor_set(x_189, 4, x_167); +lean_ctor_set(x_189, 5, x_168); +lean_ctor_set(x_189, 6, x_169); +lean_ctor_set(x_189, 7, x_171); +lean_ctor_set(x_189, 8, x_172); +lean_ctor_set(x_189, 9, x_173); +lean_ctor_set(x_189, 10, x_174); +lean_ctor_set(x_189, 11, x_175); +lean_ctor_set(x_189, 12, x_176); +lean_ctor_set(x_189, 13, x_188); +lean_ctor_set(x_189, 14, x_177); +lean_ctor_set_uint8(x_189, sizeof(void*)*15, x_170); +x_190 = lean_st_ref_set(x_4, x_189, x_17); +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_192 = x_190; } else { - lean_dec_ref(x_187); - x_189 = lean_box(0); + lean_dec_ref(x_190); + x_192 = lean_box(0); } -x_190 = lean_box(0); -if (lean_is_scalar(x_189)) { - x_191 = lean_alloc_ctor(0, 2, 0); +x_193 = lean_box(0); +if (lean_is_scalar(x_192)) { + x_194 = lean_alloc_ctor(0, 2, 0); } else { - x_191 = x_189; + x_194 = x_192; } -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_188); -return x_191; +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_191); +return x_194; } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_192 = lean_array_fget(x_178, x_3); -x_193 = lean_box(0); -x_194 = lean_array_fset(x_178, x_3, x_193); -x_195 = lean_ctor_get(x_192, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_192, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_192, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_192, 3); +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_195 = lean_array_fget(x_181, x_3); +x_196 = lean_box(0); +x_197 = lean_array_fset(x_181, x_3, x_196); +x_198 = lean_ctor_get(x_195, 0); lean_inc(x_198); -x_199 = lean_ctor_get(x_192, 4); +x_199 = lean_ctor_get(x_195, 1); lean_inc(x_199); -x_200 = lean_ctor_get(x_192, 5); +x_200 = lean_ctor_get(x_195, 2); lean_inc(x_200); -x_201 = lean_ctor_get(x_192, 6); +x_201 = lean_ctor_get(x_195, 3); lean_inc(x_201); -x_202 = lean_ctor_get(x_192, 7); +x_202 = lean_ctor_get(x_195, 4); lean_inc(x_202); -x_203 = lean_ctor_get(x_192, 8); +x_203 = lean_ctor_get(x_195, 5); lean_inc(x_203); -x_204 = lean_ctor_get(x_192, 9); +x_204 = lean_ctor_get(x_195, 6); lean_inc(x_204); -x_205 = lean_ctor_get(x_192, 10); +x_205 = lean_ctor_get(x_195, 7); lean_inc(x_205); -x_206 = lean_ctor_get(x_192, 11); +x_206 = lean_ctor_get(x_195, 8); lean_inc(x_206); -x_207 = lean_ctor_get(x_192, 12); +x_207 = lean_ctor_get(x_195, 9); lean_inc(x_207); -x_208 = lean_ctor_get(x_192, 13); +x_208 = lean_ctor_get(x_195, 10); lean_inc(x_208); -x_209 = lean_ctor_get(x_192, 14); +x_209 = lean_ctor_get(x_195, 11); lean_inc(x_209); -x_210 = lean_ctor_get(x_192, 15); +x_210 = lean_ctor_get(x_195, 12); lean_inc(x_210); -x_211 = lean_ctor_get(x_192, 16); +x_211 = lean_ctor_get(x_195, 13); lean_inc(x_211); -x_212 = lean_ctor_get(x_192, 17); +x_212 = lean_ctor_get(x_195, 14); lean_inc(x_212); -x_213 = lean_ctor_get(x_192, 18); +x_213 = lean_ctor_get(x_195, 15); lean_inc(x_213); -if (lean_is_exclusive(x_192)) { - lean_ctor_release(x_192, 0); - lean_ctor_release(x_192, 1); - lean_ctor_release(x_192, 2); - lean_ctor_release(x_192, 3); - lean_ctor_release(x_192, 4); - lean_ctor_release(x_192, 5); - lean_ctor_release(x_192, 6); - lean_ctor_release(x_192, 7); - lean_ctor_release(x_192, 8); - lean_ctor_release(x_192, 9); - lean_ctor_release(x_192, 10); - lean_ctor_release(x_192, 11); - lean_ctor_release(x_192, 12); - lean_ctor_release(x_192, 13); - lean_ctor_release(x_192, 14); - lean_ctor_release(x_192, 15); - lean_ctor_release(x_192, 16); - lean_ctor_release(x_192, 17); - lean_ctor_release(x_192, 18); - x_214 = x_192; +x_214 = lean_ctor_get(x_195, 16); +lean_inc(x_214); +x_215 = lean_ctor_get(x_195, 17); +lean_inc(x_215); +x_216 = lean_ctor_get(x_195, 18); +lean_inc(x_216); +x_217 = lean_ctor_get(x_195, 19); +lean_inc(x_217); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + lean_ctor_release(x_195, 4); + lean_ctor_release(x_195, 5); + lean_ctor_release(x_195, 6); + lean_ctor_release(x_195, 7); + lean_ctor_release(x_195, 8); + lean_ctor_release(x_195, 9); + lean_ctor_release(x_195, 10); + lean_ctor_release(x_195, 11); + lean_ctor_release(x_195, 12); + lean_ctor_release(x_195, 13); + lean_ctor_release(x_195, 14); + lean_ctor_release(x_195, 15); + lean_ctor_release(x_195, 16); + lean_ctor_release(x_195, 17); + lean_ctor_release(x_195, 18); + lean_ctor_release(x_195, 19); + x_218 = x_195; } else { - lean_dec_ref(x_192); - x_214 = lean_box(0); + lean_dec_ref(x_195); + x_218 = lean_box(0); } -x_215 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_212, x_1, x_193); -if (lean_is_scalar(x_214)) { - x_216 = lean_alloc_ctor(0, 19, 0); +x_219 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_216, x_1, x_196); +if (lean_is_scalar(x_218)) { + x_220 = lean_alloc_ctor(0, 20, 0); } else { - x_216 = x_214; + x_220 = x_218; } -lean_ctor_set(x_216, 0, x_195); -lean_ctor_set(x_216, 1, x_196); -lean_ctor_set(x_216, 2, x_197); -lean_ctor_set(x_216, 3, x_198); -lean_ctor_set(x_216, 4, x_199); -lean_ctor_set(x_216, 5, x_200); -lean_ctor_set(x_216, 6, x_201); -lean_ctor_set(x_216, 7, x_202); -lean_ctor_set(x_216, 8, x_203); -lean_ctor_set(x_216, 9, x_204); -lean_ctor_set(x_216, 10, x_205); -lean_ctor_set(x_216, 11, x_206); -lean_ctor_set(x_216, 12, x_207); -lean_ctor_set(x_216, 13, x_208); -lean_ctor_set(x_216, 14, x_209); -lean_ctor_set(x_216, 15, x_210); -lean_ctor_set(x_216, 16, x_211); -lean_ctor_set(x_216, 17, x_215); -lean_ctor_set(x_216, 18, x_213); -x_217 = lean_array_fset(x_194, x_3, x_216); -if (lean_is_scalar(x_181)) { - x_218 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_220, 0, x_198); +lean_ctor_set(x_220, 1, x_199); +lean_ctor_set(x_220, 2, x_200); +lean_ctor_set(x_220, 3, x_201); +lean_ctor_set(x_220, 4, x_202); +lean_ctor_set(x_220, 5, x_203); +lean_ctor_set(x_220, 6, x_204); +lean_ctor_set(x_220, 7, x_205); +lean_ctor_set(x_220, 8, x_206); +lean_ctor_set(x_220, 9, x_207); +lean_ctor_set(x_220, 10, x_208); +lean_ctor_set(x_220, 11, x_209); +lean_ctor_set(x_220, 12, x_210); +lean_ctor_set(x_220, 13, x_211); +lean_ctor_set(x_220, 14, x_212); +lean_ctor_set(x_220, 15, x_213); +lean_ctor_set(x_220, 16, x_214); +lean_ctor_set(x_220, 17, x_215); +lean_ctor_set(x_220, 18, x_219); +lean_ctor_set(x_220, 19, x_217); +x_221 = lean_array_fset(x_197, x_3, x_220); +if (lean_is_scalar(x_184)) { + x_222 = lean_alloc_ctor(0, 3, 0); } else { - x_218 = x_181; + x_222 = x_184; } -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_179); -lean_ctor_set(x_218, 2, x_180); -if (lean_is_scalar(x_177)) { - x_219 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_182); +lean_ctor_set(x_222, 2, x_183); +if (lean_is_scalar(x_180)) { + x_223 = lean_alloc_ctor(0, 3, 0); } else { - x_219 = x_177; + x_223 = x_180; } -lean_ctor_set(x_219, 0, x_175); -lean_ctor_set(x_219, 1, x_176); -lean_ctor_set(x_219, 2, x_218); -x_220 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_220, 0, x_160); -lean_ctor_set(x_220, 1, x_161); -lean_ctor_set(x_220, 2, x_162); -lean_ctor_set(x_220, 3, x_163); -lean_ctor_set(x_220, 4, x_164); -lean_ctor_set(x_220, 5, x_165); -lean_ctor_set(x_220, 6, x_166); -lean_ctor_set(x_220, 7, x_168); -lean_ctor_set(x_220, 8, x_169); -lean_ctor_set(x_220, 9, x_170); -lean_ctor_set(x_220, 10, x_171); -lean_ctor_set(x_220, 11, x_172); -lean_ctor_set(x_220, 12, x_173); -lean_ctor_set(x_220, 13, x_219); -lean_ctor_set(x_220, 14, x_174); -lean_ctor_set_uint8(x_220, sizeof(void*)*15, x_167); -x_221 = lean_st_ref_set(x_4, x_220, x_17); -x_222 = lean_ctor_get(x_221, 1); -lean_inc(x_222); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_223 = x_221; +lean_ctor_set(x_223, 0, x_178); +lean_ctor_set(x_223, 1, x_179); +lean_ctor_set(x_223, 2, x_222); +x_224 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_224, 0, x_163); +lean_ctor_set(x_224, 1, x_164); +lean_ctor_set(x_224, 2, x_165); +lean_ctor_set(x_224, 3, x_166); +lean_ctor_set(x_224, 4, x_167); +lean_ctor_set(x_224, 5, x_168); +lean_ctor_set(x_224, 6, x_169); +lean_ctor_set(x_224, 7, x_171); +lean_ctor_set(x_224, 8, x_172); +lean_ctor_set(x_224, 9, x_173); +lean_ctor_set(x_224, 10, x_174); +lean_ctor_set(x_224, 11, x_175); +lean_ctor_set(x_224, 12, x_176); +lean_ctor_set(x_224, 13, x_223); +lean_ctor_set(x_224, 14, x_177); +lean_ctor_set_uint8(x_224, sizeof(void*)*15, x_170); +x_225 = lean_st_ref_set(x_4, x_224, x_17); +x_226 = lean_ctor_get(x_225, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_227 = x_225; } else { - lean_dec_ref(x_221); - x_223 = lean_box(0); + lean_dec_ref(x_225); + x_227 = lean_box(0); } -if (lean_is_scalar(x_223)) { - x_224 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(0, 2, 0); } else { - x_224 = x_223; + x_228 = x_227; } -lean_ctor_set(x_224, 0, x_193); -lean_ctor_set(x_224, 1, x_222); -return x_224; +lean_ctor_set(x_228, 0, x_196); +lean_ctor_set(x_228, 1, x_226); +return x_228; } } } @@ -11186,8 +13844,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -11199,7 +13857,7 @@ _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2; -x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_unbox(x_14); @@ -11257,7 +13915,7 @@ lean_ctor_set(x_13, 0, x_28); x_29 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_29, 0, x_13); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -11364,7 +14022,7 @@ lean_ctor_set(x_50, 1, x_48); x_51 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); +x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); @@ -11495,8 +14153,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -11515,7 +14173,7 @@ _start: { lean_object* x_12; lean_object* x_13; uint8_t x_14; x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2; -x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -11558,7 +14216,7 @@ lean_ctor_set(x_13, 0, x_25); x_26 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_26, 0, x_13); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -11644,7 +14302,7 @@ lean_ctor_set(x_46, 1, x_44); x_47 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_12, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); x_50 = lean_ctor_get(x_48, 1); @@ -12500,11 +15158,11 @@ x_37 = !lean_is_exclusive(x_34); if (x_37 == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_38 = lean_ctor_get(x_34, 18); +x_38 = lean_ctor_get(x_34, 19); x_39 = lean_box(0); x_40 = lean_ctor_get(x_1, 0); x_41 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_39, x_38, x_40); -lean_ctor_set(x_34, 18, x_41); +lean_ctor_set(x_34, 19, x_41); x_42 = lean_array_fset(x_36, x_4, x_34); lean_ctor_set(x_17, 0, x_42); x_43 = lean_st_ref_set(x_5, x_15, x_18); @@ -12531,7 +15189,7 @@ return x_47; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; x_48 = lean_ctor_get(x_34, 0); x_49 = lean_ctor_get(x_34, 1); x_50 = lean_ctor_get(x_34, 2); @@ -12551,6 +15209,8 @@ x_63 = lean_ctor_get(x_34, 15); x_64 = lean_ctor_get(x_34, 16); x_65 = lean_ctor_get(x_34, 17); x_66 = lean_ctor_get(x_34, 18); +x_67 = lean_ctor_get(x_34, 19); +lean_inc(x_67); lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); @@ -12571,687 +15231,700 @@ lean_inc(x_50); lean_inc(x_49); lean_inc(x_48); lean_dec(x_34); -x_67 = lean_box(0); -x_68 = lean_ctor_get(x_1, 0); -x_69 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_67, x_66, x_68); -x_70 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_70, 0, x_48); -lean_ctor_set(x_70, 1, x_49); -lean_ctor_set(x_70, 2, x_50); -lean_ctor_set(x_70, 3, x_51); -lean_ctor_set(x_70, 4, x_52); -lean_ctor_set(x_70, 5, x_53); -lean_ctor_set(x_70, 6, x_54); -lean_ctor_set(x_70, 7, x_55); -lean_ctor_set(x_70, 8, x_56); -lean_ctor_set(x_70, 9, x_57); -lean_ctor_set(x_70, 10, x_58); -lean_ctor_set(x_70, 11, x_59); -lean_ctor_set(x_70, 12, x_60); -lean_ctor_set(x_70, 13, x_61); -lean_ctor_set(x_70, 14, x_62); -lean_ctor_set(x_70, 15, x_63); -lean_ctor_set(x_70, 16, x_64); -lean_ctor_set(x_70, 17, x_65); -lean_ctor_set(x_70, 18, x_69); -x_71 = lean_array_fset(x_36, x_4, x_70); -lean_ctor_set(x_17, 0, x_71); -x_72 = lean_st_ref_set(x_5, x_15, x_18); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_74 = x_72; +x_68 = lean_box(0); +x_69 = lean_ctor_get(x_1, 0); +x_70 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_68, x_67, x_69); +x_71 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_71, 0, x_48); +lean_ctor_set(x_71, 1, x_49); +lean_ctor_set(x_71, 2, x_50); +lean_ctor_set(x_71, 3, x_51); +lean_ctor_set(x_71, 4, x_52); +lean_ctor_set(x_71, 5, x_53); +lean_ctor_set(x_71, 6, x_54); +lean_ctor_set(x_71, 7, x_55); +lean_ctor_set(x_71, 8, x_56); +lean_ctor_set(x_71, 9, x_57); +lean_ctor_set(x_71, 10, x_58); +lean_ctor_set(x_71, 11, x_59); +lean_ctor_set(x_71, 12, x_60); +lean_ctor_set(x_71, 13, x_61); +lean_ctor_set(x_71, 14, x_62); +lean_ctor_set(x_71, 15, x_63); +lean_ctor_set(x_71, 16, x_64); +lean_ctor_set(x_71, 17, x_65); +lean_ctor_set(x_71, 18, x_66); +lean_ctor_set(x_71, 19, x_70); +x_72 = lean_array_fset(x_36, x_4, x_71); +lean_ctor_set(x_17, 0, x_72); +x_73 = lean_st_ref_set(x_5, x_15, x_18); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; } else { - lean_dec_ref(x_72); - x_74 = lean_box(0); + lean_dec_ref(x_73); + x_75 = lean_box(0); } -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 2, 0); } else { - x_75 = x_74; + x_76 = x_75; } -lean_ctor_set(x_75, 0, x_35); -lean_ctor_set(x_75, 1, x_73); -return x_75; +lean_ctor_set(x_76, 0, x_35); +lean_ctor_set(x_76, 1, x_74); +return x_76; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_76 = lean_ctor_get(x_17, 0); -x_77 = lean_ctor_get(x_17, 1); -x_78 = lean_ctor_get(x_17, 2); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_77 = lean_ctor_get(x_17, 0); +x_78 = lean_ctor_get(x_17, 1); +x_79 = lean_ctor_get(x_17, 2); +lean_inc(x_79); lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); lean_dec(x_17); -x_79 = lean_array_get_size(x_76); -x_80 = lean_nat_dec_lt(x_4, x_79); -lean_dec(x_79); -if (x_80 == 0) +x_80 = lean_array_get_size(x_77); +x_81 = lean_nat_dec_lt(x_4, x_80); +lean_dec(x_80); +if (x_81 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_2); -x_81 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_81, 0, x_76); -lean_ctor_set(x_81, 1, x_77); -lean_ctor_set(x_81, 2, x_78); -lean_ctor_set(x_16, 2, x_81); -x_82 = lean_st_ref_set(x_5, x_15, x_18); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_84 = x_82; +x_82 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_82, 0, x_77); +lean_ctor_set(x_82, 1, x_78); +lean_ctor_set(x_82, 2, x_79); +lean_ctor_set(x_16, 2, x_82); +x_83 = lean_st_ref_set(x_5, x_15, x_18); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_85 = x_83; } else { - lean_dec_ref(x_82); - x_84 = lean_box(0); + lean_dec_ref(x_83); + x_85 = lean_box(0); } -x_85 = lean_box(0); -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(0, 2, 0); +x_86 = lean_box(0); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_84; + x_87 = x_85; } -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -return x_86; +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_87 = lean_array_fget(x_76, x_4); -x_88 = lean_box(0); -x_89 = lean_array_fset(x_76, x_4, x_88); -x_90 = lean_ctor_get(x_87, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_87, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_88 = lean_array_fget(x_77, x_4); +x_89 = lean_box(0); +x_90 = lean_array_fset(x_77, x_4, x_89); +x_91 = lean_ctor_get(x_88, 0); lean_inc(x_91); -x_92 = lean_ctor_get(x_87, 2); +x_92 = lean_ctor_get(x_88, 1); lean_inc(x_92); -x_93 = lean_ctor_get(x_87, 3); +x_93 = lean_ctor_get(x_88, 2); lean_inc(x_93); -x_94 = lean_ctor_get(x_87, 4); +x_94 = lean_ctor_get(x_88, 3); lean_inc(x_94); -x_95 = lean_ctor_get(x_87, 5); +x_95 = lean_ctor_get(x_88, 4); lean_inc(x_95); -x_96 = lean_ctor_get(x_87, 6); +x_96 = lean_ctor_get(x_88, 5); lean_inc(x_96); -x_97 = lean_ctor_get(x_87, 7); +x_97 = lean_ctor_get(x_88, 6); lean_inc(x_97); -x_98 = lean_ctor_get(x_87, 8); +x_98 = lean_ctor_get(x_88, 7); lean_inc(x_98); -x_99 = lean_ctor_get(x_87, 9); +x_99 = lean_ctor_get(x_88, 8); lean_inc(x_99); -x_100 = lean_ctor_get(x_87, 10); +x_100 = lean_ctor_get(x_88, 9); lean_inc(x_100); -x_101 = lean_ctor_get(x_87, 11); +x_101 = lean_ctor_get(x_88, 10); lean_inc(x_101); -x_102 = lean_ctor_get(x_87, 12); +x_102 = lean_ctor_get(x_88, 11); lean_inc(x_102); -x_103 = lean_ctor_get(x_87, 13); +x_103 = lean_ctor_get(x_88, 12); lean_inc(x_103); -x_104 = lean_ctor_get(x_87, 14); +x_104 = lean_ctor_get(x_88, 13); lean_inc(x_104); -x_105 = lean_ctor_get(x_87, 15); +x_105 = lean_ctor_get(x_88, 14); lean_inc(x_105); -x_106 = lean_ctor_get(x_87, 16); +x_106 = lean_ctor_get(x_88, 15); lean_inc(x_106); -x_107 = lean_ctor_get(x_87, 17); +x_107 = lean_ctor_get(x_88, 16); lean_inc(x_107); -x_108 = lean_ctor_get(x_87, 18); +x_108 = lean_ctor_get(x_88, 17); lean_inc(x_108); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - lean_ctor_release(x_87, 2); - lean_ctor_release(x_87, 3); - lean_ctor_release(x_87, 4); - lean_ctor_release(x_87, 5); - lean_ctor_release(x_87, 6); - lean_ctor_release(x_87, 7); - lean_ctor_release(x_87, 8); - lean_ctor_release(x_87, 9); - lean_ctor_release(x_87, 10); - lean_ctor_release(x_87, 11); - lean_ctor_release(x_87, 12); - lean_ctor_release(x_87, 13); - lean_ctor_release(x_87, 14); - lean_ctor_release(x_87, 15); - lean_ctor_release(x_87, 16); - lean_ctor_release(x_87, 17); - lean_ctor_release(x_87, 18); - x_109 = x_87; +x_109 = lean_ctor_get(x_88, 18); +lean_inc(x_109); +x_110 = lean_ctor_get(x_88, 19); +lean_inc(x_110); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + lean_ctor_release(x_88, 2); + lean_ctor_release(x_88, 3); + lean_ctor_release(x_88, 4); + lean_ctor_release(x_88, 5); + lean_ctor_release(x_88, 6); + lean_ctor_release(x_88, 7); + lean_ctor_release(x_88, 8); + lean_ctor_release(x_88, 9); + lean_ctor_release(x_88, 10); + lean_ctor_release(x_88, 11); + lean_ctor_release(x_88, 12); + lean_ctor_release(x_88, 13); + lean_ctor_release(x_88, 14); + lean_ctor_release(x_88, 15); + lean_ctor_release(x_88, 16); + lean_ctor_release(x_88, 17); + lean_ctor_release(x_88, 18); + lean_ctor_release(x_88, 19); + x_111 = x_88; } else { - lean_dec_ref(x_87); - x_109 = lean_box(0); + lean_dec_ref(x_88); + x_111 = lean_box(0); } -x_110 = lean_box(0); -x_111 = lean_ctor_get(x_1, 0); -x_112 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_110, x_108, x_111); -if (lean_is_scalar(x_109)) { - x_113 = lean_alloc_ctor(0, 19, 0); +x_112 = lean_box(0); +x_113 = lean_ctor_get(x_1, 0); +x_114 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_112, x_110, x_113); +if (lean_is_scalar(x_111)) { + x_115 = lean_alloc_ctor(0, 20, 0); } else { - x_113 = x_109; + x_115 = x_111; } -lean_ctor_set(x_113, 0, x_90); -lean_ctor_set(x_113, 1, x_91); -lean_ctor_set(x_113, 2, x_92); -lean_ctor_set(x_113, 3, x_93); -lean_ctor_set(x_113, 4, x_94); -lean_ctor_set(x_113, 5, x_95); -lean_ctor_set(x_113, 6, x_96); -lean_ctor_set(x_113, 7, x_97); -lean_ctor_set(x_113, 8, x_98); -lean_ctor_set(x_113, 9, x_99); -lean_ctor_set(x_113, 10, x_100); -lean_ctor_set(x_113, 11, x_101); -lean_ctor_set(x_113, 12, x_102); -lean_ctor_set(x_113, 13, x_103); -lean_ctor_set(x_113, 14, x_104); -lean_ctor_set(x_113, 15, x_105); -lean_ctor_set(x_113, 16, x_106); -lean_ctor_set(x_113, 17, x_107); -lean_ctor_set(x_113, 18, x_112); -x_114 = lean_array_fset(x_89, x_4, x_113); -x_115 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_77); -lean_ctor_set(x_115, 2, x_78); -lean_ctor_set(x_16, 2, x_115); -x_116 = lean_st_ref_set(x_5, x_15, x_18); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; +lean_ctor_set(x_115, 0, x_91); +lean_ctor_set(x_115, 1, x_92); +lean_ctor_set(x_115, 2, x_93); +lean_ctor_set(x_115, 3, x_94); +lean_ctor_set(x_115, 4, x_95); +lean_ctor_set(x_115, 5, x_96); +lean_ctor_set(x_115, 6, x_97); +lean_ctor_set(x_115, 7, x_98); +lean_ctor_set(x_115, 8, x_99); +lean_ctor_set(x_115, 9, x_100); +lean_ctor_set(x_115, 10, x_101); +lean_ctor_set(x_115, 11, x_102); +lean_ctor_set(x_115, 12, x_103); +lean_ctor_set(x_115, 13, x_104); +lean_ctor_set(x_115, 14, x_105); +lean_ctor_set(x_115, 15, x_106); +lean_ctor_set(x_115, 16, x_107); +lean_ctor_set(x_115, 17, x_108); +lean_ctor_set(x_115, 18, x_109); +lean_ctor_set(x_115, 19, x_114); +x_116 = lean_array_fset(x_90, x_4, x_115); +x_117 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_78); +lean_ctor_set(x_117, 2, x_79); +lean_ctor_set(x_16, 2, x_117); +x_118 = lean_st_ref_set(x_5, x_15, x_18); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_120 = x_118; } else { - lean_dec_ref(x_116); - x_118 = lean_box(0); + lean_dec_ref(x_118); + x_120 = lean_box(0); } -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(0, 2, 0); } else { - x_119 = x_118; + x_121 = x_120; } -lean_ctor_set(x_119, 0, x_88); -lean_ctor_set(x_119, 1, x_117); -return x_119; +lean_ctor_set(x_121, 0, x_89); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_120 = lean_ctor_get(x_16, 0); -x_121 = lean_ctor_get(x_16, 1); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_16); -x_122 = lean_ctor_get(x_17, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_17, 1); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_122 = lean_ctor_get(x_16, 0); +x_123 = lean_ctor_get(x_16, 1); lean_inc(x_123); -x_124 = lean_ctor_get(x_17, 2); +lean_inc(x_122); +lean_dec(x_16); +x_124 = lean_ctor_get(x_17, 0); lean_inc(x_124); +x_125 = lean_ctor_get(x_17, 1); +lean_inc(x_125); +x_126 = lean_ctor_get(x_17, 2); +lean_inc(x_126); if (lean_is_exclusive(x_17)) { lean_ctor_release(x_17, 0); lean_ctor_release(x_17, 1); lean_ctor_release(x_17, 2); - x_125 = x_17; + x_127 = x_17; } else { lean_dec_ref(x_17); - x_125 = lean_box(0); + x_127 = lean_box(0); } -x_126 = lean_array_get_size(x_122); -x_127 = lean_nat_dec_lt(x_4, x_126); -lean_dec(x_126); -if (x_127 == 0) +x_128 = lean_array_get_size(x_124); +x_129 = lean_nat_dec_lt(x_4, x_128); +lean_dec(x_128); +if (x_129 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_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_dec(x_2); -if (lean_is_scalar(x_125)) { - x_128 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 3, 0); } else { - x_128 = x_125; + x_130 = x_127; } -lean_ctor_set(x_128, 0, x_122); -lean_ctor_set(x_128, 1, x_123); -lean_ctor_set(x_128, 2, x_124); -x_129 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_129, 0, x_120); -lean_ctor_set(x_129, 1, x_121); -lean_ctor_set(x_129, 2, x_128); -lean_ctor_set(x_15, 13, x_129); -x_130 = lean_st_ref_set(x_5, x_15, x_18); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_132 = x_130; -} else { - lean_dec_ref(x_130); - x_132 = lean_box(0); -} -x_133 = lean_box(0); -if (lean_is_scalar(x_132)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { +lean_ctor_set(x_130, 0, x_124); +lean_ctor_set(x_130, 1, x_125); +lean_ctor_set(x_130, 2, x_126); +x_131 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_131, 0, x_122); +lean_ctor_set(x_131, 1, x_123); +lean_ctor_set(x_131, 2, x_130); +lean_ctor_set(x_15, 13, x_131); +x_132 = lean_st_ref_set(x_5, x_15, x_18); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); x_134 = x_132; +} else { + lean_dec_ref(x_132); + x_134 = lean_box(0); } -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_131); -return x_134; +x_135 = lean_box(0); +if (lean_is_scalar(x_134)) { + x_136 = lean_alloc_ctor(0, 2, 0); +} else { + x_136 = x_134; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_133); +return x_136; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_135 = lean_array_fget(x_122, x_4); -x_136 = lean_box(0); -x_137 = lean_array_fset(x_122, x_4, x_136); -x_138 = lean_ctor_get(x_135, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_135, 1); -lean_inc(x_139); -x_140 = lean_ctor_get(x_135, 2); +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_137 = lean_array_fget(x_124, x_4); +x_138 = lean_box(0); +x_139 = lean_array_fset(x_124, x_4, x_138); +x_140 = lean_ctor_get(x_137, 0); lean_inc(x_140); -x_141 = lean_ctor_get(x_135, 3); +x_141 = lean_ctor_get(x_137, 1); lean_inc(x_141); -x_142 = lean_ctor_get(x_135, 4); +x_142 = lean_ctor_get(x_137, 2); lean_inc(x_142); -x_143 = lean_ctor_get(x_135, 5); +x_143 = lean_ctor_get(x_137, 3); lean_inc(x_143); -x_144 = lean_ctor_get(x_135, 6); +x_144 = lean_ctor_get(x_137, 4); lean_inc(x_144); -x_145 = lean_ctor_get(x_135, 7); +x_145 = lean_ctor_get(x_137, 5); lean_inc(x_145); -x_146 = lean_ctor_get(x_135, 8); +x_146 = lean_ctor_get(x_137, 6); lean_inc(x_146); -x_147 = lean_ctor_get(x_135, 9); +x_147 = lean_ctor_get(x_137, 7); lean_inc(x_147); -x_148 = lean_ctor_get(x_135, 10); +x_148 = lean_ctor_get(x_137, 8); lean_inc(x_148); -x_149 = lean_ctor_get(x_135, 11); +x_149 = lean_ctor_get(x_137, 9); lean_inc(x_149); -x_150 = lean_ctor_get(x_135, 12); +x_150 = lean_ctor_get(x_137, 10); lean_inc(x_150); -x_151 = lean_ctor_get(x_135, 13); +x_151 = lean_ctor_get(x_137, 11); lean_inc(x_151); -x_152 = lean_ctor_get(x_135, 14); +x_152 = lean_ctor_get(x_137, 12); lean_inc(x_152); -x_153 = lean_ctor_get(x_135, 15); +x_153 = lean_ctor_get(x_137, 13); lean_inc(x_153); -x_154 = lean_ctor_get(x_135, 16); +x_154 = lean_ctor_get(x_137, 14); lean_inc(x_154); -x_155 = lean_ctor_get(x_135, 17); +x_155 = lean_ctor_get(x_137, 15); lean_inc(x_155); -x_156 = lean_ctor_get(x_135, 18); +x_156 = lean_ctor_get(x_137, 16); lean_inc(x_156); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - lean_ctor_release(x_135, 1); - lean_ctor_release(x_135, 2); - lean_ctor_release(x_135, 3); - lean_ctor_release(x_135, 4); - lean_ctor_release(x_135, 5); - lean_ctor_release(x_135, 6); - lean_ctor_release(x_135, 7); - lean_ctor_release(x_135, 8); - lean_ctor_release(x_135, 9); - lean_ctor_release(x_135, 10); - lean_ctor_release(x_135, 11); - lean_ctor_release(x_135, 12); - lean_ctor_release(x_135, 13); - lean_ctor_release(x_135, 14); - lean_ctor_release(x_135, 15); - lean_ctor_release(x_135, 16); - lean_ctor_release(x_135, 17); - lean_ctor_release(x_135, 18); - x_157 = x_135; +x_157 = lean_ctor_get(x_137, 17); +lean_inc(x_157); +x_158 = lean_ctor_get(x_137, 18); +lean_inc(x_158); +x_159 = lean_ctor_get(x_137, 19); +lean_inc(x_159); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + lean_ctor_release(x_137, 2); + lean_ctor_release(x_137, 3); + lean_ctor_release(x_137, 4); + lean_ctor_release(x_137, 5); + lean_ctor_release(x_137, 6); + lean_ctor_release(x_137, 7); + lean_ctor_release(x_137, 8); + lean_ctor_release(x_137, 9); + lean_ctor_release(x_137, 10); + lean_ctor_release(x_137, 11); + lean_ctor_release(x_137, 12); + lean_ctor_release(x_137, 13); + lean_ctor_release(x_137, 14); + lean_ctor_release(x_137, 15); + lean_ctor_release(x_137, 16); + lean_ctor_release(x_137, 17); + lean_ctor_release(x_137, 18); + lean_ctor_release(x_137, 19); + x_160 = x_137; } else { - lean_dec_ref(x_135); - x_157 = lean_box(0); + lean_dec_ref(x_137); + x_160 = lean_box(0); } -x_158 = lean_box(0); -x_159 = lean_ctor_get(x_1, 0); -x_160 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_158, x_156, x_159); -if (lean_is_scalar(x_157)) { - x_161 = lean_alloc_ctor(0, 19, 0); +x_161 = lean_box(0); +x_162 = lean_ctor_get(x_1, 0); +x_163 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_161, x_159, x_162); +if (lean_is_scalar(x_160)) { + x_164 = lean_alloc_ctor(0, 20, 0); } else { - x_161 = x_157; + x_164 = x_160; } -lean_ctor_set(x_161, 0, x_138); -lean_ctor_set(x_161, 1, x_139); -lean_ctor_set(x_161, 2, x_140); -lean_ctor_set(x_161, 3, x_141); -lean_ctor_set(x_161, 4, x_142); -lean_ctor_set(x_161, 5, x_143); -lean_ctor_set(x_161, 6, x_144); -lean_ctor_set(x_161, 7, x_145); -lean_ctor_set(x_161, 8, x_146); -lean_ctor_set(x_161, 9, x_147); -lean_ctor_set(x_161, 10, x_148); -lean_ctor_set(x_161, 11, x_149); -lean_ctor_set(x_161, 12, x_150); -lean_ctor_set(x_161, 13, x_151); -lean_ctor_set(x_161, 14, x_152); -lean_ctor_set(x_161, 15, x_153); -lean_ctor_set(x_161, 16, x_154); -lean_ctor_set(x_161, 17, x_155); -lean_ctor_set(x_161, 18, x_160); -x_162 = lean_array_fset(x_137, x_4, x_161); -if (lean_is_scalar(x_125)) { - x_163 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_164, 0, x_140); +lean_ctor_set(x_164, 1, x_141); +lean_ctor_set(x_164, 2, x_142); +lean_ctor_set(x_164, 3, x_143); +lean_ctor_set(x_164, 4, x_144); +lean_ctor_set(x_164, 5, x_145); +lean_ctor_set(x_164, 6, x_146); +lean_ctor_set(x_164, 7, x_147); +lean_ctor_set(x_164, 8, x_148); +lean_ctor_set(x_164, 9, x_149); +lean_ctor_set(x_164, 10, x_150); +lean_ctor_set(x_164, 11, x_151); +lean_ctor_set(x_164, 12, x_152); +lean_ctor_set(x_164, 13, x_153); +lean_ctor_set(x_164, 14, x_154); +lean_ctor_set(x_164, 15, x_155); +lean_ctor_set(x_164, 16, x_156); +lean_ctor_set(x_164, 17, x_157); +lean_ctor_set(x_164, 18, x_158); +lean_ctor_set(x_164, 19, x_163); +x_165 = lean_array_fset(x_139, x_4, x_164); +if (lean_is_scalar(x_127)) { + x_166 = lean_alloc_ctor(0, 3, 0); } else { - x_163 = x_125; + x_166 = x_127; } -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_123); -lean_ctor_set(x_163, 2, x_124); -x_164 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_164, 0, x_120); -lean_ctor_set(x_164, 1, x_121); -lean_ctor_set(x_164, 2, x_163); -lean_ctor_set(x_15, 13, x_164); -x_165 = lean_st_ref_set(x_5, x_15, x_18); -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_165)) { - lean_ctor_release(x_165, 0); - lean_ctor_release(x_165, 1); - x_167 = x_165; +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_125); +lean_ctor_set(x_166, 2, x_126); +x_167 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_167, 0, x_122); +lean_ctor_set(x_167, 1, x_123); +lean_ctor_set(x_167, 2, x_166); +lean_ctor_set(x_15, 13, x_167); +x_168 = lean_st_ref_set(x_5, x_15, x_18); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_170 = x_168; } else { - lean_dec_ref(x_165); - x_167 = lean_box(0); + lean_dec_ref(x_168); + x_170 = lean_box(0); } -if (lean_is_scalar(x_167)) { - x_168 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(0, 2, 0); } else { - x_168 = x_167; + x_171 = x_170; } -lean_ctor_set(x_168, 0, x_136); -lean_ctor_set(x_168, 1, x_166); -return x_168; +lean_ctor_set(x_171, 0, x_138); +lean_ctor_set(x_171, 1, x_169); +return x_171; } } } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_169 = lean_ctor_get(x_15, 0); -x_170 = lean_ctor_get(x_15, 1); -x_171 = lean_ctor_get(x_15, 2); -x_172 = lean_ctor_get(x_15, 3); -x_173 = lean_ctor_get(x_15, 4); -x_174 = lean_ctor_get(x_15, 5); -x_175 = lean_ctor_get(x_15, 6); -x_176 = lean_ctor_get_uint8(x_15, sizeof(void*)*15); -x_177 = lean_ctor_get(x_15, 7); -x_178 = lean_ctor_get(x_15, 8); -x_179 = lean_ctor_get(x_15, 9); -x_180 = lean_ctor_get(x_15, 10); -x_181 = lean_ctor_get(x_15, 11); -x_182 = lean_ctor_get(x_15, 12); -x_183 = lean_ctor_get(x_15, 14); +lean_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_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_172 = lean_ctor_get(x_15, 0); +x_173 = lean_ctor_get(x_15, 1); +x_174 = lean_ctor_get(x_15, 2); +x_175 = lean_ctor_get(x_15, 3); +x_176 = lean_ctor_get(x_15, 4); +x_177 = lean_ctor_get(x_15, 5); +x_178 = lean_ctor_get(x_15, 6); +x_179 = lean_ctor_get_uint8(x_15, sizeof(void*)*15); +x_180 = lean_ctor_get(x_15, 7); +x_181 = lean_ctor_get(x_15, 8); +x_182 = lean_ctor_get(x_15, 9); +x_183 = lean_ctor_get(x_15, 10); +x_184 = lean_ctor_get(x_15, 11); +x_185 = lean_ctor_get(x_15, 12); +x_186 = lean_ctor_get(x_15, 14); +lean_inc(x_186); +lean_inc(x_185); +lean_inc(x_184); lean_inc(x_183); lean_inc(x_182); lean_inc(x_181); lean_inc(x_180); -lean_inc(x_179); lean_inc(x_178); lean_inc(x_177); +lean_inc(x_176); lean_inc(x_175); lean_inc(x_174); lean_inc(x_173); lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); lean_dec(x_15); -x_184 = lean_ctor_get(x_16, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_16, 1); -lean_inc(x_185); +x_187 = lean_ctor_get(x_16, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_16, 1); +lean_inc(x_188); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); lean_ctor_release(x_16, 1); lean_ctor_release(x_16, 2); - x_186 = x_16; + x_189 = x_16; } else { lean_dec_ref(x_16); - x_186 = lean_box(0); + x_189 = lean_box(0); } -x_187 = lean_ctor_get(x_17, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_17, 1); -lean_inc(x_188); -x_189 = lean_ctor_get(x_17, 2); -lean_inc(x_189); +x_190 = lean_ctor_get(x_17, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_17, 1); +lean_inc(x_191); +x_192 = lean_ctor_get(x_17, 2); +lean_inc(x_192); if (lean_is_exclusive(x_17)) { lean_ctor_release(x_17, 0); lean_ctor_release(x_17, 1); lean_ctor_release(x_17, 2); - x_190 = x_17; + x_193 = x_17; } else { lean_dec_ref(x_17); - x_190 = lean_box(0); + x_193 = lean_box(0); } -x_191 = lean_array_get_size(x_187); -x_192 = lean_nat_dec_lt(x_4, x_191); -lean_dec(x_191); -if (x_192 == 0) +x_194 = lean_array_get_size(x_190); +x_195 = lean_nat_dec_lt(x_4, x_194); +lean_dec(x_194); +if (x_195 == 0) { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_dec(x_2); -if (lean_is_scalar(x_190)) { - x_193 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_193)) { + x_196 = lean_alloc_ctor(0, 3, 0); } else { - x_193 = x_190; + x_196 = x_193; } -lean_ctor_set(x_193, 0, x_187); -lean_ctor_set(x_193, 1, x_188); -lean_ctor_set(x_193, 2, x_189); -if (lean_is_scalar(x_186)) { - x_194 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_196, 0, x_190); +lean_ctor_set(x_196, 1, x_191); +lean_ctor_set(x_196, 2, x_192); +if (lean_is_scalar(x_189)) { + x_197 = lean_alloc_ctor(0, 3, 0); } else { - x_194 = x_186; + x_197 = x_189; } -lean_ctor_set(x_194, 0, x_184); -lean_ctor_set(x_194, 1, x_185); -lean_ctor_set(x_194, 2, x_193); -x_195 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_195, 0, x_169); -lean_ctor_set(x_195, 1, x_170); -lean_ctor_set(x_195, 2, x_171); -lean_ctor_set(x_195, 3, x_172); -lean_ctor_set(x_195, 4, x_173); -lean_ctor_set(x_195, 5, x_174); -lean_ctor_set(x_195, 6, x_175); -lean_ctor_set(x_195, 7, x_177); -lean_ctor_set(x_195, 8, x_178); -lean_ctor_set(x_195, 9, x_179); -lean_ctor_set(x_195, 10, x_180); -lean_ctor_set(x_195, 11, x_181); -lean_ctor_set(x_195, 12, x_182); -lean_ctor_set(x_195, 13, x_194); -lean_ctor_set(x_195, 14, x_183); -lean_ctor_set_uint8(x_195, sizeof(void*)*15, x_176); -x_196 = lean_st_ref_set(x_5, x_195, x_18); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_198 = x_196; +lean_ctor_set(x_197, 0, x_187); +lean_ctor_set(x_197, 1, x_188); +lean_ctor_set(x_197, 2, x_196); +x_198 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_198, 0, x_172); +lean_ctor_set(x_198, 1, x_173); +lean_ctor_set(x_198, 2, x_174); +lean_ctor_set(x_198, 3, x_175); +lean_ctor_set(x_198, 4, x_176); +lean_ctor_set(x_198, 5, x_177); +lean_ctor_set(x_198, 6, x_178); +lean_ctor_set(x_198, 7, x_180); +lean_ctor_set(x_198, 8, x_181); +lean_ctor_set(x_198, 9, x_182); +lean_ctor_set(x_198, 10, x_183); +lean_ctor_set(x_198, 11, x_184); +lean_ctor_set(x_198, 12, x_185); +lean_ctor_set(x_198, 13, x_197); +lean_ctor_set(x_198, 14, x_186); +lean_ctor_set_uint8(x_198, sizeof(void*)*15, x_179); +x_199 = lean_st_ref_set(x_5, x_198, x_18); +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_201 = x_199; } else { - lean_dec_ref(x_196); - x_198 = lean_box(0); + lean_dec_ref(x_199); + x_201 = lean_box(0); } -x_199 = lean_box(0); -if (lean_is_scalar(x_198)) { - x_200 = lean_alloc_ctor(0, 2, 0); +x_202 = lean_box(0); +if (lean_is_scalar(x_201)) { + x_203 = lean_alloc_ctor(0, 2, 0); } else { - x_200 = x_198; + x_203 = x_201; } -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_197); -return x_200; +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_200); +return x_203; } else { -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_201 = lean_array_fget(x_187, x_4); -x_202 = lean_box(0); -x_203 = lean_array_fset(x_187, x_4, x_202); -x_204 = lean_ctor_get(x_201, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_201, 1); -lean_inc(x_205); -x_206 = lean_ctor_get(x_201, 2); -lean_inc(x_206); -x_207 = lean_ctor_get(x_201, 3); +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +x_204 = lean_array_fget(x_190, x_4); +x_205 = lean_box(0); +x_206 = lean_array_fset(x_190, x_4, x_205); +x_207 = lean_ctor_get(x_204, 0); lean_inc(x_207); -x_208 = lean_ctor_get(x_201, 4); +x_208 = lean_ctor_get(x_204, 1); lean_inc(x_208); -x_209 = lean_ctor_get(x_201, 5); +x_209 = lean_ctor_get(x_204, 2); lean_inc(x_209); -x_210 = lean_ctor_get(x_201, 6); +x_210 = lean_ctor_get(x_204, 3); lean_inc(x_210); -x_211 = lean_ctor_get(x_201, 7); +x_211 = lean_ctor_get(x_204, 4); lean_inc(x_211); -x_212 = lean_ctor_get(x_201, 8); +x_212 = lean_ctor_get(x_204, 5); lean_inc(x_212); -x_213 = lean_ctor_get(x_201, 9); +x_213 = lean_ctor_get(x_204, 6); lean_inc(x_213); -x_214 = lean_ctor_get(x_201, 10); +x_214 = lean_ctor_get(x_204, 7); lean_inc(x_214); -x_215 = lean_ctor_get(x_201, 11); +x_215 = lean_ctor_get(x_204, 8); lean_inc(x_215); -x_216 = lean_ctor_get(x_201, 12); +x_216 = lean_ctor_get(x_204, 9); lean_inc(x_216); -x_217 = lean_ctor_get(x_201, 13); +x_217 = lean_ctor_get(x_204, 10); lean_inc(x_217); -x_218 = lean_ctor_get(x_201, 14); +x_218 = lean_ctor_get(x_204, 11); lean_inc(x_218); -x_219 = lean_ctor_get(x_201, 15); +x_219 = lean_ctor_get(x_204, 12); lean_inc(x_219); -x_220 = lean_ctor_get(x_201, 16); +x_220 = lean_ctor_get(x_204, 13); lean_inc(x_220); -x_221 = lean_ctor_get(x_201, 17); +x_221 = lean_ctor_get(x_204, 14); lean_inc(x_221); -x_222 = lean_ctor_get(x_201, 18); +x_222 = lean_ctor_get(x_204, 15); lean_inc(x_222); -if (lean_is_exclusive(x_201)) { - lean_ctor_release(x_201, 0); - lean_ctor_release(x_201, 1); - lean_ctor_release(x_201, 2); - lean_ctor_release(x_201, 3); - lean_ctor_release(x_201, 4); - lean_ctor_release(x_201, 5); - lean_ctor_release(x_201, 6); - lean_ctor_release(x_201, 7); - lean_ctor_release(x_201, 8); - lean_ctor_release(x_201, 9); - lean_ctor_release(x_201, 10); - lean_ctor_release(x_201, 11); - lean_ctor_release(x_201, 12); - lean_ctor_release(x_201, 13); - lean_ctor_release(x_201, 14); - lean_ctor_release(x_201, 15); - lean_ctor_release(x_201, 16); - lean_ctor_release(x_201, 17); - lean_ctor_release(x_201, 18); - x_223 = x_201; +x_223 = lean_ctor_get(x_204, 16); +lean_inc(x_223); +x_224 = lean_ctor_get(x_204, 17); +lean_inc(x_224); +x_225 = lean_ctor_get(x_204, 18); +lean_inc(x_225); +x_226 = lean_ctor_get(x_204, 19); +lean_inc(x_226); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + lean_ctor_release(x_204, 2); + lean_ctor_release(x_204, 3); + lean_ctor_release(x_204, 4); + lean_ctor_release(x_204, 5); + lean_ctor_release(x_204, 6); + lean_ctor_release(x_204, 7); + lean_ctor_release(x_204, 8); + lean_ctor_release(x_204, 9); + lean_ctor_release(x_204, 10); + lean_ctor_release(x_204, 11); + lean_ctor_release(x_204, 12); + lean_ctor_release(x_204, 13); + lean_ctor_release(x_204, 14); + lean_ctor_release(x_204, 15); + lean_ctor_release(x_204, 16); + lean_ctor_release(x_204, 17); + lean_ctor_release(x_204, 18); + lean_ctor_release(x_204, 19); + x_227 = x_204; } else { - lean_dec_ref(x_201); - x_223 = lean_box(0); + lean_dec_ref(x_204); + x_227 = lean_box(0); } -x_224 = lean_box(0); -x_225 = lean_ctor_get(x_1, 0); -x_226 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_224, x_222, x_225); -if (lean_is_scalar(x_223)) { - x_227 = lean_alloc_ctor(0, 19, 0); +x_228 = lean_box(0); +x_229 = lean_ctor_get(x_1, 0); +x_230 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_228, x_226, x_229); +if (lean_is_scalar(x_227)) { + x_231 = lean_alloc_ctor(0, 20, 0); } else { - x_227 = x_223; + x_231 = x_227; } -lean_ctor_set(x_227, 0, x_204); -lean_ctor_set(x_227, 1, x_205); -lean_ctor_set(x_227, 2, x_206); -lean_ctor_set(x_227, 3, x_207); -lean_ctor_set(x_227, 4, x_208); -lean_ctor_set(x_227, 5, x_209); -lean_ctor_set(x_227, 6, x_210); -lean_ctor_set(x_227, 7, x_211); -lean_ctor_set(x_227, 8, x_212); -lean_ctor_set(x_227, 9, x_213); -lean_ctor_set(x_227, 10, x_214); -lean_ctor_set(x_227, 11, x_215); -lean_ctor_set(x_227, 12, x_216); -lean_ctor_set(x_227, 13, x_217); -lean_ctor_set(x_227, 14, x_218); -lean_ctor_set(x_227, 15, x_219); -lean_ctor_set(x_227, 16, x_220); -lean_ctor_set(x_227, 17, x_221); -lean_ctor_set(x_227, 18, x_226); -x_228 = lean_array_fset(x_203, x_4, x_227); -if (lean_is_scalar(x_190)) { - x_229 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_231, 0, x_207); +lean_ctor_set(x_231, 1, x_208); +lean_ctor_set(x_231, 2, x_209); +lean_ctor_set(x_231, 3, x_210); +lean_ctor_set(x_231, 4, x_211); +lean_ctor_set(x_231, 5, x_212); +lean_ctor_set(x_231, 6, x_213); +lean_ctor_set(x_231, 7, x_214); +lean_ctor_set(x_231, 8, x_215); +lean_ctor_set(x_231, 9, x_216); +lean_ctor_set(x_231, 10, x_217); +lean_ctor_set(x_231, 11, x_218); +lean_ctor_set(x_231, 12, x_219); +lean_ctor_set(x_231, 13, x_220); +lean_ctor_set(x_231, 14, x_221); +lean_ctor_set(x_231, 15, x_222); +lean_ctor_set(x_231, 16, x_223); +lean_ctor_set(x_231, 17, x_224); +lean_ctor_set(x_231, 18, x_225); +lean_ctor_set(x_231, 19, x_230); +x_232 = lean_array_fset(x_206, x_4, x_231); +if (lean_is_scalar(x_193)) { + x_233 = lean_alloc_ctor(0, 3, 0); } else { - x_229 = x_190; + x_233 = x_193; } -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_188); -lean_ctor_set(x_229, 2, x_189); -if (lean_is_scalar(x_186)) { - x_230 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_191); +lean_ctor_set(x_233, 2, x_192); +if (lean_is_scalar(x_189)) { + x_234 = lean_alloc_ctor(0, 3, 0); } else { - x_230 = x_186; + x_234 = x_189; } -lean_ctor_set(x_230, 0, x_184); -lean_ctor_set(x_230, 1, x_185); -lean_ctor_set(x_230, 2, x_229); -x_231 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_231, 0, x_169); -lean_ctor_set(x_231, 1, x_170); -lean_ctor_set(x_231, 2, x_171); -lean_ctor_set(x_231, 3, x_172); -lean_ctor_set(x_231, 4, x_173); -lean_ctor_set(x_231, 5, x_174); -lean_ctor_set(x_231, 6, x_175); -lean_ctor_set(x_231, 7, x_177); -lean_ctor_set(x_231, 8, x_178); -lean_ctor_set(x_231, 9, x_179); -lean_ctor_set(x_231, 10, x_180); -lean_ctor_set(x_231, 11, x_181); -lean_ctor_set(x_231, 12, x_182); -lean_ctor_set(x_231, 13, x_230); -lean_ctor_set(x_231, 14, x_183); -lean_ctor_set_uint8(x_231, sizeof(void*)*15, x_176); -x_232 = lean_st_ref_set(x_5, x_231, x_18); -x_233 = lean_ctor_get(x_232, 1); -lean_inc(x_233); -if (lean_is_exclusive(x_232)) { - lean_ctor_release(x_232, 0); - lean_ctor_release(x_232, 1); - x_234 = x_232; +lean_ctor_set(x_234, 0, x_187); +lean_ctor_set(x_234, 1, x_188); +lean_ctor_set(x_234, 2, x_233); +x_235 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_235, 0, x_172); +lean_ctor_set(x_235, 1, x_173); +lean_ctor_set(x_235, 2, x_174); +lean_ctor_set(x_235, 3, x_175); +lean_ctor_set(x_235, 4, x_176); +lean_ctor_set(x_235, 5, x_177); +lean_ctor_set(x_235, 6, x_178); +lean_ctor_set(x_235, 7, x_180); +lean_ctor_set(x_235, 8, x_181); +lean_ctor_set(x_235, 9, x_182); +lean_ctor_set(x_235, 10, x_183); +lean_ctor_set(x_235, 11, x_184); +lean_ctor_set(x_235, 12, x_185); +lean_ctor_set(x_235, 13, x_234); +lean_ctor_set(x_235, 14, x_186); +lean_ctor_set_uint8(x_235, sizeof(void*)*15, x_179); +x_236 = lean_st_ref_set(x_5, x_235, x_18); +x_237 = lean_ctor_get(x_236, 1); +lean_inc(x_237); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + x_238 = x_236; } else { - lean_dec_ref(x_232); - x_234 = lean_box(0); + lean_dec_ref(x_236); + x_238 = lean_box(0); } -if (lean_is_scalar(x_234)) { - x_235 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_238)) { + x_239 = lean_alloc_ctor(0, 2, 0); } else { - x_235 = x_234; + x_239 = x_238; } -lean_ctor_set(x_235, 0, x_202); -lean_ctor_set(x_235, 1, x_233); -return x_235; +lean_ctor_set(x_239, 0, x_205); +lean_ctor_set(x_239, 1, x_237); +return x_239; } } } @@ -13268,8 +15941,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAft _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -13424,7 +16097,7 @@ x_34 = lean_ctor_get(x_25, 0); x_35 = lean_ctor_get(x_25, 1); lean_dec(x_35); x_36 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2; -x_37 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_37 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_unbox(x_38); @@ -13489,7 +16162,7 @@ lean_ctor_set(x_37, 0, x_52); lean_ctor_set_tag(x_25, 7); lean_ctor_set(x_25, 1, x_52); lean_ctor_set(x_25, 0, x_37); -x_53 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +x_53 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); x_55 = lean_ctor_get(x_53, 1); @@ -13616,7 +16289,7 @@ lean_ctor_set(x_73, 1, x_71); lean_ctor_set_tag(x_25, 7); lean_ctor_set(x_25, 1, x_72); lean_ctor_set(x_25, 0, x_73); -x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70); +x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); x_76 = lean_ctor_get(x_74, 1); @@ -13719,7 +16392,7 @@ x_86 = lean_ctor_get(x_25, 0); lean_inc(x_86); lean_dec(x_25); x_87 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2; -x_88 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_88 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); x_90 = lean_unbox(x_89); @@ -13791,7 +16464,7 @@ lean_ctor_set(x_103, 1, x_101); x_104 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); -x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_87, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); +x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_87, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); x_107 = lean_ctor_get(x_105, 1); @@ -14394,8 +17067,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___la _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -14585,7 +17258,7 @@ x_45 = lean_ctor_get(x_42, 1); lean_inc(x_45); lean_dec(x_42); x_46 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5; -x_47 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_46, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_45); +x_47 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_46, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_45); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -14657,7 +17330,7 @@ x_65 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2 x_66 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_46, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); +x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_46, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -14763,7 +17436,7 @@ x_82 = lean_ctor_get(x_42, 1); lean_inc(x_82); lean_dec(x_42); x_83 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; -x_84 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_83, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); +x_84 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_83, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); x_86 = lean_unbox(x_85); @@ -14815,7 +17488,7 @@ x_100 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__ x_101 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_101, 0, x_84); lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_83, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_97); +x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_83, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_97); x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); x_104 = lean_ctor_get(x_102, 1); @@ -14934,7 +17607,7 @@ x_123 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__ x_124 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_124, 0, x_122); lean_ctor_set(x_124, 1, x_123); -x_125 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_83, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119); +x_125 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_83, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119); x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); x_127 = lean_ctor_get(x_125, 1); @@ -15074,7 +17747,7 @@ lean_dec(x_23); lean_dec(x_2); lean_dec(x_1); x_141 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; -x_142 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_141, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_142 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_141, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_143 = lean_ctor_get(x_142, 0); lean_inc(x_143); x_144 = lean_unbox(x_143); @@ -15146,7 +17819,7 @@ x_160 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__ x_161 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_161, 0, x_159); lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_141, x_161, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_156); +x_162 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_141, x_161, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_156); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -15369,8 +18042,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___la _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -15429,7 +18102,7 @@ x_22 = lean_ctor_get(x_14, 0); lean_inc(x_22); lean_dec(x_14); x_23 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; -x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_23, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_23, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_unbox(x_25); @@ -15484,7 +18157,7 @@ lean_ctor_set(x_24, 0, x_39); x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_24); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_23, x_40, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_23, x_40, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); @@ -15600,7 +18273,7 @@ lean_ctor_set(x_61, 1, x_59); x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); -x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_23, x_62, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); +x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_23, x_62, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); @@ -15844,8 +18517,8 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2; x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -15874,7 +18547,7 @@ _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; -x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_unbox(x_15); @@ -15937,7 +18610,7 @@ x_32 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); return x_34; } else @@ -16158,7 +18831,7 @@ lean_dec(x_23); lean_dec(x_2); lean_dec(x_1); x_42 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; -x_43 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_43 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); x_45 = lean_unbox(x_44); @@ -16230,7 +18903,7 @@ x_61 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_42, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); +x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_42, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -16333,7 +19006,7 @@ else { lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; x_78 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; -x_79 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_79 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); x_81 = lean_unbox(x_80); @@ -16384,7 +19057,7 @@ x_95 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed x_96 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_96, 0, x_79); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_78, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); +x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_78, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); x_99 = lean_ctor_get(x_97, 1); @@ -16500,7 +19173,7 @@ x_118 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___close x_119 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_119, 0, x_117); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_78, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114); +x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_78, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114); x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); x_122 = lean_ctor_get(x_120, 1); @@ -16775,7 +19448,7 @@ x_21 = lean_ctor_get(x_13, 0); lean_inc(x_21); lean_dec(x_13); x_22 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; -x_23 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_22, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_23 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_22, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_unbox(x_24); @@ -16831,7 +19504,7 @@ lean_ctor_set(x_23, 0, x_39); x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_23); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_22, x_40, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_22, x_40, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); @@ -16948,7 +19621,7 @@ lean_ctor_set(x_62, 1, x_60); x_63 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_22, x_63, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_22, x_63, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); @@ -17101,30 +19774,30 @@ l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Ari lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5); l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1 = _init_l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1(); lean_mark_persistent(l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1); -l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1); -l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2); -l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3); -l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify1___closed__4); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__2); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__3(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__3); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__4); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__5 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__5(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__5); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplifyWith___spec__1___closed__6); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_simplify___spec__1___closed__2); l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1); l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Internalize.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Internalize.c index cd6c1a37e7..e6d777eec4 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Internalize.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Internalize.c @@ -1597,9 +1597,9 @@ x_41 = !lean_is_exclusive(x_38); if (x_41 == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_42 = lean_ctor_get(x_38, 14); +x_42 = lean_ctor_get(x_38, 15); x_43 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_42, x_1, x_2); -lean_ctor_set(x_38, 14, x_43); +lean_ctor_set(x_38, 15, x_43); x_44 = lean_array_fset(x_40, x_4, x_38); lean_dec(x_4); lean_ctor_set(x_21, 0, x_44); @@ -1628,7 +1628,7 @@ return x_49; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; x_50 = lean_ctor_get(x_38, 0); x_51 = lean_ctor_get(x_38, 1); x_52 = lean_ctor_get(x_38, 2); @@ -1648,6 +1648,8 @@ x_65 = lean_ctor_get(x_38, 15); x_66 = lean_ctor_get(x_38, 16); x_67 = lean_ctor_get(x_38, 17); x_68 = lean_ctor_get(x_38, 18); +x_69 = lean_ctor_get(x_38, 19); +lean_inc(x_69); lean_inc(x_68); lean_inc(x_67); lean_inc(x_66); @@ -1668,722 +1670,708 @@ lean_inc(x_52); lean_inc(x_51); lean_inc(x_50); lean_dec(x_38); -x_69 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_64, x_1, x_2); -x_70 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_70, 0, x_50); -lean_ctor_set(x_70, 1, x_51); -lean_ctor_set(x_70, 2, x_52); -lean_ctor_set(x_70, 3, x_53); -lean_ctor_set(x_70, 4, x_54); -lean_ctor_set(x_70, 5, x_55); -lean_ctor_set(x_70, 6, x_56); -lean_ctor_set(x_70, 7, x_57); -lean_ctor_set(x_70, 8, x_58); -lean_ctor_set(x_70, 9, x_59); -lean_ctor_set(x_70, 10, x_60); -lean_ctor_set(x_70, 11, x_61); -lean_ctor_set(x_70, 12, x_62); -lean_ctor_set(x_70, 13, x_63); -lean_ctor_set(x_70, 14, x_69); -lean_ctor_set(x_70, 15, x_65); -lean_ctor_set(x_70, 16, x_66); -lean_ctor_set(x_70, 17, x_67); -lean_ctor_set(x_70, 18, x_68); -x_71 = lean_array_fset(x_40, x_4, x_70); +x_70 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_65, x_1, x_2); +x_71 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_71, 0, x_50); +lean_ctor_set(x_71, 1, x_51); +lean_ctor_set(x_71, 2, x_52); +lean_ctor_set(x_71, 3, x_53); +lean_ctor_set(x_71, 4, x_54); +lean_ctor_set(x_71, 5, x_55); +lean_ctor_set(x_71, 6, x_56); +lean_ctor_set(x_71, 7, x_57); +lean_ctor_set(x_71, 8, x_58); +lean_ctor_set(x_71, 9, x_59); +lean_ctor_set(x_71, 10, x_60); +lean_ctor_set(x_71, 11, x_61); +lean_ctor_set(x_71, 12, x_62); +lean_ctor_set(x_71, 13, x_63); +lean_ctor_set(x_71, 14, x_64); +lean_ctor_set(x_71, 15, x_70); +lean_ctor_set(x_71, 16, x_66); +lean_ctor_set(x_71, 17, x_67); +lean_ctor_set(x_71, 18, x_68); +lean_ctor_set(x_71, 19, x_69); +x_72 = lean_array_fset(x_40, x_4, x_71); lean_dec(x_4); -lean_ctor_set(x_21, 0, x_71); -x_72 = lean_st_ref_set(x_5, x_19, x_22); +lean_ctor_set(x_21, 0, x_72); +x_73 = lean_st_ref_set(x_5, x_19, x_22); lean_dec(x_5); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_74 = x_72; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; } else { - lean_dec_ref(x_72); - x_74 = lean_box(0); + lean_dec_ref(x_73); + x_75 = lean_box(0); } -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 2, 0); } else { - x_75 = x_74; + x_76 = x_75; } -lean_ctor_set(x_75, 0, x_39); -lean_ctor_set(x_75, 1, x_73); -return x_75; +lean_ctor_set(x_76, 0, x_39); +lean_ctor_set(x_76, 1, x_74); +return x_76; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_76 = lean_ctor_get(x_21, 0); -x_77 = lean_ctor_get(x_21, 1); -x_78 = lean_ctor_get(x_21, 2); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_77 = lean_ctor_get(x_21, 0); +x_78 = lean_ctor_get(x_21, 1); +x_79 = lean_ctor_get(x_21, 2); +lean_inc(x_79); lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); lean_dec(x_21); -x_79 = lean_array_get_size(x_76); -x_80 = lean_nat_dec_lt(x_4, x_79); -lean_dec(x_79); -if (x_80 == 0) +x_80 = lean_array_get_size(x_77); +x_81 = lean_nat_dec_lt(x_4, x_80); +lean_dec(x_80); +if (x_81 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_81 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_81, 0, x_76); -lean_ctor_set(x_81, 1, x_77); -lean_ctor_set(x_81, 2, x_78); -lean_ctor_set(x_20, 2, x_81); -x_82 = lean_st_ref_set(x_5, x_19, x_22); +x_82 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_82, 0, x_77); +lean_ctor_set(x_82, 1, x_78); +lean_ctor_set(x_82, 2, x_79); +lean_ctor_set(x_20, 2, x_82); +x_83 = lean_st_ref_set(x_5, x_19, x_22); lean_dec(x_5); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_84 = x_82; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_85 = x_83; } else { - lean_dec_ref(x_82); - x_84 = lean_box(0); + lean_dec_ref(x_83); + x_85 = lean_box(0); } -x_85 = lean_box(0); -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(0, 2, 0); +x_86 = lean_box(0); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_84; + x_87 = x_85; } -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -return x_86; +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_87 = lean_array_fget(x_76, x_4); -x_88 = lean_box(0); -x_89 = lean_array_fset(x_76, x_4, x_88); -x_90 = lean_ctor_get(x_87, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_87, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_88 = lean_array_fget(x_77, x_4); +x_89 = lean_box(0); +x_90 = lean_array_fset(x_77, x_4, x_89); +x_91 = lean_ctor_get(x_88, 0); lean_inc(x_91); -x_92 = lean_ctor_get(x_87, 2); +x_92 = lean_ctor_get(x_88, 1); lean_inc(x_92); -x_93 = lean_ctor_get(x_87, 3); +x_93 = lean_ctor_get(x_88, 2); lean_inc(x_93); -x_94 = lean_ctor_get(x_87, 4); +x_94 = lean_ctor_get(x_88, 3); lean_inc(x_94); -x_95 = lean_ctor_get(x_87, 5); +x_95 = lean_ctor_get(x_88, 4); lean_inc(x_95); -x_96 = lean_ctor_get(x_87, 6); +x_96 = lean_ctor_get(x_88, 5); lean_inc(x_96); -x_97 = lean_ctor_get(x_87, 7); +x_97 = lean_ctor_get(x_88, 6); lean_inc(x_97); -x_98 = lean_ctor_get(x_87, 8); +x_98 = lean_ctor_get(x_88, 7); lean_inc(x_98); -x_99 = lean_ctor_get(x_87, 9); +x_99 = lean_ctor_get(x_88, 8); lean_inc(x_99); -x_100 = lean_ctor_get(x_87, 10); +x_100 = lean_ctor_get(x_88, 9); lean_inc(x_100); -x_101 = lean_ctor_get(x_87, 11); +x_101 = lean_ctor_get(x_88, 10); lean_inc(x_101); -x_102 = lean_ctor_get(x_87, 12); +x_102 = lean_ctor_get(x_88, 11); lean_inc(x_102); -x_103 = lean_ctor_get(x_87, 13); +x_103 = lean_ctor_get(x_88, 12); lean_inc(x_103); -x_104 = lean_ctor_get(x_87, 14); +x_104 = lean_ctor_get(x_88, 13); lean_inc(x_104); -x_105 = lean_ctor_get(x_87, 15); +x_105 = lean_ctor_get(x_88, 14); lean_inc(x_105); -x_106 = lean_ctor_get(x_87, 16); +x_106 = lean_ctor_get(x_88, 15); lean_inc(x_106); -x_107 = lean_ctor_get(x_87, 17); +x_107 = lean_ctor_get(x_88, 16); lean_inc(x_107); -x_108 = lean_ctor_get(x_87, 18); +x_108 = lean_ctor_get(x_88, 17); lean_inc(x_108); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - lean_ctor_release(x_87, 2); - lean_ctor_release(x_87, 3); - lean_ctor_release(x_87, 4); - lean_ctor_release(x_87, 5); - lean_ctor_release(x_87, 6); - lean_ctor_release(x_87, 7); - lean_ctor_release(x_87, 8); - lean_ctor_release(x_87, 9); - lean_ctor_release(x_87, 10); - lean_ctor_release(x_87, 11); - lean_ctor_release(x_87, 12); - lean_ctor_release(x_87, 13); - lean_ctor_release(x_87, 14); - lean_ctor_release(x_87, 15); - lean_ctor_release(x_87, 16); - lean_ctor_release(x_87, 17); - lean_ctor_release(x_87, 18); - x_109 = x_87; +x_109 = lean_ctor_get(x_88, 18); +lean_inc(x_109); +x_110 = lean_ctor_get(x_88, 19); +lean_inc(x_110); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + lean_ctor_release(x_88, 2); + lean_ctor_release(x_88, 3); + lean_ctor_release(x_88, 4); + lean_ctor_release(x_88, 5); + lean_ctor_release(x_88, 6); + lean_ctor_release(x_88, 7); + lean_ctor_release(x_88, 8); + lean_ctor_release(x_88, 9); + lean_ctor_release(x_88, 10); + lean_ctor_release(x_88, 11); + lean_ctor_release(x_88, 12); + lean_ctor_release(x_88, 13); + lean_ctor_release(x_88, 14); + lean_ctor_release(x_88, 15); + lean_ctor_release(x_88, 16); + lean_ctor_release(x_88, 17); + lean_ctor_release(x_88, 18); + lean_ctor_release(x_88, 19); + x_111 = x_88; } else { - lean_dec_ref(x_87); - x_109 = lean_box(0); + lean_dec_ref(x_88); + x_111 = lean_box(0); } -x_110 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_104, x_1, x_2); -if (lean_is_scalar(x_109)) { - x_111 = lean_alloc_ctor(0, 19, 0); +x_112 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_106, x_1, x_2); +if (lean_is_scalar(x_111)) { + x_113 = lean_alloc_ctor(0, 20, 0); } else { - x_111 = x_109; + x_113 = x_111; } -lean_ctor_set(x_111, 0, x_90); -lean_ctor_set(x_111, 1, x_91); -lean_ctor_set(x_111, 2, x_92); -lean_ctor_set(x_111, 3, x_93); -lean_ctor_set(x_111, 4, x_94); -lean_ctor_set(x_111, 5, x_95); -lean_ctor_set(x_111, 6, x_96); -lean_ctor_set(x_111, 7, x_97); -lean_ctor_set(x_111, 8, x_98); -lean_ctor_set(x_111, 9, x_99); -lean_ctor_set(x_111, 10, x_100); -lean_ctor_set(x_111, 11, x_101); -lean_ctor_set(x_111, 12, x_102); -lean_ctor_set(x_111, 13, x_103); -lean_ctor_set(x_111, 14, x_110); -lean_ctor_set(x_111, 15, x_105); -lean_ctor_set(x_111, 16, x_106); -lean_ctor_set(x_111, 17, x_107); -lean_ctor_set(x_111, 18, x_108); -x_112 = lean_array_fset(x_89, x_4, x_111); +lean_ctor_set(x_113, 0, x_91); +lean_ctor_set(x_113, 1, x_92); +lean_ctor_set(x_113, 2, x_93); +lean_ctor_set(x_113, 3, x_94); +lean_ctor_set(x_113, 4, x_95); +lean_ctor_set(x_113, 5, x_96); +lean_ctor_set(x_113, 6, x_97); +lean_ctor_set(x_113, 7, x_98); +lean_ctor_set(x_113, 8, x_99); +lean_ctor_set(x_113, 9, x_100); +lean_ctor_set(x_113, 10, x_101); +lean_ctor_set(x_113, 11, x_102); +lean_ctor_set(x_113, 12, x_103); +lean_ctor_set(x_113, 13, x_104); +lean_ctor_set(x_113, 14, x_105); +lean_ctor_set(x_113, 15, x_112); +lean_ctor_set(x_113, 16, x_107); +lean_ctor_set(x_113, 17, x_108); +lean_ctor_set(x_113, 18, x_109); +lean_ctor_set(x_113, 19, x_110); +x_114 = lean_array_fset(x_90, x_4, x_113); lean_dec(x_4); -x_113 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_77); -lean_ctor_set(x_113, 2, x_78); -lean_ctor_set(x_20, 2, x_113); -x_114 = lean_st_ref_set(x_5, x_19, x_22); +x_115 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_78); +lean_ctor_set(x_115, 2, x_79); +lean_ctor_set(x_20, 2, x_115); +x_116 = lean_st_ref_set(x_5, x_19, x_22); lean_dec(x_5); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_116 = x_114; +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_118 = x_116; } else { - lean_dec_ref(x_114); - x_116 = lean_box(0); + lean_dec_ref(x_116); + x_118 = lean_box(0); } -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(0, 2, 0); } else { - x_117 = x_116; + x_119 = x_118; } -lean_ctor_set(x_117, 0, x_88); -lean_ctor_set(x_117, 1, x_115); -return x_117; +lean_ctor_set(x_119, 0, x_89); +lean_ctor_set(x_119, 1, x_117); +return x_119; } } } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_118 = lean_ctor_get(x_20, 0); -x_119 = lean_ctor_get(x_20, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_20); -x_120 = lean_ctor_get(x_21, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_21, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_120 = lean_ctor_get(x_20, 0); +x_121 = lean_ctor_get(x_20, 1); lean_inc(x_121); -x_122 = lean_ctor_get(x_21, 2); +lean_inc(x_120); +lean_dec(x_20); +x_122 = lean_ctor_get(x_21, 0); lean_inc(x_122); +x_123 = lean_ctor_get(x_21, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_21, 2); +lean_inc(x_124); if (lean_is_exclusive(x_21)) { lean_ctor_release(x_21, 0); lean_ctor_release(x_21, 1); lean_ctor_release(x_21, 2); - x_123 = x_21; + x_125 = x_21; } else { lean_dec_ref(x_21); - x_123 = lean_box(0); + x_125 = lean_box(0); } -x_124 = lean_array_get_size(x_120); -x_125 = lean_nat_dec_lt(x_4, x_124); -lean_dec(x_124); -if (x_125 == 0) +x_126 = lean_array_get_size(x_122); +x_127 = lean_nat_dec_lt(x_4, x_126); +lean_dec(x_126); +if (x_127 == 0) { -lean_object* x_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_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_125)) { + x_128 = lean_alloc_ctor(0, 3, 0); } else { - x_126 = x_123; + x_128 = x_125; } -lean_ctor_set(x_126, 0, x_120); -lean_ctor_set(x_126, 1, x_121); -lean_ctor_set(x_126, 2, x_122); -x_127 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_127, 0, x_118); -lean_ctor_set(x_127, 1, x_119); -lean_ctor_set(x_127, 2, x_126); -lean_ctor_set(x_19, 13, x_127); -x_128 = lean_st_ref_set(x_5, x_19, x_22); +lean_ctor_set(x_128, 0, x_122); +lean_ctor_set(x_128, 1, x_123); +lean_ctor_set(x_128, 2, x_124); +x_129 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_129, 0, x_120); +lean_ctor_set(x_129, 1, x_121); +lean_ctor_set(x_129, 2, x_128); +lean_ctor_set(x_19, 13, x_129); +x_130 = lean_st_ref_set(x_5, x_19, x_22); lean_dec(x_5); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_130 = x_128; -} else { - lean_dec_ref(x_128); - x_130 = lean_box(0); -} -x_131 = lean_box(0); -if (lean_is_scalar(x_130)) { - x_132 = lean_alloc_ctor(0, 2, 0); -} else { +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); x_132 = x_130; +} else { + lean_dec_ref(x_130); + x_132 = lean_box(0); } -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_129); -return x_132; +x_133 = lean_box(0); +if (lean_is_scalar(x_132)) { + x_134 = lean_alloc_ctor(0, 2, 0); +} else { + x_134 = x_132; +} +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_131); +return x_134; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_133 = lean_array_fget(x_120, x_4); -x_134 = lean_box(0); -x_135 = lean_array_fset(x_120, x_4, x_134); -x_136 = lean_ctor_get(x_133, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_133, 1); -lean_inc(x_137); -x_138 = lean_ctor_get(x_133, 2); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_135 = lean_array_fget(x_122, x_4); +x_136 = lean_box(0); +x_137 = lean_array_fset(x_122, x_4, x_136); +x_138 = lean_ctor_get(x_135, 0); lean_inc(x_138); -x_139 = lean_ctor_get(x_133, 3); +x_139 = lean_ctor_get(x_135, 1); lean_inc(x_139); -x_140 = lean_ctor_get(x_133, 4); +x_140 = lean_ctor_get(x_135, 2); lean_inc(x_140); -x_141 = lean_ctor_get(x_133, 5); +x_141 = lean_ctor_get(x_135, 3); lean_inc(x_141); -x_142 = lean_ctor_get(x_133, 6); +x_142 = lean_ctor_get(x_135, 4); lean_inc(x_142); -x_143 = lean_ctor_get(x_133, 7); +x_143 = lean_ctor_get(x_135, 5); lean_inc(x_143); -x_144 = lean_ctor_get(x_133, 8); +x_144 = lean_ctor_get(x_135, 6); lean_inc(x_144); -x_145 = lean_ctor_get(x_133, 9); +x_145 = lean_ctor_get(x_135, 7); lean_inc(x_145); -x_146 = lean_ctor_get(x_133, 10); +x_146 = lean_ctor_get(x_135, 8); lean_inc(x_146); -x_147 = lean_ctor_get(x_133, 11); +x_147 = lean_ctor_get(x_135, 9); lean_inc(x_147); -x_148 = lean_ctor_get(x_133, 12); +x_148 = lean_ctor_get(x_135, 10); lean_inc(x_148); -x_149 = lean_ctor_get(x_133, 13); +x_149 = lean_ctor_get(x_135, 11); lean_inc(x_149); -x_150 = lean_ctor_get(x_133, 14); +x_150 = lean_ctor_get(x_135, 12); lean_inc(x_150); -x_151 = lean_ctor_get(x_133, 15); +x_151 = lean_ctor_get(x_135, 13); lean_inc(x_151); -x_152 = lean_ctor_get(x_133, 16); +x_152 = lean_ctor_get(x_135, 14); lean_inc(x_152); -x_153 = lean_ctor_get(x_133, 17); +x_153 = lean_ctor_get(x_135, 15); lean_inc(x_153); -x_154 = lean_ctor_get(x_133, 18); +x_154 = lean_ctor_get(x_135, 16); lean_inc(x_154); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - lean_ctor_release(x_133, 2); - lean_ctor_release(x_133, 3); - lean_ctor_release(x_133, 4); - lean_ctor_release(x_133, 5); - lean_ctor_release(x_133, 6); - lean_ctor_release(x_133, 7); - lean_ctor_release(x_133, 8); - lean_ctor_release(x_133, 9); - lean_ctor_release(x_133, 10); - lean_ctor_release(x_133, 11); - lean_ctor_release(x_133, 12); - lean_ctor_release(x_133, 13); - lean_ctor_release(x_133, 14); - lean_ctor_release(x_133, 15); - lean_ctor_release(x_133, 16); - lean_ctor_release(x_133, 17); - lean_ctor_release(x_133, 18); - x_155 = x_133; +x_155 = lean_ctor_get(x_135, 17); +lean_inc(x_155); +x_156 = lean_ctor_get(x_135, 18); +lean_inc(x_156); +x_157 = lean_ctor_get(x_135, 19); +lean_inc(x_157); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + lean_ctor_release(x_135, 6); + lean_ctor_release(x_135, 7); + lean_ctor_release(x_135, 8); + lean_ctor_release(x_135, 9); + lean_ctor_release(x_135, 10); + lean_ctor_release(x_135, 11); + lean_ctor_release(x_135, 12); + lean_ctor_release(x_135, 13); + lean_ctor_release(x_135, 14); + lean_ctor_release(x_135, 15); + lean_ctor_release(x_135, 16); + lean_ctor_release(x_135, 17); + lean_ctor_release(x_135, 18); + lean_ctor_release(x_135, 19); + x_158 = x_135; } else { - lean_dec_ref(x_133); - x_155 = lean_box(0); + lean_dec_ref(x_135); + x_158 = lean_box(0); } -x_156 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_150, x_1, x_2); -if (lean_is_scalar(x_155)) { - x_157 = lean_alloc_ctor(0, 19, 0); +x_159 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_153, x_1, x_2); +if (lean_is_scalar(x_158)) { + x_160 = lean_alloc_ctor(0, 20, 0); } else { - x_157 = x_155; + x_160 = x_158; } -lean_ctor_set(x_157, 0, x_136); -lean_ctor_set(x_157, 1, x_137); -lean_ctor_set(x_157, 2, x_138); -lean_ctor_set(x_157, 3, x_139); -lean_ctor_set(x_157, 4, x_140); -lean_ctor_set(x_157, 5, x_141); -lean_ctor_set(x_157, 6, x_142); -lean_ctor_set(x_157, 7, x_143); -lean_ctor_set(x_157, 8, x_144); -lean_ctor_set(x_157, 9, x_145); -lean_ctor_set(x_157, 10, x_146); -lean_ctor_set(x_157, 11, x_147); -lean_ctor_set(x_157, 12, x_148); -lean_ctor_set(x_157, 13, x_149); -lean_ctor_set(x_157, 14, x_156); -lean_ctor_set(x_157, 15, x_151); -lean_ctor_set(x_157, 16, x_152); -lean_ctor_set(x_157, 17, x_153); -lean_ctor_set(x_157, 18, x_154); -x_158 = lean_array_fset(x_135, x_4, x_157); +lean_ctor_set(x_160, 0, x_138); +lean_ctor_set(x_160, 1, x_139); +lean_ctor_set(x_160, 2, x_140); +lean_ctor_set(x_160, 3, x_141); +lean_ctor_set(x_160, 4, x_142); +lean_ctor_set(x_160, 5, x_143); +lean_ctor_set(x_160, 6, x_144); +lean_ctor_set(x_160, 7, x_145); +lean_ctor_set(x_160, 8, x_146); +lean_ctor_set(x_160, 9, x_147); +lean_ctor_set(x_160, 10, x_148); +lean_ctor_set(x_160, 11, x_149); +lean_ctor_set(x_160, 12, x_150); +lean_ctor_set(x_160, 13, x_151); +lean_ctor_set(x_160, 14, x_152); +lean_ctor_set(x_160, 15, x_159); +lean_ctor_set(x_160, 16, x_154); +lean_ctor_set(x_160, 17, x_155); +lean_ctor_set(x_160, 18, x_156); +lean_ctor_set(x_160, 19, x_157); +x_161 = lean_array_fset(x_137, x_4, x_160); lean_dec(x_4); -if (lean_is_scalar(x_123)) { - x_159 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_125)) { + x_162 = lean_alloc_ctor(0, 3, 0); } else { - x_159 = x_123; + x_162 = x_125; } -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_121); -lean_ctor_set(x_159, 2, x_122); -x_160 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_160, 0, x_118); -lean_ctor_set(x_160, 1, x_119); -lean_ctor_set(x_160, 2, x_159); -lean_ctor_set(x_19, 13, x_160); -x_161 = lean_st_ref_set(x_5, x_19, x_22); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_123); +lean_ctor_set(x_162, 2, x_124); +x_163 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_163, 0, x_120); +lean_ctor_set(x_163, 1, x_121); +lean_ctor_set(x_163, 2, x_162); +lean_ctor_set(x_19, 13, x_163); +x_164 = lean_st_ref_set(x_5, x_19, x_22); lean_dec(x_5); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_163 = x_161; +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_166 = x_164; } else { - lean_dec_ref(x_161); - x_163 = lean_box(0); + lean_dec_ref(x_164); + x_166 = lean_box(0); } -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(0, 2, 0); } else { - x_164 = x_163; + x_167 = x_166; } -lean_ctor_set(x_164, 0, x_134); -lean_ctor_set(x_164, 1, x_162); -return x_164; +lean_ctor_set(x_167, 0, x_136); +lean_ctor_set(x_167, 1, x_165); +return x_167; } } } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; -x_165 = lean_ctor_get(x_19, 0); -x_166 = lean_ctor_get(x_19, 1); -x_167 = lean_ctor_get(x_19, 2); -x_168 = lean_ctor_get(x_19, 3); -x_169 = lean_ctor_get(x_19, 4); -x_170 = lean_ctor_get(x_19, 5); -x_171 = lean_ctor_get(x_19, 6); -x_172 = lean_ctor_get_uint8(x_19, sizeof(void*)*15); -x_173 = lean_ctor_get(x_19, 7); -x_174 = lean_ctor_get(x_19, 8); -x_175 = lean_ctor_get(x_19, 9); -x_176 = lean_ctor_get(x_19, 10); -x_177 = lean_ctor_get(x_19, 11); -x_178 = lean_ctor_get(x_19, 12); -x_179 = lean_ctor_get(x_19, 14); +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; +x_168 = lean_ctor_get(x_19, 0); +x_169 = lean_ctor_get(x_19, 1); +x_170 = lean_ctor_get(x_19, 2); +x_171 = lean_ctor_get(x_19, 3); +x_172 = lean_ctor_get(x_19, 4); +x_173 = lean_ctor_get(x_19, 5); +x_174 = lean_ctor_get(x_19, 6); +x_175 = lean_ctor_get_uint8(x_19, sizeof(void*)*15); +x_176 = lean_ctor_get(x_19, 7); +x_177 = lean_ctor_get(x_19, 8); +x_178 = lean_ctor_get(x_19, 9); +x_179 = lean_ctor_get(x_19, 10); +x_180 = lean_ctor_get(x_19, 11); +x_181 = lean_ctor_get(x_19, 12); +x_182 = lean_ctor_get(x_19, 14); +lean_inc(x_182); +lean_inc(x_181); +lean_inc(x_180); lean_inc(x_179); lean_inc(x_178); lean_inc(x_177); lean_inc(x_176); -lean_inc(x_175); lean_inc(x_174); lean_inc(x_173); +lean_inc(x_172); lean_inc(x_171); lean_inc(x_170); lean_inc(x_169); lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); lean_dec(x_19); -x_180 = lean_ctor_get(x_20, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_20, 1); -lean_inc(x_181); +x_183 = lean_ctor_get(x_20, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_20, 1); +lean_inc(x_184); if (lean_is_exclusive(x_20)) { lean_ctor_release(x_20, 0); lean_ctor_release(x_20, 1); lean_ctor_release(x_20, 2); - x_182 = x_20; + x_185 = x_20; } else { lean_dec_ref(x_20); - x_182 = lean_box(0); + x_185 = lean_box(0); } -x_183 = lean_ctor_get(x_21, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_21, 1); -lean_inc(x_184); -x_185 = lean_ctor_get(x_21, 2); -lean_inc(x_185); +x_186 = lean_ctor_get(x_21, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_21, 1); +lean_inc(x_187); +x_188 = lean_ctor_get(x_21, 2); +lean_inc(x_188); if (lean_is_exclusive(x_21)) { lean_ctor_release(x_21, 0); lean_ctor_release(x_21, 1); lean_ctor_release(x_21, 2); - x_186 = x_21; + x_189 = x_21; } else { lean_dec_ref(x_21); - x_186 = lean_box(0); + x_189 = lean_box(0); } -x_187 = lean_array_get_size(x_183); -x_188 = lean_nat_dec_lt(x_4, x_187); -lean_dec(x_187); -if (x_188 == 0) +x_190 = lean_array_get_size(x_186); +x_191 = lean_nat_dec_lt(x_4, x_190); +lean_dec(x_190); +if (x_191 == 0) { -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_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_dec(x_4); lean_dec(x_2); lean_dec(x_1); -if (lean_is_scalar(x_186)) { - x_189 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_189)) { + x_192 = lean_alloc_ctor(0, 3, 0); } else { - x_189 = x_186; + x_192 = x_189; } -lean_ctor_set(x_189, 0, x_183); -lean_ctor_set(x_189, 1, x_184); -lean_ctor_set(x_189, 2, x_185); -if (lean_is_scalar(x_182)) { - x_190 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_192, 0, x_186); +lean_ctor_set(x_192, 1, x_187); +lean_ctor_set(x_192, 2, x_188); +if (lean_is_scalar(x_185)) { + x_193 = lean_alloc_ctor(0, 3, 0); } else { - x_190 = x_182; + x_193 = x_185; } -lean_ctor_set(x_190, 0, x_180); -lean_ctor_set(x_190, 1, x_181); -lean_ctor_set(x_190, 2, x_189); -x_191 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_191, 0, x_165); -lean_ctor_set(x_191, 1, x_166); -lean_ctor_set(x_191, 2, x_167); -lean_ctor_set(x_191, 3, x_168); -lean_ctor_set(x_191, 4, x_169); -lean_ctor_set(x_191, 5, x_170); -lean_ctor_set(x_191, 6, x_171); -lean_ctor_set(x_191, 7, x_173); -lean_ctor_set(x_191, 8, x_174); -lean_ctor_set(x_191, 9, x_175); -lean_ctor_set(x_191, 10, x_176); -lean_ctor_set(x_191, 11, x_177); -lean_ctor_set(x_191, 12, x_178); -lean_ctor_set(x_191, 13, x_190); -lean_ctor_set(x_191, 14, x_179); -lean_ctor_set_uint8(x_191, sizeof(void*)*15, x_172); -x_192 = lean_st_ref_set(x_5, x_191, x_22); +lean_ctor_set(x_193, 0, x_183); +lean_ctor_set(x_193, 1, x_184); +lean_ctor_set(x_193, 2, x_192); +x_194 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_194, 0, x_168); +lean_ctor_set(x_194, 1, x_169); +lean_ctor_set(x_194, 2, x_170); +lean_ctor_set(x_194, 3, x_171); +lean_ctor_set(x_194, 4, x_172); +lean_ctor_set(x_194, 5, x_173); +lean_ctor_set(x_194, 6, x_174); +lean_ctor_set(x_194, 7, x_176); +lean_ctor_set(x_194, 8, x_177); +lean_ctor_set(x_194, 9, x_178); +lean_ctor_set(x_194, 10, x_179); +lean_ctor_set(x_194, 11, x_180); +lean_ctor_set(x_194, 12, x_181); +lean_ctor_set(x_194, 13, x_193); +lean_ctor_set(x_194, 14, x_182); +lean_ctor_set_uint8(x_194, sizeof(void*)*15, x_175); +x_195 = lean_st_ref_set(x_5, x_194, x_22); lean_dec(x_5); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_192)) { - lean_ctor_release(x_192, 0); - lean_ctor_release(x_192, 1); - x_194 = x_192; +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_197 = x_195; } else { - lean_dec_ref(x_192); - x_194 = lean_box(0); + lean_dec_ref(x_195); + x_197 = lean_box(0); } -x_195 = lean_box(0); -if (lean_is_scalar(x_194)) { - x_196 = lean_alloc_ctor(0, 2, 0); -} else { - x_196 = x_194; -} -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_193); -return x_196; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_197 = lean_array_fget(x_183, x_4); x_198 = lean_box(0); -x_199 = lean_array_fset(x_183, x_4, x_198); -x_200 = lean_ctor_get(x_197, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_197, 1); -lean_inc(x_201); -x_202 = lean_ctor_get(x_197, 2); -lean_inc(x_202); -x_203 = lean_ctor_get(x_197, 3); +if (lean_is_scalar(x_197)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_197; +} +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_196); +return x_199; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_200 = lean_array_fget(x_186, x_4); +x_201 = lean_box(0); +x_202 = lean_array_fset(x_186, x_4, x_201); +x_203 = lean_ctor_get(x_200, 0); lean_inc(x_203); -x_204 = lean_ctor_get(x_197, 4); +x_204 = lean_ctor_get(x_200, 1); lean_inc(x_204); -x_205 = lean_ctor_get(x_197, 5); +x_205 = lean_ctor_get(x_200, 2); lean_inc(x_205); -x_206 = lean_ctor_get(x_197, 6); +x_206 = lean_ctor_get(x_200, 3); lean_inc(x_206); -x_207 = lean_ctor_get(x_197, 7); +x_207 = lean_ctor_get(x_200, 4); lean_inc(x_207); -x_208 = lean_ctor_get(x_197, 8); +x_208 = lean_ctor_get(x_200, 5); lean_inc(x_208); -x_209 = lean_ctor_get(x_197, 9); +x_209 = lean_ctor_get(x_200, 6); lean_inc(x_209); -x_210 = lean_ctor_get(x_197, 10); +x_210 = lean_ctor_get(x_200, 7); lean_inc(x_210); -x_211 = lean_ctor_get(x_197, 11); +x_211 = lean_ctor_get(x_200, 8); lean_inc(x_211); -x_212 = lean_ctor_get(x_197, 12); +x_212 = lean_ctor_get(x_200, 9); lean_inc(x_212); -x_213 = lean_ctor_get(x_197, 13); +x_213 = lean_ctor_get(x_200, 10); lean_inc(x_213); -x_214 = lean_ctor_get(x_197, 14); +x_214 = lean_ctor_get(x_200, 11); lean_inc(x_214); -x_215 = lean_ctor_get(x_197, 15); +x_215 = lean_ctor_get(x_200, 12); lean_inc(x_215); -x_216 = lean_ctor_get(x_197, 16); +x_216 = lean_ctor_get(x_200, 13); lean_inc(x_216); -x_217 = lean_ctor_get(x_197, 17); +x_217 = lean_ctor_get(x_200, 14); lean_inc(x_217); -x_218 = lean_ctor_get(x_197, 18); +x_218 = lean_ctor_get(x_200, 15); lean_inc(x_218); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - lean_ctor_release(x_197, 2); - lean_ctor_release(x_197, 3); - lean_ctor_release(x_197, 4); - lean_ctor_release(x_197, 5); - lean_ctor_release(x_197, 6); - lean_ctor_release(x_197, 7); - lean_ctor_release(x_197, 8); - lean_ctor_release(x_197, 9); - lean_ctor_release(x_197, 10); - lean_ctor_release(x_197, 11); - lean_ctor_release(x_197, 12); - lean_ctor_release(x_197, 13); - lean_ctor_release(x_197, 14); - lean_ctor_release(x_197, 15); - lean_ctor_release(x_197, 16); - lean_ctor_release(x_197, 17); - lean_ctor_release(x_197, 18); - x_219 = x_197; +x_219 = lean_ctor_get(x_200, 16); +lean_inc(x_219); +x_220 = lean_ctor_get(x_200, 17); +lean_inc(x_220); +x_221 = lean_ctor_get(x_200, 18); +lean_inc(x_221); +x_222 = lean_ctor_get(x_200, 19); +lean_inc(x_222); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + lean_ctor_release(x_200, 2); + lean_ctor_release(x_200, 3); + lean_ctor_release(x_200, 4); + lean_ctor_release(x_200, 5); + lean_ctor_release(x_200, 6); + lean_ctor_release(x_200, 7); + lean_ctor_release(x_200, 8); + lean_ctor_release(x_200, 9); + lean_ctor_release(x_200, 10); + lean_ctor_release(x_200, 11); + lean_ctor_release(x_200, 12); + lean_ctor_release(x_200, 13); + lean_ctor_release(x_200, 14); + lean_ctor_release(x_200, 15); + lean_ctor_release(x_200, 16); + lean_ctor_release(x_200, 17); + lean_ctor_release(x_200, 18); + lean_ctor_release(x_200, 19); + x_223 = x_200; } else { - lean_dec_ref(x_197); - x_219 = lean_box(0); + lean_dec_ref(x_200); + x_223 = lean_box(0); } -x_220 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_214, x_1, x_2); -if (lean_is_scalar(x_219)) { - x_221 = lean_alloc_ctor(0, 19, 0); +x_224 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_internalize___spec__2(x_218, x_1, x_2); +if (lean_is_scalar(x_223)) { + x_225 = lean_alloc_ctor(0, 20, 0); } else { - x_221 = x_219; + x_225 = x_223; } -lean_ctor_set(x_221, 0, x_200); -lean_ctor_set(x_221, 1, x_201); -lean_ctor_set(x_221, 2, x_202); -lean_ctor_set(x_221, 3, x_203); -lean_ctor_set(x_221, 4, x_204); -lean_ctor_set(x_221, 5, x_205); -lean_ctor_set(x_221, 6, x_206); -lean_ctor_set(x_221, 7, x_207); -lean_ctor_set(x_221, 8, x_208); -lean_ctor_set(x_221, 9, x_209); -lean_ctor_set(x_221, 10, x_210); -lean_ctor_set(x_221, 11, x_211); -lean_ctor_set(x_221, 12, x_212); -lean_ctor_set(x_221, 13, x_213); -lean_ctor_set(x_221, 14, x_220); -lean_ctor_set(x_221, 15, x_215); -lean_ctor_set(x_221, 16, x_216); -lean_ctor_set(x_221, 17, x_217); -lean_ctor_set(x_221, 18, x_218); -x_222 = lean_array_fset(x_199, x_4, x_221); +lean_ctor_set(x_225, 0, x_203); +lean_ctor_set(x_225, 1, x_204); +lean_ctor_set(x_225, 2, x_205); +lean_ctor_set(x_225, 3, x_206); +lean_ctor_set(x_225, 4, x_207); +lean_ctor_set(x_225, 5, x_208); +lean_ctor_set(x_225, 6, x_209); +lean_ctor_set(x_225, 7, x_210); +lean_ctor_set(x_225, 8, x_211); +lean_ctor_set(x_225, 9, x_212); +lean_ctor_set(x_225, 10, x_213); +lean_ctor_set(x_225, 11, x_214); +lean_ctor_set(x_225, 12, x_215); +lean_ctor_set(x_225, 13, x_216); +lean_ctor_set(x_225, 14, x_217); +lean_ctor_set(x_225, 15, x_224); +lean_ctor_set(x_225, 16, x_219); +lean_ctor_set(x_225, 17, x_220); +lean_ctor_set(x_225, 18, x_221); +lean_ctor_set(x_225, 19, x_222); +x_226 = lean_array_fset(x_202, x_4, x_225); lean_dec(x_4); -if (lean_is_scalar(x_186)) { - x_223 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_189)) { + x_227 = lean_alloc_ctor(0, 3, 0); } else { - x_223 = x_186; + x_227 = x_189; } -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_184); -lean_ctor_set(x_223, 2, x_185); -if (lean_is_scalar(x_182)) { - x_224 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_187); +lean_ctor_set(x_227, 2, x_188); +if (lean_is_scalar(x_185)) { + x_228 = lean_alloc_ctor(0, 3, 0); } else { - x_224 = x_182; + x_228 = x_185; } -lean_ctor_set(x_224, 0, x_180); -lean_ctor_set(x_224, 1, x_181); -lean_ctor_set(x_224, 2, x_223); -x_225 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_225, 0, x_165); -lean_ctor_set(x_225, 1, x_166); -lean_ctor_set(x_225, 2, x_167); -lean_ctor_set(x_225, 3, x_168); -lean_ctor_set(x_225, 4, x_169); -lean_ctor_set(x_225, 5, x_170); -lean_ctor_set(x_225, 6, x_171); -lean_ctor_set(x_225, 7, x_173); -lean_ctor_set(x_225, 8, x_174); -lean_ctor_set(x_225, 9, x_175); -lean_ctor_set(x_225, 10, x_176); -lean_ctor_set(x_225, 11, x_177); -lean_ctor_set(x_225, 12, x_178); -lean_ctor_set(x_225, 13, x_224); -lean_ctor_set(x_225, 14, x_179); -lean_ctor_set_uint8(x_225, sizeof(void*)*15, x_172); -x_226 = lean_st_ref_set(x_5, x_225, x_22); +lean_ctor_set(x_228, 0, x_183); +lean_ctor_set(x_228, 1, x_184); +lean_ctor_set(x_228, 2, x_227); +x_229 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_229, 0, x_168); +lean_ctor_set(x_229, 1, x_169); +lean_ctor_set(x_229, 2, x_170); +lean_ctor_set(x_229, 3, x_171); +lean_ctor_set(x_229, 4, x_172); +lean_ctor_set(x_229, 5, x_173); +lean_ctor_set(x_229, 6, x_174); +lean_ctor_set(x_229, 7, x_176); +lean_ctor_set(x_229, 8, x_177); +lean_ctor_set(x_229, 9, x_178); +lean_ctor_set(x_229, 10, x_179); +lean_ctor_set(x_229, 11, x_180); +lean_ctor_set(x_229, 12, x_181); +lean_ctor_set(x_229, 13, x_228); +lean_ctor_set(x_229, 14, x_182); +lean_ctor_set_uint8(x_229, sizeof(void*)*15, x_175); +x_230 = lean_st_ref_set(x_5, x_229, x_22); lean_dec(x_5); -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -if (lean_is_exclusive(x_226)) { - lean_ctor_release(x_226, 0); - lean_ctor_release(x_226, 1); - x_228 = x_226; -} else { - lean_dec_ref(x_226); - x_228 = lean_box(0); -} -if (lean_is_scalar(x_228)) { - x_229 = lean_alloc_ctor(0, 2, 0); -} else { - x_229 = x_228; -} -lean_ctor_set(x_229, 0, x_198); -lean_ctor_set(x_229, 1, x_227); -return x_229; -} -} -} -else -{ -uint8_t x_230; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_230 = !lean_is_exclusive(x_16); -if (x_230 == 0) -{ -return x_16; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_231 = lean_ctor_get(x_16, 0); -x_232 = lean_ctor_get(x_16, 1); -lean_inc(x_232); +x_231 = lean_ctor_get(x_230, 1); lean_inc(x_231); -lean_dec(x_16); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_232 = x_230; +} else { + lean_dec_ref(x_230); + x_232 = lean_box(0); +} +if (lean_is_scalar(x_232)) { + x_233 = lean_alloc_ctor(0, 2, 0); +} else { + x_233 = x_232; +} +lean_ctor_set(x_233, 0, x_201); +lean_ctor_set(x_233, 1, x_231); return x_233; } } @@ -2391,6 +2379,33 @@ return x_233; else { uint8_t x_234; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_234 = !lean_is_exclusive(x_16); +if (x_234 == 0) +{ +return x_16; +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_16, 0); +x_236 = lean_ctor_get(x_16, 1); +lean_inc(x_236); +lean_inc(x_235); +lean_dec(x_16); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_235); +lean_ctor_set(x_237, 1, x_236); +return x_237; +} +} +} +else +{ +uint8_t x_238; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -2402,23 +2417,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_234 = !lean_is_exclusive(x_14); -if (x_234 == 0) +x_238 = !lean_is_exclusive(x_14); +if (x_238 == 0) { return x_14; } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_235 = lean_ctor_get(x_14, 0); -x_236 = lean_ctor_get(x_14, 1); -lean_inc(x_236); -lean_inc(x_235); +lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_239 = lean_ctor_get(x_14, 0); +x_240 = lean_ctor_get(x_14, 1); +lean_inc(x_240); +lean_inc(x_239); lean_dec(x_14); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -return x_237; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_239); +lean_ctor_set(x_241, 1, x_240); +return x_241; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c index 9150d76c0d..db35645419 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c @@ -1473,7 +1473,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 2); +x_18 = lean_ctor_get(x_15, 1); x_19 = lean_int_mul(x_8, x_18); lean_dec(x_8); lean_ctor_set(x_5, 2, x_17); @@ -1493,7 +1493,7 @@ lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_15); -x_24 = lean_int_mul(x_8, x_22); +x_24 = lean_int_mul(x_8, x_21); lean_dec(x_8); lean_ctor_set(x_5, 2, x_20); lean_ctor_set(x_5, 0, x_24); @@ -1530,7 +1530,7 @@ if (lean_is_exclusive(x_26)) { lean_dec_ref(x_26); x_31 = lean_box(0); } -x_32 = lean_int_mul(x_8, x_29); +x_32 = lean_int_mul(x_8, x_28); lean_dec(x_8); lean_ctor_set(x_5, 2, x_27); lean_ctor_set(x_5, 0, x_32); @@ -1567,7 +1567,7 @@ x_40 = lean_ctor_get(x_35, 2); lean_inc(x_40); x_41 = lean_ctor_get(x_35, 3); lean_inc(x_41); -x_42 = lean_int_mul(x_8, x_40); +x_42 = lean_int_mul(x_8, x_39); lean_dec(x_8); x_43 = lean_nat_to_int(x_37); x_44 = lean_int_emod(x_42, x_43); @@ -1638,7 +1638,7 @@ x_56 = lean_ctor_get(x_35, 2); lean_inc(x_56); x_57 = lean_ctor_get(x_35, 3); lean_inc(x_57); -x_58 = lean_int_mul(x_8, x_56); +x_58 = lean_int_mul(x_8, x_55); lean_dec(x_8); x_59 = lean_nat_to_int(x_53); x_60 = lean_int_emod(x_58, x_59); @@ -1697,27 +1697,27 @@ else lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_free_object(x_5); x_67 = l_Lean_Grind_CommRing_Mon_div(x_9, x_3); -x_68 = lean_nat_abs(x_2); -x_69 = lean_nat_abs(x_8); +x_68 = lean_nat_abs(x_8); +x_69 = lean_nat_abs(x_2); x_70 = lean_nat_gcd(x_68, x_69); lean_dec(x_69); lean_dec(x_68); -x_71 = lean_int_neg(x_8); +x_71 = lean_nat_to_int(x_70); +x_72 = lean_int_ediv(x_2, x_71); +x_73 = lean_int_neg(x_8); lean_dec(x_8); -x_72 = lean_nat_to_int(x_70); -x_73 = lean_int_ediv(x_71, x_72); +x_74 = lean_int_ediv(x_73, x_71); lean_dec(x_71); -x_74 = lean_int_ediv(x_2, x_72); -lean_dec(x_72); +lean_dec(x_73); lean_inc(x_1); lean_inc(x_67); -x_75 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_4, x_73, x_67, x_1); +x_75 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_4, x_74, x_67, x_1); lean_inc(x_1); -x_76 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_10, x_74, x_1); +x_76 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_10, x_72, x_1); x_77 = l_Lean_Grind_CommRing_Poly_combine_x27(x_75, x_76, x_1); x_78 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_73); +lean_ctor_set(x_78, 1, x_72); lean_ctor_set(x_78, 2, x_74); lean_ctor_set(x_78, 3, x_67); x_79 = lean_alloc_ctor(1, 1, 0); @@ -1784,7 +1784,7 @@ if (lean_is_exclusive(x_86)) { lean_dec_ref(x_86); x_92 = lean_box(0); } -x_93 = lean_int_mul(x_80, x_90); +x_93 = lean_int_mul(x_80, x_89); lean_dec(x_80); x_94 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_94, 0, x_93); @@ -1830,7 +1830,7 @@ x_102 = lean_ctor_get(x_97, 2); lean_inc(x_102); x_103 = lean_ctor_get(x_97, 3); lean_inc(x_103); -x_104 = lean_int_mul(x_80, x_102); +x_104 = lean_int_mul(x_80, x_101); lean_dec(x_80); x_105 = lean_nat_to_int(x_98); x_106 = lean_int_emod(x_104, x_105); @@ -1896,27 +1896,27 @@ else { lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; x_114 = l_Lean_Grind_CommRing_Mon_div(x_81, x_3); -x_115 = lean_nat_abs(x_2); -x_116 = lean_nat_abs(x_80); +x_115 = lean_nat_abs(x_80); +x_116 = lean_nat_abs(x_2); x_117 = lean_nat_gcd(x_115, x_116); lean_dec(x_116); lean_dec(x_115); -x_118 = lean_int_neg(x_80); +x_118 = lean_nat_to_int(x_117); +x_119 = lean_int_ediv(x_2, x_118); +x_120 = lean_int_neg(x_80); lean_dec(x_80); -x_119 = lean_nat_to_int(x_117); -x_120 = lean_int_ediv(x_118, x_119); +x_121 = lean_int_ediv(x_120, x_118); lean_dec(x_118); -x_121 = lean_int_ediv(x_2, x_119); -lean_dec(x_119); +lean_dec(x_120); lean_inc(x_1); lean_inc(x_114); -x_122 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_4, x_120, x_114, x_1); +x_122 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_4, x_121, x_114, x_1); lean_inc(x_1); -x_123 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_82, x_121, x_1); +x_123 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_82, x_119, x_1); x_124 = l_Lean_Grind_CommRing_Poly_combine_x27(x_122, x_123, x_1); x_125 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_120); +lean_ctor_set(x_125, 1, x_119); lean_ctor_set(x_125, 2, x_121); lean_ctor_set(x_125, 3, x_114); x_126 = lean_alloc_ctor(1, 1, 0); @@ -1939,7 +1939,7 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -if (lean_obj_tag(x_1) == 0) +if (lean_obj_tag(x_2) == 0) { lean_object* x_4; lean_dec(x_3); @@ -1951,14 +1951,14 @@ return x_4; else { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_2, 1); lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 2); +x_7 = lean_ctor_get(x_2, 2); lean_inc(x_7); -lean_dec(x_1); -x_8 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_3, x_5, x_6, x_7, x_2); +lean_dec(x_2); +x_8 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_3, x_5, x_6, x_7, x_1); lean_dec(x_5); return x_8; } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c index 808f39e4bc..3ba059225c 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Expr_denoteExpr_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__2(uint64_t, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__2; @@ -24,63 +23,57 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___clo lean_object* l_Lean_RArray_toExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_NullCertExt_toPoly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1; lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_NullCertExt_toPoly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__5; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__3; +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedPreNullCert___closed__2; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__6; lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedPreNullCert___closed__3; lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4; lean_object* l_Lean_Grind_CommRing_Poly_combineM(lean_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_Level_ofNat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_NullCertExt_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__2; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_div(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_mulM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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* l_Array_zip___rarg(lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit(lean_object*, lean_object*); @@ -90,23 +83,24 @@ lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_mkLemmaPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__4; lean_object* l_Lean_Meta_Grind_closeGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); -static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__2; -static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3; lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching_unsafe__1(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__6; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__1(uint64_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__5; +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3; lean_object* l_Lean_Grind_CommRing_Poly_mulMonM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__9; @@ -114,11 +108,12 @@ lean_object* l_Lean_Grind_CommRing_Expr_toPolyM(lean_object*, lean_object*, lean lean_object* l_Lean_Meta_Grind_updateLastTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__7(uint64_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching(lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__7; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__1; -static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__1; double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__10; @@ -128,7 +123,6 @@ lean_object* lean_grind_mk_eq_proof(lean_object*, lean_object*, lean_object*, le LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedPreNullCert___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__3; -static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); lean_object* lean_int_mul(lean_object*, lean_object*); @@ -136,9 +130,11 @@ lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___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_EXPORT uint64_t l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching_unsafe__1___rarg(lean_object*); lean_object* l_Lean_Meta_Grind_mkDiseqProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_CommRing_NullCertExt_toPoly___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Grind_CommRing_Poly_0__Lean_Grind_CommRing_beqPoly____x40_Init_Grind_CommRing_Poly___hyg_3306_(lean_object*, lean_object*); @@ -147,7 +143,8 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__4; +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); @@ -163,24 +160,27 @@ lean_object* l_Lean_PersistentArray_get_x21___rarg___boxed(lean_object*, lean_ob lean_object* lean_nat_mul(lean_object*, lean_object*); extern lean_object* l_Lean_reflBoolTrue; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__5; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__3; lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7; uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_CommRing_NullCertExt_toPoly___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__2; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); lean_object* l_Lean_instToExprInt_mkNat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching_unsafe__1___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -188,20 +188,18 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__4; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt(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_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__4; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* lean_int_ediv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_NullCertExt_check___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_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__3(lean_object*); lean_object* lean_int_neg(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__5; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_MessageData_bracket(lean_object*, lean_object*, lean_object*); @@ -209,16 +207,18 @@ lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__5___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_caching___spec__6(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12; lean_object* l_Lean_RArray_ofFn_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2; -static lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5; lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr(lean_object*); static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1() { _start: @@ -250,7 +250,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 12); +x_14 = lean_ctor_get(x_12, 13); lean_inc(x_14); x_15 = lean_ctor_get(x_14, 2); lean_inc(x_15); @@ -263,7 +263,7 @@ lean_dec(x_15); lean_dec(x_14); x_18 = lean_ctor_get(x_12, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_12, 11); +x_19 = lean_ctor_get(x_12, 12); lean_inc(x_19); lean_dec(x_12); x_20 = l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1; @@ -2745,7 +2745,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_228 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_222, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +x_228 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); if (lean_obj_tag(x_228) == 0) { lean_object* x_229; lean_object* x_230; lean_object* x_231; @@ -2763,7 +2763,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_231 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_223, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_230); +x_231 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_227, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_230); if (lean_obj_tag(x_231) == 0) { lean_object* x_232; lean_object* x_233; lean_object* x_234; @@ -2772,11 +2772,11 @@ lean_inc(x_232); x_233 = lean_ctor_get(x_231, 1); lean_inc(x_233); lean_dec(x_231); -x_234 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_224, x_226, x_229, x_225, x_227, x_232, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_233); +x_234 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_222, x_223, x_229, x_225, x_226, x_232, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_233); lean_dec(x_232); lean_dec(x_225); lean_dec(x_229); -lean_dec(x_224); +lean_dec(x_222); x_35 = x_234; goto block_171; } @@ -2784,10 +2784,10 @@ else { uint8_t x_235; lean_dec(x_229); -lean_dec(x_227); lean_dec(x_226); lean_dec(x_225); -lean_dec(x_224); +lean_dec(x_223); +lean_dec(x_222); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2825,8 +2825,8 @@ uint8_t x_239; lean_dec(x_227); lean_dec(x_226); lean_dec(x_225); -lean_dec(x_224); lean_dec(x_223); +lean_dec(x_222); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2881,7 +2881,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_248 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_243, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +x_248 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_244, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); if (lean_obj_tag(x_248) == 0) { lean_object* x_249; lean_object* x_250; lean_object* x_251; @@ -2899,7 +2899,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_251 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_244, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_250); +x_251 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_247, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_250); if (lean_obj_tag(x_251) == 0) { lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; @@ -2909,11 +2909,11 @@ x_253 = lean_ctor_get(x_251, 1); lean_inc(x_253); lean_dec(x_251); x_254 = lean_box(0); -x_255 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_245, x_247, x_249, x_246, x_254, x_252, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_253); +x_255 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_243, x_254, x_249, x_245, x_246, x_252, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_253); lean_dec(x_252); -lean_dec(x_246); -lean_dec(x_249); lean_dec(x_245); +lean_dec(x_249); +lean_dec(x_243); x_35 = x_255; goto block_171; } @@ -2921,9 +2921,9 @@ else { uint8_t x_256; lean_dec(x_249); -lean_dec(x_247); lean_dec(x_246); lean_dec(x_245); +lean_dec(x_243); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2961,7 +2961,7 @@ uint8_t x_260; lean_dec(x_247); lean_dec(x_246); lean_dec(x_245); -lean_dec(x_244); +lean_dec(x_243); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3781,7 +3781,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_396 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_390, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_285); +x_396 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_392, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_285); if (lean_obj_tag(x_396) == 0) { lean_object* x_397; lean_object* x_398; lean_object* x_399; @@ -3799,7 +3799,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_399 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_391, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_398); +x_399 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_395, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_398); if (lean_obj_tag(x_399) == 0) { lean_object* x_400; lean_object* x_401; lean_object* x_402; @@ -3808,11 +3808,11 @@ lean_inc(x_400); x_401 = lean_ctor_get(x_399, 1); lean_inc(x_401); lean_dec(x_399); -x_402 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_392, x_394, x_397, x_393, x_395, x_400, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_401); +x_402 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_390, x_391, x_397, x_393, x_394, x_400, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_401); lean_dec(x_400); lean_dec(x_393); lean_dec(x_397); -lean_dec(x_392); +lean_dec(x_390); x_297 = x_402; goto block_353; } @@ -3820,10 +3820,10 @@ else { lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_dec(x_397); -lean_dec(x_395); lean_dec(x_394); lean_dec(x_393); -lean_dec(x_392); +lean_dec(x_391); +lean_dec(x_390); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3862,8 +3862,8 @@ lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_dec(x_395); lean_dec(x_394); lean_dec(x_393); -lean_dec(x_392); lean_dec(x_391); +lean_dec(x_390); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3919,7 +3919,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_416 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_411, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_285); +x_416 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_412, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_285); if (lean_obj_tag(x_416) == 0) { lean_object* x_417; lean_object* x_418; lean_object* x_419; @@ -3937,7 +3937,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_419 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_412, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_418); +x_419 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toPreNullCert(x_415, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_418); if (lean_obj_tag(x_419) == 0) { lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; @@ -3947,11 +3947,11 @@ x_421 = lean_ctor_get(x_419, 1); lean_inc(x_421); lean_dec(x_419); x_422 = lean_box(0); -x_423 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_413, x_415, x_417, x_414, x_422, x_420, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_421); +x_423 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_411, x_422, x_417, x_413, x_414, x_420, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_421); lean_dec(x_420); -lean_dec(x_414); -lean_dec(x_417); lean_dec(x_413); +lean_dec(x_417); +lean_dec(x_411); x_297 = x_423; goto block_353; } @@ -3959,9 +3959,9 @@ else { lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_dec(x_417); -lean_dec(x_415); lean_dec(x_414); lean_dec(x_413); +lean_dec(x_411); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4000,7 +4000,7 @@ lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_dec(x_415); lean_dec(x_414); lean_dec(x_413); -lean_dec(x_412); +lean_dec(x_411); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5249,7 +5249,7 @@ lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; @@ -5263,7 +5263,7 @@ lean_ctor_set(x_16, 1, x_11); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -5553,7 +5553,7 @@ return x_80; } } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__1() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__1() { _start: { lean_object* x_1; @@ -5561,26 +5561,26 @@ x_1 = lean_mk_string_unchecked(",", 1, 1); return x_1; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__2() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__1; +x_1 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__2; +x_1 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__2; x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -5589,7 +5589,7 @@ x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5() { _start: { lean_object* x_1; @@ -5597,7 +5597,7 @@ x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6() { _start: { lean_object* x_1; @@ -5605,7 +5605,7 @@ x_1 = lean_mk_string_unchecked(")", 1, 1); return x_1; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5630,11 +5630,11 @@ x_7 = lean_ctor_get(x_1, 1); x_8 = lean_ctor_get(x_5, 0); x_9 = lean_ctor_get(x_5, 1); x_10 = l_Lean_MessageData_ofExpr(x_8); -x_11 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3; +x_11 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3; lean_ctor_set_tag(x_5, 7); lean_ctor_set(x_5, 1, x_11); lean_ctor_set(x_5, 0, x_10); -x_12 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4; +x_12 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4; x_13 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_13, 0, x_5); lean_ctor_set(x_13, 1, x_12); @@ -5655,8 +5655,8 @@ x_19 = l_Lean_MessageData_ofExpr(x_16); x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5; -x_22 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6; +x_21 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5; +x_22 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6; x_23 = l_Lean_MessageData_bracket(x_21, x_20, x_22); x_24 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_24, 0, x_13); @@ -5691,8 +5691,8 @@ x_32 = l_Lean_MessageData_ofExpr(x_28); x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); -x_34 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5; -x_35 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6; +x_34 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5; +x_35 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6; x_36 = l_Lean_MessageData_bracket(x_34, x_33, x_35); x_37 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_37, 0, x_13); @@ -5719,11 +5719,11 @@ lean_inc(x_42); lean_inc(x_41); lean_dec(x_5); x_43 = l_Lean_MessageData_ofExpr(x_41); -x_44 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3; +x_44 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3; x_45 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); -x_46 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4; +x_46 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4; x_47 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); @@ -5755,8 +5755,8 @@ x_54 = l_Lean_MessageData_ofExpr(x_49); x_55 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); -x_56 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5; -x_57 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6; +x_56 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5; +x_57 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6; x_58 = l_Lean_MessageData_bracket(x_56, x_55, x_57); x_59 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_59, 0, x_47); @@ -5794,7 +5794,7 @@ if (lean_is_exclusive(x_62)) { x_66 = lean_box(0); } x_67 = l_Lean_MessageData_ofExpr(x_64); -x_68 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3; +x_68 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3; if (lean_is_scalar(x_66)) { x_69 = lean_alloc_ctor(7, 2, 0); } else { @@ -5803,7 +5803,7 @@ if (lean_is_scalar(x_66)) { } lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); -x_70 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4; +x_70 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4; x_71 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); @@ -5835,8 +5835,8 @@ x_78 = l_Lean_MessageData_ofExpr(x_73); x_79 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); -x_80 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5; -x_81 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6; +x_80 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5; +x_81 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6; x_82 = l_Lean_MessageData_bracket(x_80, x_79, x_81); x_83 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_83, 0, x_71); @@ -5852,7 +5852,7 @@ goto _start; } } } -static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1() { +static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1() { _start: { lean_object* x_1; uint8_t x_2; double x_3; @@ -5862,7 +5862,7 @@ x_3 = l_Float_ofScientific(x_1, x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2() { _start: { lean_object* x_1; @@ -5870,7 +5870,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _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; @@ -5904,9 +5904,9 @@ if (x_25 == 0) { lean_object* x_26; double x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_26 = lean_ctor_get(x_19, 0); -x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1; +x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1; x_28 = 0; -x_29 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2; +x_29 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2; x_30 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_30, 0, x_1); lean_ctor_set(x_30, 1, x_29); @@ -5954,9 +5954,9 @@ x_41 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); x_42 = lean_ctor_get(x_19, 0); lean_inc(x_42); lean_dec(x_19); -x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1; +x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1; x_44 = 0; -x_45 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2; +x_45 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2; x_46 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_46, 0, x_1); lean_ctor_set(x_46, 1, x_45); @@ -6026,9 +6026,9 @@ if (lean_is_exclusive(x_19)) { lean_dec_ref(x_19); x_65 = lean_box(0); } -x_66 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1; +x_66 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1; x_67 = 0; -x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2; +x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2; x_69 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_69, 0, x_1); lean_ctor_set(x_69, 1, x_68); @@ -6126,9 +6126,9 @@ if (lean_is_exclusive(x_19)) { lean_dec_ref(x_19); x_91 = lean_box(0); } -x_92 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1; +x_92 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1; x_93 = 0; -x_94 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2; +x_94 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2; x_95 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_95, 0, x_1); lean_ctor_set(x_95, 1, x_94); @@ -6188,16 +6188,16 @@ return x_106; } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2; +x_1 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -6205,16 +6205,16 @@ x_1 = lean_mk_string_unchecked("*(", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -6222,16 +6222,16 @@ x_1 = lean_mk_string_unchecked("), ", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__4; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -6239,12 +6239,12 @@ x_1 = lean_mk_string_unchecked("-", 1, 1); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_inc(x_1); -x_15 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_unbox(x_16); @@ -6307,7 +6307,7 @@ x_31 = lean_ctor_get(x_3, 1); lean_inc(x_31); x_32 = lean_array_size(x_31); x_33 = 0; -x_34 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_32, x_33, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +x_34 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__2(x_32, x_33, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; @@ -6322,7 +6322,7 @@ lean_dec(x_3); x_38 = l_Lean_MessageData_ofExpr(x_29); x_39 = lean_array_to_list(x_35); x_40 = lean_box(0); -x_41 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3(x_39, x_40); +x_41 = l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3(x_39, x_40); x_42 = l_Lean_MessageData_ofList(x_41); x_43 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedPreNullCert___closed__2; x_44 = lean_int_dec_lt(x_37, x_43); @@ -6335,18 +6335,18 @@ x_46 = l___private_Init_Data_Repr_0__Nat_reprFast(x_45); x_47 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_47, 0, x_46); x_48 = l_Lean_MessageData_ofFormat(x_47); -x_49 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_49 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; x_50 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); -x_51 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; +x_51 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; x_52 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); x_53 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_38); -x_54 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; +x_54 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; x_55 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); @@ -6356,7 +6356,7 @@ lean_ctor_set(x_56, 1, x_42); x_57 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_49); -x_58 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_1, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); +x_58 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_1, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); return x_58; } else @@ -6370,24 +6370,24 @@ lean_dec(x_59); x_62 = lean_nat_add(x_61, x_60); lean_dec(x_61); x_63 = l___private_Init_Data_Repr_0__Nat_reprFast(x_62); -x_64 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6; +x_64 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6; x_65 = lean_string_append(x_64, x_63); lean_dec(x_63); x_66 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_66, 0, x_65); x_67 = l_Lean_MessageData_ofFormat(x_66); -x_68 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_68 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; x_69 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; +x_70 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; x_71 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); x_72 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_38); -x_73 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; +x_73 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; x_74 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); @@ -6397,7 +6397,7 @@ lean_ctor_set(x_75, 1, x_42); x_76 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_68); -x_77 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_1, x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); +x_77 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_1, x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); return x_77; } } @@ -6480,7 +6480,7 @@ return x_89; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; @@ -6504,7 +6504,7 @@ x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); lean_inc(x_2); -x_17 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_17 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_unbox(x_18); @@ -6516,7 +6516,7 @@ x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); lean_dec(x_17); x_21 = lean_box(0); -x_22 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(x_2, x_1, x_15, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +x_22 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(x_2, x_1, x_15, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6598,18 +6598,18 @@ x_44 = l___private_Init_Data_Repr_0__Nat_reprFast(x_43); x_45 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_45, 0, x_44); x_46 = l_Lean_MessageData_ofFormat(x_45); -x_47 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_47 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; lean_ctor_set_tag(x_17, 7); lean_ctor_set(x_17, 1, x_46); lean_ctor_set(x_17, 0, x_47); -x_48 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; +x_48 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; x_49 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_49, 0, x_17); lean_ctor_set(x_49, 1, x_48); x_50 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_39); -x_51 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; +x_51 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; x_52 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); @@ -6620,13 +6620,13 @@ x_54 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_47); lean_inc(x_2); -x_55 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_2, x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_55 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_2, x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); lean_dec(x_55); -x_58 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(x_2, x_1, x_15, x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); +x_58 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(x_2, x_1, x_15, x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6650,24 +6650,24 @@ lean_dec(x_59); x_62 = lean_nat_add(x_61, x_60); lean_dec(x_61); x_63 = l___private_Init_Data_Repr_0__Nat_reprFast(x_62); -x_64 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6; +x_64 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6; x_65 = lean_string_append(x_64, x_63); lean_dec(x_63); x_66 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_66, 0, x_65); x_67 = l_Lean_MessageData_ofFormat(x_66); -x_68 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_68 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; lean_ctor_set_tag(x_17, 7); lean_ctor_set(x_17, 1, x_67); lean_ctor_set(x_17, 0, x_68); -x_69 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; +x_69 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; x_70 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_70, 0, x_17); lean_ctor_set(x_70, 1, x_69); x_71 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_39); -x_72 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; +x_72 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; x_73 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -6678,13 +6678,13 @@ x_75 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_68); lean_inc(x_2); -x_76 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_2, x_75, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_76 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_2, x_75, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); x_78 = lean_ctor_get(x_76, 1); lean_inc(x_78); lean_dec(x_76); -x_79 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(x_2, x_1, x_15, x_77, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); +x_79 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(x_2, x_1, x_15, x_77, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6910,18 +6910,18 @@ x_115 = l___private_Init_Data_Repr_0__Nat_reprFast(x_114); x_116 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_116, 0, x_115); x_117 = l_Lean_MessageData_ofFormat(x_116); -x_118 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_118 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; x_119 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_117); -x_120 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; +x_120 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; x_121 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_121, 0, x_119); lean_ctor_set(x_121, 1, x_120); x_122 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_122, 0, x_121); lean_ctor_set(x_122, 1, x_110); -x_123 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; +x_123 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; x_124 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_124, 0, x_122); lean_ctor_set(x_124, 1, x_123); @@ -6932,13 +6932,13 @@ x_126 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_118); lean_inc(x_2); -x_127 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_2, x_126, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_108); +x_127 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_2, x_126, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_108); x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); lean_dec(x_127); -x_130 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(x_2, x_1, x_15, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_129); +x_130 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(x_2, x_1, x_15, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_129); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6962,24 +6962,24 @@ lean_dec(x_131); x_134 = lean_nat_add(x_133, x_132); lean_dec(x_133); x_135 = l___private_Init_Data_Repr_0__Nat_reprFast(x_134); -x_136 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6; +x_136 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6; x_137 = lean_string_append(x_136, x_135); lean_dec(x_135); x_138 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_138, 0, x_137); x_139 = l_Lean_MessageData_ofFormat(x_138); -x_140 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_140 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; x_141 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_141, 0, x_140); lean_ctor_set(x_141, 1, x_139); -x_142 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3; +x_142 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3; x_143 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_143, 0, x_141); lean_ctor_set(x_143, 1, x_142); x_144 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_110); -x_145 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5; +x_145 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5; x_146 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_146, 0, x_144); lean_ctor_set(x_146, 1, x_145); @@ -6990,13 +6990,13 @@ x_148 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_140); lean_inc(x_2); -x_149 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_2, x_148, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_108); +x_149 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_2, x_148, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_108); x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); x_151 = lean_ctor_get(x_149, 1); lean_inc(x_151); lean_dec(x_149); -x_152 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(x_2, x_1, x_15, x_150, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_151); +x_152 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(x_2, x_1, x_15, x_150, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_151); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7197,7 +7197,7 @@ return x_172; } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__1() { _start: { lean_object* x_1; @@ -7205,7 +7205,7 @@ x_1 = lean_mk_string_unchecked("grind", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__2() { _start: { lean_object* x_1; @@ -7213,7 +7213,7 @@ x_1 = lean_mk_string_unchecked("ring", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__3() { _start: { lean_object* x_1; @@ -7221,7 +7221,7 @@ x_1 = lean_mk_string_unchecked("assert", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__4() { _start: { lean_object* x_1; @@ -7229,24 +7229,24 @@ x_1 = lean_mk_string_unchecked("unsat", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3; -x_4 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5; -x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__5; +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_unbox(x_14); @@ -7258,7 +7258,7 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); x_17 = lean_box(0); -x_18 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2(x_1, x_12, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_18 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2(x_1, x_12, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_18; } else @@ -7293,20 +7293,20 @@ x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); x_27 = l_Lean_MessageData_ofExpr(x_25); -x_28 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_28 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; lean_ctor_set_tag(x_13, 7); lean_ctor_set(x_13, 1, x_27); lean_ctor_set(x_13, 0, x_28); x_29 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_29, 0, x_13); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2(x_1, x_12, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_33 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2(x_1, x_12, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); lean_dec(x_31); return x_33; } @@ -7406,20 +7406,20 @@ x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); x_48 = l_Lean_MessageData_ofExpr(x_46); -x_49 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1; +x_49 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1; x_50 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); x_51 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); +x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); -x_55 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2(x_1, x_12, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54); +x_55 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2(x_1, x_12, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54); lean_dec(x_53); return x_55; } @@ -7496,11 +7496,11 @@ return x_63; } } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -7513,7 +7513,7 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -7521,7 +7521,7 @@ x_14 = lean_unbox_usize(x_1); lean_dec(x_1); x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__2(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7534,11 +7534,11 @@ lean_dec(x_4); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -7551,11 +7551,11 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -7569,11 +7569,11 @@ lean_dec(x_4); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_3); return x_14; } @@ -8505,43 +8505,43 @@ l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__4 = _init_l_Lea lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__4); l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__5(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_mkNullCertExt___closed__5); -l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__1 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__1(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__1); -l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__2 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__2(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__2); -l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__3); -l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__4); -l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__5); -l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__3___closed__6); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__1(); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4___closed__2); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__1); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__2); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__3); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__4); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__5); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___lambda__1___closed__6); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4); -l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5); +l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__1 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__1(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__1); +l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__2 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__2(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__2); +l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__3); +l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__4); +l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__5); +l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6 = _init_l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__3___closed__6); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__1(); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___spec__4___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__4); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__5); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___lambda__1___closed__6); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__4); +l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setUnsatEq___closed__5); l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1); l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Reify.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Reify.c index c411b10ba7..f78e7c2d36 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Reify.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Reify.c @@ -130,7 +130,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isAddInst(lean_object* x_1, _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 5); +x_3 = lean_ctor_get(x_1, 6); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -152,7 +152,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isMulInst(lean_object* x_1, _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 6); +x_3 = lean_ctor_get(x_1, 7); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -174,7 +174,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isSubInst(lean_object* x_1, _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 7); +x_3 = lean_ctor_get(x_1, 8); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -196,7 +196,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isNegInst(lean_object* x_1, _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 8); +x_3 = lean_ctor_get(x_1, 9); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -218,7 +218,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isPowInst(lean_object* x_1, _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 9); +x_3 = lean_ctor_get(x_1, 10); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -240,7 +240,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isIntCastInst(lean_object* _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 10); +x_3 = lean_ctor_get(x_1, 11); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -262,7 +262,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isNatCastInst(lean_object* _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 11); +x_3 = lean_ctor_get(x_1, 12); x_4 = l_Lean_Expr_appArg_x21(x_3); x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_4, x_2); lean_dec(x_4); @@ -441,7 +441,7 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = lean_ctor_get(x_23, 11); +x_25 = lean_ctor_get(x_23, 12); lean_inc(x_25); lean_dec(x_23); x_26 = l_Lean_Expr_app___override(x_25, x_4); @@ -798,7 +798,7 @@ lean_inc(x_107); x_108 = lean_ctor_get(x_106, 1); lean_inc(x_108); lean_dec(x_106); -x_109 = lean_ctor_get(x_107, 11); +x_109 = lean_ctor_get(x_107, 12); lean_inc(x_109); lean_dec(x_107); x_110 = l_Lean_Expr_app___override(x_109, x_4); @@ -2986,7 +2986,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = lean_ctor_get(x_25, 11); +x_27 = lean_ctor_get(x_25, 12); lean_inc(x_27); lean_dec(x_25); x_28 = l_Lean_Expr_app___override(x_27, x_2); @@ -3363,7 +3363,7 @@ lean_inc(x_122); x_123 = lean_ctor_get(x_121, 1); lean_inc(x_123); lean_dec(x_121); -x_124 = lean_ctor_get(x_122, 11); +x_124 = lean_ctor_get(x_122, 12); lean_inc(x_124); lean_dec(x_122); x_125 = l_Lean_Expr_app___override(x_124, x_2); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/RingId.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/RingId.c index 252997cc4e..9260cfeef8 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/RingId.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/RingId.c @@ -15,9 +15,11 @@ extern "C" { #endif lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__13; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__4___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn___closed__8; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___lambda__1___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__8; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___closed__4; size_t lean_usize_shift_right(size_t, size_t); @@ -27,16 +29,19 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn___lambda__1___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__6; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn___lambda__1___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_lor(uint64_t, uint64_t); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___lambda__1___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__11; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___lambda__1___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn___lambda__1___closed__2; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,6 +49,7 @@ lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Grind_preprocess___spec__1(l lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___closed__8; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___boxed(lean_object**); size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_internalizeFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__1; @@ -64,6 +70,7 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___clos lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn___lambda__1___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__4; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___lambda__1___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___closed__1; lean_object* l_Lean_Level_ofNat(lean_object*); @@ -89,17 +96,17 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__ uint64_t lean_uint64_shift_right(uint64_t, uint64_t); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___closed__2; lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___lambda__1___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__6; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__7; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__15; static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__5___closed__1; lean_object* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l_Lean_LOption_toOption___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___closed__6; @@ -108,9 +115,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingI LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__11; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___closed__7; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -121,12 +130,14 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__4___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__10; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Grind_isSameExpr_unsafe__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___closed__6; lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Grind_Canon_0__Lean_Meta_Grind_Canon_isDefEqBounded___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -138,6 +149,7 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lamb lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn___closed__2; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,6 +184,7 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lamb static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___closed__8; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_left(uint64_t, uint64_t); extern lean_object* l_Lean_Nat_mkType; @@ -188,7 +201,8 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn___closed__6; static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f___spec__2___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn___closed__7; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__14; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_get_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,13 +210,16 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__2; uint64_t l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn___lambda__1___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__4___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__12; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn___closed__7; size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -5420,47 +5437,29 @@ return x_190; static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Nat", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(32u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__3() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__4; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__3; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__1; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -5471,7 +5470,7 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__4() { _start: { lean_object* x_1; @@ -5479,21 +5478,915 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__7() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__6; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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: +{ +lean_object* x_16; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_16 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_19 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_25 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_28 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_31 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_34 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Meta_Grind_Arith_CommRing_get_x27(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_array_get_size(x_40); +lean_dec(x_40); +x_42 = lean_box(0); +x_43 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__3; +x_44 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5; +x_45 = lean_unsigned_to_nat(0u); +lean_inc(x_41); +x_46 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_46, 0, x_41); +lean_ctor_set(x_46, 1, x_1); +lean_ctor_set(x_46, 2, x_2); +lean_ctor_set(x_46, 3, x_3); +lean_ctor_set(x_46, 4, x_4); +lean_ctor_set(x_46, 5, x_5); +lean_ctor_set(x_46, 6, x_17); +lean_ctor_set(x_46, 7, x_20); +lean_ctor_set(x_46, 8, x_23); +lean_ctor_set(x_46, 9, x_26); +lean_ctor_set(x_46, 10, x_29); +lean_ctor_set(x_46, 11, x_32); +lean_ctor_set(x_46, 12, x_35); +lean_ctor_set(x_46, 13, x_43); +lean_ctor_set(x_46, 14, x_44); +lean_ctor_set(x_46, 15, x_44); +lean_ctor_set(x_46, 16, x_45); +lean_ctor_set(x_46, 17, x_45); +lean_ctor_set(x_46, 18, x_42); +lean_ctor_set(x_46, 19, x_43); +x_47 = lean_st_ref_take(x_7, x_39); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_48, 13); +lean_inc(x_49); +x_50 = lean_ctor_get(x_49, 2); +lean_inc(x_50); +x_51 = lean_ctor_get(x_47, 1); +lean_inc(x_51); +lean_dec(x_47); +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_48, 13); +lean_dec(x_53); +x_54 = !lean_is_exclusive(x_49); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_49, 2); +lean_dec(x_55); +x_56 = !lean_is_exclusive(x_50); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_50, 0); +x_58 = lean_array_push(x_57, x_46); +lean_ctor_set(x_50, 0, x_58); +x_59 = lean_st_ref_set(x_7, x_48, x_51); +lean_dec(x_7); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_59, 0); +lean_dec(x_61); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_41); +lean_ctor_set(x_59, 0, x_62); +return x_59; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_41); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_66 = lean_ctor_get(x_50, 0); +x_67 = lean_ctor_get(x_50, 1); +x_68 = lean_ctor_get(x_50, 2); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_50); +x_69 = lean_array_push(x_66, x_46); +x_70 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_49, 2, x_70); +x_71 = lean_st_ref_set(x_7, x_48, x_51); +lean_dec(x_7); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_73 = x_71; +} else { + lean_dec_ref(x_71); + x_73 = lean_box(0); +} +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_41); +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_73; +} +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_76 = lean_ctor_get(x_49, 0); +x_77 = lean_ctor_get(x_49, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_49); +x_78 = lean_ctor_get(x_50, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_50, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_50, 2); +lean_inc(x_80); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + x_81 = x_50; +} else { + lean_dec_ref(x_50); + x_81 = lean_box(0); +} +x_82 = lean_array_push(x_78, x_46); +if (lean_is_scalar(x_81)) { + x_83 = lean_alloc_ctor(0, 3, 0); +} else { + x_83 = x_81; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_83, 2, x_80); +x_84 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_84, 0, x_76); +lean_ctor_set(x_84, 1, x_77); +lean_ctor_set(x_84, 2, x_83); +lean_ctor_set(x_48, 13, x_84); +x_85 = lean_st_ref_set(x_7, x_48, x_51); +lean_dec(x_7); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_41); +if (lean_is_scalar(x_87)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_87; +} +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_86); +return x_89; +} +} +else +{ +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; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_90 = lean_ctor_get(x_48, 0); +x_91 = lean_ctor_get(x_48, 1); +x_92 = lean_ctor_get(x_48, 2); +x_93 = lean_ctor_get(x_48, 3); +x_94 = lean_ctor_get(x_48, 4); +x_95 = lean_ctor_get(x_48, 5); +x_96 = lean_ctor_get(x_48, 6); +x_97 = lean_ctor_get_uint8(x_48, sizeof(void*)*15); +x_98 = lean_ctor_get(x_48, 7); +x_99 = lean_ctor_get(x_48, 8); +x_100 = lean_ctor_get(x_48, 9); +x_101 = lean_ctor_get(x_48, 10); +x_102 = lean_ctor_get(x_48, 11); +x_103 = lean_ctor_get(x_48, 12); +x_104 = lean_ctor_get(x_48, 14); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_48); +x_105 = lean_ctor_get(x_49, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_49, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + lean_ctor_release(x_49, 2); + x_107 = x_49; +} else { + lean_dec_ref(x_49); + x_107 = lean_box(0); +} +x_108 = lean_ctor_get(x_50, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_50, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_50, 2); +lean_inc(x_110); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + x_111 = x_50; +} else { + lean_dec_ref(x_50); + x_111 = lean_box(0); +} +x_112 = lean_array_push(x_108, x_46); +if (lean_is_scalar(x_111)) { + x_113 = lean_alloc_ctor(0, 3, 0); +} else { + x_113 = x_111; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_109); +lean_ctor_set(x_113, 2, x_110); +if (lean_is_scalar(x_107)) { + x_114 = lean_alloc_ctor(0, 3, 0); +} else { + x_114 = x_107; +} +lean_ctor_set(x_114, 0, x_105); +lean_ctor_set(x_114, 1, x_106); +lean_ctor_set(x_114, 2, x_113); +x_115 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_115, 0, x_90); +lean_ctor_set(x_115, 1, x_91); +lean_ctor_set(x_115, 2, x_92); +lean_ctor_set(x_115, 3, x_93); +lean_ctor_set(x_115, 4, x_94); +lean_ctor_set(x_115, 5, x_95); +lean_ctor_set(x_115, 6, x_96); +lean_ctor_set(x_115, 7, x_98); +lean_ctor_set(x_115, 8, x_99); +lean_ctor_set(x_115, 9, x_100); +lean_ctor_set(x_115, 10, x_101); +lean_ctor_set(x_115, 11, x_102); +lean_ctor_set(x_115, 12, x_103); +lean_ctor_set(x_115, 13, x_114); +lean_ctor_set(x_115, 14, x_104); +lean_ctor_set_uint8(x_115, sizeof(void*)*15, x_97); +x_116 = lean_st_ref_set(x_7, x_115, x_51); +lean_dec(x_7); +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_118 = x_116; +} else { + lean_dec_ref(x_116); + x_118 = lean_box(0); +} +x_119 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_119, 0, x_41); +if (lean_is_scalar(x_118)) { + x_120 = lean_alloc_ctor(0, 2, 0); +} else { + x_120 = x_118; +} +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_117); +return x_120; +} +} +else +{ +uint8_t x_121; +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_121 = !lean_is_exclusive(x_34); +if (x_121 == 0) +{ +return x_34; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_34, 0); +x_123 = lean_ctor_get(x_34, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_34); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +else +{ +uint8_t x_125; +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_125 = !lean_is_exclusive(x_31); +if (x_125 == 0) +{ +return x_31; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_31, 0); +x_127 = lean_ctor_get(x_31, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_31); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +else +{ +uint8_t x_129; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_129 = !lean_is_exclusive(x_28); +if (x_129 == 0) +{ +return x_28; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_28, 0); +x_131 = lean_ctor_get(x_28, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_28); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +else +{ +uint8_t x_133; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_133 = !lean_is_exclusive(x_25); +if (x_133 == 0) +{ +return x_25; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_25, 0); +x_135 = lean_ctor_get(x_25, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_25); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +} +else +{ +uint8_t x_137; +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_137 = !lean_is_exclusive(x_22); +if (x_137 == 0) +{ +return x_22; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_22, 0); +x_139 = lean_ctor_get(x_22, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_22); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +else +{ +uint8_t x_141; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_141 = !lean_is_exclusive(x_19); +if (x_141 == 0) +{ +return x_19; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_19, 0); +x_143 = lean_ctor_get(x_19, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_19); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; +} +} +} +else +{ +uint8_t x_145; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_145 = !lean_is_exclusive(x_16); +if (x_145 == 0) +{ +return x_16; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_16, 0); +x_147 = lean_ctor_get(x_16, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_16); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Nat", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("NoZeroNatDivisors", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__8; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__9; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("NoZeroNatDivisors available: ", 29, 29); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("false", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__7; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__8; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__9; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__10; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__5; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("true", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__12; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__13; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__14; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__15; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn___closed__5; +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_18 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__2; +x_18 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__2; x_19 = l_Lean_Expr_const___override(x_18, x_1); x_20 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_20, 0, x_19); @@ -5501,8 +6394,11 @@ x_21 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f lean_closure_set(x_21, 0, x_20); x_22 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); lean_closure_set(x_22, 0, x_21); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); x_23 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__4___boxed), 15, 5); lean_closure_set(x_23, 0, x_2); lean_closure_set(x_23, 1, x_3); @@ -5524,670 +6420,96 @@ lean_inc(x_9); x_26 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___spec__1___rarg(x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_26) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); +x_29 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__4; +x_30 = l_Lean_Expr_const___override(x_29, x_2); +lean_inc(x_4); +lean_inc(x_3); +x_31 = l_Lean_mkAppB(x_30, x_3, x_4); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_29 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getAddFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_28); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_32 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getMulFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_31); +x_32 = l_Lean_Meta_trySynthInstance(x_31, x_5, x_13, x_14, x_15, x_16, x_28); if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_35 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getSubFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); +x_35 = l_Lean_LOption_toOption___rarg(x_33); +lean_inc(x_6); +x_36 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_34); +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -lean_dec(x_35); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_38 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNegFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_37); -if (lean_obj_tag(x_38) == 0) +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); +lean_dec(x_6); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_41 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getPowFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_40); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_44 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getIntCastFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_3); -x_47 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId_0__Lean_Meta_Grind_Arith_CommRing_getNatCastFn(x_3, x_7, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_46); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = l_Lean_Meta_Grind_Arith_CommRing_get_x27(x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_49); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_array_get_size(x_53); -lean_dec(x_53); -x_55 = lean_box(0); -x_56 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5; -x_57 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__7; -x_58 = lean_unsigned_to_nat(0u); -lean_inc(x_54); -x_59 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_3); -lean_ctor_set(x_59, 2, x_7); -lean_ctor_set(x_59, 3, x_4); -lean_ctor_set(x_59, 4, x_27); -lean_ctor_set(x_59, 5, x_30); -lean_ctor_set(x_59, 6, x_33); -lean_ctor_set(x_59, 7, x_36); -lean_ctor_set(x_59, 8, x_39); -lean_ctor_set(x_59, 9, x_42); -lean_ctor_set(x_59, 10, x_45); -lean_ctor_set(x_59, 11, x_48); -lean_ctor_set(x_59, 12, x_56); -lean_ctor_set(x_59, 13, x_57); -lean_ctor_set(x_59, 14, x_57); -lean_ctor_set(x_59, 15, x_58); -lean_ctor_set(x_59, 16, x_58); -lean_ctor_set(x_59, 17, x_55); -lean_ctor_set(x_59, 18, x_56); -x_60 = lean_st_ref_take(x_9, x_52); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_61, 13); -lean_inc(x_62); -x_63 = lean_ctor_get(x_62, 2); -lean_inc(x_63); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -lean_dec(x_60); -x_65 = !lean_is_exclusive(x_61); -if (x_65 == 0) -{ -lean_object* x_66; uint8_t x_67; -x_66 = lean_ctor_get(x_61, 13); -lean_dec(x_66); -x_67 = !lean_is_exclusive(x_62); -if (x_67 == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_62, 2); -lean_dec(x_68); -x_69 = !lean_is_exclusive(x_63); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_ctor_get(x_63, 0); -x_71 = lean_array_push(x_70, x_59); -lean_ctor_set(x_63, 0, x_71); -x_72 = lean_st_ref_set(x_9, x_61, x_64); -lean_dec(x_9); -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_72, 0); -lean_dec(x_74); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_54); -lean_ctor_set(x_72, 0, x_75); -return x_72; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_72, 1); -lean_inc(x_76); -lean_dec(x_72); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_54); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_79 = lean_ctor_get(x_63, 0); -x_80 = lean_ctor_get(x_63, 1); -x_81 = lean_ctor_get(x_63, 2); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_63); -x_82 = lean_array_push(x_79, x_59); -x_83 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -lean_ctor_set(x_83, 2, x_81); -lean_ctor_set(x_62, 2, x_83); -x_84 = lean_st_ref_set(x_9, x_61, x_64); -lean_dec(x_9); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_86 = x_84; -} else { - lean_dec_ref(x_84); - x_86 = lean_box(0); -} -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_54); -if (lean_is_scalar(x_86)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_86; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_85); -return x_88; -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_89 = lean_ctor_get(x_62, 0); -x_90 = lean_ctor_get(x_62, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_62); -x_91 = lean_ctor_get(x_63, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_63, 1); -lean_inc(x_92); -x_93 = lean_ctor_get(x_63, 2); -lean_inc(x_93); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - lean_ctor_release(x_63, 2); - x_94 = x_63; -} else { - lean_dec_ref(x_63); - x_94 = lean_box(0); -} -x_95 = lean_array_push(x_91, x_59); -if (lean_is_scalar(x_94)) { - x_96 = lean_alloc_ctor(0, 3, 0); -} else { - x_96 = x_94; -} -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_92); -lean_ctor_set(x_96, 2, x_93); -x_97 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_97, 0, x_89); -lean_ctor_set(x_97, 1, x_90); -lean_ctor_set(x_97, 2, x_96); -lean_ctor_set(x_61, 13, x_97); -x_98 = lean_st_ref_set(x_9, x_61, x_64); -lean_dec(x_9); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_100 = x_98; -} else { - lean_dec_ref(x_98); - x_100 = lean_box(0); -} -x_101 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_101, 0, x_54); -if (lean_is_scalar(x_100)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_100; -} -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_99); -return x_102; -} -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_103 = lean_ctor_get(x_61, 0); -x_104 = lean_ctor_get(x_61, 1); -x_105 = lean_ctor_get(x_61, 2); -x_106 = lean_ctor_get(x_61, 3); -x_107 = lean_ctor_get(x_61, 4); -x_108 = lean_ctor_get(x_61, 5); -x_109 = lean_ctor_get(x_61, 6); -x_110 = lean_ctor_get_uint8(x_61, sizeof(void*)*15); -x_111 = lean_ctor_get(x_61, 7); -x_112 = lean_ctor_get(x_61, 8); -x_113 = lean_ctor_get(x_61, 9); -x_114 = lean_ctor_get(x_61, 10); -x_115 = lean_ctor_get(x_61, 11); -x_116 = lean_ctor_get(x_61, 12); -x_117 = lean_ctor_get(x_61, 14); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_61); -x_118 = lean_ctor_get(x_62, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_62, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - lean_ctor_release(x_62, 2); - x_120 = x_62; -} else { - lean_dec_ref(x_62); - x_120 = lean_box(0); -} -x_121 = lean_ctor_get(x_63, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_63, 1); -lean_inc(x_122); -x_123 = lean_ctor_get(x_63, 2); -lean_inc(x_123); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - lean_ctor_release(x_63, 2); - x_124 = x_63; -} else { - lean_dec_ref(x_63); - x_124 = lean_box(0); -} -x_125 = lean_array_push(x_121, x_59); -if (lean_is_scalar(x_124)) { - x_126 = lean_alloc_ctor(0, 3, 0); -} else { - x_126 = x_124; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_122); -lean_ctor_set(x_126, 2, x_123); -if (lean_is_scalar(x_120)) { - x_127 = lean_alloc_ctor(0, 3, 0); -} else { - x_127 = x_120; -} -lean_ctor_set(x_127, 0, x_118); -lean_ctor_set(x_127, 1, x_119); -lean_ctor_set(x_127, 2, x_126); -x_128 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_128, 0, x_103); -lean_ctor_set(x_128, 1, x_104); -lean_ctor_set(x_128, 2, x_105); -lean_ctor_set(x_128, 3, x_106); -lean_ctor_set(x_128, 4, x_107); -lean_ctor_set(x_128, 5, x_108); -lean_ctor_set(x_128, 6, x_109); -lean_ctor_set(x_128, 7, x_111); -lean_ctor_set(x_128, 8, x_112); -lean_ctor_set(x_128, 9, x_113); -lean_ctor_set(x_128, 10, x_114); -lean_ctor_set(x_128, 11, x_115); -lean_ctor_set(x_128, 12, x_116); -lean_ctor_set(x_128, 13, x_127); -lean_ctor_set(x_128, 14, x_117); -lean_ctor_set_uint8(x_128, sizeof(void*)*15, x_110); -x_129 = lean_st_ref_set(x_9, x_128, x_64); -lean_dec(x_9); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_131 = x_129; -} else { - lean_dec_ref(x_129); - x_131 = lean_box(0); -} -x_132 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_132, 0, x_54); -if (lean_is_scalar(x_131)) { - x_133 = lean_alloc_ctor(0, 2, 0); -} else { - x_133 = x_131; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_130); -return x_133; -} -} -else -{ -uint8_t x_134; -lean_dec(x_45); -lean_dec(x_42); -lean_dec(x_39); lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_134 = !lean_is_exclusive(x_47); -if (x_134 == 0) -{ -return x_47; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_47, 0); -x_136 = lean_ctor_get(x_47, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_47); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; -} -} -} -else -{ -uint8_t x_138; -lean_dec(x_42); -lean_dec(x_39); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_138 = !lean_is_exclusive(x_44); -if (x_138 == 0) -{ -return x_44; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_44, 0); -x_140 = lean_ctor_get(x_44, 1); -lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_44); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; -} -} -} -else -{ -uint8_t x_142; -lean_dec(x_39); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_142 = !lean_is_exclusive(x_41); -if (x_142 == 0) -{ +x_40 = lean_box(0); +x_41 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_3, x_7, x_4, x_27, x_35, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_39); return x_41; } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_41, 0); -x_144 = lean_ctor_get(x_41, 1); -lean_inc(x_144); -lean_inc(x_143); -lean_dec(x_41); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_143); -lean_ctor_set(x_145, 1, x_144); -return x_145; -} -} -} -else -{ -uint8_t x_146; +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_146 = !lean_is_exclusive(x_38); -if (x_146 == 0) +x_43 = l_Lean_Meta_Grind_updateLastTag(x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_42); +if (lean_obj_tag(x_43) == 0) { -return x_38; +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__11; +x_46 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_6, x_45, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_44); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_3, x_7, x_4, x_27, x_35, x_47, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_48); +lean_dec(x_47); +return x_49; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_38, 0); -x_148 = lean_ctor_get(x_38, 1); -lean_inc(x_148); -lean_inc(x_147); -lean_dec(x_38); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -return x_149; -} +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec(x_43); +x_51 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__16; +x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_updateLastTag___spec__2(x_6, x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_50); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_3, x_7, x_4, x_27, x_35, x_53, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_54); +lean_dec(x_53); +return x_55; } } else { -uint8_t x_150; -lean_dec(x_33); -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_150 = !lean_is_exclusive(x_35); -if (x_150 == 0) -{ -return x_35; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_35, 0); -x_152 = lean_ctor_get(x_35, 1); -lean_inc(x_152); -lean_inc(x_151); +uint8_t x_56; lean_dec(x_35); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -return x_153; -} -} -} -else -{ -uint8_t x_154; -lean_dec(x_30); lean_dec(x_27); lean_dec(x_16); lean_dec(x_15); @@ -6198,32 +6520,69 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_154 = !lean_is_exclusive(x_32); -if (x_154 == 0) +x_56 = !lean_is_exclusive(x_43); +if (x_56 == 0) +{ +return x_43; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_43, 0); +x_58 = lean_ctor_get(x_43, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_43); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_60 = !lean_is_exclusive(x_32); +if (x_60 == 0) { return x_32; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_32, 0); -x_156 = lean_ctor_get(x_32, 1); -lean_inc(x_156); -lean_inc(x_155); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_32, 0); +x_62 = lean_ctor_get(x_32, 1); +lean_inc(x_62); +lean_inc(x_61); lean_dec(x_32); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -return x_157; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_158; -lean_dec(x_27); +uint8_t x_64; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -6233,59 +6592,28 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_158 = !lean_is_exclusive(x_29); -if (x_158 == 0) -{ -return x_29; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_29, 0); -x_160 = lean_ctor_get(x_29, 1); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_29); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -return x_161; -} -} -} -else -{ -uint8_t x_162; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_162 = !lean_is_exclusive(x_26); -if (x_162 == 0) +lean_dec(x_2); +x_64 = !lean_is_exclusive(x_26); +if (x_64 == 0) { return x_26; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_26, 0); -x_164 = lean_ctor_get(x_26, 1); -lean_inc(x_164); -lean_inc(x_163); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_26, 0); +x_66 = lean_ctor_get(x_26, 1); +lean_inc(x_66); +lean_inc(x_65); lean_dec(x_26); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -return x_165; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } @@ -6405,7 +6733,7 @@ x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); lean_dec(x_25); x_29 = lean_box(0); -x_30 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_14, x_15, x_1, x_23, x_19, x_24, x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_30 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6(x_14, x_15, x_1, x_23, x_19, x_24, x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); return x_30; } else @@ -6441,7 +6769,7 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_14, x_15, x_1, x_23, x_19, x_24, x_12, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +x_43 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6(x_14, x_15, x_1, x_23, x_19, x_24, x_12, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); lean_dec(x_41); return x_43; } @@ -6510,7 +6838,7 @@ lean_inc(x_57); x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); lean_dec(x_56); -x_59 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_14, x_15, x_1, x_23, x_19, x_24, x_12, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); +x_59 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6(x_14, x_15, x_1, x_23, x_19, x_24, x_12, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); lean_dec(x_57); return x_59; } @@ -6727,7 +7055,16 @@ lean_dec(x_7); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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: +{ +lean_object* x_16; +x_16 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -6748,7 +7085,7 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_8); return x_18; } @@ -8306,10 +8643,38 @@ l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__4 = lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__4); l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__5); -l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__6(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__6); -l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__7 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__7(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__5___closed__7); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__4); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__5); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__6); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__7 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__7); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__8 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__8); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__9 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__9(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__9); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__10 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__10(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__10); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__11 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__11(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__11); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__12 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__12(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__12); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__13 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__13(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__13); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__14 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__14(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__14); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__15 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__15(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__15); +l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__16 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__16(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___lambda__6___closed__16); l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__1); l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRingId_x3f_go_x3f___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c index 3cfbf2ed27..2fe4612535 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c @@ -18,6 +18,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__L static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPoly____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_175____closed__7; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__6; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__10; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p___boxed(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprMon____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_67____closed__7; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPoly____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_175____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instReprPoly__lean; @@ -25,7 +26,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__L static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPoly____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_175____closed__5; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instReprPower__lean___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedRing___closed__6; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprMon____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_67____closed__3; @@ -85,11 +85,11 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___clos static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__7; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__14; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9_(lean_object*, lean_object*); @@ -1293,7 +1293,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(lean_object* x_1) { _start: { lean_object* x_2; @@ -1302,11 +1302,11 @@ lean_inc(x_2); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly(x_1); +x_2 = l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(x_1); lean_dec(x_1); return x_2; } @@ -1385,26 +1385,27 @@ x_4 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__3; x_5 = lean_box(0); x_6 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedRing___closed__4; x_7 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedRing___closed__6; -x_8 = lean_alloc_ctor(0, 19, 0); +x_8 = lean_alloc_ctor(0, 20, 0); lean_ctor_set(x_8, 0, x_3); lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 2, x_5); lean_ctor_set(x_8, 3, x_4); lean_ctor_set(x_8, 4, x_1); -lean_ctor_set(x_8, 5, x_4); +lean_ctor_set(x_8, 5, x_1); lean_ctor_set(x_8, 6, x_4); lean_ctor_set(x_8, 7, x_4); lean_ctor_set(x_8, 8, x_4); lean_ctor_set(x_8, 9, x_4); lean_ctor_set(x_8, 10, x_4); lean_ctor_set(x_8, 11, x_4); -lean_ctor_set(x_8, 12, x_6); -lean_ctor_set(x_8, 13, x_7); +lean_ctor_set(x_8, 12, x_4); +lean_ctor_set(x_8, 13, x_6); lean_ctor_set(x_8, 14, x_7); -lean_ctor_set(x_8, 15, x_3); +lean_ctor_set(x_8, 15, x_7); lean_ctor_set(x_8, 16, x_3); -lean_ctor_set(x_8, 17, x_2); -lean_ctor_set(x_8, 18, x_6); +lean_ctor_set(x_8, 17, x_3); +lean_ctor_set(x_8, 18, x_2); +lean_ctor_set(x_8, 19, x_6); return x_8; } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Util.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Util.c index f4efad4af1..483393e099 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Util.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Util.c @@ -20,8 +20,10 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); lean_object* l_Lean_Grind_CommRing_Poly_mulC(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2989,6 +2991,118 @@ return x_66; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_dec(x_15); +x_16 = 0; +x_17 = lean_box(x_16); +lean_ctor_set(x_11, 0, x_17); +return x_11; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_dec(x_11); +x_19 = 0; +x_20 = lean_box(x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_dec(x_13); +x_22 = !lean_is_exclusive(x_11); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_11, 0); +lean_dec(x_23); +x_24 = 1; +x_25 = lean_box(x_24); +lean_ctor_set(x_11, 0, x_25); +return x_11; +} +else +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); +lean_dec(x_11); +x_27 = 1; +x_28 = lean_box(x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_26); +return x_29; +} +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_11); +if (x_30 == 0) +{ +return x_11; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_11, 0); +x_32 = lean_ctor_get(x_11, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_11); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Grind_Arith_CommRing_noZeroDivisors(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_hasChar(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: { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Var.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Var.c index ad7b53adb4..c26f593f05 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Var.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Var.c @@ -786,7 +786,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_mkVar___lambda__1(lean _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_14 = lean_ctor_get(x_1, 12); +x_14 = lean_ctor_get(x_1, 13); lean_inc(x_14); lean_dec(x_1); x_15 = lean_ctor_get(x_14, 2); @@ -842,9 +842,9 @@ x_51 = !lean_is_exclusive(x_48); if (x_51 == 0) { lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_52 = lean_ctor_get(x_48, 12); -x_53 = lean_ctor_get(x_48, 13); -x_54 = lean_ctor_get(x_48, 18); +x_52 = lean_ctor_get(x_48, 13); +x_53 = lean_ctor_get(x_48, 14); +x_54 = lean_ctor_get(x_48, 19); lean_inc(x_2); x_55 = l_Lean_PersistentArray_push___rarg(x_52, x_2); lean_inc(x_15); @@ -852,9 +852,9 @@ lean_inc(x_2); x_56 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_53, x_2, x_15); x_57 = lean_box(0); x_58 = l_Lean_PersistentArray_push___rarg(x_54, x_57); -lean_ctor_set(x_48, 18, x_58); -lean_ctor_set(x_48, 13, x_56); -lean_ctor_set(x_48, 12, x_55); +lean_ctor_set(x_48, 19, x_58); +lean_ctor_set(x_48, 14, x_56); +lean_ctor_set(x_48, 13, x_55); x_59 = lean_array_fset(x_50, x_4, x_48); lean_ctor_set(x_36, 0, x_59); x_60 = lean_st_ref_set(x_5, x_34, x_37); @@ -866,7 +866,7 @@ goto block_32; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; x_62 = lean_ctor_get(x_48, 0); x_63 = lean_ctor_get(x_48, 1); x_64 = lean_ctor_get(x_48, 2); @@ -886,6 +886,8 @@ x_77 = lean_ctor_get(x_48, 15); x_78 = lean_ctor_get(x_48, 16); x_79 = lean_ctor_get(x_48, 17); x_80 = lean_ctor_get(x_48, 18); +x_81 = lean_ctor_get(x_48, 19); +lean_inc(x_81); lean_inc(x_80); lean_inc(x_79); lean_inc(x_78); @@ -907,604 +909,617 @@ lean_inc(x_63); lean_inc(x_62); lean_dec(x_48); lean_inc(x_2); -x_81 = l_Lean_PersistentArray_push___rarg(x_74, x_2); +x_82 = l_Lean_PersistentArray_push___rarg(x_75, x_2); lean_inc(x_15); lean_inc(x_2); -x_82 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_75, x_2, x_15); -x_83 = lean_box(0); -x_84 = l_Lean_PersistentArray_push___rarg(x_80, x_83); -x_85 = lean_alloc_ctor(0, 19, 0); -lean_ctor_set(x_85, 0, x_62); -lean_ctor_set(x_85, 1, x_63); -lean_ctor_set(x_85, 2, x_64); -lean_ctor_set(x_85, 3, x_65); -lean_ctor_set(x_85, 4, x_66); -lean_ctor_set(x_85, 5, x_67); -lean_ctor_set(x_85, 6, x_68); -lean_ctor_set(x_85, 7, x_69); -lean_ctor_set(x_85, 8, x_70); -lean_ctor_set(x_85, 9, x_71); -lean_ctor_set(x_85, 10, x_72); -lean_ctor_set(x_85, 11, x_73); -lean_ctor_set(x_85, 12, x_81); -lean_ctor_set(x_85, 13, x_82); -lean_ctor_set(x_85, 14, x_76); -lean_ctor_set(x_85, 15, x_77); -lean_ctor_set(x_85, 16, x_78); -lean_ctor_set(x_85, 17, x_79); -lean_ctor_set(x_85, 18, x_84); -x_86 = lean_array_fset(x_50, x_4, x_85); -lean_ctor_set(x_36, 0, x_86); -x_87 = lean_st_ref_set(x_5, x_34, x_37); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_16 = x_88; +x_83 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_76, x_2, x_15); +x_84 = lean_box(0); +x_85 = l_Lean_PersistentArray_push___rarg(x_81, x_84); +x_86 = lean_alloc_ctor(0, 20, 0); +lean_ctor_set(x_86, 0, x_62); +lean_ctor_set(x_86, 1, x_63); +lean_ctor_set(x_86, 2, x_64); +lean_ctor_set(x_86, 3, x_65); +lean_ctor_set(x_86, 4, x_66); +lean_ctor_set(x_86, 5, x_67); +lean_ctor_set(x_86, 6, x_68); +lean_ctor_set(x_86, 7, x_69); +lean_ctor_set(x_86, 8, x_70); +lean_ctor_set(x_86, 9, x_71); +lean_ctor_set(x_86, 10, x_72); +lean_ctor_set(x_86, 11, x_73); +lean_ctor_set(x_86, 12, x_74); +lean_ctor_set(x_86, 13, x_82); +lean_ctor_set(x_86, 14, x_83); +lean_ctor_set(x_86, 15, x_77); +lean_ctor_set(x_86, 16, x_78); +lean_ctor_set(x_86, 17, x_79); +lean_ctor_set(x_86, 18, x_80); +lean_ctor_set(x_86, 19, x_85); +x_87 = lean_array_fset(x_50, x_4, x_86); +lean_ctor_set(x_36, 0, x_87); +x_88 = lean_st_ref_set(x_5, x_34, x_37); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_16 = x_89; goto block_32; } } } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_89 = lean_ctor_get(x_36, 0); -x_90 = lean_ctor_get(x_36, 1); -x_91 = lean_ctor_get(x_36, 2); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_90 = lean_ctor_get(x_36, 0); +x_91 = lean_ctor_get(x_36, 1); +x_92 = lean_ctor_get(x_36, 2); +lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); -lean_inc(x_89); lean_dec(x_36); -x_92 = lean_array_get_size(x_89); -x_93 = lean_nat_dec_lt(x_4, x_92); -lean_dec(x_92); -if (x_93 == 0) +x_93 = lean_array_get_size(x_90); +x_94 = lean_nat_dec_lt(x_4, x_93); +lean_dec(x_93); +if (x_94 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_89); -lean_ctor_set(x_94, 1, x_90); -lean_ctor_set(x_94, 2, x_91); -lean_ctor_set(x_35, 2, x_94); -x_95 = lean_st_ref_set(x_5, x_34, x_37); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_16 = x_96; +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_90); +lean_ctor_set(x_95, 1, x_91); +lean_ctor_set(x_95, 2, x_92); +lean_ctor_set(x_35, 2, x_95); +x_96 = lean_st_ref_set(x_5, x_34, x_37); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_16 = x_97; goto block_32; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_97 = lean_array_fget(x_89, x_4); -x_98 = lean_box(0); -x_99 = lean_array_fset(x_89, x_4, x_98); -x_100 = lean_ctor_get(x_97, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_97, 1); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_98 = lean_array_fget(x_90, x_4); +x_99 = lean_box(0); +x_100 = lean_array_fset(x_90, x_4, x_99); +x_101 = lean_ctor_get(x_98, 0); lean_inc(x_101); -x_102 = lean_ctor_get(x_97, 2); +x_102 = lean_ctor_get(x_98, 1); lean_inc(x_102); -x_103 = lean_ctor_get(x_97, 3); +x_103 = lean_ctor_get(x_98, 2); lean_inc(x_103); -x_104 = lean_ctor_get(x_97, 4); +x_104 = lean_ctor_get(x_98, 3); lean_inc(x_104); -x_105 = lean_ctor_get(x_97, 5); +x_105 = lean_ctor_get(x_98, 4); lean_inc(x_105); -x_106 = lean_ctor_get(x_97, 6); +x_106 = lean_ctor_get(x_98, 5); lean_inc(x_106); -x_107 = lean_ctor_get(x_97, 7); +x_107 = lean_ctor_get(x_98, 6); lean_inc(x_107); -x_108 = lean_ctor_get(x_97, 8); +x_108 = lean_ctor_get(x_98, 7); lean_inc(x_108); -x_109 = lean_ctor_get(x_97, 9); +x_109 = lean_ctor_get(x_98, 8); lean_inc(x_109); -x_110 = lean_ctor_get(x_97, 10); +x_110 = lean_ctor_get(x_98, 9); lean_inc(x_110); -x_111 = lean_ctor_get(x_97, 11); +x_111 = lean_ctor_get(x_98, 10); lean_inc(x_111); -x_112 = lean_ctor_get(x_97, 12); +x_112 = lean_ctor_get(x_98, 11); lean_inc(x_112); -x_113 = lean_ctor_get(x_97, 13); +x_113 = lean_ctor_get(x_98, 12); lean_inc(x_113); -x_114 = lean_ctor_get(x_97, 14); +x_114 = lean_ctor_get(x_98, 13); lean_inc(x_114); -x_115 = lean_ctor_get(x_97, 15); +x_115 = lean_ctor_get(x_98, 14); lean_inc(x_115); -x_116 = lean_ctor_get(x_97, 16); +x_116 = lean_ctor_get(x_98, 15); lean_inc(x_116); -x_117 = lean_ctor_get(x_97, 17); +x_117 = lean_ctor_get(x_98, 16); lean_inc(x_117); -x_118 = lean_ctor_get(x_97, 18); +x_118 = lean_ctor_get(x_98, 17); lean_inc(x_118); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - lean_ctor_release(x_97, 2); - lean_ctor_release(x_97, 3); - lean_ctor_release(x_97, 4); - lean_ctor_release(x_97, 5); - lean_ctor_release(x_97, 6); - lean_ctor_release(x_97, 7); - lean_ctor_release(x_97, 8); - lean_ctor_release(x_97, 9); - lean_ctor_release(x_97, 10); - lean_ctor_release(x_97, 11); - lean_ctor_release(x_97, 12); - lean_ctor_release(x_97, 13); - lean_ctor_release(x_97, 14); - lean_ctor_release(x_97, 15); - lean_ctor_release(x_97, 16); - lean_ctor_release(x_97, 17); - lean_ctor_release(x_97, 18); - x_119 = x_97; +x_119 = lean_ctor_get(x_98, 18); +lean_inc(x_119); +x_120 = lean_ctor_get(x_98, 19); +lean_inc(x_120); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + lean_ctor_release(x_98, 2); + lean_ctor_release(x_98, 3); + lean_ctor_release(x_98, 4); + lean_ctor_release(x_98, 5); + lean_ctor_release(x_98, 6); + lean_ctor_release(x_98, 7); + lean_ctor_release(x_98, 8); + lean_ctor_release(x_98, 9); + lean_ctor_release(x_98, 10); + lean_ctor_release(x_98, 11); + lean_ctor_release(x_98, 12); + lean_ctor_release(x_98, 13); + lean_ctor_release(x_98, 14); + lean_ctor_release(x_98, 15); + lean_ctor_release(x_98, 16); + lean_ctor_release(x_98, 17); + lean_ctor_release(x_98, 18); + lean_ctor_release(x_98, 19); + x_121 = x_98; } else { - lean_dec_ref(x_97); - x_119 = lean_box(0); + lean_dec_ref(x_98); + x_121 = lean_box(0); } lean_inc(x_2); -x_120 = l_Lean_PersistentArray_push___rarg(x_112, x_2); +x_122 = l_Lean_PersistentArray_push___rarg(x_114, x_2); lean_inc(x_15); lean_inc(x_2); -x_121 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_113, x_2, x_15); -x_122 = lean_box(0); -x_123 = l_Lean_PersistentArray_push___rarg(x_118, x_122); -if (lean_is_scalar(x_119)) { - x_124 = lean_alloc_ctor(0, 19, 0); +x_123 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_115, x_2, x_15); +x_124 = lean_box(0); +x_125 = l_Lean_PersistentArray_push___rarg(x_120, x_124); +if (lean_is_scalar(x_121)) { + x_126 = lean_alloc_ctor(0, 20, 0); } else { - x_124 = x_119; + x_126 = x_121; } -lean_ctor_set(x_124, 0, x_100); -lean_ctor_set(x_124, 1, x_101); -lean_ctor_set(x_124, 2, x_102); -lean_ctor_set(x_124, 3, x_103); -lean_ctor_set(x_124, 4, x_104); -lean_ctor_set(x_124, 5, x_105); -lean_ctor_set(x_124, 6, x_106); -lean_ctor_set(x_124, 7, x_107); -lean_ctor_set(x_124, 8, x_108); -lean_ctor_set(x_124, 9, x_109); -lean_ctor_set(x_124, 10, x_110); -lean_ctor_set(x_124, 11, x_111); -lean_ctor_set(x_124, 12, x_120); -lean_ctor_set(x_124, 13, x_121); -lean_ctor_set(x_124, 14, x_114); -lean_ctor_set(x_124, 15, x_115); -lean_ctor_set(x_124, 16, x_116); -lean_ctor_set(x_124, 17, x_117); -lean_ctor_set(x_124, 18, x_123); -x_125 = lean_array_fset(x_99, x_4, x_124); -x_126 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_90); -lean_ctor_set(x_126, 2, x_91); -lean_ctor_set(x_35, 2, x_126); -x_127 = lean_st_ref_set(x_5, x_34, x_37); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -lean_dec(x_127); -x_16 = x_128; +lean_ctor_set(x_126, 0, x_101); +lean_ctor_set(x_126, 1, x_102); +lean_ctor_set(x_126, 2, x_103); +lean_ctor_set(x_126, 3, x_104); +lean_ctor_set(x_126, 4, x_105); +lean_ctor_set(x_126, 5, x_106); +lean_ctor_set(x_126, 6, x_107); +lean_ctor_set(x_126, 7, x_108); +lean_ctor_set(x_126, 8, x_109); +lean_ctor_set(x_126, 9, x_110); +lean_ctor_set(x_126, 10, x_111); +lean_ctor_set(x_126, 11, x_112); +lean_ctor_set(x_126, 12, x_113); +lean_ctor_set(x_126, 13, x_122); +lean_ctor_set(x_126, 14, x_123); +lean_ctor_set(x_126, 15, x_116); +lean_ctor_set(x_126, 16, x_117); +lean_ctor_set(x_126, 17, x_118); +lean_ctor_set(x_126, 18, x_119); +lean_ctor_set(x_126, 19, x_125); +x_127 = lean_array_fset(x_100, x_4, x_126); +x_128 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_91); +lean_ctor_set(x_128, 2, x_92); +lean_ctor_set(x_35, 2, x_128); +x_129 = lean_st_ref_set(x_5, x_34, x_37); +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_16 = x_130; goto block_32; } } } else { -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; uint8_t x_136; -x_129 = lean_ctor_get(x_35, 0); -x_130 = lean_ctor_get(x_35, 1); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_35); -x_131 = lean_ctor_get(x_36, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_36, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_131 = lean_ctor_get(x_35, 0); +x_132 = lean_ctor_get(x_35, 1); lean_inc(x_132); -x_133 = lean_ctor_get(x_36, 2); +lean_inc(x_131); +lean_dec(x_35); +x_133 = lean_ctor_get(x_36, 0); lean_inc(x_133); +x_134 = lean_ctor_get(x_36, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_36, 2); +lean_inc(x_135); if (lean_is_exclusive(x_36)) { lean_ctor_release(x_36, 0); lean_ctor_release(x_36, 1); lean_ctor_release(x_36, 2); - x_134 = x_36; + x_136 = x_36; } else { lean_dec_ref(x_36); - x_134 = lean_box(0); + x_136 = lean_box(0); } -x_135 = lean_array_get_size(x_131); -x_136 = lean_nat_dec_lt(x_4, x_135); -lean_dec(x_135); -if (x_136 == 0) +x_137 = lean_array_get_size(x_133); +x_138 = lean_nat_dec_lt(x_4, x_137); +lean_dec(x_137); +if (x_138 == 0) { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -if (lean_is_scalar(x_134)) { - x_137 = lean_alloc_ctor(0, 3, 0); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +if (lean_is_scalar(x_136)) { + x_139 = lean_alloc_ctor(0, 3, 0); } else { - x_137 = x_134; + x_139 = x_136; } -lean_ctor_set(x_137, 0, x_131); -lean_ctor_set(x_137, 1, x_132); -lean_ctor_set(x_137, 2, x_133); -x_138 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_138, 0, x_129); -lean_ctor_set(x_138, 1, x_130); -lean_ctor_set(x_138, 2, x_137); -lean_ctor_set(x_34, 13, x_138); -x_139 = lean_st_ref_set(x_5, x_34, x_37); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_16 = x_140; +lean_ctor_set(x_139, 0, x_133); +lean_ctor_set(x_139, 1, x_134); +lean_ctor_set(x_139, 2, x_135); +x_140 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_140, 0, x_131); +lean_ctor_set(x_140, 1, x_132); +lean_ctor_set(x_140, 2, x_139); +lean_ctor_set(x_34, 13, x_140); +x_141 = lean_st_ref_set(x_5, x_34, x_37); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_16 = x_142; goto block_32; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_141 = lean_array_fget(x_131, x_4); -x_142 = lean_box(0); -x_143 = lean_array_fset(x_131, x_4, x_142); -x_144 = lean_ctor_get(x_141, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -x_146 = lean_ctor_get(x_141, 2); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_143 = lean_array_fget(x_133, x_4); +x_144 = lean_box(0); +x_145 = lean_array_fset(x_133, x_4, x_144); +x_146 = lean_ctor_get(x_143, 0); lean_inc(x_146); -x_147 = lean_ctor_get(x_141, 3); +x_147 = lean_ctor_get(x_143, 1); lean_inc(x_147); -x_148 = lean_ctor_get(x_141, 4); +x_148 = lean_ctor_get(x_143, 2); lean_inc(x_148); -x_149 = lean_ctor_get(x_141, 5); +x_149 = lean_ctor_get(x_143, 3); lean_inc(x_149); -x_150 = lean_ctor_get(x_141, 6); +x_150 = lean_ctor_get(x_143, 4); lean_inc(x_150); -x_151 = lean_ctor_get(x_141, 7); +x_151 = lean_ctor_get(x_143, 5); lean_inc(x_151); -x_152 = lean_ctor_get(x_141, 8); +x_152 = lean_ctor_get(x_143, 6); lean_inc(x_152); -x_153 = lean_ctor_get(x_141, 9); +x_153 = lean_ctor_get(x_143, 7); lean_inc(x_153); -x_154 = lean_ctor_get(x_141, 10); +x_154 = lean_ctor_get(x_143, 8); lean_inc(x_154); -x_155 = lean_ctor_get(x_141, 11); +x_155 = lean_ctor_get(x_143, 9); lean_inc(x_155); -x_156 = lean_ctor_get(x_141, 12); +x_156 = lean_ctor_get(x_143, 10); lean_inc(x_156); -x_157 = lean_ctor_get(x_141, 13); +x_157 = lean_ctor_get(x_143, 11); lean_inc(x_157); -x_158 = lean_ctor_get(x_141, 14); +x_158 = lean_ctor_get(x_143, 12); lean_inc(x_158); -x_159 = lean_ctor_get(x_141, 15); +x_159 = lean_ctor_get(x_143, 13); lean_inc(x_159); -x_160 = lean_ctor_get(x_141, 16); +x_160 = lean_ctor_get(x_143, 14); lean_inc(x_160); -x_161 = lean_ctor_get(x_141, 17); +x_161 = lean_ctor_get(x_143, 15); lean_inc(x_161); -x_162 = lean_ctor_get(x_141, 18); +x_162 = lean_ctor_get(x_143, 16); lean_inc(x_162); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - lean_ctor_release(x_141, 2); - lean_ctor_release(x_141, 3); - lean_ctor_release(x_141, 4); - lean_ctor_release(x_141, 5); - lean_ctor_release(x_141, 6); - lean_ctor_release(x_141, 7); - lean_ctor_release(x_141, 8); - lean_ctor_release(x_141, 9); - lean_ctor_release(x_141, 10); - lean_ctor_release(x_141, 11); - lean_ctor_release(x_141, 12); - lean_ctor_release(x_141, 13); - lean_ctor_release(x_141, 14); - lean_ctor_release(x_141, 15); - lean_ctor_release(x_141, 16); - lean_ctor_release(x_141, 17); - lean_ctor_release(x_141, 18); - x_163 = x_141; +x_163 = lean_ctor_get(x_143, 17); +lean_inc(x_163); +x_164 = lean_ctor_get(x_143, 18); +lean_inc(x_164); +x_165 = lean_ctor_get(x_143, 19); +lean_inc(x_165); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + lean_ctor_release(x_143, 2); + lean_ctor_release(x_143, 3); + lean_ctor_release(x_143, 4); + lean_ctor_release(x_143, 5); + lean_ctor_release(x_143, 6); + lean_ctor_release(x_143, 7); + lean_ctor_release(x_143, 8); + lean_ctor_release(x_143, 9); + lean_ctor_release(x_143, 10); + lean_ctor_release(x_143, 11); + lean_ctor_release(x_143, 12); + lean_ctor_release(x_143, 13); + lean_ctor_release(x_143, 14); + lean_ctor_release(x_143, 15); + lean_ctor_release(x_143, 16); + lean_ctor_release(x_143, 17); + lean_ctor_release(x_143, 18); + lean_ctor_release(x_143, 19); + x_166 = x_143; } else { - lean_dec_ref(x_141); - x_163 = lean_box(0); + lean_dec_ref(x_143); + x_166 = lean_box(0); } lean_inc(x_2); -x_164 = l_Lean_PersistentArray_push___rarg(x_156, x_2); +x_167 = l_Lean_PersistentArray_push___rarg(x_159, x_2); lean_inc(x_15); lean_inc(x_2); -x_165 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_157, x_2, x_15); -x_166 = lean_box(0); -x_167 = l_Lean_PersistentArray_push___rarg(x_162, x_166); -if (lean_is_scalar(x_163)) { - x_168 = lean_alloc_ctor(0, 19, 0); +x_168 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_160, x_2, x_15); +x_169 = lean_box(0); +x_170 = l_Lean_PersistentArray_push___rarg(x_165, x_169); +if (lean_is_scalar(x_166)) { + x_171 = lean_alloc_ctor(0, 20, 0); } else { - x_168 = x_163; + x_171 = x_166; } -lean_ctor_set(x_168, 0, x_144); -lean_ctor_set(x_168, 1, x_145); -lean_ctor_set(x_168, 2, x_146); -lean_ctor_set(x_168, 3, x_147); -lean_ctor_set(x_168, 4, x_148); -lean_ctor_set(x_168, 5, x_149); -lean_ctor_set(x_168, 6, x_150); -lean_ctor_set(x_168, 7, x_151); -lean_ctor_set(x_168, 8, x_152); -lean_ctor_set(x_168, 9, x_153); -lean_ctor_set(x_168, 10, x_154); -lean_ctor_set(x_168, 11, x_155); -lean_ctor_set(x_168, 12, x_164); -lean_ctor_set(x_168, 13, x_165); -lean_ctor_set(x_168, 14, x_158); -lean_ctor_set(x_168, 15, x_159); -lean_ctor_set(x_168, 16, x_160); -lean_ctor_set(x_168, 17, x_161); -lean_ctor_set(x_168, 18, x_167); -x_169 = lean_array_fset(x_143, x_4, x_168); -if (lean_is_scalar(x_134)) { - x_170 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_171, 0, x_146); +lean_ctor_set(x_171, 1, x_147); +lean_ctor_set(x_171, 2, x_148); +lean_ctor_set(x_171, 3, x_149); +lean_ctor_set(x_171, 4, x_150); +lean_ctor_set(x_171, 5, x_151); +lean_ctor_set(x_171, 6, x_152); +lean_ctor_set(x_171, 7, x_153); +lean_ctor_set(x_171, 8, x_154); +lean_ctor_set(x_171, 9, x_155); +lean_ctor_set(x_171, 10, x_156); +lean_ctor_set(x_171, 11, x_157); +lean_ctor_set(x_171, 12, x_158); +lean_ctor_set(x_171, 13, x_167); +lean_ctor_set(x_171, 14, x_168); +lean_ctor_set(x_171, 15, x_161); +lean_ctor_set(x_171, 16, x_162); +lean_ctor_set(x_171, 17, x_163); +lean_ctor_set(x_171, 18, x_164); +lean_ctor_set(x_171, 19, x_170); +x_172 = lean_array_fset(x_145, x_4, x_171); +if (lean_is_scalar(x_136)) { + x_173 = lean_alloc_ctor(0, 3, 0); } else { - x_170 = x_134; + x_173 = x_136; } -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_132); -lean_ctor_set(x_170, 2, x_133); -x_171 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_171, 0, x_129); -lean_ctor_set(x_171, 1, x_130); -lean_ctor_set(x_171, 2, x_170); -lean_ctor_set(x_34, 13, x_171); -x_172 = lean_st_ref_set(x_5, x_34, x_37); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_16 = x_173; +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_134); +lean_ctor_set(x_173, 2, x_135); +x_174 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_174, 0, x_131); +lean_ctor_set(x_174, 1, x_132); +lean_ctor_set(x_174, 2, x_173); +lean_ctor_set(x_34, 13, x_174); +x_175 = lean_st_ref_set(x_5, x_34, x_37); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +lean_dec(x_175); +x_16 = x_176; goto block_32; } } } else { -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; uint8_t 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; uint8_t x_197; -x_174 = lean_ctor_get(x_34, 0); -x_175 = lean_ctor_get(x_34, 1); -x_176 = lean_ctor_get(x_34, 2); -x_177 = lean_ctor_get(x_34, 3); -x_178 = lean_ctor_get(x_34, 4); -x_179 = lean_ctor_get(x_34, 5); -x_180 = lean_ctor_get(x_34, 6); -x_181 = lean_ctor_get_uint8(x_34, sizeof(void*)*15); -x_182 = lean_ctor_get(x_34, 7); -x_183 = lean_ctor_get(x_34, 8); -x_184 = lean_ctor_get(x_34, 9); -x_185 = lean_ctor_get(x_34, 10); -x_186 = lean_ctor_get(x_34, 11); -x_187 = lean_ctor_get(x_34, 12); -x_188 = lean_ctor_get(x_34, 14); +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; 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_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; uint8_t x_200; +x_177 = lean_ctor_get(x_34, 0); +x_178 = lean_ctor_get(x_34, 1); +x_179 = lean_ctor_get(x_34, 2); +x_180 = lean_ctor_get(x_34, 3); +x_181 = lean_ctor_get(x_34, 4); +x_182 = lean_ctor_get(x_34, 5); +x_183 = lean_ctor_get(x_34, 6); +x_184 = lean_ctor_get_uint8(x_34, sizeof(void*)*15); +x_185 = lean_ctor_get(x_34, 7); +x_186 = lean_ctor_get(x_34, 8); +x_187 = lean_ctor_get(x_34, 9); +x_188 = lean_ctor_get(x_34, 10); +x_189 = lean_ctor_get(x_34, 11); +x_190 = lean_ctor_get(x_34, 12); +x_191 = lean_ctor_get(x_34, 14); +lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); lean_inc(x_188); lean_inc(x_187); lean_inc(x_186); lean_inc(x_185); -lean_inc(x_184); lean_inc(x_183); lean_inc(x_182); +lean_inc(x_181); lean_inc(x_180); lean_inc(x_179); lean_inc(x_178); lean_inc(x_177); -lean_inc(x_176); -lean_inc(x_175); -lean_inc(x_174); lean_dec(x_34); -x_189 = lean_ctor_get(x_35, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_35, 1); -lean_inc(x_190); +x_192 = lean_ctor_get(x_35, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_35, 1); +lean_inc(x_193); if (lean_is_exclusive(x_35)) { lean_ctor_release(x_35, 0); lean_ctor_release(x_35, 1); lean_ctor_release(x_35, 2); - x_191 = x_35; + x_194 = x_35; } else { lean_dec_ref(x_35); - x_191 = lean_box(0); + x_194 = lean_box(0); } -x_192 = lean_ctor_get(x_36, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_36, 1); -lean_inc(x_193); -x_194 = lean_ctor_get(x_36, 2); -lean_inc(x_194); +x_195 = lean_ctor_get(x_36, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_36, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_36, 2); +lean_inc(x_197); if (lean_is_exclusive(x_36)) { lean_ctor_release(x_36, 0); lean_ctor_release(x_36, 1); lean_ctor_release(x_36, 2); - x_195 = x_36; + x_198 = x_36; } else { lean_dec_ref(x_36); - x_195 = lean_box(0); + x_198 = lean_box(0); } -x_196 = lean_array_get_size(x_192); -x_197 = lean_nat_dec_lt(x_4, x_196); -lean_dec(x_196); -if (x_197 == 0) +x_199 = lean_array_get_size(x_195); +x_200 = lean_nat_dec_lt(x_4, x_199); +lean_dec(x_199); +if (x_200 == 0) { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -if (lean_is_scalar(x_195)) { - x_198 = lean_alloc_ctor(0, 3, 0); +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +if (lean_is_scalar(x_198)) { + x_201 = lean_alloc_ctor(0, 3, 0); } else { - x_198 = x_195; + x_201 = x_198; } -lean_ctor_set(x_198, 0, x_192); -lean_ctor_set(x_198, 1, x_193); -lean_ctor_set(x_198, 2, x_194); -if (lean_is_scalar(x_191)) { - x_199 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_201, 0, x_195); +lean_ctor_set(x_201, 1, x_196); +lean_ctor_set(x_201, 2, x_197); +if (lean_is_scalar(x_194)) { + x_202 = lean_alloc_ctor(0, 3, 0); } else { - x_199 = x_191; + x_202 = x_194; } -lean_ctor_set(x_199, 0, x_189); -lean_ctor_set(x_199, 1, x_190); -lean_ctor_set(x_199, 2, x_198); -x_200 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_200, 0, x_174); -lean_ctor_set(x_200, 1, x_175); -lean_ctor_set(x_200, 2, x_176); -lean_ctor_set(x_200, 3, x_177); -lean_ctor_set(x_200, 4, x_178); -lean_ctor_set(x_200, 5, x_179); -lean_ctor_set(x_200, 6, x_180); -lean_ctor_set(x_200, 7, x_182); -lean_ctor_set(x_200, 8, x_183); -lean_ctor_set(x_200, 9, x_184); -lean_ctor_set(x_200, 10, x_185); -lean_ctor_set(x_200, 11, x_186); -lean_ctor_set(x_200, 12, x_187); -lean_ctor_set(x_200, 13, x_199); -lean_ctor_set(x_200, 14, x_188); -lean_ctor_set_uint8(x_200, sizeof(void*)*15, x_181); -x_201 = lean_st_ref_set(x_5, x_200, x_37); -x_202 = lean_ctor_get(x_201, 1); -lean_inc(x_202); -lean_dec(x_201); -x_16 = x_202; +lean_ctor_set(x_202, 0, x_192); +lean_ctor_set(x_202, 1, x_193); +lean_ctor_set(x_202, 2, x_201); +x_203 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_203, 0, x_177); +lean_ctor_set(x_203, 1, x_178); +lean_ctor_set(x_203, 2, x_179); +lean_ctor_set(x_203, 3, x_180); +lean_ctor_set(x_203, 4, x_181); +lean_ctor_set(x_203, 5, x_182); +lean_ctor_set(x_203, 6, x_183); +lean_ctor_set(x_203, 7, x_185); +lean_ctor_set(x_203, 8, x_186); +lean_ctor_set(x_203, 9, x_187); +lean_ctor_set(x_203, 10, x_188); +lean_ctor_set(x_203, 11, x_189); +lean_ctor_set(x_203, 12, x_190); +lean_ctor_set(x_203, 13, x_202); +lean_ctor_set(x_203, 14, x_191); +lean_ctor_set_uint8(x_203, sizeof(void*)*15, x_184); +x_204 = lean_st_ref_set(x_5, x_203, x_37); +x_205 = lean_ctor_get(x_204, 1); +lean_inc(x_205); +lean_dec(x_204); +x_16 = x_205; goto block_32; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_203 = lean_array_fget(x_192, x_4); -x_204 = lean_box(0); -x_205 = lean_array_fset(x_192, x_4, x_204); -x_206 = lean_ctor_get(x_203, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_203, 1); -lean_inc(x_207); -x_208 = lean_ctor_get(x_203, 2); -lean_inc(x_208); -x_209 = lean_ctor_get(x_203, 3); +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_206 = lean_array_fget(x_195, x_4); +x_207 = lean_box(0); +x_208 = lean_array_fset(x_195, x_4, x_207); +x_209 = lean_ctor_get(x_206, 0); lean_inc(x_209); -x_210 = lean_ctor_get(x_203, 4); +x_210 = lean_ctor_get(x_206, 1); lean_inc(x_210); -x_211 = lean_ctor_get(x_203, 5); +x_211 = lean_ctor_get(x_206, 2); lean_inc(x_211); -x_212 = lean_ctor_get(x_203, 6); +x_212 = lean_ctor_get(x_206, 3); lean_inc(x_212); -x_213 = lean_ctor_get(x_203, 7); +x_213 = lean_ctor_get(x_206, 4); lean_inc(x_213); -x_214 = lean_ctor_get(x_203, 8); +x_214 = lean_ctor_get(x_206, 5); lean_inc(x_214); -x_215 = lean_ctor_get(x_203, 9); +x_215 = lean_ctor_get(x_206, 6); lean_inc(x_215); -x_216 = lean_ctor_get(x_203, 10); +x_216 = lean_ctor_get(x_206, 7); lean_inc(x_216); -x_217 = lean_ctor_get(x_203, 11); +x_217 = lean_ctor_get(x_206, 8); lean_inc(x_217); -x_218 = lean_ctor_get(x_203, 12); +x_218 = lean_ctor_get(x_206, 9); lean_inc(x_218); -x_219 = lean_ctor_get(x_203, 13); +x_219 = lean_ctor_get(x_206, 10); lean_inc(x_219); -x_220 = lean_ctor_get(x_203, 14); +x_220 = lean_ctor_get(x_206, 11); lean_inc(x_220); -x_221 = lean_ctor_get(x_203, 15); +x_221 = lean_ctor_get(x_206, 12); lean_inc(x_221); -x_222 = lean_ctor_get(x_203, 16); +x_222 = lean_ctor_get(x_206, 13); lean_inc(x_222); -x_223 = lean_ctor_get(x_203, 17); +x_223 = lean_ctor_get(x_206, 14); lean_inc(x_223); -x_224 = lean_ctor_get(x_203, 18); +x_224 = lean_ctor_get(x_206, 15); lean_inc(x_224); -if (lean_is_exclusive(x_203)) { - lean_ctor_release(x_203, 0); - lean_ctor_release(x_203, 1); - lean_ctor_release(x_203, 2); - lean_ctor_release(x_203, 3); - lean_ctor_release(x_203, 4); - lean_ctor_release(x_203, 5); - lean_ctor_release(x_203, 6); - lean_ctor_release(x_203, 7); - lean_ctor_release(x_203, 8); - lean_ctor_release(x_203, 9); - lean_ctor_release(x_203, 10); - lean_ctor_release(x_203, 11); - lean_ctor_release(x_203, 12); - lean_ctor_release(x_203, 13); - lean_ctor_release(x_203, 14); - lean_ctor_release(x_203, 15); - lean_ctor_release(x_203, 16); - lean_ctor_release(x_203, 17); - lean_ctor_release(x_203, 18); - x_225 = x_203; +x_225 = lean_ctor_get(x_206, 16); +lean_inc(x_225); +x_226 = lean_ctor_get(x_206, 17); +lean_inc(x_226); +x_227 = lean_ctor_get(x_206, 18); +lean_inc(x_227); +x_228 = lean_ctor_get(x_206, 19); +lean_inc(x_228); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + lean_ctor_release(x_206, 1); + lean_ctor_release(x_206, 2); + lean_ctor_release(x_206, 3); + lean_ctor_release(x_206, 4); + lean_ctor_release(x_206, 5); + lean_ctor_release(x_206, 6); + lean_ctor_release(x_206, 7); + lean_ctor_release(x_206, 8); + lean_ctor_release(x_206, 9); + lean_ctor_release(x_206, 10); + lean_ctor_release(x_206, 11); + lean_ctor_release(x_206, 12); + lean_ctor_release(x_206, 13); + lean_ctor_release(x_206, 14); + lean_ctor_release(x_206, 15); + lean_ctor_release(x_206, 16); + lean_ctor_release(x_206, 17); + lean_ctor_release(x_206, 18); + lean_ctor_release(x_206, 19); + x_229 = x_206; } else { - lean_dec_ref(x_203); - x_225 = lean_box(0); + lean_dec_ref(x_206); + x_229 = lean_box(0); } lean_inc(x_2); -x_226 = l_Lean_PersistentArray_push___rarg(x_218, x_2); +x_230 = l_Lean_PersistentArray_push___rarg(x_222, x_2); lean_inc(x_15); lean_inc(x_2); -x_227 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_219, x_2, x_15); -x_228 = lean_box(0); -x_229 = l_Lean_PersistentArray_push___rarg(x_224, x_228); -if (lean_is_scalar(x_225)) { - x_230 = lean_alloc_ctor(0, 19, 0); +x_231 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__1(x_223, x_2, x_15); +x_232 = lean_box(0); +x_233 = l_Lean_PersistentArray_push___rarg(x_228, x_232); +if (lean_is_scalar(x_229)) { + x_234 = lean_alloc_ctor(0, 20, 0); } else { - x_230 = x_225; + x_234 = x_229; } -lean_ctor_set(x_230, 0, x_206); -lean_ctor_set(x_230, 1, x_207); -lean_ctor_set(x_230, 2, x_208); -lean_ctor_set(x_230, 3, x_209); -lean_ctor_set(x_230, 4, x_210); -lean_ctor_set(x_230, 5, x_211); -lean_ctor_set(x_230, 6, x_212); -lean_ctor_set(x_230, 7, x_213); -lean_ctor_set(x_230, 8, x_214); -lean_ctor_set(x_230, 9, x_215); -lean_ctor_set(x_230, 10, x_216); -lean_ctor_set(x_230, 11, x_217); -lean_ctor_set(x_230, 12, x_226); -lean_ctor_set(x_230, 13, x_227); -lean_ctor_set(x_230, 14, x_220); -lean_ctor_set(x_230, 15, x_221); -lean_ctor_set(x_230, 16, x_222); -lean_ctor_set(x_230, 17, x_223); -lean_ctor_set(x_230, 18, x_229); -x_231 = lean_array_fset(x_205, x_4, x_230); -if (lean_is_scalar(x_195)) { - x_232 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_234, 0, x_209); +lean_ctor_set(x_234, 1, x_210); +lean_ctor_set(x_234, 2, x_211); +lean_ctor_set(x_234, 3, x_212); +lean_ctor_set(x_234, 4, x_213); +lean_ctor_set(x_234, 5, x_214); +lean_ctor_set(x_234, 6, x_215); +lean_ctor_set(x_234, 7, x_216); +lean_ctor_set(x_234, 8, x_217); +lean_ctor_set(x_234, 9, x_218); +lean_ctor_set(x_234, 10, x_219); +lean_ctor_set(x_234, 11, x_220); +lean_ctor_set(x_234, 12, x_221); +lean_ctor_set(x_234, 13, x_230); +lean_ctor_set(x_234, 14, x_231); +lean_ctor_set(x_234, 15, x_224); +lean_ctor_set(x_234, 16, x_225); +lean_ctor_set(x_234, 17, x_226); +lean_ctor_set(x_234, 18, x_227); +lean_ctor_set(x_234, 19, x_233); +x_235 = lean_array_fset(x_208, x_4, x_234); +if (lean_is_scalar(x_198)) { + x_236 = lean_alloc_ctor(0, 3, 0); } else { - x_232 = x_195; + x_236 = x_198; } -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_193); -lean_ctor_set(x_232, 2, x_194); -if (lean_is_scalar(x_191)) { - x_233 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_196); +lean_ctor_set(x_236, 2, x_197); +if (lean_is_scalar(x_194)) { + x_237 = lean_alloc_ctor(0, 3, 0); } else { - x_233 = x_191; + x_237 = x_194; } -lean_ctor_set(x_233, 0, x_189); -lean_ctor_set(x_233, 1, x_190); -lean_ctor_set(x_233, 2, x_232); -x_234 = lean_alloc_ctor(0, 15, 1); -lean_ctor_set(x_234, 0, x_174); -lean_ctor_set(x_234, 1, x_175); -lean_ctor_set(x_234, 2, x_176); -lean_ctor_set(x_234, 3, x_177); -lean_ctor_set(x_234, 4, x_178); -lean_ctor_set(x_234, 5, x_179); -lean_ctor_set(x_234, 6, x_180); -lean_ctor_set(x_234, 7, x_182); -lean_ctor_set(x_234, 8, x_183); -lean_ctor_set(x_234, 9, x_184); -lean_ctor_set(x_234, 10, x_185); -lean_ctor_set(x_234, 11, x_186); -lean_ctor_set(x_234, 12, x_187); -lean_ctor_set(x_234, 13, x_233); -lean_ctor_set(x_234, 14, x_188); -lean_ctor_set_uint8(x_234, sizeof(void*)*15, x_181); -x_235 = lean_st_ref_set(x_5, x_234, x_37); -x_236 = lean_ctor_get(x_235, 1); -lean_inc(x_236); -lean_dec(x_235); -x_16 = x_236; +lean_ctor_set(x_237, 0, x_192); +lean_ctor_set(x_237, 1, x_193); +lean_ctor_set(x_237, 2, x_236); +x_238 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_238, 0, x_177); +lean_ctor_set(x_238, 1, x_178); +lean_ctor_set(x_238, 2, x_179); +lean_ctor_set(x_238, 3, x_180); +lean_ctor_set(x_238, 4, x_181); +lean_ctor_set(x_238, 5, x_182); +lean_ctor_set(x_238, 6, x_183); +lean_ctor_set(x_238, 7, x_185); +lean_ctor_set(x_238, 8, x_186); +lean_ctor_set(x_238, 9, x_187); +lean_ctor_set(x_238, 10, x_188); +lean_ctor_set(x_238, 11, x_189); +lean_ctor_set(x_238, 12, x_190); +lean_ctor_set(x_238, 13, x_237); +lean_ctor_set(x_238, 14, x_191); +lean_ctor_set_uint8(x_238, sizeof(void*)*15, x_184); +x_239 = lean_st_ref_set(x_5, x_238, x_37); +x_240 = lean_ctor_get(x_239, 1); +lean_inc(x_240); +lean_dec(x_239); +x_16 = x_240; goto block_32; } } @@ -1625,7 +1640,7 @@ if (x_13 == 0) lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_12, 0); x_15 = lean_ctor_get(x_12, 1); -x_16 = lean_ctor_get(x_14, 13); +x_16 = lean_ctor_get(x_14, 14); lean_inc(x_16); x_17 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(x_16, x_1); if (lean_obj_tag(x_17) == 0) @@ -1665,7 +1680,7 @@ x_22 = lean_ctor_get(x_12, 1); lean_inc(x_22); lean_inc(x_21); lean_dec(x_12); -x_23 = lean_ctor_get(x_21, 13); +x_23 = lean_ctor_get(x_21, 14); lean_inc(x_23); x_24 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(x_23, x_1); if (lean_obj_tag(x_24) == 0) diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c index b059f97b10..dd81172739 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c @@ -16,15 +16,13 @@ extern "C" { lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_checkTypeIsProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheoremsArray_isDeclToUnfold___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__19; LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal_loop___at_Lean_Meta_addSimpTheoremEntry___spec__10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpExt(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_isRflProofCore___closed__2; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_isRflProofCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_unfoldEvenWithEqns___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorem_getValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -35,14 +33,16 @@ static lean_object* l_Lean_Meta_mkSimpExt___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocessProof___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ppSimpTheorem(lean_object*); +static lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__22; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__10; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SimpTheorems_eraseCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__1; size_t lean_usize_shift_right(size_t, size_t); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__21; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__15; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_Lean_Meta_SimpTheorems_erase___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isProjectionFn___at_Lean_Meta_SimpTheorems_ignoreEquations___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -50,7 +50,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_ static lean_object* l_Lean_Meta_ppOrigin___rarg___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__9; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at_Lean_Meta_SimpTheorems_erase___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__21; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__12; LEAN_EXPORT uint8_t l_Lean_Meta_SimpTheoremsArray_isErased(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__9; @@ -65,23 +65,28 @@ lean_object* l_Lean_Meta_Config_toConfigWithKey(lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpEntry; lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3; +LEAN_EXPORT lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516_; static lean_object* l_Lean_Meta_mkSimpExt___closed__3; -static lean_object* l_Lean_Meta_isRflProofCore___closed__1; lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpTheorems_erase___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_erase___at_Lean_KeyedDeclsAttribute_ExtensionState_insert___spec__1(lean_object*, lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__3; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__8; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_isLemma___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isLetDeclToUnfold___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); uint64_t lean_uint64_lor(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpTheorem_getValue___closed__3; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__5___closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(lean_object*, lean_object*); @@ -92,8 +97,9 @@ static lean_object* l_Lean_Meta_instInhabitedSimpTheorem___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_isRflProofCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__18; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574_(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__11; static lean_object* l_Lean_Meta_instToFormatSimpTheorem___closed__3; size_t lean_usize_mul(size_t, size_t); @@ -103,6 +109,7 @@ lean_object* l_Lean_PersistentHashMap_insert___at_Lean_NameSSet_insert___spec__2 lean_object* l_Lean_Meta_DiscrTree_instInhabited(lean_object*); static lean_object* l_Lean_Meta_instInhabitedSimpTheorem___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_SimpTheorems_eraseCore___spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___lambda__2___closed__1; static lean_object* l_Lean_Meta_SimpTheorems_erase___rarg___lambda__2___closed__2; @@ -111,27 +118,26 @@ lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_addSimpTheorem___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__7; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__4; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__11; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_addSimpTheoremEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedOrigin___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_addSimpTheoremEntry_updateLemmaNames(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addSimpTheoremEntry___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__18; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__2; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__22; +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_instToFormatSimpTheorem___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqSimpTheorem___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instDecidableLtOrigin___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; static lean_object* l_Lean_Meta_instInhabitedSimpTheorem___closed__1; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__25; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_instDecidableLtOrigin(lean_object*, lean_object*); LEAN_EXPORT uint64_t l_Lean_Meta_instHashableOrigin(lean_object*); @@ -143,9 +149,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_ uint8_t l_Lean_Meta_hasSmartUnfoldingDecl(lean_object*, lean_object*); uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpExtension_getTheorems___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__13; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10; -static lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpTheorem; LEAN_EXPORT uint8_t l_Lean_Meta_instBEqSimpTheorem(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_shouldPreprocess___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,37 +159,36 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Met LEAN_EXPORT uint8_t l_Lean_Meta_instBEqOrigin(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getSimpExtension_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__20; static lean_object* l_Lean_Meta_ppOrigin___rarg___closed__3; lean_object* l_Lean_Expr_appArg_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheorems___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_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_isRflProofCore___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_ppSimpTheorem___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__8; extern lean_object* l_Lean_projectionFnInfoExt; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addDeclToUnfold___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_logWarning___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__26; static lean_object* l_Lean_Meta_mkSimpExt___closed__1; lean_object* l_Lean_Meta_mkAuxLemma(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551_(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__3; lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__6; lean_object* l_Lean_PersistentHashMap_insert___at___private_Lean_Structure_0__Lean_setStructureResolutionOrder___spec__1(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_PersistentHashMap_isUnaryNode___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_add(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_idxOfAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__3___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493_; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__26; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorem_getValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_addSimpTheoremEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppOrigin___rarg___closed__4; -static lean_object* l_Lean_Meta_isRflProofCore___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase(lean_object*); static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__4; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,20 +199,18 @@ uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToFormatSimpTheorem___closed__4; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__8; lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists___spec__2___boxed(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremsFromConst(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_addSimpTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__1; lean_object* lean_nat_div(lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__28; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__28; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__27; LEAN_EXPORT lean_object* l_Lean_Meta_Origin_key___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_SimpTheorems_isLetDeclToUnfold(lean_object*, lean_object*); @@ -219,6 +219,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInser LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Origin_key(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_SimpTheoremsArray_isDeclToUnfold(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__2; lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_matchesInstance___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToFormatSimpTheorem___closed__1; lean_object* l_Lean_MessageData_ofFormat(lean_object*); @@ -244,41 +245,46 @@ uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpExt___lambda__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isDeclToUnfold___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_ppSimpTheorem___rarg___lambda__2(lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__6; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__23; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addDeclToUnfoldCore(lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpGlobalConfig___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_checkTypeIsProp___closed__1; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__9; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__25; lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_ppSimpTheorem___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__18; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__1; uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__3; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__8; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_idxOfAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); static size_t l_Lean_PersistentHashMap_eraseAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__2___closed__2; uint8_t l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_102_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__10; +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__7; static lean_object* l_Lean_Meta_instReprOrigin___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__1; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__17; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__2; lean_object* l_panic___at_Lean_Expr_appFn_x21___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__2; static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__3; lean_object* l_Lean_traceBlock___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__12; static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addSimpTheoremEntry___spec__9___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getSimpExtension_x3f___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_checkBadRewrite___closed__2; static lean_object* l_Lean_Meta_ppOrigin___rarg___closed__2; @@ -287,7 +293,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_ lean_object* l_Lean_Expr_instantiateLevelParamsArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SimpTheorems_addConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_getSimpExtension_x3f___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpTheorems_unfoldEvenWithEqns___lambda__2___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__6; @@ -295,7 +300,6 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_binInsertM___at_Lean_Meta_addSimpTheoremEntry___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isRflTheorem(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocessProof(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__5; lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at_Lean_Meta_SimpTheorems_eraseCore___spec__1___boxed(lean_object*, lean_object*); @@ -303,46 +307,46 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_addSimpTheoremEntry___spec__13(l LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isErased___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_checkBadRewrite(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__1___closed__3; +static lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2; static lean_object* l_Lean_Meta_SimpTheorems_addDeclToUnfold___closed__1; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__3; LEAN_EXPORT lean_object* l_Lean_isProjectionFn___at_Lean_Meta_SimpTheorems_ignoreEquations___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__4; -static lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4; static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__1; lean_object* l_Lean_Meta_DiscrTree_mkPath(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSimpTheorem___closed__4; lean_object* lean_usize_to_nat(size_t); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__6; extern lean_object* l_Lean_instInhabitedProjectionFunctionInfo; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqOrigin___boxed(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_unfoldEvenWithEqns___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__15; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at_Lean_Meta_SimpTheorems_erase___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_simpGlobalConfig; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_checkBadRewrite___closed__1; -static lean_object* l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__1; static lean_object* l_Lean_Meta_simpGlobalConfig___closed__2; static lean_object* l_Lean_Meta_SimpTheorem_getValue___closed__1; static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addSimpTheoremEntry___spec__9___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_SimpExtension_getTheorems(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_addSimpTheorem(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_isRflProofCore___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_instToFormatSimpTheorem___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_addSimpTheorem___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instLTOrigin; +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_addSimpTheoremEntry___spec__3(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_ppSimpTheorem___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_shouldPreprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__2___closed__1; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__14; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremsFromConst___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isReducible___at___private_Lean_Meta_GetUnfoldableConst_0__Lean_Meta_canUnfoldDefault___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___lambda__2___closed__2; @@ -351,48 +355,49 @@ lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_addSimpTheoremEntry___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10; static lean_object* l_Lean_Meta_mkSimpExt___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheorems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToFormatSimpTheorem___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_checkTypeIsProp___closed__2; +static lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__1; extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; LEAN_EXPORT lean_object* l_Lean_Meta_ppOrigin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1; -static lean_object* l_Lean_Meta_isRflProofCore___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppOrigin___rarg___closed__6; -static lean_object* l_Lean_Meta_isRflProofCore___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_isRflProofCore___closed__4; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__19; +LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addLetDeclToUnfold(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheoremsArray_isLetDeclToUnfold___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_isRflTheorem___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheorems(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___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__3; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__23; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at_Lean_Meta_SimpTheorems_erase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpTheoremEntry___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpTheorems; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__17; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__13; static uint64_t l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheorems___closed__1; lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_SimpTheorems_eraseCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__17; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isLetDeclToUnfold___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isErased___spec__1(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM_loop___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getSimpExtension_x3f(lean_object*, lean_object*); +static lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -407,6 +412,7 @@ uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*, uint8_t); @@ -424,6 +430,7 @@ lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isDeclToUnfold___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addConst(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SimpTheoremsArray_eraseTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); @@ -456,32 +463,29 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1(lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__20; -LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_instantiateForallWithParamInfos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__5; size_t lean_usize_shift_left(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_unfoldEvenWithEqns___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToFormatSimpTheorem___closed__5; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_addSimpTheoremEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__14; static lean_object* l_Lean_Meta_instToFormatSimpTheorem___closed__6; -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addDeclToUnfold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PersistentHashMap_empty___at_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___spec__1; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_shouldPreprocess___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppOrigin___rarg___closed__1; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__16; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SimpTheorems_eraseCore___spec__8(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instToFormatSimpTheorem(lean_object*); @@ -501,6 +505,7 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__11; lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheoremsArray_addTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -508,15 +513,17 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_ uint8_t l_Lean_Expr_isConst(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_ignoreEquations___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__14; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__13; uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__8; uint8_t l_Lean_Expr_isForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_eraseCore(lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__24; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheoremsArray_addTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addDeclToUnfold___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__7; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__24; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_unfoldEvenWithEqns___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__6; @@ -528,7 +535,6 @@ lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SimpTheorems_addConst___spec__1(lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Name_lt(lean_object*, lean_object*); -static lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_addSimpTheoremEntry___spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheoremsArray_eraseTheorem(lean_object*, lean_object*); uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); @@ -536,7 +542,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_ static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__2; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists___spec__2(lean_object*, size_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpTheoremEntry___spec__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__1; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at_Lean_Meta_SimpTheorems_erase___spec__2(lean_object*, size_t, lean_object*); @@ -544,8 +550,9 @@ lean_object* l_Array_insertIdx_loop___rarg(lean_object*, lean_object*, lean_obje size_t lean_usize_land(size_t, size_t); lean_object* l_Lean_Meta_whnfR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__8; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__27; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at_Lean_Meta_SimpTheorems_eraseCore___spec__1(lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__9; +static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_instReprOrigin; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_openAbstractMVarsResult___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1574,7 +1581,7 @@ x_1 = l_Lean_Meta_instInhabitedSimpTheorem___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1() { _start: { lean_object* x_1; @@ -1582,17 +1589,17 @@ x_1 = lean_mk_string_unchecked("Eq", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_isRflProofCore___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3() { _start: { lean_object* x_1; @@ -1600,17 +1607,17 @@ x_1 = lean_mk_string_unchecked("refl", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_isRflProofCore___closed__1; -x_2 = l_Lean_Meta_isRflProofCore___closed__3; +x_1 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__5() { _start: { lean_object* x_1; @@ -1618,17 +1625,17 @@ x_1 = lean_mk_string_unchecked("rfl", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_isRflProofCore___closed__5; +x_2 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__7() { _start: { lean_object* x_1; @@ -1636,17 +1643,17 @@ x_1 = lean_mk_string_unchecked("symm", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_isRflProofCore___closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_isRflProofCore___closed__1; -x_2 = l_Lean_Meta_isRflProofCore___closed__7; +x_1 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__7; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_isRflProofCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 7) @@ -1679,7 +1686,7 @@ return x_11; else { lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l_Lean_Meta_isRflProofCore___closed__2; +x_12 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; x_13 = lean_unsigned_to_nat(3u); x_14 = l_Lean_Expr_isAppOfArity(x_1, x_12, x_13); if (x_14 == 0) @@ -1698,18 +1705,18 @@ return x_17; else { lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = l_Lean_Meta_isRflProofCore___closed__4; +x_18 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__4; x_19 = lean_unsigned_to_nat(2u); x_20 = l_Lean_Expr_isAppOfArity(x_2, x_18, x_19); if (x_20 == 0) { lean_object* x_21; uint8_t x_22; -x_21 = l_Lean_Meta_isRflProofCore___closed__6; +x_21 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__6; x_22 = l_Lean_Expr_isAppOfArity(x_2, x_21, x_19); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = l_Lean_Meta_isRflProofCore___closed__8; +x_23 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__8; x_24 = lean_unsigned_to_nat(4u); x_25 = l_Lean_Expr_isAppOfArity(x_2, x_23, x_24); if (x_25 == 0) @@ -1736,7 +1743,7 @@ else lean_object* x_31; lean_object* x_32; x_31 = l_Lean_Expr_constName_x21(x_26); lean_dec(x_26); -x_32 = l_Lean_Meta_isRflTheorem(x_31, x_3, x_4, x_5); +x_32 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore(x_31, x_3, x_4, x_5); return x_32; } } @@ -1780,7 +1787,7 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -1818,7 +1825,7 @@ return x_13; } } } -static lean_object* _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__1() { +static lean_object* _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__1() { _start: { lean_object* x_1; @@ -1826,16 +1833,16 @@ x_1 = lean_mk_string_unchecked("unknown constant '", 18, 18); return x_1; } } -static lean_object* _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2() { +static lean_object* _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__1; +x_1 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__3() { +static lean_object* _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__3() { _start: { lean_object* x_1; @@ -1843,16 +1850,16 @@ x_1 = lean_mk_string_unchecked("'", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4() { +static lean_object* _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__3; +x_1 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -1875,15 +1882,15 @@ lean_free_object(x_6); x_12 = lean_box(0); x_13 = l_Lean_Expr_const___override(x_1, x_12); x_14 = l_Lean_MessageData_ofExpr(x_13); -x_15 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2; +x_15 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2; x_16 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4; +x_17 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4; x_18 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2(x_18, x_3, x_4, x_9); +x_19 = l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2(x_18, x_3, x_4, x_9); return x_19; } else @@ -1916,15 +1923,15 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_box(0); x_26 = l_Lean_Expr_const___override(x_1, x_25); x_27 = l_Lean_MessageData_ofExpr(x_26); -x_28 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2; +x_28 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2; x_29 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4; +x_30 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4; x_31 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2(x_31, x_3, x_4, x_22); +x_32 = l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2(x_31, x_3, x_4, x_22); return x_32; } else @@ -1942,7 +1949,7 @@ return x_34; } } } -static lean_object* _init_l_Lean_Meta_isRflTheorem___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___closed__1() { _start: { lean_object* x_1; @@ -1950,12 +1957,12 @@ x_1 = lean_mk_string_unchecked("isRflTheorem theorem body", 25, 25); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_isRflTheorem(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = 0; -x_6 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1(x_1, x_5, x_2, x_3, x_4); +x_6 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1(x_1, x_5, x_2, x_3, x_4); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; uint8_t x_8; lean_object* x_9; @@ -1972,7 +1979,7 @@ lean_dec(x_6); x_11 = lean_ctor_get(x_7, 2); lean_inc(x_11); lean_dec(x_7); -x_12 = l_Lean_Meta_isRflTheorem___closed__1; +x_12 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___closed__1; lean_inc(x_3); lean_inc(x_2); x_13 = l_Lean_traceBlock___rarg(x_12, x_11, x_2, x_3, x_10); @@ -1998,7 +2005,7 @@ lean_dec(x_17); x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); lean_dec(x_16); -x_20 = l_Lean_Meta_isRflProofCore(x_18, x_19, x_2, x_3, x_15); +x_20 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore(x_18, x_19, x_2, x_3, x_15); lean_dec(x_18); return x_20; } @@ -2114,96 +2121,1834 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_isRflProofCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Meta_isRflProofCore(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Meta_isRflTheorem___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_2); lean_dec(x_2); -x_7 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1(x_1, x_6, x_3, x_4, x_5); +x_7 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1(x_1, x_6, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_7; } } +static lean_object* _init_l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_3, x_7); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_take(x_3, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 4); +lean_dec(x_17); +x_18 = 0; +x_19 = l_Lean_Environment_setExporting(x_16, x_18); +x_20 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; +lean_ctor_set(x_13, 4, x_20); +lean_ctor_set(x_13, 0, x_19); +x_21 = lean_st_ref_set(x_3, x_13, x_14); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +lean_inc(x_3); +x_23 = lean_apply_3(x_1, x_2, x_3, x_22); +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_28; uint8_t x_29; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_st_ref_take(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = !lean_is_exclusive(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_ctor_get(x_27, 0); +x_31 = lean_ctor_get(x_27, 4); +lean_dec(x_31); +x_32 = l_Lean_Environment_setExporting(x_30, x_9); +lean_ctor_set(x_27, 4, x_20); +lean_ctor_set(x_27, 0, x_32); +x_33 = lean_st_ref_set(x_3, x_27, x_28); +lean_dec(x_3); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_24); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_24); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_38 = lean_ctor_get(x_27, 0); +x_39 = lean_ctor_get(x_27, 1); +x_40 = lean_ctor_get(x_27, 2); +x_41 = lean_ctor_get(x_27, 3); +x_42 = lean_ctor_get(x_27, 5); +x_43 = lean_ctor_get(x_27, 6); +x_44 = lean_ctor_get(x_27, 7); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_27); +x_45 = l_Lean_Environment_setExporting(x_38, x_9); +x_46 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_39); +lean_ctor_set(x_46, 2, x_40); +lean_ctor_set(x_46, 3, x_41); +lean_ctor_set(x_46, 4, x_20); +lean_ctor_set(x_46, 5, x_42); +lean_ctor_set(x_46, 6, x_43); +lean_ctor_set(x_46, 7, x_44); +x_47 = lean_st_ref_set(x_3, x_46, x_28); +lean_dec(x_3); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_24); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_51 = lean_ctor_get(x_23, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_23, 1); +lean_inc(x_52); +lean_dec(x_23); +x_53 = lean_st_ref_take(x_3, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_57 = lean_ctor_get(x_54, 0); +x_58 = lean_ctor_get(x_54, 4); +lean_dec(x_58); +x_59 = l_Lean_Environment_setExporting(x_57, x_9); +lean_ctor_set(x_54, 4, x_20); +lean_ctor_set(x_54, 0, x_59); +x_60 = lean_st_ref_set(x_3, x_54, x_55); +lean_dec(x_3); +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_60, 0); +lean_dec(x_62); +lean_ctor_set_tag(x_60, 1); +lean_ctor_set(x_60, 0, x_51); +return x_60; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_51); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_65 = lean_ctor_get(x_54, 0); +x_66 = lean_ctor_get(x_54, 1); +x_67 = lean_ctor_get(x_54, 2); +x_68 = lean_ctor_get(x_54, 3); +x_69 = lean_ctor_get(x_54, 5); +x_70 = lean_ctor_get(x_54, 6); +x_71 = lean_ctor_get(x_54, 7); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_54); +x_72 = l_Lean_Environment_setExporting(x_65, x_9); +x_73 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_66); +lean_ctor_set(x_73, 2, x_67); +lean_ctor_set(x_73, 3, x_68); +lean_ctor_set(x_73, 4, x_20); +lean_ctor_set(x_73, 5, x_69); +lean_ctor_set(x_73, 6, x_70); +lean_ctor_set(x_73, 7, x_71); +x_74 = lean_st_ref_set(x_3, x_73, x_55); +lean_dec(x_3); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; + lean_ctor_set_tag(x_77, 1); +} +lean_ctor_set(x_77, 0, x_51); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 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; +x_78 = lean_ctor_get(x_13, 0); +x_79 = lean_ctor_get(x_13, 1); +x_80 = lean_ctor_get(x_13, 2); +x_81 = lean_ctor_get(x_13, 3); +x_82 = lean_ctor_get(x_13, 5); +x_83 = lean_ctor_get(x_13, 6); +x_84 = lean_ctor_get(x_13, 7); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_13); +x_85 = 0; +x_86 = l_Lean_Environment_setExporting(x_78, x_85); +x_87 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; +x_88 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_79); +lean_ctor_set(x_88, 2, x_80); +lean_ctor_set(x_88, 3, x_81); +lean_ctor_set(x_88, 4, x_87); +lean_ctor_set(x_88, 5, x_82); +lean_ctor_set(x_88, 6, x_83); +lean_ctor_set(x_88, 7, x_84); +x_89 = lean_st_ref_set(x_3, x_88, x_14); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +lean_inc(x_3); +x_91 = lean_apply_3(x_1, x_2, x_3, x_90); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_st_ref_take(x_3, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_ctor_get(x_95, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_95, 2); +lean_inc(x_99); +x_100 = lean_ctor_get(x_95, 3); +lean_inc(x_100); +x_101 = lean_ctor_get(x_95, 5); +lean_inc(x_101); +x_102 = lean_ctor_get(x_95, 6); +lean_inc(x_102); +x_103 = lean_ctor_get(x_95, 7); +lean_inc(x_103); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + lean_ctor_release(x_95, 2); + lean_ctor_release(x_95, 3); + lean_ctor_release(x_95, 4); + lean_ctor_release(x_95, 5); + lean_ctor_release(x_95, 6); + lean_ctor_release(x_95, 7); + x_104 = x_95; +} else { + lean_dec_ref(x_95); + x_104 = lean_box(0); +} +x_105 = l_Lean_Environment_setExporting(x_97, x_9); +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(0, 8, 0); +} else { + x_106 = x_104; +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_98); +lean_ctor_set(x_106, 2, x_99); +lean_ctor_set(x_106, 3, x_100); +lean_ctor_set(x_106, 4, x_87); +lean_ctor_set(x_106, 5, x_101); +lean_ctor_set(x_106, 6, x_102); +lean_ctor_set(x_106, 7, x_103); +x_107 = lean_st_ref_set(x_3, x_106, x_96); +lean_dec(x_3); +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + x_109 = x_107; +} else { + lean_dec_ref(x_107); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_92); +lean_ctor_set(x_110, 1, x_108); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_111 = lean_ctor_get(x_91, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_91, 1); +lean_inc(x_112); +lean_dec(x_91); +x_113 = lean_st_ref_take(x_3, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +x_116 = lean_ctor_get(x_114, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +x_118 = lean_ctor_get(x_114, 2); +lean_inc(x_118); +x_119 = lean_ctor_get(x_114, 3); +lean_inc(x_119); +x_120 = lean_ctor_get(x_114, 5); +lean_inc(x_120); +x_121 = lean_ctor_get(x_114, 6); +lean_inc(x_121); +x_122 = lean_ctor_get(x_114, 7); +lean_inc(x_122); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + lean_ctor_release(x_114, 2); + lean_ctor_release(x_114, 3); + lean_ctor_release(x_114, 4); + lean_ctor_release(x_114, 5); + lean_ctor_release(x_114, 6); + lean_ctor_release(x_114, 7); + x_123 = x_114; +} else { + lean_dec_ref(x_114); + x_123 = lean_box(0); +} +x_124 = l_Lean_Environment_setExporting(x_116, x_9); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 8, 0); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_117); +lean_ctor_set(x_125, 2, x_118); +lean_ctor_set(x_125, 3, x_119); +lean_ctor_set(x_125, 4, x_87); +lean_ctor_set(x_125, 5, x_120); +lean_ctor_set(x_125, 6, x_121); +lean_ctor_set(x_125, 7, x_122); +x_126 = lean_st_ref_set(x_3, x_125, x_115); +lean_dec(x_3); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; +} else { + lean_dec_ref(x_126); + x_128 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 2, 0); +} else { + x_129 = x_128; + lean_ctor_set_tag(x_129, 1); +} +lean_ctor_set(x_129, 0, x_111); +lean_ctor_set(x_129, 1, x_127); +return x_129; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRflTheorem(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore), 4, 1); +lean_closure_set(x_5, 0, x_1); +x_6 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1(x_5, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2; +x_2 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +lean_ctor_set(x_2, 3, x_1); +lean_ctor_set(x_2, 4, x_1); +lean_ctor_set(x_2, 5, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_20 = lean_st_ref_get(x_5, x_6); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*9); +lean_dec(x_23); +x_25 = lean_st_ref_get(x_5, x_22); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_take(x_5, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_31 = lean_ctor_get(x_28, 0); +x_32 = lean_ctor_get(x_28, 4); +lean_dec(x_32); +x_33 = 0; +x_34 = l_Lean_Environment_setExporting(x_31, x_33); +x_35 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; +lean_ctor_set(x_28, 4, x_35); +lean_ctor_set(x_28, 0, x_34); +x_36 = lean_st_ref_set(x_5, x_28, x_29); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_st_ref_take(x_3, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = !lean_is_exclusive(x_39); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_39, 1); +lean_dec(x_42); +x_43 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; +lean_ctor_set(x_39, 1, x_43); +x_44 = lean_st_ref_set(x_3, x_39, x_40); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +lean_inc(x_5); +lean_inc(x_3); +x_46 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_st_ref_take(x_5, x_48); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = !lean_is_exclusive(x_50); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_53 = lean_ctor_get(x_50, 0); +x_54 = lean_ctor_get(x_50, 4); +lean_dec(x_54); +x_55 = l_Lean_Environment_setExporting(x_53, x_24); +lean_ctor_set(x_50, 4, x_35); +lean_ctor_set(x_50, 0, x_55); +x_56 = lean_st_ref_set(x_5, x_50, x_51); +lean_dec(x_5); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_st_ref_take(x_3, x_57); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; uint8_t x_61; +x_60 = lean_ctor_get(x_58, 0); +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_62 = lean_ctor_get(x_58, 1); +x_63 = lean_ctor_get(x_60, 1); +lean_dec(x_63); +lean_ctor_set(x_60, 1, x_43); +x_64 = lean_st_ref_set(x_3, x_60, x_62); +lean_dec(x_3); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +x_67 = lean_box(0); +lean_ctor_set(x_58, 1, x_67); +lean_ctor_set(x_58, 0, x_47); +lean_ctor_set(x_64, 0, x_58); +x_7 = x_64; +goto block_19; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_64, 1); +lean_inc(x_68); +lean_dec(x_64); +x_69 = lean_box(0); +lean_ctor_set(x_58, 1, x_69); +lean_ctor_set(x_58, 0, x_47); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_58); +lean_ctor_set(x_70, 1, x_68); +x_7 = x_70; +goto block_19; +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_71 = lean_ctor_get(x_58, 1); +x_72 = lean_ctor_get(x_60, 0); +x_73 = lean_ctor_get(x_60, 2); +x_74 = lean_ctor_get(x_60, 3); +x_75 = lean_ctor_get(x_60, 4); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_60); +x_76 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_76, 0, x_72); +lean_ctor_set(x_76, 1, x_43); +lean_ctor_set(x_76, 2, x_73); +lean_ctor_set(x_76, 3, x_74); +lean_ctor_set(x_76, 4, x_75); +x_77 = lean_st_ref_set(x_3, x_76, x_71); +lean_dec(x_3); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_79 = x_77; +} else { + lean_dec_ref(x_77); + x_79 = lean_box(0); +} +x_80 = lean_box(0); +lean_ctor_set(x_58, 1, x_80); +lean_ctor_set(x_58, 0, x_47); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_58); +lean_ctor_set(x_81, 1, x_78); +x_7 = x_81; +goto block_19; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_82 = lean_ctor_get(x_58, 0); +x_83 = lean_ctor_get(x_58, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_58); +x_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 2); +lean_inc(x_85); +x_86 = lean_ctor_get(x_82, 3); +lean_inc(x_86); +x_87 = lean_ctor_get(x_82, 4); +lean_inc(x_87); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + lean_ctor_release(x_82, 3); + lean_ctor_release(x_82, 4); + x_88 = x_82; +} else { + lean_dec_ref(x_82); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 5, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_84); +lean_ctor_set(x_89, 1, x_43); +lean_ctor_set(x_89, 2, x_85); +lean_ctor_set(x_89, 3, x_86); +lean_ctor_set(x_89, 4, x_87); +x_90 = lean_st_ref_set(x_3, x_89, x_83); +lean_dec(x_3); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; +} else { + lean_dec_ref(x_90); + x_92 = lean_box(0); +} +x_93 = lean_box(0); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_47); +lean_ctor_set(x_94, 1, x_93); +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_92; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_91); +x_7 = x_95; +goto block_19; +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_96 = lean_ctor_get(x_50, 0); +x_97 = lean_ctor_get(x_50, 1); +x_98 = lean_ctor_get(x_50, 2); +x_99 = lean_ctor_get(x_50, 3); +x_100 = lean_ctor_get(x_50, 5); +x_101 = lean_ctor_get(x_50, 6); +x_102 = lean_ctor_get(x_50, 7); +lean_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_50); +x_103 = l_Lean_Environment_setExporting(x_96, x_24); +x_104 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_97); +lean_ctor_set(x_104, 2, x_98); +lean_ctor_set(x_104, 3, x_99); +lean_ctor_set(x_104, 4, x_35); +lean_ctor_set(x_104, 5, x_100); +lean_ctor_set(x_104, 6, x_101); +lean_ctor_set(x_104, 7, x_102); +x_105 = lean_st_ref_set(x_5, x_104, x_51); +lean_dec(x_5); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +lean_dec(x_105); +x_107 = lean_st_ref_take(x_3, x_106); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + x_110 = x_107; +} else { + lean_dec_ref(x_107); + x_110 = lean_box(0); +} +x_111 = lean_ctor_get(x_108, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_108, 2); +lean_inc(x_112); +x_113 = lean_ctor_get(x_108, 3); +lean_inc(x_113); +x_114 = lean_ctor_get(x_108, 4); +lean_inc(x_114); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + lean_ctor_release(x_108, 2); + lean_ctor_release(x_108, 3); + lean_ctor_release(x_108, 4); + x_115 = x_108; +} else { + lean_dec_ref(x_108); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 5, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_111); +lean_ctor_set(x_116, 1, x_43); +lean_ctor_set(x_116, 2, x_112); +lean_ctor_set(x_116, 3, x_113); +lean_ctor_set(x_116, 4, x_114); +x_117 = lean_st_ref_set(x_3, x_116, x_109); +lean_dec(x_3); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + x_119 = lean_box(0); +} +x_120 = lean_box(0); +if (lean_is_scalar(x_110)) { + x_121 = lean_alloc_ctor(0, 2, 0); +} else { + x_121 = x_110; +} +lean_ctor_set(x_121, 0, x_47); +lean_ctor_set(x_121, 1, x_120); +if (lean_is_scalar(x_119)) { + x_122 = lean_alloc_ctor(0, 2, 0); +} else { + x_122 = x_119; +} +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_118); +x_7 = x_122; +goto block_19; +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_123 = lean_ctor_get(x_46, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_46, 1); +lean_inc(x_124); +lean_dec(x_46); +x_125 = lean_st_ref_take(x_5, x_124); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = !lean_is_exclusive(x_126); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_129 = lean_ctor_get(x_126, 0); +x_130 = lean_ctor_get(x_126, 4); +lean_dec(x_130); +x_131 = l_Lean_Environment_setExporting(x_129, x_24); +lean_ctor_set(x_126, 4, x_35); +lean_ctor_set(x_126, 0, x_131); +x_132 = lean_st_ref_set(x_5, x_126, x_127); +lean_dec(x_5); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_take(x_3, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = !lean_is_exclusive(x_135); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_138 = lean_ctor_get(x_135, 1); +lean_dec(x_138); +lean_ctor_set(x_135, 1, x_43); +x_139 = lean_st_ref_set(x_3, x_135, x_136); +lean_dec(x_3); +x_140 = !lean_is_exclusive(x_139); +if (x_140 == 0) +{ +lean_object* x_141; +x_141 = lean_ctor_get(x_139, 0); +lean_dec(x_141); +lean_ctor_set_tag(x_139, 1); +lean_ctor_set(x_139, 0, x_123); +x_7 = x_139; +goto block_19; +} +else +{ +lean_object* x_142; lean_object* x_143; +x_142 = lean_ctor_get(x_139, 1); +lean_inc(x_142); +lean_dec(x_139); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_123); +lean_ctor_set(x_143, 1, x_142); +x_7 = x_143; +goto block_19; +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_144 = lean_ctor_get(x_135, 0); +x_145 = lean_ctor_get(x_135, 2); +x_146 = lean_ctor_get(x_135, 3); +x_147 = lean_ctor_get(x_135, 4); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_135); +x_148 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_148, 0, x_144); +lean_ctor_set(x_148, 1, x_43); +lean_ctor_set(x_148, 2, x_145); +lean_ctor_set(x_148, 3, x_146); +lean_ctor_set(x_148, 4, x_147); +x_149 = lean_st_ref_set(x_3, x_148, x_136); +lean_dec(x_3); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_151 = x_149; +} else { + lean_dec_ref(x_149); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); +} else { + x_152 = x_151; + lean_ctor_set_tag(x_152, 1); +} +lean_ctor_set(x_152, 0, x_123); +lean_ctor_set(x_152, 1, x_150); +x_7 = x_152; +goto block_19; +} +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_153 = lean_ctor_get(x_126, 0); +x_154 = lean_ctor_get(x_126, 1); +x_155 = lean_ctor_get(x_126, 2); +x_156 = lean_ctor_get(x_126, 3); +x_157 = lean_ctor_get(x_126, 5); +x_158 = lean_ctor_get(x_126, 6); +x_159 = lean_ctor_get(x_126, 7); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_155); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_126); +x_160 = l_Lean_Environment_setExporting(x_153, x_24); +x_161 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_154); +lean_ctor_set(x_161, 2, x_155); +lean_ctor_set(x_161, 3, x_156); +lean_ctor_set(x_161, 4, x_35); +lean_ctor_set(x_161, 5, x_157); +lean_ctor_set(x_161, 6, x_158); +lean_ctor_set(x_161, 7, x_159); +x_162 = lean_st_ref_set(x_5, x_161, x_127); +lean_dec(x_5); +x_163 = lean_ctor_get(x_162, 1); +lean_inc(x_163); +lean_dec(x_162); +x_164 = lean_st_ref_take(x_3, x_163); +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec(x_164); +x_167 = lean_ctor_get(x_165, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_165, 2); +lean_inc(x_168); +x_169 = lean_ctor_get(x_165, 3); +lean_inc(x_169); +x_170 = lean_ctor_get(x_165, 4); +lean_inc(x_170); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + lean_ctor_release(x_165, 2); + lean_ctor_release(x_165, 3); + lean_ctor_release(x_165, 4); + x_171 = x_165; +} else { + lean_dec_ref(x_165); + x_171 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(0, 5, 0); +} else { + x_172 = x_171; +} +lean_ctor_set(x_172, 0, x_167); +lean_ctor_set(x_172, 1, x_43); +lean_ctor_set(x_172, 2, x_168); +lean_ctor_set(x_172, 3, x_169); +lean_ctor_set(x_172, 4, x_170); +x_173 = lean_st_ref_set(x_3, x_172, x_166); +lean_dec(x_3); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_175 = x_173; +} else { + lean_dec_ref(x_173); + x_175 = lean_box(0); +} +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 2, 0); +} else { + x_176 = x_175; + lean_ctor_set_tag(x_176, 1); +} +lean_ctor_set(x_176, 0, x_123); +lean_ctor_set(x_176, 1, x_174); +x_7 = x_176; +goto block_19; +} +} +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_177 = lean_ctor_get(x_39, 0); +x_178 = lean_ctor_get(x_39, 2); +x_179 = lean_ctor_get(x_39, 3); +x_180 = lean_ctor_get(x_39, 4); +lean_inc(x_180); +lean_inc(x_179); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_39); +x_181 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; +x_182 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_182, 0, x_177); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_182, 2, x_178); +lean_ctor_set(x_182, 3, x_179); +lean_ctor_set(x_182, 4, x_180); +x_183 = lean_st_ref_set(x_3, x_182, x_40); +x_184 = lean_ctor_get(x_183, 1); +lean_inc(x_184); +lean_dec(x_183); +lean_inc(x_5); +lean_inc(x_3); +x_185 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_184); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; 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; +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); +lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_st_ref_take(x_5, x_187); +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_188, 1); +lean_inc(x_190); +lean_dec(x_188); +x_191 = lean_ctor_get(x_189, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_189, 1); +lean_inc(x_192); +x_193 = lean_ctor_get(x_189, 2); +lean_inc(x_193); +x_194 = lean_ctor_get(x_189, 3); +lean_inc(x_194); +x_195 = lean_ctor_get(x_189, 5); +lean_inc(x_195); +x_196 = lean_ctor_get(x_189, 6); +lean_inc(x_196); +x_197 = lean_ctor_get(x_189, 7); +lean_inc(x_197); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + lean_ctor_release(x_189, 2); + lean_ctor_release(x_189, 3); + lean_ctor_release(x_189, 4); + lean_ctor_release(x_189, 5); + lean_ctor_release(x_189, 6); + lean_ctor_release(x_189, 7); + x_198 = x_189; +} else { + lean_dec_ref(x_189); + x_198 = lean_box(0); +} +x_199 = l_Lean_Environment_setExporting(x_191, x_24); +if (lean_is_scalar(x_198)) { + x_200 = lean_alloc_ctor(0, 8, 0); +} else { + x_200 = x_198; +} +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_192); +lean_ctor_set(x_200, 2, x_193); +lean_ctor_set(x_200, 3, x_194); +lean_ctor_set(x_200, 4, x_35); +lean_ctor_set(x_200, 5, x_195); +lean_ctor_set(x_200, 6, x_196); +lean_ctor_set(x_200, 7, x_197); +x_201 = lean_st_ref_set(x_5, x_200, x_190); +lean_dec(x_5); +x_202 = lean_ctor_get(x_201, 1); +lean_inc(x_202); +lean_dec(x_201); +x_203 = lean_st_ref_take(x_3, x_202); +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_206 = x_203; +} else { + lean_dec_ref(x_203); + x_206 = lean_box(0); +} +x_207 = lean_ctor_get(x_204, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_204, 2); +lean_inc(x_208); +x_209 = lean_ctor_get(x_204, 3); +lean_inc(x_209); +x_210 = lean_ctor_get(x_204, 4); +lean_inc(x_210); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + lean_ctor_release(x_204, 2); + lean_ctor_release(x_204, 3); + lean_ctor_release(x_204, 4); + x_211 = x_204; +} else { + lean_dec_ref(x_204); + x_211 = lean_box(0); +} +if (lean_is_scalar(x_211)) { + x_212 = lean_alloc_ctor(0, 5, 0); +} else { + x_212 = x_211; +} +lean_ctor_set(x_212, 0, x_207); +lean_ctor_set(x_212, 1, x_181); +lean_ctor_set(x_212, 2, x_208); +lean_ctor_set(x_212, 3, x_209); +lean_ctor_set(x_212, 4, x_210); +x_213 = lean_st_ref_set(x_3, x_212, x_205); +lean_dec(x_3); +x_214 = lean_ctor_get(x_213, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_215 = x_213; +} else { + lean_dec_ref(x_213); + x_215 = lean_box(0); +} +x_216 = lean_box(0); +if (lean_is_scalar(x_206)) { + x_217 = lean_alloc_ctor(0, 2, 0); +} else { + x_217 = x_206; +} +lean_ctor_set(x_217, 0, x_186); +lean_ctor_set(x_217, 1, x_216); +if (lean_is_scalar(x_215)) { + x_218 = lean_alloc_ctor(0, 2, 0); +} else { + x_218 = x_215; +} +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_214); +x_7 = x_218; +goto block_19; +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_219 = lean_ctor_get(x_185, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_185, 1); +lean_inc(x_220); +lean_dec(x_185); +x_221 = lean_st_ref_take(x_5, x_220); +x_222 = lean_ctor_get(x_221, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +lean_dec(x_221); +x_224 = lean_ctor_get(x_222, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_222, 1); +lean_inc(x_225); +x_226 = lean_ctor_get(x_222, 2); +lean_inc(x_226); +x_227 = lean_ctor_get(x_222, 3); +lean_inc(x_227); +x_228 = lean_ctor_get(x_222, 5); +lean_inc(x_228); +x_229 = lean_ctor_get(x_222, 6); +lean_inc(x_229); +x_230 = lean_ctor_get(x_222, 7); +lean_inc(x_230); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + lean_ctor_release(x_222, 2); + lean_ctor_release(x_222, 3); + lean_ctor_release(x_222, 4); + lean_ctor_release(x_222, 5); + lean_ctor_release(x_222, 6); + lean_ctor_release(x_222, 7); + x_231 = x_222; +} else { + lean_dec_ref(x_222); + x_231 = lean_box(0); +} +x_232 = l_Lean_Environment_setExporting(x_224, x_24); +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(0, 8, 0); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_225); +lean_ctor_set(x_233, 2, x_226); +lean_ctor_set(x_233, 3, x_227); +lean_ctor_set(x_233, 4, x_35); +lean_ctor_set(x_233, 5, x_228); +lean_ctor_set(x_233, 6, x_229); +lean_ctor_set(x_233, 7, x_230); +x_234 = lean_st_ref_set(x_5, x_233, x_223); +lean_dec(x_5); +x_235 = lean_ctor_get(x_234, 1); +lean_inc(x_235); +lean_dec(x_234); +x_236 = lean_st_ref_take(x_3, x_235); +x_237 = lean_ctor_get(x_236, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_236, 1); +lean_inc(x_238); +lean_dec(x_236); +x_239 = lean_ctor_get(x_237, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_237, 2); +lean_inc(x_240); +x_241 = lean_ctor_get(x_237, 3); +lean_inc(x_241); +x_242 = lean_ctor_get(x_237, 4); +lean_inc(x_242); +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + lean_ctor_release(x_237, 2); + lean_ctor_release(x_237, 3); + lean_ctor_release(x_237, 4); + x_243 = x_237; +} else { + lean_dec_ref(x_237); + x_243 = lean_box(0); +} +if (lean_is_scalar(x_243)) { + x_244 = lean_alloc_ctor(0, 5, 0); +} else { + x_244 = x_243; +} +lean_ctor_set(x_244, 0, x_239); +lean_ctor_set(x_244, 1, x_181); +lean_ctor_set(x_244, 2, x_240); +lean_ctor_set(x_244, 3, x_241); +lean_ctor_set(x_244, 4, x_242); +x_245 = lean_st_ref_set(x_3, x_244, x_238); +lean_dec(x_3); +x_246 = lean_ctor_get(x_245, 1); +lean_inc(x_246); +if (lean_is_exclusive(x_245)) { + lean_ctor_release(x_245, 0); + lean_ctor_release(x_245, 1); + x_247 = x_245; +} else { + lean_dec_ref(x_245); + x_247 = lean_box(0); +} +if (lean_is_scalar(x_247)) { + x_248 = lean_alloc_ctor(1, 2, 0); +} else { + x_248 = x_247; + lean_ctor_set_tag(x_248, 1); +} +lean_ctor_set(x_248, 0, x_219); +lean_ctor_set(x_248, 1, x_246); +x_7 = x_248; +goto block_19; +} +} +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_249 = lean_ctor_get(x_28, 0); +x_250 = lean_ctor_get(x_28, 1); +x_251 = lean_ctor_get(x_28, 2); +x_252 = lean_ctor_get(x_28, 3); +x_253 = lean_ctor_get(x_28, 5); +x_254 = lean_ctor_get(x_28, 6); +x_255 = lean_ctor_get(x_28, 7); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_inc(x_251); +lean_inc(x_250); +lean_inc(x_249); +lean_dec(x_28); +x_256 = 0; +x_257 = l_Lean_Environment_setExporting(x_249, x_256); +x_258 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; +x_259 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_259, 0, x_257); +lean_ctor_set(x_259, 1, x_250); +lean_ctor_set(x_259, 2, x_251); +lean_ctor_set(x_259, 3, x_252); +lean_ctor_set(x_259, 4, x_258); +lean_ctor_set(x_259, 5, x_253); +lean_ctor_set(x_259, 6, x_254); +lean_ctor_set(x_259, 7, x_255); +x_260 = lean_st_ref_set(x_5, x_259, x_29); +x_261 = lean_ctor_get(x_260, 1); +lean_inc(x_261); +lean_dec(x_260); +x_262 = lean_st_ref_take(x_3, x_261); +x_263 = lean_ctor_get(x_262, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); +lean_dec(x_262); +x_265 = lean_ctor_get(x_263, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_263, 2); +lean_inc(x_266); +x_267 = lean_ctor_get(x_263, 3); +lean_inc(x_267); +x_268 = lean_ctor_get(x_263, 4); +lean_inc(x_268); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + lean_ctor_release(x_263, 2); + lean_ctor_release(x_263, 3); + lean_ctor_release(x_263, 4); + x_269 = x_263; +} else { + lean_dec_ref(x_263); + x_269 = lean_box(0); +} +x_270 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; +if (lean_is_scalar(x_269)) { + x_271 = lean_alloc_ctor(0, 5, 0); +} else { + x_271 = x_269; +} +lean_ctor_set(x_271, 0, x_265); +lean_ctor_set(x_271, 1, x_270); +lean_ctor_set(x_271, 2, x_266); +lean_ctor_set(x_271, 3, x_267); +lean_ctor_set(x_271, 4, x_268); +x_272 = lean_st_ref_set(x_3, x_271, x_264); +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +lean_dec(x_272); +lean_inc(x_5); +lean_inc(x_3); +x_274 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_273); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 1); +lean_inc(x_276); +lean_dec(x_274); +x_277 = lean_st_ref_take(x_5, x_276); +x_278 = lean_ctor_get(x_277, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = lean_ctor_get(x_278, 0); +lean_inc(x_280); +x_281 = lean_ctor_get(x_278, 1); +lean_inc(x_281); +x_282 = lean_ctor_get(x_278, 2); +lean_inc(x_282); +x_283 = lean_ctor_get(x_278, 3); +lean_inc(x_283); +x_284 = lean_ctor_get(x_278, 5); +lean_inc(x_284); +x_285 = lean_ctor_get(x_278, 6); +lean_inc(x_285); +x_286 = lean_ctor_get(x_278, 7); +lean_inc(x_286); +if (lean_is_exclusive(x_278)) { + lean_ctor_release(x_278, 0); + lean_ctor_release(x_278, 1); + lean_ctor_release(x_278, 2); + lean_ctor_release(x_278, 3); + lean_ctor_release(x_278, 4); + lean_ctor_release(x_278, 5); + lean_ctor_release(x_278, 6); + lean_ctor_release(x_278, 7); + x_287 = x_278; +} else { + lean_dec_ref(x_278); + x_287 = lean_box(0); +} +x_288 = l_Lean_Environment_setExporting(x_280, x_24); +if (lean_is_scalar(x_287)) { + x_289 = lean_alloc_ctor(0, 8, 0); +} else { + x_289 = x_287; +} +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_281); +lean_ctor_set(x_289, 2, x_282); +lean_ctor_set(x_289, 3, x_283); +lean_ctor_set(x_289, 4, x_258); +lean_ctor_set(x_289, 5, x_284); +lean_ctor_set(x_289, 6, x_285); +lean_ctor_set(x_289, 7, x_286); +x_290 = lean_st_ref_set(x_5, x_289, x_279); +lean_dec(x_5); +x_291 = lean_ctor_get(x_290, 1); +lean_inc(x_291); +lean_dec(x_290); +x_292 = lean_st_ref_take(x_3, x_291); +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_292, 1); +lean_inc(x_294); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_295 = x_292; +} else { + lean_dec_ref(x_292); + x_295 = lean_box(0); +} +x_296 = lean_ctor_get(x_293, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_293, 2); +lean_inc(x_297); +x_298 = lean_ctor_get(x_293, 3); +lean_inc(x_298); +x_299 = lean_ctor_get(x_293, 4); +lean_inc(x_299); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + lean_ctor_release(x_293, 2); + lean_ctor_release(x_293, 3); + lean_ctor_release(x_293, 4); + x_300 = x_293; +} else { + lean_dec_ref(x_293); + x_300 = lean_box(0); +} +if (lean_is_scalar(x_300)) { + x_301 = lean_alloc_ctor(0, 5, 0); +} else { + x_301 = x_300; +} +lean_ctor_set(x_301, 0, x_296); +lean_ctor_set(x_301, 1, x_270); +lean_ctor_set(x_301, 2, x_297); +lean_ctor_set(x_301, 3, x_298); +lean_ctor_set(x_301, 4, x_299); +x_302 = lean_st_ref_set(x_3, x_301, x_294); +lean_dec(x_3); +x_303 = lean_ctor_get(x_302, 1); +lean_inc(x_303); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_304 = x_302; +} else { + lean_dec_ref(x_302); + x_304 = lean_box(0); +} +x_305 = lean_box(0); +if (lean_is_scalar(x_295)) { + x_306 = lean_alloc_ctor(0, 2, 0); +} else { + x_306 = x_295; +} +lean_ctor_set(x_306, 0, x_275); +lean_ctor_set(x_306, 1, x_305); +if (lean_is_scalar(x_304)) { + x_307 = lean_alloc_ctor(0, 2, 0); +} else { + x_307 = x_304; +} +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_303); +x_7 = x_307; +goto block_19; +} +else +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +x_308 = lean_ctor_get(x_274, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_274, 1); +lean_inc(x_309); +lean_dec(x_274); +x_310 = lean_st_ref_take(x_5, x_309); +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); +lean_inc(x_312); +lean_dec(x_310); +x_313 = lean_ctor_get(x_311, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_311, 1); +lean_inc(x_314); +x_315 = lean_ctor_get(x_311, 2); +lean_inc(x_315); +x_316 = lean_ctor_get(x_311, 3); +lean_inc(x_316); +x_317 = lean_ctor_get(x_311, 5); +lean_inc(x_317); +x_318 = lean_ctor_get(x_311, 6); +lean_inc(x_318); +x_319 = lean_ctor_get(x_311, 7); +lean_inc(x_319); +if (lean_is_exclusive(x_311)) { + lean_ctor_release(x_311, 0); + lean_ctor_release(x_311, 1); + lean_ctor_release(x_311, 2); + lean_ctor_release(x_311, 3); + lean_ctor_release(x_311, 4); + lean_ctor_release(x_311, 5); + lean_ctor_release(x_311, 6); + lean_ctor_release(x_311, 7); + x_320 = x_311; +} else { + lean_dec_ref(x_311); + x_320 = lean_box(0); +} +x_321 = l_Lean_Environment_setExporting(x_313, x_24); +if (lean_is_scalar(x_320)) { + x_322 = lean_alloc_ctor(0, 8, 0); +} else { + x_322 = x_320; +} +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_314); +lean_ctor_set(x_322, 2, x_315); +lean_ctor_set(x_322, 3, x_316); +lean_ctor_set(x_322, 4, x_258); +lean_ctor_set(x_322, 5, x_317); +lean_ctor_set(x_322, 6, x_318); +lean_ctor_set(x_322, 7, x_319); +x_323 = lean_st_ref_set(x_5, x_322, x_312); +lean_dec(x_5); +x_324 = lean_ctor_get(x_323, 1); +lean_inc(x_324); +lean_dec(x_323); +x_325 = lean_st_ref_take(x_3, x_324); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +x_328 = lean_ctor_get(x_326, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_326, 2); +lean_inc(x_329); +x_330 = lean_ctor_get(x_326, 3); +lean_inc(x_330); +x_331 = lean_ctor_get(x_326, 4); +lean_inc(x_331); +if (lean_is_exclusive(x_326)) { + lean_ctor_release(x_326, 0); + lean_ctor_release(x_326, 1); + lean_ctor_release(x_326, 2); + lean_ctor_release(x_326, 3); + lean_ctor_release(x_326, 4); + x_332 = x_326; +} else { + lean_dec_ref(x_326); + x_332 = lean_box(0); +} +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(0, 5, 0); +} else { + x_333 = x_332; +} +lean_ctor_set(x_333, 0, x_328); +lean_ctor_set(x_333, 1, x_270); +lean_ctor_set(x_333, 2, x_329); +lean_ctor_set(x_333, 3, x_330); +lean_ctor_set(x_333, 4, x_331); +x_334 = lean_st_ref_set(x_3, x_333, x_327); +lean_dec(x_3); +x_335 = lean_ctor_get(x_334, 1); +lean_inc(x_335); +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_336 = x_334; +} else { + lean_dec_ref(x_334); + x_336 = lean_box(0); +} +if (lean_is_scalar(x_336)) { + x_337 = lean_alloc_ctor(1, 2, 0); +} else { + x_337 = x_336; + lean_ctor_set_tag(x_337, 1); +} +lean_ctor_set(x_337, 0, x_308); +lean_ctor_set(x_337, 1, x_335); +x_7 = x_337; +goto block_19; +} +} +block_19: +{ +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +lean_ctor_set(x_7, 0, x_10); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_7); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_7); +if (x_15 == 0) +{ +return x_7; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_7 = lean_infer_type(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore(x_8, x_1, x_4, x_5, x_9); +lean_dec(x_8); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore(x_1, x_4, x_5, x_6); +return x_7; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_1) == 4) { -lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); -x_8 = l_Lean_Meta_isRflTheorem(x_7, x_4, x_5, x_6); -return x_8; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_9 = lean_infer_type(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Meta_isRflProofCore(x_10, x_1, x_4, x_5, x_11); -lean_dec(x_10); -return x_12; -} -else -{ -uint8_t x_13; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_isRflProof___lambda__2___boxed), 6, 1); +lean_closure_set(x_8, 0, x_7); +x_9 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1(x_8, x_2, x_3, x_4, x_5, x_6); return x_9; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_isRflProof___lambda__1), 6, 1); +lean_closure_set(x_10, 0, x_1); +x_11 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1(x_10, x_2, x_3, x_4, x_5, x_6); +return x_11; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_isRflProof___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_isRflProof___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_7; } } LEAN_EXPORT uint8_t l_Lean_Meta_instToFormatSimpTheorem___lambda__1(lean_object* x_1) { @@ -2728,29 +4473,11 @@ x_4 = lean_box(x_3); return x_4; } } -static lean_object* _init_l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} static lean_object* _init_l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1() { _start: { lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2; +x_1 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2; return x_1; } } @@ -2758,7 +4485,7 @@ static lean_object* _init_l_Lean_Meta_instInhabitedSimpTheorems() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2; +x_1 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2; x_2 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1; x_3 = l_Lean_PersistentHashMap_empty___at_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___spec__1; x_4 = lean_alloc_ctor(0, 6, 0); @@ -6729,7 +8456,7 @@ x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); x_9 = l_Lean_Meta_Origin_key(x_2); x_10 = l_Lean_MessageData_ofName(x_9); -x_11 = l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4; +x_11 = l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4; x_12 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); @@ -8160,7 +9887,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_ _start: { lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = l_Lean_Meta_isRflProofCore___closed__2; +x_8 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; x_9 = lean_unsigned_to_nat(3u); x_10 = l_Lean_Expr_isAppOfArity(x_2, x_8, x_9); if (x_10 == 0) @@ -10211,7 +11938,7 @@ x_13 = l_Lean_Expr_isForall(x_11); if (x_13 == 0) { lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_Meta_isRflProofCore___closed__2; +x_14 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; x_15 = lean_unsigned_to_nat(3u); x_16 = l_Lean_Expr_isAppOfArity(x_11, x_14, x_15); if (x_16 == 0) @@ -11106,7 +12833,7 @@ lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = l_Lean_Meta_isRflProofCore___closed__2; +x_28 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; x_29 = lean_unsigned_to_nat(3u); x_30 = l_Lean_Expr_isAppOfArity(x_26, x_28, x_29); if (x_30 == 0) @@ -11312,7 +13039,7 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); lean_dec(x_63); -x_66 = l_Lean_Meta_isRflProofCore___closed__2; +x_66 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; x_67 = lean_unsigned_to_nat(3u); x_68 = l_Lean_Expr_isAppOfArity(x_64, x_66, x_67); if (x_68 == 0) @@ -11537,7 +13264,7 @@ lean_inc(x_106); x_107 = lean_ctor_get(x_105, 1); lean_inc(x_107); lean_dec(x_105); -x_108 = l_Lean_Meta_isRflProofCore___closed__2; +x_108 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2; x_109 = lean_unsigned_to_nat(3u); x_110 = l_Lean_Expr_isAppOfArity(x_106, x_108, x_109); if (x_110 == 0) @@ -11835,7 +13562,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__6; x_2 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__7; -x_3 = lean_unsigned_to_nat(395u); +x_3 = lean_unsigned_to_nat(406u); x_4 = lean_unsigned_to_nat(2u); x_5 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_mkSimpTheoremCore___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13034,32 +14761,6 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2; -x_2 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -lean_ctor_set(x_2, 2, x_1); -lean_ctor_set(x_2, 3, x_1); -lean_ctor_set(x_2, 4, x_1); -lean_ctor_set(x_2, 5, x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -13081,7 +14782,7 @@ x_14 = lean_ctor_get(x_11, 0); x_15 = lean_ctor_get(x_11, 4); lean_dec(x_15); x_16 = l_Lean_ScopedEnvExtension_addCore___rarg(x_14, x_1, x_2, x_3, x_9); -x_17 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1; +x_17 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; lean_ctor_set(x_11, 4, x_17); lean_ctor_set(x_11, 0, x_16); x_18 = lean_st_ref_set(x_7, x_11, x_12); @@ -13100,7 +14801,7 @@ if (x_23 == 0) lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = lean_ctor_get(x_21, 1); lean_dec(x_24); -x_25 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2; +x_25 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; lean_ctor_set(x_21, 1, x_25); x_26 = lean_st_ref_set(x_5, x_21, x_22); x_27 = !lean_is_exclusive(x_26); @@ -13138,7 +14839,7 @@ lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); lean_dec(x_21); -x_37 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2; +x_37 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; x_38 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_38, 0, x_33); lean_ctor_set(x_38, 1, x_37); @@ -13186,7 +14887,7 @@ lean_inc(x_45); lean_inc(x_44); lean_dec(x_11); x_51 = l_Lean_ScopedEnvExtension_addCore___rarg(x_44, x_1, x_2, x_3, x_9); -x_52 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1; +x_52 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3; x_53 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_45); @@ -13225,7 +14926,7 @@ if (lean_is_exclusive(x_57)) { lean_dec_ref(x_57); x_63 = lean_box(0); } -x_64 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2; +x_64 = l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1; if (lean_is_scalar(x_63)) { x_65 = lean_alloc_ctor(0, 5, 0); } else { @@ -13420,7 +15121,7 @@ x_15 = l_Lean_Meta_addSimpTheorem(x_1, x_2, x_12, x_13, x_14, x_6, x_7, x_8, x_9 return x_15; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1() { _start: { lean_object* x_1; @@ -13428,7 +15129,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2() { _start: { lean_object* x_1; @@ -13436,7 +15137,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3() { _start: { lean_object* x_1; @@ -13444,7 +15145,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__4() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__4() { _start: { lean_object* x_1; @@ -13452,19 +15153,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__5() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3; -x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__4; +x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3; +x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__6() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__6() { _start: { lean_object* x_1; @@ -13472,19 +15173,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__7() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3; -x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__6; +x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3; +x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__8() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__8() { _start: { lean_object* x_1; @@ -13492,17 +15193,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__9() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__8; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10() { _start: { lean_object* x_1; @@ -13510,41 +15211,41 @@ x_1 = lean_mk_string_unchecked("exact", 5, 5); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__11() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3; -x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10; +x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3; +x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__12() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__13() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_instInhabitedSimpTheorem___closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__12; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__12; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__14() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__14() { _start: { lean_object* x_1; @@ -13552,7 +15253,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__15() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__15() { _start: { lean_object* x_1; @@ -13560,19 +15261,19 @@ x_1 = lean_mk_string_unchecked("declName", 8, 8); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__16() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__14; -x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__15; +x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__14; +x_4 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__15; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__17() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__17() { _start: { lean_object* x_1; @@ -13580,35 +15281,35 @@ x_1 = lean_mk_string_unchecked("decl_name%", 10, 10); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__18() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__17; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__17; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__19() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_instInhabitedSimpTheorem___closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__18; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__18; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__20() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__16; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__19; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__16; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__19; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13616,23 +15317,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__21() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__13; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__20; +x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__13; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__20; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__22() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__11; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__21; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__11; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__21; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13640,23 +15341,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__23() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_instInhabitedSimpTheorem___closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__22; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__24() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__9; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__23; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__9; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__23; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13664,23 +15365,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__25() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_instInhabitedSimpTheorem___closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__24; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__24; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__26() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__7; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__25; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__7; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__25; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13688,23 +15389,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__27() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_instInhabitedSimpTheorem___closed__1; -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__26; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__26; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__28() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__5; -x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__27; +x_2 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__5; +x_3 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__27; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13712,11 +15413,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493_() { +static lean_object* _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516_() { _start: { lean_object* x_1; -x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__28; +x_1 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__28; return x_1; } } @@ -13771,7 +15472,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Meta_mkSimpExt___closed__1; x_2 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1; x_3 = l_Lean_PersistentHashMap_empty___at_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___spec__1; -x_4 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2; +x_4 = l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2; x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_1); @@ -13814,7 +15515,7 @@ x_7 = l_Lean_registerSimpleScopedEnvExtension___rarg(x_6, x_2); return x_7; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -13824,33 +15525,33 @@ x_3 = l_Nat_nextPowerOfTwo_go(x_1, x_2, lean_box(0)); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__1; x_3 = lean_mk_array(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__2; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__3; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__3; x_3 = lean_st_mk_ref(x_2, x_1); x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) @@ -17115,32 +18816,40 @@ l_Lean_Meta_instInhabitedSimpTheorem___closed__5 = _init_l_Lean_Meta_instInhabit lean_mark_persistent(l_Lean_Meta_instInhabitedSimpTheorem___closed__5); l_Lean_Meta_instInhabitedSimpTheorem = _init_l_Lean_Meta_instInhabitedSimpTheorem(); lean_mark_persistent(l_Lean_Meta_instInhabitedSimpTheorem); -l_Lean_Meta_isRflProofCore___closed__1 = _init_l_Lean_Meta_isRflProofCore___closed__1(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__1); -l_Lean_Meta_isRflProofCore___closed__2 = _init_l_Lean_Meta_isRflProofCore___closed__2(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__2); -l_Lean_Meta_isRflProofCore___closed__3 = _init_l_Lean_Meta_isRflProofCore___closed__3(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__3); -l_Lean_Meta_isRflProofCore___closed__4 = _init_l_Lean_Meta_isRflProofCore___closed__4(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__4); -l_Lean_Meta_isRflProofCore___closed__5 = _init_l_Lean_Meta_isRflProofCore___closed__5(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__5); -l_Lean_Meta_isRflProofCore___closed__6 = _init_l_Lean_Meta_isRflProofCore___closed__6(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__6); -l_Lean_Meta_isRflProofCore___closed__7 = _init_l_Lean_Meta_isRflProofCore___closed__7(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__7); -l_Lean_Meta_isRflProofCore___closed__8 = _init_l_Lean_Meta_isRflProofCore___closed__8(); -lean_mark_persistent(l_Lean_Meta_isRflProofCore___closed__8); -l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__1 = _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__1(); -lean_mark_persistent(l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__1); -l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2 = _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2(); -lean_mark_persistent(l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__2); -l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__3 = _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__3(); -lean_mark_persistent(l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__3); -l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4 = _init_l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4(); -lean_mark_persistent(l_Lean_getAsyncConstInfo___at_Lean_Meta_isRflTheorem___spec__1___closed__4); -l_Lean_Meta_isRflTheorem___closed__1 = _init_l_Lean_Meta_isRflTheorem___closed__1(); -lean_mark_persistent(l_Lean_Meta_isRflTheorem___closed__1); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__2); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__4 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__4); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__5 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__5); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__6 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__6); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__7 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__7); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__8 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__8); +l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__1 = _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__1(); +lean_mark_persistent(l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__1); +l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2 = _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2(); +lean_mark_persistent(l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__2); +l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__3 = _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__3(); +lean_mark_persistent(l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__3); +l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4 = _init_l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4(); +lean_mark_persistent(l_Lean_getAsyncConstInfo___at___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___spec__1___closed__4); +l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflTheoremCore___closed__1); +l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__1 = _init_l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__1(); +lean_mark_persistent(l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__1); +l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2 = _init_l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2(); +lean_mark_persistent(l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__2); +l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3 = _init_l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3(); +lean_mark_persistent(l_Lean_withoutExporting___at_Lean_Meta_isRflTheorem___spec__1___closed__3); +l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1 = _init_l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1(); +lean_mark_persistent(l_Lean_withoutExporting___at_Lean_Meta_isRflProof___spec__1___closed__1); l_Lean_Meta_instToFormatSimpTheorem___closed__1 = _init_l_Lean_Meta_instToFormatSimpTheorem___closed__1(); lean_mark_persistent(l_Lean_Meta_instToFormatSimpTheorem___closed__1); l_Lean_Meta_instToFormatSimpTheorem___closed__2 = _init_l_Lean_Meta_instToFormatSimpTheorem___closed__2(); @@ -17175,10 +18884,6 @@ l_Lean_Meta_ppSimpTheorem___rarg___lambda__1___closed__2 = _init_l_Lean_Meta_ppS lean_mark_persistent(l_Lean_Meta_ppSimpTheorem___rarg___lambda__1___closed__2); l_Lean_Meta_ppSimpTheorem___rarg___lambda__2___closed__1 = _init_l_Lean_Meta_ppSimpTheorem___rarg___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_ppSimpTheorem___rarg___lambda__2___closed__1); -l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__1 = _init_l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__1(); -lean_mark_persistent(l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__1); -l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2 = _init_l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2(); -lean_mark_persistent(l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1___closed__2); l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1 = _init_l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1(); lean_mark_persistent(l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1); l_Lean_Meta_instInhabitedSimpTheorems = _init_l_Lean_Meta_instInhabitedSimpTheorems(); @@ -17301,68 +19006,64 @@ l_Lean_Meta_instInhabitedSimpEntry___closed__1 = _init_l_Lean_Meta_instInhabited lean_mark_persistent(l_Lean_Meta_instInhabitedSimpEntry___closed__1); l_Lean_Meta_instInhabitedSimpEntry = _init_l_Lean_Meta_instInhabitedSimpEntry(); lean_mark_persistent(l_Lean_Meta_instInhabitedSimpEntry); -l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1(); -lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__1); -l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2(); -lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__2); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__1); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__2); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__3); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__4 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__4(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__4); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__5 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__5(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__5); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__6 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__6(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__6); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__7 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__7(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__7); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__8 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__8(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__8); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__9 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__9(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__9); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__10); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__11 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__11(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__11); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__12 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__12(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__12); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__13 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__13(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__13); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__14 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__14(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__14); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__15 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__15(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__15); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__16 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__16(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__16); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__17 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__17(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__17); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__18 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__18(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__18); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__19 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__19(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__19); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__20 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__20(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__20); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__21 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__21(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__21); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__22 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__22(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__22); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__23 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__23(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__23); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__24 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__24(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__24); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__25 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__25(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__25); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__26 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__26(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__26); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__27 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__27(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__27); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__28 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__28(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493____closed__28); -l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493_ = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493_(); -lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5493_); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__1); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__2); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__3); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__4 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__4(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__4); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__5 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__5(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__5); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__6 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__6(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__6); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__7 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__7(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__7); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__8 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__8(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__8); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__9 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__9(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__9); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__10); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__11 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__11(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__11); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__12 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__12(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__12); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__13 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__13(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__13); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__14 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__14(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__14); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__15 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__15(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__15); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__16 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__16(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__16); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__17 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__17(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__17); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__18 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__18(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__18); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__19 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__19(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__19); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__20 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__20(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__20); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__21 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__21(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__21); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__22 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__22(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__22); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__23 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__23(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__23); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__24 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__24(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__24); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__25 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__25(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__25); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__26 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__26(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__26); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__27 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__27(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__27); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__28 = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__28(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516____closed__28); +l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516_ = _init_l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516_(); +lean_mark_persistent(l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5516_); l_Lean_Meta_mkSimpExt___closed__1 = _init_l_Lean_Meta_mkSimpExt___closed__1(); lean_mark_persistent(l_Lean_Meta_mkSimpExt___closed__1); l_Lean_Meta_mkSimpExt___closed__2 = _init_l_Lean_Meta_mkSimpExt___closed__2(); @@ -17371,13 +19072,13 @@ l_Lean_Meta_mkSimpExt___closed__3 = _init_l_Lean_Meta_mkSimpExt___closed__3(); lean_mark_persistent(l_Lean_Meta_mkSimpExt___closed__3); l_Lean_Meta_mkSimpExt___closed__4 = _init_l_Lean_Meta_mkSimpExt___closed__4(); lean_mark_persistent(l_Lean_Meta_mkSimpExt___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551____closed__3); -if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5551_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574____closed__3); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5574_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_simpExtensionMapRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_simpExtensionMapRef);