diff --git a/stage0/src/runtime/stack_overflow.cpp b/stage0/src/runtime/stack_overflow.cpp index 262ebab73982..73cb51c426d1 100644 --- a/stage0/src/runtime/stack_overflow.cpp +++ b/stage0/src/runtime/stack_overflow.cpp @@ -18,6 +18,7 @@ Port of the corresponding Rust code (see links below). #include #include #include +#include #include "runtime/stack_overflow.h" namespace lean { @@ -45,7 +46,7 @@ stack_guard::stack_guard() { stack_guard::~stack_guard() {} #else // Install a segfault signal handler and abort with custom message if address is within stack guard. -// https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/stack_overflow.rs +// https://github.com/rust-lang/rust/blob/master/library/std/src/sys/pal/unix/stack_overflow.rs // https://github.com/rust-lang/rust/blob/7c8dbd969dd0ef2af6d8bab9e03ba7ce6cac41a2/src/libstd/sys/unix/thread.rs#L293 @@ -102,12 +103,17 @@ void initialize_stack_overflow() { #ifdef LEAN_WINDOWS AddVectoredExceptionHandler(0, stack_overflow_handler); #else - struct sigaction action; - memset(&action, 0, sizeof(struct sigaction)); - action.sa_flags = SA_SIGINFO | SA_ONSTACK; - action.sa_sigaction = segv_handler; - sigaction(SIGSEGV, &action, nullptr); - sigaction(SIGBUS, &action, nullptr); + for (auto signum : {SIGSEGV, SIGBUS}) { + struct sigaction action; + memset(&action, 0, sizeof(struct sigaction)); + sigaction(signum, nullptr, &action); + // Configure our signal handler if one is not already set. + if (action.sa_handler == SIG_DFL) { + action.sa_flags = SA_SIGINFO | SA_ONSTACK; + action.sa_sigaction = segv_handler; + sigaction(signum, &action, nullptr); + } + } #endif } diff --git a/stage0/src/shell/CMakeLists.txt b/stage0/src/shell/CMakeLists.txt index fa67b6d6c895..e07631be3ee3 100644 --- a/stage0/src/shell/CMakeLists.txt +++ b/stage0/src/shell/CMakeLists.txt @@ -4,7 +4,8 @@ set_target_properties(leanmain PROPERTIES OUTPUT_NAME leanmain) # library must contain at least one non-manifest file -file(WRITE ${CMAKE_BINARY_DIR}/temp/empty.c) +# We use `CONFIGURE` instead of `WRITE` so as to avoid touching the file on each run +file(CONFIGURE OUTPUT ${CMAKE_BINARY_DIR}/temp/empty.c CONTENT "") add_library(leanmanifest STATIC ${CMAKE_BINARY_DIR}/temp/empty.c manifest.rc) set_target_properties(leanmanifest PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib/lean diff --git a/stage0/stdlib/Init/Data.c b/stage0/stdlib/Init/Data.c index 9a9f21363284..4657b9650ef3 100644 --- a/stage0/stdlib/Init/Data.c +++ b/stage0/stdlib/Init/Data.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data -// Imports: Init.Data.Basic Init.Data.Nat Init.Data.Bool Init.Data.BitVec Init.Data.Cast Init.Data.Char Init.Data.String Init.Data.List Init.Data.Int Init.Data.Array Init.Data.Array.Subarray.Split Init.Data.ByteArray Init.Data.FloatArray Init.Data.Fin Init.Data.UInt Init.Data.Float Init.Data.Option Init.Data.Ord Init.Data.Random Init.Data.ToString Init.Data.Range Init.Data.Hashable Init.Data.OfScientific Init.Data.Format Init.Data.Stream Init.Data.Prod Init.Data.AC Init.Data.Queue Init.Data.Channel Init.Data.Cast Init.Data.Sum Init.Data.BEq Init.Data.Subtype +// Imports: Init.Data.Basic Init.Data.Nat Init.Data.Bool Init.Data.BitVec Init.Data.Cast Init.Data.Char Init.Data.String Init.Data.List Init.Data.Int Init.Data.Array Init.Data.Array.Subarray.Split Init.Data.ByteArray Init.Data.FloatArray Init.Data.Fin Init.Data.UInt Init.Data.Float Init.Data.Option Init.Data.Ord Init.Data.Random Init.Data.ToString Init.Data.Range Init.Data.Hashable Init.Data.OfScientific Init.Data.Format Init.Data.Stream Init.Data.Prod Init.Data.AC Init.Data.Queue Init.Data.Channel Init.Data.Cast Init.Data.Sum Init.Data.BEq Init.Data.Subtype Init.Data.ULift Init.Data.PLift #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -46,6 +46,8 @@ lean_object* initialize_Init_Data_Cast(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Sum(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_BEq(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Subtype(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_ULift(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_PLift(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data(uint8_t builtin, lean_object* w) { lean_object * res; @@ -150,6 +152,12 @@ lean_dec_ref(res); res = initialize_Init_Data_Subtype(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_ULift(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_PLift(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/AC.c b/stage0/stdlib/Init/Data/AC.c index a096170c3ae1..df3c8b836bca 100644 --- a/stage0/stdlib/Init/Data/AC.c +++ b/stage0/stdlib/Init/Data/AC.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.AC -// Imports: Init.Classical Init.Data.List +// Imports: Init.Classical Init.ByCases #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -1663,7 +1663,7 @@ return x_4; } } lean_object* initialize_Init_Classical(uint8_t builtin, lean_object*); -lean_object* initialize_Init_Data_List(uint8_t builtin, lean_object*); +lean_object* initialize_Init_ByCases(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_AC(uint8_t builtin, lean_object* w) { lean_object * res; @@ -1672,7 +1672,7 @@ _G_initialized = true; res = initialize_Init_Classical(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_Data_List(builtin, lean_io_mk_world()); +res = initialize_Init_ByCases(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Data_AC_instInhabitedExpr___closed__1 = _init_l_Lean_Data_AC_instInhabitedExpr___closed__1(); diff --git a/stage0/stdlib/Init/Data/Bool.c b/stage0/stdlib/Init/Data/Bool.c index f999ac4f425a..0abde26e2d2a 100644 --- a/stage0/stdlib/Init/Data/Bool.c +++ b/stage0/stdlib/Init/Data/Bool.c @@ -16,12 +16,14 @@ extern "C" { LEAN_EXPORT lean_object* l_Bool_instDecidableForallOfDecidablePred(lean_object*); LEAN_EXPORT uint8_t l_Bool_instMin(uint8_t, uint8_t); LEAN_EXPORT uint8_t l_Bool_not(uint8_t); +LEAN_EXPORT lean_object* l_boolPredToPred(lean_object*); LEAN_EXPORT lean_object* l_Bool_instDecidableLe___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Bool_instDecidableForallOfDecidablePred___rarg(lean_object*); LEAN_EXPORT lean_object* l_Bool_toNat(uint8_t); LEAN_EXPORT lean_object* l_Bool_xor___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_xor(uint8_t, uint8_t); LEAN_EXPORT uint8_t l_Bool_and(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_boolRelToRel(lean_object*); LEAN_EXPORT lean_object* l_Bool_and___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Bool_toNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_Bool_instLT; @@ -424,6 +426,18 @@ x_3 = l_Bool_toNat(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_boolPredToPred(lean_object* x_1) { +_start: +{ +return lean_box(0); +} +} +LEAN_EXPORT lean_object* l_boolRelToRel(lean_object* x_1) { +_start: +{ +return lean_box(0); +} +} lean_object* initialize_Init_BinderPredicates(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_Bool(uint8_t builtin, lean_object* w) { diff --git a/stage0/stdlib/Init/Data/List.c b/stage0/stdlib/Init/Data/List.c index 93b185a599db..349c2b6ebc3d 100644 --- a/stage0/stdlib/Init/Data/List.c +++ b/stage0/stdlib/Init/Data/List.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.List -// Imports: Init.Data.List.Attach Init.Data.List.Basic Init.Data.List.BasicAux Init.Data.List.Control Init.Data.List.Count Init.Data.List.Erase Init.Data.List.Find Init.Data.List.Impl Init.Data.List.Lemmas Init.Data.List.MinMax Init.Data.List.Monadic Init.Data.List.Nat Init.Data.List.Notation Init.Data.List.Pairwise Init.Data.List.Sublist Init.Data.List.TakeDrop Init.Data.List.Zip +// Imports: Init.Data.List.Attach Init.Data.List.Basic Init.Data.List.BasicAux Init.Data.List.Control Init.Data.List.Count Init.Data.List.Erase Init.Data.List.Find Init.Data.List.Impl Init.Data.List.Lemmas Init.Data.List.MinMax Init.Data.List.Monadic Init.Data.List.Nat Init.Data.List.Notation Init.Data.List.Pairwise Init.Data.List.Sublist Init.Data.List.TakeDrop Init.Data.List.Zip Init.Data.List.Perm Init.Data.List.Sort #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -30,6 +30,8 @@ lean_object* initialize_Init_Data_List_Pairwise(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Sublist(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Zip(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Perm(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Sort(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_List(uint8_t builtin, lean_object* w) { lean_object * res; @@ -86,6 +88,12 @@ lean_dec_ref(res); res = initialize_Init_Data_List_Zip(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_List_Perm(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Sort(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/List/Basic.c b/stage0/stdlib/Init/Data/List/Basic.c index a3b69d8ade12..52c644fa6d7d 100644 --- a/stage0/stdlib/Init/Data/List/Basic.c +++ b/stage0/stdlib/Init/Data/List/Basic.c @@ -33,6 +33,7 @@ LEAN_EXPORT lean_object* l_List_rotateRight(lean_object*); LEAN_EXPORT lean_object* l_List_replicate(lean_object*); LEAN_EXPORT lean_object* l_List_getLast___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_groupBy(lean_object*); +static lean_object* l_List_term___x7e_____closed__3; LEAN_EXPORT lean_object* l_List_countP(lean_object*); LEAN_EXPORT lean_object* l_List_enum___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_join(lean_object*); @@ -58,6 +59,7 @@ LEAN_EXPORT lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_unzip___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_getLast_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_concat_match__1_splitter(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1; LEAN_EXPORT uint8_t l_List_instDecidableMemOfLawfulBEq___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_reverseAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_zipWith___rarg(lean_object*, lean_object*, lean_object*); @@ -76,6 +78,7 @@ LEAN_EXPORT uint8_t l_List_nodupDecidable___rarg(lean_object*, lean_object*); static lean_object* l_List_term___x3c_x2b_x3a_____closed__4; LEAN_EXPORT lean_object* l_List_head_x3f___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_countP_go___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6; LEAN_EXPORT lean_object* l_List_term___x3c_x3a_x2b__; static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b____1___closed__2; LEAN_EXPORT lean_object* l_List_isEqv(lean_object*); @@ -85,6 +88,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_getLastD_match LEAN_EXPORT lean_object* l_List_tail_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_filterMap___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_removeAll(lean_object*); +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__8; static lean_object* l_List_term___x3c_x3a_x2b_x3a_____closed__2; LEAN_EXPORT lean_object* l_List_head_x3f___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); @@ -92,9 +96,11 @@ LEAN_EXPORT lean_object* l_List_range_x27(lean_object*, lean_object*, lean_objec LEAN_EXPORT lean_object* l_List_instDecidableMemOfLawfulBEq___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__12; static lean_object* l_List_term___x3c_x2b_____closed__9; +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4; LEAN_EXPORT lean_object* l_List_instHasSubset(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_join_match__1_splitter(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__Perm__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_bind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_find_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_reverseAux(lean_object*); @@ -129,6 +135,7 @@ LEAN_EXPORT lean_object* l_List_take___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_beq_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_isSublist___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_term___x3c_x3a_x2b_x3a__; +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__5; LEAN_EXPORT lean_object* l_List_groupBy___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_take___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_isEmpty___rarg___boxed(lean_object*); @@ -153,6 +160,8 @@ LEAN_EXPORT lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_zip(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_dropLast(lean_object*); LEAN_EXPORT lean_object* l_List_replicate___rarg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_isPerm___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__Perm__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1___closed__1; LEAN_EXPORT lean_object* l_List_span___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_isPrefixOf_x3f___rarg(lean_object*, lean_object*, lean_object*); @@ -160,6 +169,7 @@ LEAN_EXPORT lean_object* l_List_countP_go(lean_object*); LEAN_EXPORT uint8_t l_List_removeAll___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_range(lean_object*); LEAN_EXPORT lean_object* l_List_rotateLeft___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_splitAt___rarg(lean_object*, lean_object*); static lean_object* l_List_term___x3c_x3a_x2b_x3a_____closed__4; static lean_object* l_List_term___x3c_x2b_x3a_____closed__5; LEAN_EXPORT lean_object* l_List_maximum_x3f___rarg(lean_object*, lean_object*); @@ -170,6 +180,7 @@ LEAN_EXPORT uint8_t l_List_hasDecidableLt___rarg(lean_object*, lean_object*, lea static lean_object* l_List_term___x3c_x2b_____closed__1; LEAN_EXPORT lean_object* l_List_count___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__IsInfix__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__3; LEAN_EXPORT lean_object* l_List_leftpad___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_eraseDups(lean_object*); LEAN_EXPORT lean_object* l_List_indexOf_x3f___rarg(lean_object*, lean_object*, lean_object*); @@ -196,6 +207,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_filter_match__ LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_set_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_erase___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_indexOf___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_splitAt_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Nat_sum___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_eraseDups___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_enumFrom(lean_object*); @@ -213,6 +225,7 @@ LEAN_EXPORT lean_object* l_List_lookup___rarg(lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_List_headD(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_beq_match__1_splitter(lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_isPerm(lean_object*); LEAN_EXPORT lean_object* l_List_instDecidableRelSubsetOfDecidableEq(lean_object*); LEAN_EXPORT lean_object* l_List_removeAll___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); @@ -221,6 +234,7 @@ lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l_List_unzip(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_count(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__2; LEAN_EXPORT lean_object* l_List_erase(lean_object*); LEAN_EXPORT lean_object* l_List_findIdx_go___at_List_indexOf___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_instDecidableLeOfDecidableRelLt(lean_object*); @@ -229,6 +243,7 @@ static lean_object* l_List_term___x3c_x2b_____closed__10; LEAN_EXPORT lean_object* l_Nat_sum(lean_object*); LEAN_EXPORT lean_object* l_List_span(lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Nat_sum___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__9; LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_zipWith_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_leftpad(lean_object*); LEAN_EXPORT uint8_t l_List_elem___rarg(lean_object*, lean_object*, lean_object*); @@ -255,6 +270,7 @@ LEAN_EXPORT lean_object* l_List_isEmpty(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_join_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_instDecidableRelSubsetOfDecidableEq___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_term___x7e_____closed__1; LEAN_EXPORT lean_object* l_List_lookup(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_groupBy_loop(lean_object*); LEAN_EXPORT lean_object* l_List_term___x3c_x2b_x3a__; @@ -266,6 +282,7 @@ static lean_object* l_List_term___x3c_x2b_x3a_____closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_getLast_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_decidableBEx(lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b_x3a____1___closed__5; +static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__7; LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_instLEOfLT___boxed(lean_object*, lean_object*); static lean_object* l_List_term___x3c_x2b_____closed__11; @@ -285,6 +302,7 @@ LEAN_EXPORT lean_object* l_List_instLT___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_intercalate(lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1___closed__6; LEAN_EXPORT lean_object* l_List_zip___rarg(lean_object*, lean_object*); +static lean_object* l_List_term___x7e_____closed__4; LEAN_EXPORT lean_object* l_List_reverse(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_set_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b____1___closed__3; @@ -304,6 +322,7 @@ LEAN_EXPORT lean_object* l_List_notElem___rarg___boxed(lean_object*, lean_object lean_object* lean_nat_mod(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_rotateLeft(lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__14; +static lean_object* l_List_term___x7e_____closed__6; static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__11; LEAN_EXPORT lean_object* l_List_instDecidablePairwise(lean_object*, lean_object*); static lean_object* l_List_term___x3c_x2b_x3a_____closed__6; @@ -312,11 +331,13 @@ lean_object* l_id___rarg___boxed(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_List_term___x3c_x2b_____closed__7; LEAN_EXPORT lean_object* l_List_eraseReps___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_splitAt(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_filter_match__1_splitter(lean_object*); LEAN_EXPORT lean_object* l_List_instBEq(lean_object*); LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__IsPrefix__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_headD___rarg___boxed(lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__4; +LEAN_EXPORT lean_object* l_List_splitAt_go(lean_object*); static lean_object* l_List_term___x3c_x3a_x2b_x3a_____closed__3; LEAN_EXPORT lean_object* l_List_get_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_beq(lean_object*); @@ -330,6 +351,7 @@ LEAN_EXPORT lean_object* l_List_tailD___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_findIdx_go___at_List_indexOf___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__5; static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__8; +static lean_object* l_List_term___x7e_____closed__5; LEAN_EXPORT lean_object* l_List_nodupDecidable___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_countP_go___at_List_count___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_tailD(lean_object*); @@ -345,6 +367,7 @@ LEAN_EXPORT lean_object* l_List_instAppend(lean_object*); LEAN_EXPORT lean_object* l_List_range_x27___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMap(lean_object*, lean_object*); static lean_object* l_List_term___x3c_x3a_x2b_x3a_____closed__6; +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__Sublist__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_dropWhile___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_instDecidableMemOfLawfulBEq(lean_object*); @@ -374,6 +397,7 @@ static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List_ LEAN_EXPORT lean_object* l_List_rightpad(lean_object*); LEAN_EXPORT lean_object* l_List_take(lean_object*); LEAN_EXPORT lean_object* l_List_eraseP___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_isPerm___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_term___x3c_x3a_x2b_____closed__3; static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__16; LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b_x3a____1(lean_object*, lean_object*, lean_object*); @@ -391,6 +415,7 @@ static lean_object* l_List_term___x3c_x2b_____closed__6; LEAN_EXPORT lean_object* l_List_enumFrom___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_isEqv___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_String_toSubstring_x27(lean_object*); +LEAN_EXPORT lean_object* l_List_term___x7e__; LEAN_EXPORT lean_object* l_List_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_enum(lean_object*); @@ -399,6 +424,7 @@ LEAN_EXPORT lean_object* l_List_range_loop(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_zipWith___at_List_zip___spec__1___rarg(lean_object*, lean_object*); static lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b____1___closed__6; static lean_object* l_List_term___x3c_x3a_x2b_____closed__5; +static lean_object* l_List_term___x7e_____closed__2; LEAN_EXPORT lean_object* l_List_isSuffixOf_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_get_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_eraseDups_loop___rarg(lean_object*, lean_object*, lean_object*); @@ -4774,6 +4800,112 @@ lean_dec(x_2); return x_4; } } +LEAN_EXPORT lean_object* l_List_splitAt_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_3, x_9); +if (x_10 == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_2, 1); +lean_dec(x_12); +x_13 = lean_ctor_get(x_2, 0); +lean_dec(x_13); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_sub(x_3, x_14); +lean_dec(x_3); +lean_ctor_set(x_2, 1, x_4); +{ +lean_object* _tmp_1 = x_8; +lean_object* _tmp_2 = x_15; +lean_object* _tmp_3 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_2); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_3, x_17); +lean_dec(x_3); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_7); +lean_ctor_set(x_19, 1, x_4); +x_2 = x_8; +x_3 = x_18; +x_4 = x_19; +goto _start; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_21 = l_List_reverse___rarg(x_4); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_2); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_List_splitAt_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_splitAt_go___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_splitAt___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(0); +lean_inc(x_2); +x_4 = l_List_splitAt_go___rarg(x_2, x_2, x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_splitAt(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_splitAt___rarg), 2, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_List_rotateLeft___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -5867,6 +5999,386 @@ x_3 = lean_alloc_closure((void*)(l_List_lookup___rarg), 3, 0); return x_3; } } +static lean_object* _init_l_List_term___x7e_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term_~_", 7, 7); +return x_1; +} +} +static lean_object* _init_l_List_term___x7e_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_term___x3c_x2b_____closed__1; +x_2 = l_List_term___x7e_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List_term___x7e_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ~ ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_List_term___x7e_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_term___x7e_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_term___x7e_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List_term___x3c_x2b_____closed__5; +x_2 = l_List_term___x7e_____closed__4; +x_3 = l_List_term___x3c_x2b_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List_term___x7e_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List_term___x7e_____closed__2; +x_2 = lean_unsigned_to_nat(50u); +x_3 = l_List_term___x7e_____closed__5; +x_4 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +return x_4; +} +} +static lean_object* _init_l_List_term___x7e__() { +_start: +{ +lean_object* x_1; +x_1 = l_List_term___x7e_____closed__6; +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Perm", 4, 4); +return x_1; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_term___x3c_x2b_____closed__1; +x_2 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6; +x_2 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__5; +x_2 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_List_term___x7e_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; 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; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +lean_dec(x_12); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__3; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__2; +x_20 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__9; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__16; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__Perm__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x2b____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_List___aux__Init__Data__List__Basic______unexpand__List__Sublist__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_dec(x_9); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_20 = l_Lean_Syntax_getArg(x_15, x_8); +x_21 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_22 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_9); +x_23 = 0; +x_24 = l_Lean_SourceInfo_fromRef(x_22, x_23); +lean_dec(x_22); +x_25 = l_List_term___x7e_____closed__3; +lean_inc(x_24); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_List_term___x7e_____closed__2; +x_28 = l_Lean_Syntax_node3(x_24, x_27, x_20, x_26, x_21); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_3); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List___aux__Init__Data__List__Basic______unexpand__List__Perm__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List___aux__Init__Data__List__Basic______unexpand__List__Perm__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT uint8_t l_List_isPerm___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = l_List_isEmpty___rarg(x_3); +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +lean_inc(x_3); +lean_inc(x_5); +lean_inc(x_1); +x_7 = l_List_elem___rarg(x_1, x_5, x_3); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; +lean_inc(x_1); +x_9 = l_List_erase___rarg(x_1, x_3, x_5); +x_2 = x_6; +x_3 = x_9; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_isPerm(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_isPerm___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_isPerm___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_isPerm___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} LEAN_EXPORT uint8_t l_List_any___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -7753,6 +8265,38 @@ l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_ lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1___closed__5); l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1___closed__6 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1___closed__6(); lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x3c_x3a_x2b_x3a____1___closed__6); +l_List_term___x7e_____closed__1 = _init_l_List_term___x7e_____closed__1(); +lean_mark_persistent(l_List_term___x7e_____closed__1); +l_List_term___x7e_____closed__2 = _init_l_List_term___x7e_____closed__2(); +lean_mark_persistent(l_List_term___x7e_____closed__2); +l_List_term___x7e_____closed__3 = _init_l_List_term___x7e_____closed__3(); +lean_mark_persistent(l_List_term___x7e_____closed__3); +l_List_term___x7e_____closed__4 = _init_l_List_term___x7e_____closed__4(); +lean_mark_persistent(l_List_term___x7e_____closed__4); +l_List_term___x7e_____closed__5 = _init_l_List_term___x7e_____closed__5(); +lean_mark_persistent(l_List_term___x7e_____closed__5); +l_List_term___x7e_____closed__6 = _init_l_List_term___x7e_____closed__6(); +lean_mark_persistent(l_List_term___x7e_____closed__6); +l_List_term___x7e__ = _init_l_List_term___x7e__(); +lean_mark_persistent(l_List_term___x7e__); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__1); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__2 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__2(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__2); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__3 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__3(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__3); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__4); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__5 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__5(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__5); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__6); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__7 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__7(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__7); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__8 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__8(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__8); +l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__9 = _init_l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__9(); +lean_mark_persistent(l_List___aux__Init__Data__List__Basic______macroRules__List__term___x7e____1___closed__9); l_List_or___closed__1 = _init_l_List_or___closed__1(); lean_mark_persistent(l_List_or___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Init/Data/List/Find.c b/stage0/stdlib/Init/Data/List/Find.c index 32d3b8921adf..a6401e58c662 100644 --- a/stage0/stdlib/Init/Data/List/Find.c +++ b/stage0/stdlib/Init/Data/List/Find.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.List.Find -// Imports: Init.Data.List.Lemmas +// Imports: Init.Data.List.Lemmas Init.Data.List.Sublist Init.Data.List.Range #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,6 +14,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_filter_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_x3f_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_getLast_x3f_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_go_match__1_splitter(lean_object*, lean_object*); @@ -23,6 +24,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_filter_match__1 LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_x3f__of__eq__some_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_getLast_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findSome_x3f_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_x3f__of__eq__some_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_filter_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_getLast_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); @@ -207,7 +209,41 @@ lean_dec(x_3); return x_4; } } +LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +lean_dec(x_4); +x_5 = lean_apply_1(x_3, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_3(x_4, x_6, x_7, x_2); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Find_0__List_findIdx_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Find_0__List_findIdx_x3f_match__1_splitter___rarg), 4, 0); +return x_3; +} +} lean_object* initialize_Init_Data_List_Lemmas(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Sublist(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Range(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_List_Find(uint8_t builtin, lean_object* w) { lean_object * res; @@ -216,6 +252,12 @@ _G_initialized = true; res = initialize_Init_Data_List_Lemmas(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_List_Sublist(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Range(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/List/Lemmas.c b/stage0/stdlib/Init/Data/List/Lemmas.c index 84400c38d0c1..fcaa5dd2ef8a 100644 --- a/stage0/stdlib/Init/Data/List/Lemmas.c +++ b/stage0/stdlib/Init/Data/List/Lemmas.c @@ -19,21 +19,30 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_filter_match_ LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_findSome_x3f_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_getLast_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_replicate_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldlRecOn___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_splitAt_go_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_findSome_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_any__filterMap_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_splitAt_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_filterMap__replicate_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_partition_loop_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_any__filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldlRecOn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_foldl_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_getLast_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldlRecOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_getLast_x3f_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_filter_match__1_splitter(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_replicate_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldrRecOn(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldrRecOn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_List_foldr___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_findSome_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_any__filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_getLast_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldrRecOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_foldl_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_filterMap__replicate_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -113,6 +122,104 @@ lean_dec(x_2); return x_4; } } +LEAN_EXPORT lean_object* l_List_foldlRecOn___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_4(x_1, x_2, x_3, x_4, lean_box(0)); +return x_6; +} +} +LEAN_EXPORT lean_object* l_List_foldlRecOn___rarg(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) == 0) +{ +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +lean_inc(x_2); +lean_inc(x_6); +lean_inc(x_3); +x_8 = lean_apply_2(x_2, x_3, x_6); +lean_inc(x_5); +x_9 = lean_apply_4(x_5, x_3, x_4, x_6, lean_box(0)); +x_10 = lean_alloc_closure((void*)(l_List_foldlRecOn___rarg___lambda__1), 5, 1); +lean_closure_set(x_10, 0, x_5); +x_1 = x_7; +x_3 = x_8; +x_4 = x_9; +x_5 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_List_foldlRecOn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_List_foldlRecOn___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_foldrRecOn___rarg(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) == 0) +{ +lean_dec(x_5); +lean_dec(x_2); +lean_inc(x_4); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +lean_inc(x_7); +lean_inc(x_2); +x_8 = l_List_foldr___rarg(x_2, x_3, x_7); +lean_inc(x_5); +x_9 = lean_alloc_closure((void*)(l_List_foldlRecOn___rarg___lambda__1), 5, 1); +lean_closure_set(x_9, 0, x_5); +x_10 = l_List_foldrRecOn___rarg(x_7, x_2, x_3, x_4, x_9); +x_11 = lean_apply_4(x_5, x_8, x_10, x_6, lean_box(0)); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_List_foldrRecOn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_List_foldrRecOn___rarg___boxed), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_foldrRecOn___rarg___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_List_foldrRecOn___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_getLast_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -395,6 +502,59 @@ x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Lemmas_0__List_parti return x_3; } } +LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_splitAt_go_match__1_splitter___rarg(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) == 0) +{ +lean_object* x_7; +lean_dec(x_6); +lean_dec(x_5); +x_7 = lean_apply_2(x_4, x_2, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_2, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_1); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_2, x_12); +lean_dec(x_2); +x_14 = lean_apply_4(x_5, x_8, x_9, x_13, x_3); +return x_14; +} +else +{ +lean_object* x_15; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_15 = lean_apply_5(x_6, x_1, x_10, x_3, lean_box(0), lean_box(0)); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_splitAt_go_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Lemmas_0__List_splitAt_go_match__1_splitter___rarg), 6, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_List_Lemmas_0__List_any__filterMap_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Init/Data/List/Nat/Range.c b/stage0/stdlib/Init/Data/List/Nat/Range.c index 593e5bf4b10d..d0bf9e2e58bf 100644 --- a/stage0/stdlib/Init/Data/List/Nat/Range.c +++ b/stage0/stdlib/Init/Data/List/Nat/Range.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.List.Nat.Range -// Imports: Init.Data.List.Nat.TakeDrop Init.Data.List.Pairwise +// Imports: Init.Data.List.Nat.TakeDrop Init.Data.List.Range Init.Data.List.Pairwise #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -435,6 +435,7 @@ return x_4; } } lean_object* initialize_Init_Data_List_Nat_TakeDrop(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Range(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Pairwise(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_List_Nat_Range(uint8_t builtin, lean_object* w) { @@ -444,6 +445,9 @@ _G_initialized = true; res = initialize_Init_Data_List_Nat_TakeDrop(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_List_Range(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_Data_List_Pairwise(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Init/Data/List/Perm.c b/stage0/stdlib/Init/Data/List/Perm.c new file mode 100644 index 000000000000..9664e3989007 --- /dev/null +++ b/stage0/stdlib/Init/Data/List/Perm.c @@ -0,0 +1,317 @@ +// Lean compiler output +// Module: Init.Data.List.Perm +// Imports: Init.Data.List.Pairwise Init.Data.List.Erase +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT uint8_t l_List_decidablePerm___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_decidablePerm(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Perm_0__List_reverseAux_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_decidablePerm___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_isPerm___at_List_decidablePerm___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_List_erase___at_List_decidablePerm___spec__3(lean_object*); +uint8_t l_List_isEmpty___rarg(lean_object*); +LEAN_EXPORT uint8_t l_List_isPerm___at_List_decidablePerm___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_elem___at_List_decidablePerm___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_elem___at_List_decidablePerm___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_List_isPerm___at_List_decidablePerm___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_elem___at_List_decidablePerm___spec__2___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_erase___at_List_decidablePerm___spec__3___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_isSetoid(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Perm_0__List_reverseAux_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_isSetoid(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Perm_0__List_reverseAux_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +lean_dec(x_4); +x_5 = lean_apply_1(x_3, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_3(x_4, x_6, x_7, x_2); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Perm_0__List_reverseAux_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Perm_0__List_reverseAux_match__1_splitter___rarg), 4, 0); +return x_3; +} +} +LEAN_EXPORT uint8_t l_List_elem___at_List_decidablePerm___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_7 = lean_apply_2(x_1, x_2, x_5); +x_8 = lean_unbox(x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_10; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_10 = 1; +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_List_elem___at_List_decidablePerm___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_elem___at_List_decidablePerm___spec__2___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_erase___at_List_decidablePerm___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +lean_dec(x_3); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_6); +x_8 = lean_apply_2(x_1, x_6, x_3); +x_9 = lean_unbox(x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_List_erase___at_List_decidablePerm___spec__3___rarg(x_1, x_7, x_3); +lean_ctor_set(x_2, 1, x_10); +return x_2; +} +else +{ +lean_free_object(x_2); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_11); +x_13 = lean_apply_2(x_1, x_11, x_3); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_List_erase___at_List_decidablePerm___spec__3___rarg(x_1, x_12, x_3); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_erase___at_List_decidablePerm___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_erase___at_List_decidablePerm___spec__3___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT uint8_t l_List_isPerm___at_List_decidablePerm___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = l_List_isEmpty___rarg(x_3); +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +lean_inc(x_3); +lean_inc(x_5); +lean_inc(x_1); +x_7 = l_List_elem___at_List_decidablePerm___spec__2___rarg(x_1, x_5, x_3); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; +lean_inc(x_1); +x_9 = l_List_erase___at_List_decidablePerm___spec__3___rarg(x_1, x_3, x_5); +x_2 = x_6; +x_3 = x_9; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_isPerm___at_List_decidablePerm___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_isPerm___at_List_decidablePerm___spec__1___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT uint8_t l_List_decidablePerm___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_List_isPerm___at_List_decidablePerm___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_decidablePerm(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_decidablePerm___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_elem___at_List_decidablePerm___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_elem___at_List_decidablePerm___spec__2___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_isPerm___at_List_decidablePerm___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_isPerm___at_List_decidablePerm___spec__1___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_decidablePerm___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_decidablePerm___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* initialize_Init_Data_List_Pairwise(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Erase(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_List_Perm(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_List_Pairwise(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Erase(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Std/Data/DHashMap/Internal/List/Perm.c b/stage0/stdlib/Init/Data/List/Range.c similarity index 67% rename from stage0/stdlib/Std/Data/DHashMap/Internal/List/Perm.c rename to stage0/stdlib/Init/Data/List/Range.c index ef3b8b1bf9b8..77c6bcc75281 100644 --- a/stage0/stdlib/Std/Data/DHashMap/Internal/List/Perm.c +++ b/stage0/stdlib/Init/Data/List/Range.c @@ -1,6 +1,6 @@ // Lean compiler output -// Module: Std.Data.DHashMap.Internal.List.Perm -// Imports: Init.Data.List.Lemmas +// Module: Init.Data.List.Range +// Imports: Init.Data.List.Pairwise #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,13 +13,13 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* initialize_Init_Data_List_Lemmas(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Pairwise(uint8_t builtin, lean_object*); static bool _G_initialized = false; -LEAN_EXPORT lean_object* initialize_Std_Data_DHashMap_Internal_List_Perm(uint8_t builtin, lean_object* w) { +LEAN_EXPORT lean_object* initialize_Init_Data_List_Range(uint8_t builtin, lean_object* w) { lean_object * res; if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_initialized = true; -res = initialize_Init_Data_List_Lemmas(builtin, lean_io_mk_world()); +res = initialize_Init_Data_List_Pairwise(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Init/Data/List/Sort.c b/stage0/stdlib/Init/Data/List/Sort.c new file mode 100644 index 000000000000..831835d231e1 --- /dev/null +++ b/stage0/stdlib/Init/Data/List/Sort.c @@ -0,0 +1,37 @@ +// Lean compiler output +// Module: Init.Data.List.Sort +// Imports: Init.Data.List.Sort.Basic Init.Data.List.Sort.Impl Init.Data.List.Sort.Lemmas +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Init_Data_List_Sort_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Sort_Impl(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Sort_Lemmas(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_List_Sort(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_List_Sort_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Sort_Impl(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Sort_Lemmas(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Data/List/Sort/Basic.c b/stage0/stdlib/Init/Data/List/Sort/Basic.c new file mode 100644 index 000000000000..e4d5a62ad1b9 --- /dev/null +++ b/stage0/stdlib/Init/Data/List/Sort/Basic.c @@ -0,0 +1,535 @@ +// Lean compiler output +// Module: Init.Data.List.Sort.Basic +// Imports: Init.Data.List.Impl +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_List_splitInTwo(lean_object*); +LEAN_EXPORT lean_object* l_List_mergeSort___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_merge(lean_object*); +LEAN_EXPORT lean_object* l_List_splitInTwo___rarg(lean_object*, lean_object*); +lean_object* lean_nat_div(lean_object*, lean_object*); +lean_object* l_List_splitAt___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_merge___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Basic_0__List_merge_match__1_splitter(lean_object*, lean_object*); +lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_enumLE(lean_object*); +LEAN_EXPORT lean_object* l_List_splitInTwo___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_enumLE___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Basic_0__List_merge_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_enumLE___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mergeSort(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_merge___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_dec(x_1); +return x_3; +} +else +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +lean_inc(x_8); +lean_inc(x_6); +x_10 = lean_apply_2(x_1, x_6, x_8); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_ctor_set(x_3, 1, x_7); +lean_ctor_set(x_3, 0, x_6); +x_12 = l_List_merge___rarg(x_1, x_3, x_9); +lean_ctor_set(x_2, 1, x_12); +lean_ctor_set(x_2, 0, x_8); +return x_2; +} +else +{ +lean_object* x_13; +x_13 = l_List_merge___rarg(x_1, x_7, x_3); +lean_ctor_set(x_2, 1, x_13); +return x_2; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_2, 0); +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_3); +lean_inc(x_1); +lean_inc(x_16); +lean_inc(x_14); +x_18 = lean_apply_2(x_1, x_14, x_16); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_15); +x_21 = l_List_merge___rarg(x_1, x_20, x_17); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_16); +return x_2; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_16); +lean_ctor_set(x_22, 1, x_17); +x_23 = l_List_merge___rarg(x_1, x_15, x_22); +lean_ctor_set(x_2, 1, x_23); +return x_2; +} +} +} +else +{ +lean_object* 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_24 = lean_ctor_get(x_2, 0); +x_25 = lean_ctor_get(x_2, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_2); +x_26 = lean_ctor_get(x_3, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_3, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_28 = x_3; +} else { + lean_dec_ref(x_3); + x_28 = lean_box(0); +} +lean_inc(x_1); +lean_inc(x_26); +lean_inc(x_24); +x_29 = lean_apply_2(x_1, x_24, x_26); +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; +if (lean_is_scalar(x_28)) { + x_31 = lean_alloc_ctor(1, 2, 0); +} else { + x_31 = x_28; +} +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_25); +x_32 = l_List_merge___rarg(x_1, x_31, x_27); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_26); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +if (lean_is_scalar(x_28)) { + x_34 = lean_alloc_ctor(1, 2, 0); +} else { + x_34 = x_28; +} +lean_ctor_set(x_34, 0, x_26); +lean_ctor_set(x_34, 1, x_27); +x_35 = l_List_merge___rarg(x_1, x_25, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_24); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_merge(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_merge___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Basic_0__List_merge_match__1_splitter___rarg(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) == 0) +{ +lean_object* x_6; +lean_dec(x_5); +lean_dec(x_4); +x_6 = lean_apply_1(x_3, x_2); +return x_6; +} +else +{ +lean_dec(x_3); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_7; +lean_dec(x_5); +x_7 = lean_apply_2(x_4, x_1, lean_box(0)); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_apply_4(x_5, x_8, x_9, x_10, x_11); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Basic_0__List_merge_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Basic_0__List_merge_match__1_splitter___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_splitInTwo___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_add(x_1, x_3); +x_5 = lean_unsigned_to_nat(2u); +x_6 = lean_nat_div(x_4, x_5); +lean_dec(x_4); +x_7 = l_List_splitAt___rarg(x_6, x_2); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_List_splitInTwo(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_splitInTwo___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_splitInTwo___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_splitInTwo___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_mergeSort___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +lean_dec(x_1); +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_2, 1); +lean_dec(x_6); +x_7 = lean_box(0); +lean_ctor_set(x_2, 1, x_7); +return x_2; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_2); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_2, 1); +lean_dec(x_12); +x_13 = !lean_is_exclusive(x_4); +if (x_13 == 0) +{ +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; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_List_lengthTRAux___rarg(x_2, x_14); +x_16 = l_List_splitInTwo___rarg(x_15, x_2); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_inc(x_1); +x_18 = l_List_mergeSort___rarg(x_1, x_17); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +lean_inc(x_1); +x_20 = l_List_mergeSort___rarg(x_1, x_19); +x_21 = l_List_merge___rarg(x_1, x_18, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_22 = lean_ctor_get(x_4, 0); +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_4); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_2, 1, x_24); +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_List_lengthTRAux___rarg(x_2, x_25); +x_27 = l_List_splitInTwo___rarg(x_26, x_2); +lean_dec(x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_inc(x_1); +x_29 = l_List_mergeSort___rarg(x_1, x_28); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +lean_inc(x_1); +x_31 = l_List_mergeSort___rarg(x_1, x_30); +x_32 = l_List_merge___rarg(x_1, x_29, x_31); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_33 = lean_ctor_get(x_2, 0); +lean_inc(x_33); +lean_dec(x_2); +x_34 = lean_ctor_get(x_4, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_4, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + x_36 = x_4; +} else { + lean_dec_ref(x_4); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(1, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_33); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_unsigned_to_nat(0u); +x_40 = l_List_lengthTRAux___rarg(x_38, x_39); +x_41 = l_List_splitInTwo___rarg(x_40, x_38); +lean_dec(x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +lean_inc(x_1); +x_43 = l_List_mergeSort___rarg(x_1, x_42); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +lean_inc(x_1); +x_45 = l_List_mergeSort___rarg(x_1, x_44); +x_46 = l_List_merge___rarg(x_1, x_43, x_45); +return x_46; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_mergeSort(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_mergeSort___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT uint8_t l_List_enumLE___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_5); +lean_inc(x_4); +x_6 = lean_apply_2(x_1, x_4, x_5); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_apply_2(x_1, x_5, x_4); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +lean_dec(x_3); +lean_dec(x_2); +x_11 = 1; +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_nat_dec_le(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_List_enumLE(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_enumLE___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_enumLE___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_enumLE___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* initialize_Init_Data_List_Impl(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_List_Sort_Basic(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_List_Impl(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Data/List/Sort/Impl.c b/stage0/stdlib/Init/Data/List/Sort/Impl.c new file mode 100644 index 000000000000..467929338bd0 --- /dev/null +++ b/stage0/stdlib/Init/Data/List/Sort/Impl.c @@ -0,0 +1,963 @@ +// Lean compiler output +// Module: Init.Data.List.Sort.Impl +// Imports: Init.Data.List.Sort.Lemmas +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt_go___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeTR_go_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR(lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_run(lean_object*); +lean_object* l_List_reverseAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt(lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo(lean_object*); +lean_object* l_List_splitInTwo___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt_go(lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27(lean_object*); +lean_object* lean_nat_div(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR_go(lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082(lean_object*); +lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR___rarg(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_run___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo___rarg(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeTR_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_run___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_5; +lean_dec(x_1); +x_5 = l_List_reverseAux___rarg(x_4, x_3); +return x_5; +} +else +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = l_List_reverseAux___rarg(x_4, x_2); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +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_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +lean_inc(x_11); +lean_inc(x_9); +x_13 = lean_apply_2(x_1, x_9, x_11); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_ctor_set(x_3, 1, x_10); +lean_ctor_set(x_3, 0, x_9); +lean_ctor_set(x_2, 1, x_4); +lean_ctor_set(x_2, 0, x_11); +{ +lean_object* _tmp_1 = x_3; +lean_object* _tmp_2 = x_12; +lean_object* _tmp_3 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +else +{ +lean_ctor_set(x_2, 1, x_4); +{ +lean_object* _tmp_1 = x_10; +lean_object* _tmp_3 = x_2; +x_2 = _tmp_1; +x_4 = _tmp_3; +} +goto _start; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = lean_ctor_get(x_2, 0); +x_18 = lean_ctor_get(x_2, 1); +x_19 = lean_ctor_get(x_3, 0); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_3); +lean_inc(x_1); +lean_inc(x_19); +lean_inc(x_17); +x_21 = lean_apply_2(x_1, x_17, x_19); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_18); +lean_ctor_set(x_2, 1, x_4); +lean_ctor_set(x_2, 0, x_19); +{ +lean_object* _tmp_1 = x_23; +lean_object* _tmp_2 = x_20; +lean_object* _tmp_3 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +else +{ +lean_object* x_25; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_20); +lean_ctor_set(x_2, 1, x_4); +{ +lean_object* _tmp_1 = x_18; +lean_object* _tmp_2 = x_25; +lean_object* _tmp_3 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +} +} +else +{ +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_27 = lean_ctor_get(x_2, 0); +x_28 = lean_ctor_get(x_2, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_2); +x_29 = lean_ctor_get(x_3, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_3, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_31 = x_3; +} else { + lean_dec_ref(x_3); + x_31 = lean_box(0); +} +lean_inc(x_1); +lean_inc(x_29); +lean_inc(x_27); +x_32 = lean_apply_2(x_1, x_27, x_29); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +if (lean_is_scalar(x_31)) { + x_34 = lean_alloc_ctor(1, 2, 0); +} else { + x_34 = x_31; +} +lean_ctor_set(x_34, 0, x_27); +lean_ctor_set(x_34, 1, x_28); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 1, x_4); +x_2 = x_34; +x_3 = x_30; +x_4 = x_35; +goto _start; +} +else +{ +lean_object* x_37; lean_object* x_38; +if (lean_is_scalar(x_31)) { + x_37 = lean_alloc_ctor(1, 2, 0); +} else { + x_37 = x_31; +} +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_27); +lean_ctor_set(x_38, 1, x_4); +x_2 = x_28; +x_3 = x_37; +x_4 = x_38; +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeTR_go___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_box(0); +x_5 = l_List_MergeSort_Internal_mergeTR_go___rarg(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeTR___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeTR_go_match__1_splitter___rarg(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) == 0) +{ +lean_object* x_7; +lean_dec(x_6); +lean_dec(x_5); +x_7 = lean_apply_2(x_4, x_2, x_3); +return x_7; +} +else +{ +lean_dec(x_4); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; +lean_dec(x_6); +x_8 = lean_apply_3(x_5, x_1, x_3, lean_box(0)); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_apply_5(x_6, x_9, x_10, x_11, x_12, x_3); +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeTR_go_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeTR_go_match__1_splitter___rarg), 6, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_eq(x_2, x_7); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_2, x_12); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_3); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_13; +lean_object* _tmp_2 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_sub(x_2, x_15); +lean_dec(x_2); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_3); +x_1 = x_6; +x_2 = x_16; +x_3 = x_17; +goto _start; +} +} +else +{ +lean_object* x_19; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_3); +lean_ctor_set(x_19, 1, x_1); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_splitRevAt_go___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(0); +x_4 = l_List_MergeSort_Internal_splitRevAt_go___rarg(x_2, x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_splitRevAt___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter___rarg(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) == 0) +{ +lean_object* x_6; +lean_dec(x_4); +x_6 = lean_apply_4(x_5, x_1, x_2, x_3, lean_box(0)); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_2, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +lean_dec(x_1); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_2, x_11); +lean_dec(x_2); +x_13 = lean_apply_4(x_4, x_7, x_8, x_12, x_3); +return x_13; +} +else +{ +lean_object* x_14; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_2); +x_14 = lean_apply_4(x_5, x_1, x_9, x_3, lean_box(0)); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_2, x_6); +x_8 = lean_nat_dec_eq(x_7, x_4); +if (x_8 == 0) +{ +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; +x_9 = lean_nat_sub(x_7, x_6); +lean_dec(x_7); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_add(x_9, x_10); +lean_dec(x_9); +x_12 = l_List_splitInTwo___rarg(x_11, x_3); +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_nat_add(x_11, x_6); +x_16 = lean_nat_div(x_15, x_10); +lean_dec(x_15); +lean_inc(x_1); +x_17 = l_List_MergeSort_Internal_mergeSortTR_run___rarg(x_1, x_16, x_13); +lean_dec(x_16); +x_18 = lean_nat_div(x_11, x_10); +lean_dec(x_11); +lean_inc(x_1); +x_19 = l_List_MergeSort_Internal_mergeSortTR_run___rarg(x_1, x_18, x_14); +lean_dec(x_18); +x_20 = l_List_MergeSort_Internal_mergeTR___rarg(x_1, x_17, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_7); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_3, 1); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_3, 1, x_23); +return x_3; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_3, 0); +lean_inc(x_24); +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +else +{ +lean_object* x_27; +lean_dec(x_3); +lean_dec(x_1); +x_27 = lean_box(0); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_run(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeSortTR_run___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_run___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_MergeSort_Internal_mergeSortTR_run___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_List_lengthTRAux___rarg(x_2, x_3); +x_5 = l_List_MergeSort_Internal_mergeSortTR_run___rarg(x_1, x_4, x_2); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeSortTR___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_add(x_1, x_3); +x_5 = lean_unsigned_to_nat(2u); +x_6 = lean_nat_div(x_4, x_5); +lean_dec(x_4); +x_7 = l_List_MergeSort_Internal_splitRevAt___rarg(x_6, x_2); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_splitRevInTwo___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_MergeSort_Internal_splitRevInTwo___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_div(x_1, x_3); +x_5 = l_List_MergeSort_Internal_splitRevAt___rarg(x_4, x_2); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_splitRevInTwo_x27___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_MergeSort_Internal_splitRevInTwo_x27___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_2, x_6); +x_8 = lean_nat_dec_eq(x_7, x_4); +if (x_8 == 0) +{ +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; +x_9 = lean_nat_sub(x_7, x_6); +lean_dec(x_7); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_add(x_9, x_10); +lean_dec(x_9); +x_12 = l_List_MergeSort_Internal_splitRevInTwo___rarg(x_11, x_3); +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_nat_add(x_11, x_6); +x_16 = lean_nat_div(x_15, x_10); +lean_dec(x_15); +lean_inc(x_1); +x_17 = l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg(x_1, x_16, x_13); +lean_dec(x_16); +x_18 = lean_nat_div(x_11, x_10); +lean_dec(x_11); +lean_inc(x_1); +x_19 = l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(x_1, x_18, x_14); +lean_dec(x_18); +x_20 = l_List_MergeSort_Internal_mergeTR___rarg(x_1, x_17, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_7); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_3, 1); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_3, 1, x_23); +return x_3; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_3, 0); +lean_inc(x_24); +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +else +{ +lean_object* x_27; +lean_dec(x_3); +lean_dec(x_1); +x_27 = lean_box(0); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_2, x_6); +x_8 = lean_nat_dec_eq(x_7, x_4); +if (x_8 == 0) +{ +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; +x_9 = lean_nat_sub(x_7, x_6); +lean_dec(x_7); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_add(x_9, x_10); +lean_dec(x_9); +x_12 = l_List_MergeSort_Internal_splitRevInTwo_x27___rarg(x_11, x_3); +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_nat_add(x_11, x_6); +x_16 = lean_nat_div(x_15, x_10); +lean_dec(x_15); +lean_inc(x_1); +x_17 = l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg(x_1, x_16, x_14); +lean_dec(x_16); +x_18 = lean_nat_div(x_11, x_10); +lean_dec(x_11); +lean_inc(x_1); +x_19 = l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(x_1, x_18, x_13); +lean_dec(x_18); +x_20 = l_List_MergeSort_Internal_mergeTR___rarg(x_1, x_17, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_7); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_3, 1); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_3, 1, x_23); +return x_3; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_3, 0); +lean_inc(x_24); +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +else +{ +lean_object* x_27; +lean_dec(x_3); +lean_dec(x_1); +x_27 = lean_box(0); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_List_lengthTRAux___rarg(x_2, x_3); +x_5 = l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(x_1, x_4, x_2); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeSortTR_u2082___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter___rarg(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; uint8_t x_7; +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_eq(x_1, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_3); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_1, x_8); +x_10 = lean_nat_dec_eq(x_9, x_6); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +x_11 = lean_nat_sub(x_9, x_8); +lean_dec(x_9); +x_12 = lean_apply_2(x_5, x_11, x_2); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_9); +lean_dec(x_5); +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +lean_dec(x_2); +x_14 = lean_apply_2(x_4, x_13, lean_box(0)); +return x_14; +} +} +else +{ +lean_object* x_15; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_15 = lean_apply_1(x_3, lean_box(0)); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_run_match__2_splitter___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* initialize_Init_Data_List_Sort_Lemmas(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_List_Sort_Impl(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_List_Sort_Lemmas(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Data/List/Sort/Lemmas.c b/stage0/stdlib/Init/Data/List/Sort/Lemmas.c new file mode 100644 index 000000000000..ddf63ed92e23 --- /dev/null +++ b/stage0/stdlib/Init/Data/List/Sort/Lemmas.c @@ -0,0 +1,100 @@ +// Lean compiler output +// Module: Init.Data.List.Sort.Lemmas +// Imports: Init.Data.List.Perm Init.Data.List.Sort.Basic Init.Data.Bool +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_apply_3(x_4, x_8, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +lean_object* initialize_Init_Data_List_Perm(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_Sort_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Bool(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_List_Sort_Lemmas(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_List_Perm(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Sort_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_Bool(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Data/PLift.c b/stage0/stdlib/Init/Data/PLift.c new file mode 100644 index 000000000000..418d570e6cb8 --- /dev/null +++ b/stage0/stdlib/Init/Data/PLift.c @@ -0,0 +1,65 @@ +// Lean compiler output +// Module: Init.Data.PLift +// Imports: Init.Core +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_instDecidableEqPLift___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_PLift_0__decEqPLift____x40_Init_Data_PLift___hyg_3____rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_PLift_0__decEqPLift____x40_Init_Data_PLift___hyg_3_(lean_object*); +LEAN_EXPORT lean_object* l_instDecidableEqPLift(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_PLift_0__decEqPLift____x40_Init_Data_PLift___hyg_3____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_PLift_0__decEqPLift____x40_Init_Data_PLift___hyg_3_(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_PLift_0__decEqPLift____x40_Init_Data_PLift___hyg_3____rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_instDecidableEqPLift___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_instDecidableEqPLift(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instDecidableEqPLift___rarg), 3, 0); +return x_2; +} +} +lean_object* initialize_Init_Core(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_PLift(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Core(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Data/Queue.c b/stage0/stdlib/Init/Data/Queue.c index e1ea4788b402..65aafbae8901 100644 --- a/stage0/stdlib/Init/Data/Queue.c +++ b/stage0/stdlib/Init/Data/Queue.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.Queue -// Imports: Init.Data.List +// Imports: Init.Data.Array.Basic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -435,13 +435,13 @@ x_2 = lean_alloc_closure((void*)(l_Std_Queue_toArray___rarg), 1, 0); return x_2; } } -lean_object* initialize_Init_Data_List(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Array_Basic(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_Queue(uint8_t builtin, lean_object* w) { lean_object * res; if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_initialized = true; -res = initialize_Init_Data_List(builtin, lean_io_mk_world()); +res = initialize_Init_Data_Array_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Std_Queue_empty___closed__1 = _init_l_Std_Queue_empty___closed__1(); diff --git a/stage0/stdlib/Init/Data/String/Basic.c b/stage0/stdlib/Init/Data/String/Basic.c index d54187bbba33..e9e99311591c 100644 --- a/stage0/stdlib/Init/Data/String/Basic.c +++ b/stage0/stdlib/Init/Data/String/Basic.c @@ -82,6 +82,7 @@ LEAN_EXPORT lean_object* l_Substring_posOf(lean_object*, uint32_t); LEAN_EXPORT lean_object* l_String_foldl(lean_object*); LEAN_EXPORT lean_object* l_String_Iterator_remainingBytes___boxed(lean_object*); LEAN_EXPORT lean_object* l_String_Iterator_remainingToString(lean_object*); +LEAN_EXPORT lean_object* l_String_instInhabitedIterator; LEAN_EXPORT uint8_t l_Substring_atEnd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_findLineStart___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_revFind(lean_object*, lean_object*); @@ -144,6 +145,7 @@ LEAN_EXPORT lean_object* l_Substring_trim(lean_object*); LEAN_EXPORT lean_object* l_String_intercalate___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_splitOnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Char_toUpper(uint32_t); +static lean_object* l_String_instInhabitedIterator___closed__1; LEAN_EXPORT uint8_t l_String_anyAux(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_splitOn_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_takeWhile(lean_object*, lean_object*); @@ -158,6 +160,7 @@ LEAN_EXPORT lean_object* l_String_mapAux___at_String_toLower___spec__1(lean_obje LEAN_EXPORT lean_object* l_String_Iterator_pos___boxed(lean_object*); LEAN_EXPORT lean_object* l_String_str___boxed(lean_object*, lean_object*); lean_object* lean_string_mk(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3893____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_String_all(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_firstDiffPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_takeWhile___boxed(lean_object*, lean_object*); @@ -182,7 +185,6 @@ LEAN_EXPORT lean_object* l_Substring_foldr(lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_String_join___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_String_findLineStart___lambda__1(uint32_t); LEAN_EXPORT lean_object* l_String_find___boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3879_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_utf8GetAux_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_dropWhile(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_foldlAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -206,6 +208,7 @@ static lean_object* l_Substring_splitOn_loop___closed__1; LEAN_EXPORT lean_object* l_String_revPosOfAux(lean_object*, uint32_t, lean_object*); LEAN_EXPORT lean_object* l_String_singleton___boxed(lean_object*); LEAN_EXPORT uint8_t l_String_isNat(lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3893_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_replace_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_front___boxed(lean_object*); LEAN_EXPORT lean_object* l_Char_toString(uint32_t); @@ -267,7 +270,6 @@ LEAN_EXPORT lean_object* l_String_get___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_prevn___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Char_toString___boxed(lean_object*); LEAN_EXPORT uint8_t l_String_isPrefixOf(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3879____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_foldr(lean_object*); LEAN_EXPORT lean_object* l_String_anyAux___at_String_isNat___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_posOfAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1917,7 +1919,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3879_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3893_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -1940,11 +1942,11 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3879____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3893____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3879_(x_1, x_2); +x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3893_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -1955,7 +1957,7 @@ LEAN_EXPORT uint8_t l_String_instDecidableEqIterator(lean_object* x_1, lean_obje _start: { uint8_t x_3; -x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3879_(x_1, x_2); +x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3893_(x_1, x_2); return x_3; } } @@ -1970,6 +1972,26 @@ x_4 = lean_box(x_3); return x_4; } } +static lean_object* _init_l_String_instInhabitedIterator___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_String_splitOn___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_String_instInhabitedIterator() { +_start: +{ +lean_object* x_1; +x_1 = l_String_instInhabitedIterator___closed__1; +return x_1; +} +} LEAN_EXPORT lean_object* l_String_mkIterator(lean_object* x_1) { _start: { @@ -6250,6 +6272,10 @@ l_String_instAppend___closed__1 = _init_l_String_instAppend___closed__1(); lean_mark_persistent(l_String_instAppend___closed__1); l_String_instAppend = _init_l_String_instAppend(); lean_mark_persistent(l_String_instAppend); +l_String_instInhabitedIterator___closed__1 = _init_l_String_instInhabitedIterator___closed__1(); +lean_mark_persistent(l_String_instInhabitedIterator___closed__1); +l_String_instInhabitedIterator = _init_l_String_instInhabitedIterator(); +lean_mark_persistent(l_String_instInhabitedIterator); l_String_findLineStart___closed__1 = _init_l_String_findLineStart___closed__1(); lean_mark_persistent(l_String_findLineStart___closed__1); l_Substring_extract___closed__1 = _init_l_Substring_extract___closed__1(); diff --git a/stage0/stdlib/Init/Data/ULift.c b/stage0/stdlib/Init/Data/ULift.c new file mode 100644 index 000000000000..59215fce43b5 --- /dev/null +++ b/stage0/stdlib/Init/Data/ULift.c @@ -0,0 +1,65 @@ +// Lean compiler output +// Module: Init.Data.ULift +// Imports: Init.Core +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_instDecidableEqULift(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_ULift_0__decEqULift____x40_Init_Data_ULift___hyg_3____rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_ULift_0__decEqULift____x40_Init_Data_ULift___hyg_3_(lean_object*); +LEAN_EXPORT lean_object* l_instDecidableEqULift___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_ULift_0__decEqULift____x40_Init_Data_ULift___hyg_3____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_ULift_0__decEqULift____x40_Init_Data_ULift___hyg_3_(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_ULift_0__decEqULift____x40_Init_Data_ULift___hyg_3____rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_instDecidableEqULift___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_instDecidableEqULift(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instDecidableEqULift___rarg), 3, 0); +return x_2; +} +} +lean_object* initialize_Init_Core(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_ULift(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Core(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index b8305dc59566..3579740f940f 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteListMkStr1(lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__7; @@ -22,7 +23,6 @@ static lean_object* l_Lean_Name_escapePart___closed__2; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__termEval__prio____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__26; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__29; LEAN_EXPORT lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_quoteNameMk___closed__7; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); @@ -40,7 +40,6 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitTerm(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__83; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteProdMkStr1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2806____boxed(lean_object*, lean_object*); @@ -52,9 +51,9 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_List_foldr___at_Substring_toName___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f___lambda__1(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__65; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__50; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntax___rarg(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__12; LEAN_EXPORT lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__2; LEAN_EXPORT lean_object* l_List_repr___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____spec__4___boxed(lean_object*, lean_object*); @@ -72,10 +71,10 @@ lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_o static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_getSepElems___rarg(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__7; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decode___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__8; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__1; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__1; @@ -92,12 +91,9 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); static lean_object* l_Lean_instQuoteBoolMkStr1___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dsimpKind; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_instReprTSyntax(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__12; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_toCtorIdx___boxed(lean_object*); static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__5; @@ -105,19 +101,15 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_TSyntax_getId(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__18; LEAN_EXPORT lean_object* l_Lean_githash; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__8; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____closed__4; static lean_object* l_Lean_versionString___closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_getName(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; lean_object* lean_uint32_to_nat(uint32_t); LEAN_EXPORT lean_object* l_Lean_Syntax_instRepr; LEAN_EXPORT lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__40; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__52; LEAN_EXPORT lean_object* l_Lean_Name_instRepr; @@ -133,8 +125,8 @@ LEAN_EXPORT lean_object* lean_name_append_after(lean_object*, lean_object*); static lean_object* l_Lean_TSyntax_getScientific___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__10; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8; static lean_object* l_Lean_termEval__prio_____closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__15; static lean_object* l_Lean_termEval__prec_____closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__39; @@ -154,13 +146,13 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__6; LEAN_EXPORT lean_object* l_List_elem___at_Lean_Meta_Occurrences_contains___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_versionString___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__6; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__1; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__3; static lean_object* l_Lean_Option_hasQuote___rarg___closed__4; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__4; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decode(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__4; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; extern lean_object* l_Lean_Parser_Tactic_location; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__17; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33; @@ -173,11 +165,11 @@ static lean_object* l_Lean_Syntax_mkNumLit___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__21; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; LEAN_EXPORT lean_object* l_Lean_TSyntax_getString(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5; LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__37; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrec(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__9; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__8; @@ -189,6 +181,7 @@ static lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray___c extern lean_object* l_Lean_reservedMacroScope; lean_object* l_String_quote(lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__11; static lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); @@ -197,18 +190,23 @@ static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__6; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__27; LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStrChunks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_origin; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796_(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__3; lean_object* l_Lean_TSyntaxArray_rawImpl___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_hasQuote(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameGenerator_curr(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__9; LEAN_EXPORT lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_version_major___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20480_(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__11; LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeStrLitTerm(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayTSepArray___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__6; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__4; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__5; @@ -216,7 +214,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterp LEAN_EXPORT lean_object* l_Lean_mkIdentFrom___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Omega_OmegaConfig_splitMinMax___default; static lean_object* l_Lean_Syntax_isFieldIdx_x3f___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__2; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____boxed(lean_object*, lean_object*); static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__4; static lean_object* l_Lean_mkHole___closed__1; @@ -238,7 +235,6 @@ static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__2; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__22; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__10; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__58; LEAN_EXPORT lean_object* l_Lean_Syntax_isScientificLit_x3f___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__12; @@ -246,13 +242,13 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentTerm(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Lean_version_specialDesc___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__19; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__13; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__69; static lean_object* l_Lean_Syntax_instReprTSyntax___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__2; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__15; @@ -273,7 +269,6 @@ static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__5; static lean_object* l_Lean_Syntax_instCoeOutTSyntaxArrayArray___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionSepArray(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__22; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_contains(lean_object*, uint32_t); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); @@ -288,7 +283,6 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___rarg___boxed(lean_obj LEAN_EXPORT lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__5; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__5; static lean_object* l_Lean_instQuoteBoolMkStr1___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_isFieldIdx_x3f___boxed(lean_object*); @@ -300,32 +294,32 @@ uint8_t l_Char_isAlpha(uint32_t); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__13; lean_object* lean_version_get_patch(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__75; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__29; LEAN_EXPORT lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteTermMkStr1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__17; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__16; static lean_object* l_Lean_termEval__prec_____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__86; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__3; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Substring_toName___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__112; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__22; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__36; LEAN_EXPORT uint8_t l_Lean_Meta_Rewrite_Config_transparency___default; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_setTailInfoAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isSubScriptAlnum___boxed(lean_object*); LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__2(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArith___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__8; @@ -336,7 +330,6 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrec__1___closed__2; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__6; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; LEAN_EXPORT uint32_t l_Lean_idBeginEscape; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__25; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11614____closed__6; @@ -347,9 +340,10 @@ static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__15; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__114; static lean_object* l_Lean_versionString___closed__6; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__30; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__4; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__27; LEAN_EXPORT lean_object* l_Lean_Syntax_mkSynthetic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Option_hasQuote___rarg___closed__6; @@ -361,7 +355,6 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__1; static lean_object* l_Lean_toolchain___closed__6; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray___rarg(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__26; static lean_object* l_Lean_termEval__prio_____closed__5; static lean_object* l_Lean_termEval__prec_____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__6; @@ -370,7 +363,6 @@ static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Me static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__47; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_instReprEtaStructMode; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__5; LEAN_EXPORT uint8_t l_Lean_Meta_Rewrite_Config_offsetCnstrs___default; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__3; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrec__1(lean_object*, lean_object*, lean_object*); @@ -382,7 +374,6 @@ lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeCharLitTerm___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed__const__1; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__23; lean_object* lean_string_push(lean_object*, uint32_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__59; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__2; @@ -392,7 +383,9 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__10; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__11; static lean_object* l_Lean_Syntax_instBEq___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshId(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__26; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__71; LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLitAux(lean_object*, lean_object*, lean_object*); @@ -419,7 +412,6 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrio___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f(lean_object*); static lean_object* l_Lean_versionStringCore___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__20; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__17; LEAN_EXPORT lean_object* l_Lean_Syntax_splitNameLit(lean_object*); static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__1; @@ -433,7 +425,6 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_instReprPreresolved; LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeConsSyntaxNodeKind___rarg___boxed(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__71; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__5; @@ -442,7 +433,6 @@ LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at___private_Init_Meta_0__Le static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__12; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__3; static lean_object* l_Lean_versionStringCore___closed__3; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776_(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__4; static lean_object* l_Lean_Syntax_mkCharLit___closed__1; @@ -459,10 +449,10 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__63; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__55; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__45; LEAN_EXPORT lean_object* l_Lean_instQuoteBoolMkStr1(uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__18; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__27; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__5; @@ -472,12 +462,12 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Syntax_decodeCharLit(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArith___closed__7; static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__2; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896_(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNameLitTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__5; LEAN_EXPORT lean_object* l_Lean_toolchain; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__6; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__30; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466_(uint8_t, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__37; @@ -487,6 +477,7 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_copyHeadTailInfoFrom(lean_object*, lean_o static lean_object* l_Lean_Syntax_isFieldIdx_x3f___closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_Omega_OmegaConfig_splitNatSub___default; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeConsSyntaxNodeKind___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19592_(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_getSepElems___rarg___closed__1; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__20; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____boxed(lean_object*); @@ -583,14 +574,12 @@ LEAN_EXPORT lean_object* l_Lean_versionString; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__9; extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__31; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__7; static lean_object* l_Lean_termEval__prio_____closed__9; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__2; extern lean_object* l_Lean_Parser_Tactic_simpLemma; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2; LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_ofElems___boxed(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__24; @@ -599,7 +588,6 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__2; LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__132; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__26; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayOfTSyntax(lean_object*, lean_object*, lean_object*, lean_object*); @@ -614,6 +602,7 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_beq_match__1_splitte static lean_object* l_Lean_Name_escapePart___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__7; static lean_object* l_Lean_termEval__prec_____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__56; lean_object* l_outOfBounds___rarg(lean_object*); @@ -630,20 +619,26 @@ static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Synt static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__131; static lean_object* l_Lean_Syntax_instBEqPreresolved___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_mkCharLit___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__14; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__8; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Name_appendIndexAfter___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__70; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__38; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__69; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__4; uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__14; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__32; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__9; LEAN_EXPORT lean_object* l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2806____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_versionStringCore___closed__4; @@ -651,18 +646,16 @@ static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__5; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__3; lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getGithash___boxed(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__129; lean_object* l_Lean_TSyntaxArray_mkImpl___rarg___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; static lean_object* l_Lean_Syntax_mkNumLit___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__22; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__20; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__9; @@ -673,15 +666,16 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeDepTermMkIdentIdent(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__21; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3; static lean_object* l_Lean_Option_hasQuote___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__19; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntax(lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__3; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__3; lean_object* l_Char_quote(uint32_t); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__138; @@ -692,11 +686,11 @@ static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_repr LEAN_EXPORT lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__27; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__23; LEAN_EXPORT lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__3; LEAN_EXPORT lean_object* l_Substring_toName(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__127; static lean_object* l_Lean_mkOptionalNode___closed__1; @@ -719,8 +713,10 @@ static uint8_t l_Lean_versionString___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; LEAN_EXPORT lean_object* l_Lean_Syntax_hasArgs___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeOutSepArrayArray(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__1; static lean_object* l_Lean_Name_reprPrec___closed__2; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__19; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__21; static lean_object* l_Lean_versionString___closed__10; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__5; LEAN_EXPORT lean_object* l_Lean_Meta_Rewrite_Config_occs___default; @@ -733,6 +729,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__10; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_version_minor___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isStrLit_x3f___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__31; @@ -742,7 +739,6 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__9; lean_object* l_Lean_extractMacroScopes(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__23; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrio(lean_object*); @@ -751,7 +747,9 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__17; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__20; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__8; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_push___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__109; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax(lean_object*); @@ -770,6 +768,7 @@ LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1(lean_object*, LEAN_EXPORT lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); static lean_object* l_Lean_mkOptionalNode___closed__4; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeRawStrLitAux___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__24; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__64; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -782,6 +781,7 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteOfCoeHTCTTSyntaxConsSyntaxNodeKindNil___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_version_minor; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__9; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____boxed(lean_object*, lean_object*); lean_object* lean_string_utf8_prev(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____spec__6(lean_object*, lean_object*); @@ -789,7 +789,6 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkOptionalNode(lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__1; static lean_object* l___private_Init_Meta_0__Lean_quoteArray_go___rarg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20460_(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__10; @@ -804,6 +803,7 @@ static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Me static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__28; static lean_object* l_Lean_mkSepArray___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__123; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__2___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__3; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); @@ -812,7 +812,6 @@ static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__19; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeConsSyntaxNodeKindNil___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteArray_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__5; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__61; LEAN_EXPORT lean_object* l_Array_mapSepElemsM(lean_object*); @@ -824,7 +823,6 @@ lean_object* lean_version_get_special_desc(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__14; static lean_object* l_Lean_Option_hasQuote___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeScientificLitTerm(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__6; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__85; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*); @@ -854,19 +852,20 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Syntax_isToken___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterSepElems(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getMinor___boxed(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__1; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__11; LEAN_EXPORT lean_object* l_Lean_TSyntax_getHygieneInfo(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362_(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__5; lean_object* l_Lean_MacroScopesView_review(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_instCoeTSyntaxArrayOfTSyntax___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__7; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__62; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__25; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__22; LEAN_EXPORT lean_object* l_Lean_Name_isInaccessibleUserName___boxed(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__12; @@ -882,7 +881,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules_ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__3; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__111; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__16; @@ -899,23 +897,24 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__3; static lean_object* l_Lean_mkHole___closed__2; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__6; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__3; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__47; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__28; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__25; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__29; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__9; static lean_object* l_Lean_versionString___closed__9; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11614____closed__17; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__2; LEAN_EXPORT lean_object* l_Array_mapSepElems(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_simpErase; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__43; lean_object* l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432_(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__8; uint8_t l_Char_isDigit(uint32_t); static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__2; @@ -932,9 +931,9 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_ lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* lean_name_append_index_after(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__3; LEAN_EXPORT uint8_t l_String_anyAux___at_Lean_Name_escapePart___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLit___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__29; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__82; LEAN_EXPORT lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1___boxed(lean_object*, lean_object*); @@ -945,12 +944,12 @@ static lean_object* l_Lean_quoteNameMk___closed__8; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___rarg___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__94; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__18; static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__1; static lean_object* l_Lean_instQuoteBoolMkStr1___closed__7; LEAN_EXPORT lean_object* l_Lean_TSyntax_getId___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); static lean_object* l_Lean_Syntax_getHead_x3f___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__15; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____boxed(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__2; static lean_object* l_Lean_Name_reprPrec___closed__10; @@ -999,13 +998,14 @@ static lean_object* l_Lean_Name_reprPrec___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__16; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeOctalLitAux___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__66; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__15; LEAN_EXPORT uint8_t l_Lean_Name_toString_maybePseudoSyntax(lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__2; static lean_object* l_Lean_instQuoteSubstringMkStr1___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__24; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916_(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__28; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); uint8_t lean_internal_is_stage0(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__28; @@ -1018,13 +1018,12 @@ static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_getScientific(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__20; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090_(lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Lean_termEval__prio__; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__15; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_hasNum___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo_x3f___boxed(lean_object*); static lean_object* l_Lean_Name_toStringWithSep___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__6; LEAN_EXPORT lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_mapSepElems___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__24; @@ -1049,7 +1048,6 @@ LEAN_EXPORT uint8_t l_Lean_isSubScriptAlnum(uint32_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__15; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__68; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__28; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__95; LEAN_EXPORT lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____spec__7(lean_object*, lean_object*, lean_object*); @@ -1063,11 +1061,9 @@ static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__9; LEAN_EXPORT lean_object* l_Lean_Syntax_find_x3f(lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__119; LEAN_EXPORT lean_object* l_Lean_Internal_hasLLVMBackend___boxed(lean_object*); lean_object* l_id___rarg___boxed(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__15; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1084,6 +1080,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllKind; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; LEAN_EXPORT lean_object* l_List_foldl___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__28; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11614____closed__3; static lean_object* l_Lean_toolchain___closed__7; @@ -1095,12 +1092,13 @@ static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__17; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__38; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__6; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__5; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__67; LEAN_EXPORT lean_object* l_Lean_version_patch; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17814_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_getHead_x3f___closed__1; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__25; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__60; static uint8_t l_Lean_version_isRelease___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__93; @@ -1116,17 +1114,18 @@ uint8_t l_String_isPrefixOf(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__21; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__77; LEAN_EXPORT lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__5; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__76; LEAN_EXPORT lean_object* l_Lean_Name_escapePart(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__13; LEAN_EXPORT lean_object* l_Lean_instQuoteSubstringMkStr1___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrio__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_toName(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__1; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__21; @@ -1150,7 +1149,7 @@ LEAN_EXPORT uint8_t l_Lean_isIdEndEscape(uint32_t); LEAN_EXPORT lean_object* l_Lean_mkFreshId___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__2; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getName___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1164,6 +1163,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly(lean_object*); static lean_object* l_Lean_mkSepArray___closed__1; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__20; static lean_object* l_Lean_mkCIdentFrom___closed__2; lean_object* l_Array_mkArray1___rarg(lean_object*); static lean_object* l_Lean_Syntax_mkApp___closed__3; @@ -1172,6 +1172,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__5; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__75; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__3(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteArray___rarg___closed__2; @@ -1190,14 +1191,13 @@ static lean_object* l_Lean_Syntax_mkStrLit___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__82; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__31; LEAN_EXPORT lean_object* l_Lean_versionStringCore; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_versionString___closed__8; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeOutTSyntaxArrayArray___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__23; LEAN_EXPORT lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__125; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__50; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__24; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__8; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__22; static lean_object* l_Lean_termEval__prec_____closed__7; @@ -1205,6 +1205,7 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionTSepArray___boxed(lean static lean_object* l_Lean_termEval__prec_____closed__5; static lean_object* l_Lean_githash___closed__1; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__6; LEAN_EXPORT uint8_t l_Lean_Meta_Occurrences_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNameLitTerm(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticErw____; @@ -1222,12 +1223,9 @@ static lean_object* l_Lean_versionStringCore___closed__7; static lean_object* l_Lean_Syntax_instCoeOutSepArrayArray___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__29; lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__31; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; static lean_object* l_Lean_instQuoteBoolMkStr1___closed__5; static lean_object* l_Lean_instQuoteNameMkStr1___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__7; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__84; lean_object* l_String_intercalate(lean_object*, lean_object*); @@ -1238,17 +1236,17 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_beq_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__39; LEAN_EXPORT uint8_t l_Lean_Meta_Omega_OmegaConfig_splitDisjunctions___default; LEAN_EXPORT lean_object* l_Lean_instQuoteBoolMkStr1___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrio__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__117; static lean_object* l___private_Init_Meta_0__Lean_quoteArray___rarg___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_Omega_OmegaConfig_splitNatAbs___default; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__10; LEAN_EXPORT lean_object* l_Lean_instQuoteListMkStr1___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Occurrences_isAll(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__7; uint8_t lean_internal_has_llvm_backend(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__103; @@ -1259,14 +1257,12 @@ static lean_object* l_Lean_Meta_instReprEtaStructMode___closed__1; uint8_t l_Substring_beq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__89; lean_object* l_String_capitalize(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__13; size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__18; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__29; static lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_getScientific___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__10; LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__35; @@ -1283,11 +1279,11 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__54; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__6; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_version_getSpecialDesc___boxed(lean_object*); static lean_object* l_Lean_mkOptionalNode___closed__3; size_t lean_array_size(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4; static lean_object* l_Lean_termEval__prec_____closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__53; @@ -1317,6 +1313,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__4; LEAN_EXPORT lean_object* l_Lean_instQuoteProdMkStr1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkCIdent(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11466____closed__4; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__8; static lean_object* l_Lean_quoteNameMk___closed__4; LEAN_EXPORT lean_object* l_List_foldr___at_Substring_toName___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__16; @@ -1327,25 +1324,27 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_decodeCharLit___boxed(lean_object*); static lean_object* l_Lean_toolchain___closed__5; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11614____boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; LEAN_EXPORT uint8_t l_Lean_Meta_Rewrite_Config_newGoals___default; static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__30; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__8; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; static lean_object* l_Lean_quoteNameMk___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getChar___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__5; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__7; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteArray_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11614____closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLitAux___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19572_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__8; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__26; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___boxed(lean_object*); static lean_object* l_Lean_termEval__prec_____closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__72; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__termEval__prec____1(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_pred(lean_object*); @@ -1377,6 +1376,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkScientificLit___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__22; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeArraySepArray(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__33; @@ -1395,11 +1395,11 @@ static lean_object* l_Lean_evalPrio___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__30; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep(lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; static lean_object* l___private_Init_Meta_0__Lean_quoteArray_go___rarg___closed__1; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__2; LEAN_EXPORT lean_object* l_Lean_HygieneInfo_mkIdent(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_toolchain___closed__4; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux(lean_object*, lean_object*, lean_object*); @@ -1410,7 +1410,6 @@ static lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_ofElems___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__91; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__17; LEAN_EXPORT lean_object* l_Array_getSepElems(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__70; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2122____closed__10; @@ -1422,6 +1421,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Syntax_mkScientificLit(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__140; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAutoUnfold; static lean_object* l_Lean_termEval__prio_____closed__4; static lean_object* l_Lean_Option_hasQuote___rarg___closed__3; @@ -1446,6 +1446,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__8; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEq; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__1; static lean_object* l_Lean_instQuoteNameMkStr1___closed__1; LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -1464,8 +1465,9 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_termEval__prec_____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__38; LEAN_EXPORT lean_object* l_Lean_isIdFirst___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__39; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__7; static lean_object* l_Lean_Meta_instReprConfig___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_toNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold; @@ -1487,17 +1489,15 @@ static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__11; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__10; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__3; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17794_(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__5; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__11; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrio__1___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__45; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__10; static lean_object* l_Lean_versionStringCore___closed__6; LEAN_EXPORT lean_object* l_Lean_TSyntax_getHygieneInfo___boxed(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11614____closed__1; @@ -19936,6 +19936,33 @@ return x_2; static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("index", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(9u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_instQuoteBoolMkStr1___closed__2; x_2 = lean_alloc_ctor(3, 1, 0); @@ -19943,23 +19970,23 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__32() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__12; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_3 = lean_alloc_ctor(4, 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___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__32; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__35; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19967,7 +19994,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -19977,23 +20004,23 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__35() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__12; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_3 = lean_alloc_ctor(4, 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___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__39() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__35; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__38; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -20004,7 +20031,7 @@ return x_3; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730_(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +uint8_t x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; x_3 = lean_ctor_get_uint8(x_1, 0); x_4 = lean_ctor_get_uint8(x_1, 1); x_5 = lean_ctor_get_uint8(x_1, 2); @@ -20026,430 +20053,471 @@ x_16 = lean_ctor_get_uint8(x_1, 7); x_17 = lean_ctor_get_uint8(x_1, 8); x_18 = lean_ctor_get_uint8(x_1, 9); x_19 = lean_ctor_get_uint8(x_1, 10); +x_20 = lean_ctor_get_uint8(x_1, 11); if (x_3 == 0) { -lean_object* x_160; -x_160 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_20 = x_160; -goto block_159; +lean_object* x_173; +x_173 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_21 = x_173; +goto block_172; } else { -lean_object* x_161; -x_161 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_20 = x_161; -goto block_159; +lean_object* x_174; +x_174 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_21 = x_174; +goto block_172; } -block_159: +block_172: { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_21 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__5; -x_22 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_alloc_ctor(6, 1, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_22 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__5; +x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_22); -lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_11); -x_24 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__4; -x_25 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__4; -x_27 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_box(1); -x_29 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__7; -x_31 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__5; -x_33 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_11); +x_25 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__4; +x_26 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_2008____spec__1___closed__4; +x_28 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_box(1); +x_30 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__7; +x_32 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__5; +x_34 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); if (x_4 == 0) { -lean_object* x_157; -x_157 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_34 = x_157; -goto block_156; +lean_object* x_170; +x_170 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_35 = x_170; +goto block_169; } else { -lean_object* x_158; -x_158 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_34 = x_158; -goto block_156; +lean_object* x_171; +x_171 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_35 = x_171; +goto block_169; } -block_156: +block_169: { -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_35 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_35, 0, x_21); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_11); -x_37 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_36); +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_alloc_ctor(4, 2, 0); +lean_ctor_set(x_36, 0, x_22); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set_uint8(x_37, sizeof(void*)*1, x_11); x_38 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_26); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_37); x_39 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_28); -x_40 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__9; -x_41 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_39, 1, x_27); +x_40 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_29); +x_41 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__9; x_42 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_32); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_33); if (x_5 == 0) { -lean_object* x_154; -x_154 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_43 = x_154; -goto block_153; +lean_object* x_167; +x_167 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_44 = x_167; +goto block_166; } else { -lean_object* x_155; -x_155 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_43 = x_155; -goto block_153; +lean_object* x_168; +x_168 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_44 = x_168; +goto block_166; } -block_153: +block_166: { -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; -x_44 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__7; -x_45 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_alloc_ctor(6, 1, 1); +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; +x_45 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__7; +x_46 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_46, 0, x_45); -lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_11); -x_47 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_11); x_48 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_26); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_47); x_49 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_28); -x_50 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__11; -x_51 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_49, 1, x_27); +x_50 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_29); +x_51 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__11; x_52 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_32); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); x_53 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_12); +lean_ctor_set(x_53, 1, x_33); x_54 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_26); +lean_ctor_set(x_54, 1, x_12); x_55 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_28); -x_56 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__14; -x_57 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_55, 1, x_27); +x_56 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_29); +x_57 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__14; x_58 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_32); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_33); if (x_13 == 0) { -lean_object* x_151; -x_151 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_59 = x_151; -goto block_150; +lean_object* x_164; +x_164 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_60 = x_164; +goto block_163; } else { -lean_object* x_152; -x_152 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_59 = x_152; -goto block_150; +lean_object* x_165; +x_165 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_60 = x_165; +goto block_163; } -block_150: +block_163: { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_60 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_60, 0, x_21); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set_uint8(x_61, sizeof(void*)*1, x_11); -x_62 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_62, 0, x_58); -lean_ctor_set(x_62, 1, x_61); +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_61 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_61, 0, x_22); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set_uint8(x_62, sizeof(void*)*1, x_11); x_63 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_26); +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_62); x_64 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_28); -x_65 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__16; -x_66 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_64, 1, x_27); +x_65 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_29); +x_66 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__16; x_67 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_32); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_33); if (x_14 == 0) { -lean_object* x_148; -x_148 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_68 = x_148; -goto block_147; +lean_object* x_161; +x_161 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_69 = x_161; +goto block_160; } else { -lean_object* x_149; -x_149 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_68 = x_149; -goto block_147; +lean_object* x_162; +x_162 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_69 = x_162; +goto block_160; } -block_147: +block_160: { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_69 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_69, 0, x_21); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set_uint8(x_70, sizeof(void*)*1, x_11); -x_71 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_71, 0, x_67); -lean_ctor_set(x_71, 1, x_70); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_70 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_70, 0, x_22); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set_uint8(x_71, sizeof(void*)*1, x_11); x_72 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_26); +lean_ctor_set(x_72, 0, x_68); +lean_ctor_set(x_72, 1, x_71); x_73 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_28); -x_74 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__18; -x_75 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_73, 1, x_27); +x_74 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_29); +x_75 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__18; x_76 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_32); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_33); if (x_15 == 0) { -lean_object* x_145; -x_145 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_77 = x_145; -goto block_144; +lean_object* x_158; +x_158 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_78 = x_158; +goto block_157; } else { -lean_object* x_146; -x_146 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_77 = x_146; -goto block_144; +lean_object* x_159; +x_159 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_78 = x_159; +goto block_157; } -block_144: +block_157: { -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_78 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__19; -x_79 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_alloc_ctor(6, 1, 1); +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 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__19; +x_80 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_80, 0, x_79); -lean_ctor_set_uint8(x_80, sizeof(void*)*1, x_11); -x_81 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_81, 0, x_76); -lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_80, 1, x_78); +x_81 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set_uint8(x_81, sizeof(void*)*1, x_11); x_82 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_26); +lean_ctor_set(x_82, 0, x_77); +lean_ctor_set(x_82, 1, x_81); x_83 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_28); -x_84 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__21; -x_85 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_83, 1, x_27); +x_84 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_29); +x_85 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__21; x_86 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_32); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_33); if (x_16 == 0) { -lean_object* x_142; -x_142 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_87 = x_142; -goto block_141; +lean_object* x_155; +x_155 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_88 = x_155; +goto block_154; } else { -lean_object* x_143; -x_143 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_87 = x_143; -goto block_141; +lean_object* x_156; +x_156 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_88 = x_156; +goto block_154; } -block_141: +block_154: { -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; -x_88 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__22; -x_89 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -x_90 = lean_alloc_ctor(6, 1, 1); +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; +x_89 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__22; +x_90 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_90, 0, x_89); -lean_ctor_set_uint8(x_90, sizeof(void*)*1, x_11); -x_91 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_91, 0, x_86); -lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_90, 1, x_88); +x_91 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set_uint8(x_91, sizeof(void*)*1, x_11); x_92 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_26); +lean_ctor_set(x_92, 0, x_87); +lean_ctor_set(x_92, 1, x_91); x_93 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_28); -x_94 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__24; -x_95 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_93, 1, x_27); +x_94 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_29); +x_95 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__24; x_96 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_32); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_33); if (x_17 == 0) { -lean_object* x_139; -x_139 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_97 = x_139; -goto block_138; +lean_object* x_152; +x_152 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_98 = x_152; +goto block_151; } else { -lean_object* x_140; -x_140 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_97 = x_140; -goto block_138; +lean_object* x_153; +x_153 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_98 = x_153; +goto block_151; } -block_138: +block_151: { -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_98 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__25; -x_99 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = lean_alloc_ctor(6, 1, 1); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_99 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__25; +x_100 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_100, 0, x_99); -lean_ctor_set_uint8(x_100, sizeof(void*)*1, x_11); -x_101 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_101, 0, x_96); -lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_100, 1, x_98); +x_101 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set_uint8(x_101, sizeof(void*)*1, x_11); x_102 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_26); +lean_ctor_set(x_102, 0, x_97); +lean_ctor_set(x_102, 1, x_101); x_103 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_28); -x_104 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__27; -x_105 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); +lean_ctor_set(x_103, 1, x_27); +x_104 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_29); +x_105 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__27; x_106 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_32); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_33); if (x_18 == 0) { -lean_object* x_136; -x_136 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; -x_107 = x_136; -goto block_135; +lean_object* x_149; +x_149 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_108 = x_149; +goto block_148; } else { -lean_object* x_137; -x_137 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; -x_107 = x_137; -goto block_135; +lean_object* x_150; +x_150 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_108 = x_150; +goto block_148; } -block_135: +block_148: { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_108 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__28; -x_109 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -x_110 = lean_alloc_ctor(6, 1, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_109 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__28; +x_110 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_110, 0, x_109); -lean_ctor_set_uint8(x_110, sizeof(void*)*1, x_11); -x_111 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_111, 0, x_106); -lean_ctor_set(x_111, 1, x_110); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*1, x_11); x_112 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_26); +lean_ctor_set(x_112, 0, x_107); +lean_ctor_set(x_112, 1, x_111); x_113 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_28); -x_114 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__30; -x_115 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); +lean_ctor_set(x_113, 1, x_27); +x_114 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_29); +x_115 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__30; x_116 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_32); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_33); if (x_19 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_117 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33; -x_118 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -x_119 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__11; -x_120 = lean_alloc_ctor(5, 2, 0); +lean_object* x_146; +x_146 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_118 = x_146; +goto block_145; +} +else +{ +lean_object* x_147; +x_147 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; +x_118 = x_147; +goto block_145; +} +block_145: +{ +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_119 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_119, 0, x_9); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__13; +lean_ctor_set_uint8(x_120, sizeof(void*)*1, x_11); +x_121 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_121, 0, x_117); +lean_ctor_set(x_121, 1, x_120); x_122 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -x_123 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__10; -x_124 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set_uint8(x_125, sizeof(void*)*1, x_11); -return x_125; +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_27); +x_123 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_29); +x_124 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__32; +x_125 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_33); +if (x_20 == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_127 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36; +x_128 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +x_129 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__11; +x_130 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_128); +x_131 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__13; +x_132 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__10; +x_134 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_132); +x_135 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set_uint8(x_135, sizeof(void*)*1, x_11); +return x_135; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_126 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36; -x_127 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_127, 0, x_116); -lean_ctor_set(x_127, 1, x_126); -x_128 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__11; -x_129 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__13; -x_131 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__10; -x_133 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set_uint8(x_134, sizeof(void*)*1, x_11); -return x_134; +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_136 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__39; +x_137 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_137, 0, x_126); +lean_ctor_set(x_137, 1, x_136); +x_138 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__11; +x_139 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__13; +x_141 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +x_142 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__10; +x_143 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set_uint8(x_144, sizeof(void*)*1, x_11); +return x_144; +} } } } @@ -20488,7 +20556,7 @@ x_1 = l_Lean_Meta_instReprConfig___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__1() { _start: { lean_object* x_1; @@ -20496,33 +20564,33 @@ x_1 = lean_mk_string_unchecked("maxSteps", 8, 8); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____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___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__2; x_3 = lean_alloc_ctor(5, 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___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__3; x_2 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2362____rarg___closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20530,7 +20598,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -20539,7 +20607,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__6() { _start: { lean_object* x_1; @@ -20547,17 +20615,17 @@ x_1 = lean_mk_string_unchecked("maxDischargeDepth", 17, 17); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__6; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -20566,7 +20634,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__9() { _start: { lean_object* x_1; @@ -20574,17 +20642,17 @@ x_1 = lean_mk_string_unchecked("contextual", 10, 10); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__9; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__11() { _start: { lean_object* x_1; @@ -20592,17 +20660,17 @@ x_1 = lean_mk_string_unchecked("memoize", 7, 7); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__11; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -20611,7 +20679,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__14() { _start: { lean_object* x_1; @@ -20619,17 +20687,17 @@ x_1 = lean_mk_string_unchecked("singlePass", 10, 10); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__14; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__14; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16() { _start: { lean_object* x_1; @@ -20637,26 +20705,17 @@ x_1 = lean_mk_string_unchecked("arith", 5, 5); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(9u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18() { _start: { lean_object* x_1; @@ -20664,17 +20723,17 @@ x_1 = lean_mk_string_unchecked("dsimp", 5, 5); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__20() { _start: { lean_object* x_1; @@ -20682,35 +20741,17 @@ x_1 = lean_mk_string_unchecked("ground", 6, 6); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__21; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("index", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__20; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__22() { _start: { lean_object* x_1; @@ -20718,17 +20759,17 @@ x_1 = lean_mk_string_unchecked("implicitDefEqProofs", 19, 19); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__25; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__22; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -20737,23 +20778,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__28() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_3 = lean_alloc_ctor(4, 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___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__29() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__26() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__28; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__25; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -20761,23 +20802,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__30() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_3 = lean_alloc_ctor(4, 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___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__31() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__28() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__30; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__27; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -20785,7 +20826,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; @@ -20794,7 +20835,7 @@ lean_inc(x_3); x_4 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__5; +x_6 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__5; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -20802,7 +20843,7 @@ x_8 = 0; x_9 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__4; +x_10 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__4; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -20814,7 +20855,7 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__7; +x_16 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__7; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -20827,7 +20868,7 @@ lean_inc(x_20); x_21 = l___private_Init_Data_Repr_0__Nat_reprFast(x_20); x_22 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_22, 0, x_21); -x_23 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__8; +x_23 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__8; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -20843,7 +20884,7 @@ lean_ctor_set(x_27, 1, x_12); x_28 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_14); -x_29 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__10; +x_29 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__10; x_30 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -20882,14 +20923,14 @@ lean_dec(x_1); if (x_32 == 0) { lean_object* x_290; -x_290 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_290 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_56 = x_290; goto block_289; } else { lean_object* x_291; -x_291 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_291 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_56 = x_291; goto block_289; } @@ -20912,7 +20953,7 @@ lean_ctor_set(x_61, 1, x_12); x_62 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_14); -x_63 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__12; +x_63 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__12; x_64 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_64, 0, x_62); lean_ctor_set(x_64, 1, x_63); @@ -20922,21 +20963,21 @@ lean_ctor_set(x_65, 1, x_18); if (x_33 == 0) { lean_object* x_287; -x_287 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_287 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_66 = x_287; goto block_286; } else { lean_object* x_288; -x_288 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_288 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_66 = x_288; goto block_286; } block_286: { 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_67 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__13; +x_67 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__13; x_68 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); @@ -20952,7 +20993,7 @@ lean_ctor_set(x_71, 1, x_12); x_72 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_14); -x_73 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__15; +x_73 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__15; x_74 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); @@ -20962,14 +21003,14 @@ lean_ctor_set(x_75, 1, x_18); if (x_34 == 0) { lean_object* x_284; -x_284 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_284 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_76 = x_284; goto block_283; } else { lean_object* x_285; -x_285 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_285 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_76 = x_285; goto block_283; } @@ -21001,14 +21042,14 @@ lean_ctor_set(x_84, 1, x_18); if (x_35 == 0) { lean_object* x_281; -x_281 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_281 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_85 = x_281; goto block_280; } else { lean_object* x_282; -x_282 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_282 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_85 = x_282; goto block_280; } @@ -21041,14 +21082,14 @@ lean_ctor_set(x_94, 1, x_18); if (x_36 == 0) { lean_object* x_278; -x_278 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_278 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_95 = x_278; goto block_277; } else { lean_object* x_279; -x_279 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_279 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_95 = x_279; goto block_277; } @@ -21080,14 +21121,14 @@ lean_ctor_set(x_103, 1, x_18); if (x_37 == 0) { lean_object* x_275; -x_275 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_275 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_104 = x_275; goto block_274; } else { lean_object* x_276; -x_276 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_276 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_104 = x_276; goto block_274; } @@ -21136,14 +21177,14 @@ lean_ctor_set(x_119, 1, x_18); if (x_44 == 0) { lean_object* x_272; -x_272 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_272 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_120 = x_272; goto block_271; } else { lean_object* x_273; -x_273 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_273 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_120 = x_273; goto block_271; } @@ -21175,14 +21216,14 @@ lean_ctor_set(x_128, 1, x_18); if (x_45 == 0) { lean_object* x_269; -x_269 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_269 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_129 = x_269; goto block_268; } else { lean_object* x_270; -x_270 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_270 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_129 = x_270; goto block_268; } @@ -21214,14 +21255,14 @@ lean_ctor_set(x_137, 1, x_18); if (x_46 == 0) { lean_object* x_266; -x_266 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_266 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_138 = x_266; goto block_265; } else { lean_object* x_267; -x_267 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_267 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_138 = x_267; goto block_265; } @@ -21244,7 +21285,7 @@ lean_ctor_set(x_143, 1, x_12); x_144 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_14); -x_145 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__17; +x_145 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__17; x_146 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_146, 0, x_144); lean_ctor_set(x_146, 1, x_145); @@ -21254,21 +21295,21 @@ lean_ctor_set(x_147, 1, x_18); if (x_47 == 0) { lean_object* x_263; -x_263 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_263 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_148 = x_263; goto block_262; } else { lean_object* x_264; -x_264 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_264 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_148 = x_264; goto block_262; } block_262: { 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; -x_149 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__18; +x_149 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__33; x_150 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_150, 0, x_149); lean_ctor_set(x_150, 1, x_148); @@ -21294,14 +21335,14 @@ lean_ctor_set(x_157, 1, x_18); if (x_48 == 0) { lean_object* x_260; -x_260 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_260 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_158 = x_260; goto block_259; } else { lean_object* x_261; -x_261 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_261 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_158 = x_261; goto block_259; } @@ -21323,7 +21364,7 @@ lean_ctor_set(x_162, 1, x_12); x_163 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_163, 0, x_162); lean_ctor_set(x_163, 1, x_14); -x_164 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__20; +x_164 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__19; x_165 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_165, 0, x_163); lean_ctor_set(x_165, 1, x_164); @@ -21333,14 +21374,14 @@ lean_ctor_set(x_166, 1, x_18); if (x_49 == 0) { lean_object* x_257; -x_257 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_257 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_167 = x_257; goto block_256; } else { lean_object* x_258; -x_258 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_258 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_167 = x_258; goto block_256; } @@ -21372,14 +21413,14 @@ lean_ctor_set(x_175, 1, x_18); if (x_50 == 0) { lean_object* x_254; -x_254 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_254 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_176 = x_254; goto block_253; } else { lean_object* x_255; -x_255 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_255 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_176 = x_255; goto block_253; } @@ -21402,7 +21443,7 @@ lean_ctor_set(x_181, 1, x_12); x_182 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_182, 0, x_181); lean_ctor_set(x_182, 1, x_14); -x_183 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__22; +x_183 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__21; x_184 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_184, 0, x_182); lean_ctor_set(x_184, 1, x_183); @@ -21412,14 +21453,14 @@ lean_ctor_set(x_185, 1, x_18); if (x_51 == 0) { lean_object* x_251; -x_251 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_251 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_186 = x_251; goto block_250; } else { lean_object* x_252; -x_252 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_252 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_186 = x_252; goto block_250; } @@ -21451,14 +21492,14 @@ lean_ctor_set(x_194, 1, x_18); if (x_52 == 0) { lean_object* x_248; -x_248 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_248 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_195 = x_248; goto block_247; } else { lean_object* x_249; -x_249 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_249 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_195 = x_249; goto block_247; } @@ -21491,14 +21532,14 @@ lean_ctor_set(x_204, 1, x_18); if (x_53 == 0) { lean_object* x_245; -x_245 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_245 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_205 = x_245; goto block_244; } else { lean_object* x_246; -x_246 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_246 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_205 = x_246; goto block_244; } @@ -21520,7 +21561,7 @@ lean_ctor_set(x_209, 1, x_12); x_210 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_210, 0, x_209); lean_ctor_set(x_210, 1, x_14); -x_211 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__24; +x_211 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__32; x_212 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_212, 0, x_210); lean_ctor_set(x_212, 1, x_211); @@ -21530,14 +21571,14 @@ lean_ctor_set(x_213, 1, x_18); if (x_54 == 0) { lean_object* x_242; -x_242 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__31; +x_242 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; x_214 = x_242; goto block_241; } else { lean_object* x_243; -x_243 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__34; +x_243 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37; x_214 = x_243; goto block_241; } @@ -21559,7 +21600,7 @@ lean_ctor_set(x_218, 1, x_12); x_219 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_219, 0, x_218); lean_ctor_set(x_219, 1, x_14); -x_220 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__26; +x_220 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__23; x_221 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_221, 0, x_219); lean_ctor_set(x_221, 1, x_220); @@ -21569,7 +21610,7 @@ lean_ctor_set(x_222, 1, x_18); if (x_55 == 0) { 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; -x_223 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__29; +x_223 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__26; x_224 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_224, 0, x_222); lean_ctor_set(x_224, 1, x_223); @@ -21593,7 +21634,7 @@ return x_231; else { 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_232 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__31; +x_232 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__28; x_233 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_233, 0, x_222); lean_ctor_set(x_233, 1, x_232); @@ -21633,11 +21674,11 @@ return x_240; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -21646,7 +21687,7 @@ static lean_object* _init_l_Lean_Meta_instReprConfig__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____boxed), 2, 0); return x_1; } } @@ -22811,7 +22852,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_dsimpKind___closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -26552,7 +26593,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; x_2 = l_String_toSubstring_x27(x_1); return x_2; } @@ -26562,7 +26603,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -26574,7 +26615,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__2; x_3 = l_Lean_Parser_Tactic_tacticErw_______closed__1; -x_4 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; +x_4 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -29095,7 +29136,7 @@ x_1 = l_Lean_Parser_Tactic_simpAutoUnfold___closed__26; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -29124,7 +29165,7 @@ lean_ctor_set(x_20, 1, x_4); return x_20; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__1() { _start: { lean_object* x_1; @@ -29132,16 +29173,16 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Simp.Config", 21, 21); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__1; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3() { _start: { lean_object* x_1; @@ -29149,7 +29190,7 @@ x_1 = lean_mk_string_unchecked("Meta", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4() { _start: { lean_object* x_1; @@ -29157,7 +29198,7 @@ x_1 = lean_mk_string_unchecked("Simp", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5() { _start: { lean_object* x_1; @@ -29165,65 +29206,65 @@ x_1 = lean_mk_string_unchecked("Config", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3; -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4; -x_4 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4; +x_4 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__8; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__7; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__9; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -29232,7 +29273,7 @@ x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -29242,7 +29283,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -29304,12 +29345,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -29357,11 +29398,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -29428,7 +29469,7 @@ x_82 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_83 = l_Lean_Syntax_node2(x_12, x_82, x_75, x_81); x_84 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_83, x_38); -x_85 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_84, x_2, x_3); +x_85 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_84, x_2, x_3); lean_dec(x_2); return x_85; } @@ -29484,12 +29525,12 @@ lean_inc(x_90); x_107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_107, 0, x_90); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_108 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; lean_inc(x_91); lean_inc(x_92); x_109 = l_Lean_addMacroScope(x_92, x_108, x_91); -x_110 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; +x_110 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; lean_inc(x_90); x_112 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_112, 0, x_90); @@ -29537,11 +29578,11 @@ lean_ctor_set(x_128, 0, x_90); lean_ctor_set(x_128, 1, x_127); lean_inc(x_90); x_129 = l_Lean_Syntax_node2(x_90, x_113, x_126, x_128); -x_130 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_130 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_91); lean_inc(x_92); x_131 = l_Lean_addMacroScope(x_92, x_130, x_91); -x_132 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_132 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_90); x_133 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_133, 0, x_90); @@ -29593,17 +29634,17 @@ x_155 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_90); x_156 = l_Lean_Syntax_node2(x_90, x_155, x_153, x_154); x_157 = l_Lean_Syntax_node5(x_90, x_8, x_94, x_96, x_98, x_156, x_116); -x_158 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_157, x_2, x_3); +x_158 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_157, x_2, x_3); lean_dec(x_2); return x_158; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -29740,26 +29781,26 @@ x_1 = l_Lean_Parser_Tactic_simpArith___closed__10; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -29768,7 +29809,7 @@ x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -29778,7 +29819,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__5() { _start: { lean_object* x_1; @@ -29786,41 +29827,41 @@ x_1 = lean_mk_string_unchecked("Decidable", 9, 9); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__5; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__5; x_2 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__17; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -29882,12 +29923,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -29935,11 +29976,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -29972,10 +30013,10 @@ lean_inc(x_12); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_12); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_68 = l_Lean_addMacroScope(x_14, x_67, x_13); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_12); x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_12); @@ -30030,7 +30071,7 @@ x_91 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_92 = l_Lean_Syntax_node2(x_12, x_91, x_84, x_90); x_93 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_92, x_38); -x_94 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_93, x_2, x_3); +x_94 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_93, x_2, x_3); lean_dec(x_2); return x_94; } @@ -30086,12 +30127,12 @@ lean_inc(x_99); x_116 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_116, 0, x_99); lean_ctor_set(x_116, 1, x_115); -x_117 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_117 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; lean_inc(x_100); lean_inc(x_101); x_118 = l_Lean_addMacroScope(x_101, x_117, x_100); -x_119 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; -x_120 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; +x_119 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; +x_120 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; lean_inc(x_99); x_121 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_121, 0, x_99); @@ -30139,11 +30180,11 @@ lean_ctor_set(x_137, 0, x_99); lean_ctor_set(x_137, 1, x_136); lean_inc(x_99); x_138 = l_Lean_Syntax_node2(x_99, x_122, x_135, x_137); -x_139 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_139 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_100); lean_inc(x_101); x_140 = l_Lean_addMacroScope(x_101, x_139, x_100); -x_141 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_141 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_99); x_142 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_142, 0, x_99); @@ -30176,10 +30217,10 @@ lean_inc(x_99); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_99); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_154 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_155 = l_Lean_addMacroScope(x_101, x_154, x_100); -x_156 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_156 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_99); x_158 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_158, 0, x_99); @@ -30219,7 +30260,7 @@ x_173 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_99); x_174 = l_Lean_Syntax_node2(x_99, x_173, x_171, x_172); x_175 = l_Lean_Syntax_node5(x_99, x_8, x_103, x_105, x_107, x_174, x_125); -x_176 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_175, x_2, x_3); +x_176 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_175, x_2, x_3); lean_dec(x_2); return x_176; } @@ -30357,7 +30398,7 @@ x_1 = l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__10; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17794_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17814_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -30419,12 +30460,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -30472,11 +30513,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -30509,11 +30550,11 @@ lean_inc(x_12); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_12); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_13); lean_inc(x_14); x_68 = l_Lean_addMacroScope(x_14, x_67, x_13); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_12); x_70 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_70, 0, x_12); @@ -30527,10 +30568,10 @@ lean_inc(x_62); lean_inc(x_20); lean_inc(x_12); x_72 = l_Lean_Syntax_node3(x_12, x_63, x_71, x_20, x_62); -x_73 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_73 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_74 = l_Lean_addMacroScope(x_14, x_73, x_13); -x_75 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_76 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_75 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_76 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_12); x_77 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_77, 0, x_12); @@ -30586,7 +30627,7 @@ x_97 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_98 = l_Lean_Syntax_node2(x_12, x_97, x_90, x_96); x_99 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_98, x_38); -x_100 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_99, x_2, x_3); +x_100 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_99, x_2, x_3); lean_dec(x_2); return x_100; } @@ -30642,12 +30683,12 @@ lean_inc(x_105); x_122 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_122, 0, x_105); lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6; +x_123 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6; lean_inc(x_106); lean_inc(x_107); x_124 = l_Lean_addMacroScope(x_107, x_123, x_106); -x_125 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2; -x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10; +x_125 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2; +x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10; lean_inc(x_105); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_105); @@ -30695,11 +30736,11 @@ lean_ctor_set(x_143, 0, x_105); lean_ctor_set(x_143, 1, x_142); lean_inc(x_105); x_144 = l_Lean_Syntax_node2(x_105, x_128, x_141, x_143); -x_145 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_145 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_106); lean_inc(x_107); x_146 = l_Lean_addMacroScope(x_107, x_145, x_106); -x_147 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_147 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_105); x_148 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_148, 0, x_105); @@ -30732,11 +30773,11 @@ lean_inc(x_105); x_159 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_159, 0, x_105); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_160 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_106); lean_inc(x_107); x_161 = l_Lean_addMacroScope(x_107, x_160, x_106); -x_162 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_162 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_105); x_163 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_163, 0, x_105); @@ -30750,10 +30791,10 @@ lean_inc(x_155); lean_inc(x_113); lean_inc(x_105); x_165 = l_Lean_Syntax_node3(x_105, x_156, x_164, x_113, x_155); -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_167 = l_Lean_addMacroScope(x_107, x_166, x_106); -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_169 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_169 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_105); x_170 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_170, 0, x_105); @@ -30794,7 +30835,7 @@ x_185 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_105); x_186 = l_Lean_Syntax_node2(x_105, x_185, x_183, x_184); x_187 = l_Lean_Syntax_node5(x_105, x_8, x_109, x_111, x_113, x_186, x_131); -x_188 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____lambda__1(x_1, x_187, x_2, x_3); +x_188 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____lambda__1(x_1, x_187, x_2, x_3); lean_dec(x_2); return x_188; } @@ -30974,7 +31015,7 @@ x_1 = l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -30982,7 +31023,7 @@ x_1 = lean_mk_string_unchecked("simp_all", 8, 8); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -30990,7 +31031,7 @@ x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tact x_6 = l_Lean_Syntax_setKind(x_1, x_5); x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_6, x_7); -x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___closed__1; +x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___closed__1; x_10 = 1; x_11 = l_Lean_mkAtomFrom(x_8, x_9, x_10); lean_dec(x_8); @@ -31011,7 +31052,7 @@ lean_ctor_set(x_20, 1, x_4); return x_20; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__1() { _start: { lean_object* x_1; @@ -31019,16 +31060,16 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Simp.ConfigCtx", 24, 24); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__1; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__3() { _start: { lean_object* x_1; @@ -31036,65 +31077,65 @@ x_1 = lean_mk_string_unchecked("ConfigCtx", 9, 9); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3; -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4; -x_4 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__3; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4; +x_4 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____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_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__5; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__7; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -31156,12 +31197,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -31209,11 +31250,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -31280,7 +31321,7 @@ x_82 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_83 = l_Lean_Syntax_node2(x_12, x_82, x_75, x_81); x_84 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_83, x_38); -x_85 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_84, x_2, x_3); +x_85 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_84, x_2, x_3); lean_dec(x_2); return x_85; } @@ -31336,12 +31377,12 @@ lean_inc(x_90); x_107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_107, 0, x_90); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_108 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; lean_inc(x_91); lean_inc(x_92); x_109 = l_Lean_addMacroScope(x_92, x_108, x_91); -x_110 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; +x_110 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; lean_inc(x_90); x_112 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_112, 0, x_90); @@ -31389,11 +31430,11 @@ lean_ctor_set(x_128, 0, x_90); lean_ctor_set(x_128, 1, x_127); lean_inc(x_90); x_129 = l_Lean_Syntax_node2(x_90, x_113, x_126, x_128); -x_130 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_130 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_91); lean_inc(x_92); x_131 = l_Lean_addMacroScope(x_92, x_130, x_91); -x_132 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_132 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_90); x_133 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_133, 0, x_90); @@ -31445,17 +31486,17 @@ x_155 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_90); x_156 = l_Lean_Syntax_node2(x_90, x_155, x_153, x_154); x_157 = l_Lean_Syntax_node5(x_90, x_8, x_94, x_96, x_98, x_156, x_116); -x_158 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_157, x_2, x_3); +x_158 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_157, x_2, x_3); lean_dec(x_2); return x_158; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -31578,7 +31619,7 @@ x_1 = l_Lean_Parser_Tactic_simpAllArith___closed__9; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19572_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19592_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -31640,12 +31681,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -31693,11 +31734,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -31730,10 +31771,10 @@ lean_inc(x_12); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_12); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_68 = l_Lean_addMacroScope(x_14, x_67, x_13); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_12); x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_12); @@ -31788,7 +31829,7 @@ x_91 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_92 = l_Lean_Syntax_node2(x_12, x_91, x_84, x_90); x_93 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_92, x_38); -x_94 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_93, x_2, x_3); +x_94 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_93, x_2, x_3); lean_dec(x_2); return x_94; } @@ -31844,12 +31885,12 @@ lean_inc(x_99); x_116 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_116, 0, x_99); lean_ctor_set(x_116, 1, x_115); -x_117 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_117 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; lean_inc(x_100); lean_inc(x_101); x_118 = l_Lean_addMacroScope(x_101, x_117, x_100); -x_119 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; -x_120 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; +x_119 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; +x_120 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; lean_inc(x_99); x_121 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_121, 0, x_99); @@ -31897,11 +31938,11 @@ lean_ctor_set(x_137, 0, x_99); lean_ctor_set(x_137, 1, x_136); lean_inc(x_99); x_138 = l_Lean_Syntax_node2(x_99, x_122, x_135, x_137); -x_139 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_139 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_100); lean_inc(x_101); x_140 = l_Lean_addMacroScope(x_101, x_139, x_100); -x_141 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_141 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_99); x_142 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_142, 0, x_99); @@ -31934,10 +31975,10 @@ lean_inc(x_99); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_99); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_154 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_155 = l_Lean_addMacroScope(x_101, x_154, x_100); -x_156 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_156 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_99); x_158 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_158, 0, x_99); @@ -31977,7 +32018,7 @@ x_173 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_99); x_174 = l_Lean_Syntax_node2(x_99, x_173, x_171, x_172); x_175 = l_Lean_Syntax_node5(x_99, x_8, x_103, x_105, x_107, x_174, x_125); -x_176 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_175, x_2, x_3); +x_176 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_175, x_2, x_3); lean_dec(x_2); return x_176; } @@ -32101,7 +32142,7 @@ x_1 = l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__9; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20460_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20480_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -32163,12 +32204,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -32216,11 +32257,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -32253,11 +32294,11 @@ lean_inc(x_12); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_12); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_67 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_13); lean_inc(x_14); x_68 = l_Lean_addMacroScope(x_14, x_67, x_13); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_12); x_70 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_70, 0, x_12); @@ -32271,10 +32312,10 @@ lean_inc(x_62); lean_inc(x_20); lean_inc(x_12); x_72 = l_Lean_Syntax_node3(x_12, x_63, x_71, x_20, x_62); -x_73 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_73 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_74 = l_Lean_addMacroScope(x_14, x_73, x_13); -x_75 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_76 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_75 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_76 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_12); x_77 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_77, 0, x_12); @@ -32330,7 +32371,7 @@ x_97 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_98 = l_Lean_Syntax_node2(x_12, x_97, x_90, x_96); x_99 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_98, x_38); -x_100 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_99, x_2, x_3); +x_100 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_99, x_2, x_3); lean_dec(x_2); return x_100; } @@ -32386,12 +32427,12 @@ lean_inc(x_105); x_122 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_122, 0, x_105); lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4; +x_123 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4; lean_inc(x_106); lean_inc(x_107); x_124 = l_Lean_addMacroScope(x_107, x_123, x_106); -x_125 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2; -x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8; +x_125 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2; +x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8; lean_inc(x_105); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_105); @@ -32439,11 +32480,11 @@ lean_ctor_set(x_143, 0, x_105); lean_ctor_set(x_143, 1, x_142); lean_inc(x_105); x_144 = l_Lean_Syntax_node2(x_105, x_128, x_141, x_143); -x_145 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2; +x_145 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2; lean_inc(x_106); lean_inc(x_107); x_146 = l_Lean_addMacroScope(x_107, x_145, x_106); -x_147 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1; +x_147 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1; lean_inc(x_105); x_148 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_148, 0, x_105); @@ -32476,11 +32517,11 @@ lean_inc(x_105); x_159 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_159, 0, x_105); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_160 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_106); lean_inc(x_107); x_161 = l_Lean_addMacroScope(x_107, x_160, x_106); -x_162 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_162 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_105); x_163 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_163, 0, x_105); @@ -32494,10 +32535,10 @@ lean_inc(x_155); lean_inc(x_113); lean_inc(x_105); x_165 = l_Lean_Syntax_node3(x_105, x_156, x_164, x_113, x_155); -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4; x_167 = l_Lean_addMacroScope(x_107, x_166, x_106); -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3; -x_169 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3; +x_169 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8; lean_inc(x_105); x_170 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_170, 0, x_105); @@ -32538,7 +32579,7 @@ x_185 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_105); x_186 = l_Lean_Syntax_node2(x_105, x_185, x_183, x_184); x_187 = l_Lean_Syntax_node5(x_105, x_8, x_109, x_111, x_113, x_186, x_131); -x_188 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1(x_1, x_187, x_2, x_3); +x_188 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1(x_1, x_187, x_2, x_3); lean_dec(x_2); return x_188; } @@ -32676,7 +32717,7 @@ x_1 = l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -32684,7 +32725,7 @@ x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tact x_6 = l_Lean_Syntax_setKind(x_1, x_5); x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_6, x_7); -x_9 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19; +x_9 = l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18; x_10 = 1; x_11 = l_Lean_mkAtomFrom(x_8, x_9, x_10); lean_dec(x_8); @@ -32705,7 +32746,7 @@ lean_ctor_set(x_20, 1, x_4); return x_20; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__1() { _start: { lean_object* x_1; @@ -32713,16 +32754,16 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.DSimp.Config", 22, 22); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__1; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__3() { _start: { lean_object* x_1; @@ -32730,65 +32771,65 @@ x_1 = lean_mk_string_unchecked("DSimp", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3; -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__3; -x_4 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__3; +x_4 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__5; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__7; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -32850,12 +32891,12 @@ lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8; lean_inc(x_12); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_12); @@ -32903,11 +32944,11 @@ lean_ctor_set(x_50, 0, x_12); lean_ctor_set(x_50, 1, x_49); lean_inc(x_12); x_51 = l_Lean_Syntax_node2(x_12, x_35, x_48, x_50); -x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_52 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_13); lean_inc(x_14); x_53 = l_Lean_addMacroScope(x_14, x_52, x_13); -x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_54 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_12); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_12); @@ -32974,7 +33015,7 @@ x_82 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_12); x_83 = l_Lean_Syntax_node2(x_12, x_82, x_75, x_81); x_84 = l_Lean_Syntax_node5(x_12, x_8, x_16, x_18, x_20, x_83, x_38); -x_85 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1(x_1, x_84, x_2, x_3); +x_85 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1(x_1, x_84, x_2, x_3); lean_dec(x_2); return x_85; } @@ -33030,12 +33071,12 @@ lean_inc(x_90); x_107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_107, 0, x_90); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4; +x_108 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4; lean_inc(x_91); lean_inc(x_92); x_109 = l_Lean_addMacroScope(x_92, x_108, x_91); -x_110 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2; -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8; +x_110 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8; lean_inc(x_90); x_112 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_112, 0, x_90); @@ -33083,11 +33124,11 @@ lean_ctor_set(x_128, 0, x_90); lean_ctor_set(x_128, 1, x_127); lean_inc(x_90); x_129 = l_Lean_Syntax_node2(x_90, x_113, x_126, x_128); -x_130 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12; +x_130 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12; lean_inc(x_91); lean_inc(x_92); x_131 = l_Lean_addMacroScope(x_92, x_130, x_91); -x_132 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11; +x_132 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11; lean_inc(x_90); x_133 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_133, 0, x_90); @@ -33139,17 +33180,17 @@ x_155 = l_Lean_Syntax_mkApp___closed__2; lean_inc(x_90); x_156 = l_Lean_Syntax_node2(x_90, x_155, x_153, x_154); x_157 = l_Lean_Syntax_node5(x_90, x_8, x_94, x_96, x_98, x_156, x_116); -x_158 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1(x_1, x_157, x_2, x_3); +x_158 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1(x_1, x_157, x_2, x_3); lean_dec(x_2); return x_158; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -33879,72 +33920,72 @@ l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____cl lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__35); l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36(); lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__36); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__37); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__38 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__38(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__38); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__39 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__39(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11730____closed__39); l_Lean_Meta_instReprConfig___closed__1 = _init_l_Lean_Meta_instReprConfig___closed__1(); lean_mark_persistent(l_Lean_Meta_instReprConfig___closed__1); l_Lean_Meta_instReprConfig = _init_l_Lean_Meta_instReprConfig(); lean_mark_persistent(l_Lean_Meta_instReprConfig); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__1); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__2); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__3); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__4); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__5); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__6); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__7); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__8); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__9); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__10); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__11); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__12); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__13); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__14); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__15); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__16); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__17); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__18); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__19); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__20); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__21); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__22); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__23); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__24); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__25); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__26); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__27); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__28(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__28); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__29(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__29); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__30 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__30(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__30); -l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__31 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__31(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11968____closed__31); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__1); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__2); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__3); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__4); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__5); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__6); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__7); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__8); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__9); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__10); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__11); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__12); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__13); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__14); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__15); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__16); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__17); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__18); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__19); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__20); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__21); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__22); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__23); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__24); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__25); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__26); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__27); +l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__28(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprConfig____x40_Init_Meta___hyg_11988____closed__28); l_Lean_Meta_instReprConfig__1___closed__1 = _init_l_Lean_Meta_instReprConfig__1___closed__1(); lean_mark_persistent(l_Lean_Meta_instReprConfig__1___closed__1); l_Lean_Meta_instReprConfig__1 = _init_l_Lean_Meta_instReprConfig__1(); @@ -34702,30 +34743,30 @@ l_Lean_Parser_Tactic_simpAutoUnfold___closed__26 = _init_l_Lean_Parser_Tactic_si lean_mark_persistent(l_Lean_Parser_Tactic_simpAutoUnfold___closed__26); l_Lean_Parser_Tactic_simpAutoUnfold = _init_l_Lean_Parser_Tactic_simpAutoUnfold(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAutoUnfold); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__8); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__9); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__10); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__11); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16090____closed__12); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__9); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__10); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__11); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16110____closed__12); l_Lean_Parser_Tactic_simpArith___closed__1 = _init_l_Lean_Parser_Tactic_simpArith___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpArith___closed__1); l_Lean_Parser_Tactic_simpArith___closed__2 = _init_l_Lean_Parser_Tactic_simpArith___closed__2(); @@ -34748,22 +34789,22 @@ l_Lean_Parser_Tactic_simpArith___closed__10 = _init_l_Lean_Parser_Tactic_simpAri lean_mark_persistent(l_Lean_Parser_Tactic_simpArith___closed__10); l_Lean_Parser_Tactic_simpArith = _init_l_Lean_Parser_Tactic_simpArith(); lean_mark_persistent(l_Lean_Parser_Tactic_simpArith); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16896____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16916____closed__8); l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1 = _init_l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1); l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__2 = _init_l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__2(); @@ -34814,24 +34855,24 @@ l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13); l_Lean_Parser_Tactic_simpAllAutoUnfold = _init_l_Lean_Parser_Tactic_simpAllAutoUnfold(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAllAutoUnfold); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____lambda__1___closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18776____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____lambda__1___closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18796____closed__8); l_Lean_Parser_Tactic_simpAllArith___closed__1 = _init_l_Lean_Parser_Tactic_simpAllArith___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAllArith___closed__1); l_Lean_Parser_Tactic_simpAllArith___closed__2 = _init_l_Lean_Parser_Tactic_simpAllArith___closed__2(); @@ -34894,22 +34935,22 @@ l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10 = _init_l_Lean_Parser_Tactic_d lean_mark_persistent(l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10); l_Lean_Parser_Tactic_dsimpAutoUnfold = _init_l_Lean_Parser_Tactic_dsimpAutoUnfold(); lean_mark_persistent(l_Lean_Parser_Tactic_dsimpAutoUnfold); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21432____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21452____closed__8); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/MetaTypes.c b/stage0/stdlib/Init/MetaTypes.c index 8ad3af049dd3..e043d7a9808d 100644 --- a/stage0/stdlib/Init/MetaTypes.c +++ b/stage0/stdlib/Init/MetaTypes.c @@ -14,7 +14,8 @@ extern "C" { #endif static lean_object* l_Lean_Meta_Simp_neutralConfig___closed__1; -LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_246_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_256_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedNameGenerator; LEAN_EXPORT uint8_t l_Lean_Meta_instInhabitedEtaStructMode; LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_beqEtaStructMode____x40_Init_MetaTypes___hyg_104____boxed(lean_object*, lean_object*); @@ -23,10 +24,12 @@ LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_failIfUnchanged___default; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_toCtorIdx___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_zeta___default; +LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_719_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameGenerator_idx___default; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Config_maxDischargeDepth___default; -LEAN_EXPORT uint8_t l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_autoUnfold___default; +LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_index___default; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_implicitDefEqProofs___default; static lean_object* l_Lean_NameGenerator_namePrefix___default___closed__2; static lean_object* l_Lean_Meta_instBEqTransparencyMode___closed__1; @@ -38,13 +41,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_proj___default; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_neutralConfig; -LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_693_(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_contextual___default; +LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_instInhabitedConfig___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_etaStruct___default; +LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_719____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_memoize___default; -LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____boxed(lean_object*, lean_object*); static lean_object* l_Lean_NameGenerator_namePrefix___default___closed__1; +LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_256____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqEtaStructMode____x40_Init_MetaTypes___hyg_104_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_instBEqOccurrences___closed__1; @@ -56,17 +60,15 @@ LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___lambd LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_index___default; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_autoUnfold___default; -LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_arith___default; static lean_object* l_Lean_Meta_DSimp_instBEqConfig___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedConfig; LEAN_EXPORT uint8_t l_Lean_Meta_instInhabitedTransparencyMode; static lean_object* l_Lean_Meta_instBEqEtaStructMode___closed__1; static lean_object* l_Lean_instInhabitedNameGenerator___closed__1; +LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_toCtorIdx(uint8_t); LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_zetaDelta___default; -LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_693____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqOccurrences; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_decide___default; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_dsimp___default; @@ -97,7 +99,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_toCtorIdx___boxed(lean_object LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_failIfUnchanged___default; static lean_object* l_Lean_Meta_DSimp_instInhabitedConfig___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_246____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_beta___default; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* _init_l_Lean_NameGenerator_namePrefix___default___closed__1() { @@ -496,13 +497,21 @@ x_1 = 0; return x_1; } } +static uint8_t _init_l_Lean_Meta_DSimp_Config_index___default() { +_start: +{ +uint8_t x_1; +x_1 = 1; +return x_1; +} +} static lean_object* _init_l_Lean_Meta_DSimp_instInhabitedConfig___closed__1() { _start: { uint8_t x_1; uint8_t x_2; lean_object* x_3; x_1 = 0; x_2 = 0; -x_3 = lean_alloc_ctor(0, 0, 11); +x_3 = lean_alloc_ctor(0, 0, 12); lean_ctor_set_uint8(x_3, 0, x_1); lean_ctor_set_uint8(x_3, 1, x_1); lean_ctor_set_uint8(x_3, 2, x_1); @@ -514,6 +523,7 @@ lean_ctor_set_uint8(x_3, 7, x_1); lean_ctor_set_uint8(x_3, 8, x_1); lean_ctor_set_uint8(x_3, 9, x_1); lean_ctor_set_uint8(x_3, 10, x_1); +lean_ctor_set_uint8(x_3, 11, x_1); return x_3; } } @@ -525,10 +535,10 @@ x_1 = l_Lean_Meta_DSimp_instInhabitedConfig___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_246_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_256_(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_30; uint8_t x_37; uint8_t x_44; uint8_t x_51; uint8_t x_58; uint8_t x_65; uint8_t x_74; uint8_t x_81; +uint8_t x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_32; uint8_t x_39; uint8_t x_46; uint8_t x_53; uint8_t x_60; uint8_t x_67; uint8_t x_74; uint8_t x_83; uint8_t x_90; x_3 = lean_ctor_get_uint8(x_1, 0); x_4 = lean_ctor_get_uint8(x_1, 1); x_5 = lean_ctor_get_uint8(x_1, 2); @@ -540,324 +550,316 @@ x_10 = lean_ctor_get_uint8(x_1, 7); x_11 = lean_ctor_get_uint8(x_1, 8); x_12 = lean_ctor_get_uint8(x_1, 9); x_13 = lean_ctor_get_uint8(x_1, 10); -x_14 = lean_ctor_get_uint8(x_2, 0); -x_15 = lean_ctor_get_uint8(x_2, 1); -x_16 = lean_ctor_get_uint8(x_2, 2); -x_17 = lean_ctor_get_uint8(x_2, 3); -x_18 = lean_ctor_get_uint8(x_2, 4); -x_19 = lean_ctor_get_uint8(x_2, 5); -x_20 = lean_ctor_get_uint8(x_2, 6); -x_21 = lean_ctor_get_uint8(x_2, 7); -x_22 = lean_ctor_get_uint8(x_2, 8); -x_23 = lean_ctor_get_uint8(x_2, 9); -x_24 = lean_ctor_get_uint8(x_2, 10); +x_14 = lean_ctor_get_uint8(x_1, 11); +x_15 = lean_ctor_get_uint8(x_2, 0); +x_16 = lean_ctor_get_uint8(x_2, 1); +x_17 = lean_ctor_get_uint8(x_2, 2); +x_18 = lean_ctor_get_uint8(x_2, 3); +x_19 = lean_ctor_get_uint8(x_2, 4); +x_20 = lean_ctor_get_uint8(x_2, 5); +x_21 = lean_ctor_get_uint8(x_2, 6); +x_22 = lean_ctor_get_uint8(x_2, 7); +x_23 = lean_ctor_get_uint8(x_2, 8); +x_24 = lean_ctor_get_uint8(x_2, 9); +x_25 = lean_ctor_get_uint8(x_2, 10); +x_26 = lean_ctor_get_uint8(x_2, 11); if (x_3 == 0) { -if (x_14 == 0) +if (x_15 == 0) { -uint8_t x_88; -x_88 = 1; -x_81 = x_88; -goto block_87; +uint8_t x_97; +x_97 = 1; +x_90 = x_97; +goto block_96; } else { -uint8_t x_89; -x_89 = 0; -x_81 = x_89; -goto block_87; +uint8_t x_98; +x_98 = 0; +x_90 = x_98; +goto block_96; } } else { -if (x_14 == 0) +if (x_15 == 0) { -uint8_t x_90; -x_90 = 0; -x_81 = x_90; -goto block_87; +uint8_t x_99; +x_99 = 0; +x_90 = x_99; +goto block_96; } else { -uint8_t x_91; -x_91 = 1; -x_81 = x_91; -goto block_87; +uint8_t x_100; +x_100 = 1; +x_90 = x_100; +goto block_96; } } -block_29: +block_31: { -if (x_25 == 0) +if (x_27 == 0) { -uint8_t x_26; -x_26 = 0; -return x_26; +uint8_t x_28; +x_28 = 0; +return x_28; } else { -if (x_13 == 0) +if (x_14 == 0) { -if (x_24 == 0) +if (x_26 == 0) { -uint8_t x_27; -x_27 = 1; -return x_27; +uint8_t x_29; +x_29 = 1; +return x_29; } else { -uint8_t x_28; -x_28 = 0; -return x_28; +uint8_t x_30; +x_30 = 0; +return x_30; } } else { -return x_24; +return x_26; } } } -block_36: +block_38: { -if (x_30 == 0) +if (x_32 == 0) { -uint8_t x_31; -x_31 = 0; -return x_31; +uint8_t x_33; +x_33 = 0; +return x_33; } else { -if (x_12 == 0) +if (x_13 == 0) { -if (x_23 == 0) +if (x_25 == 0) { -uint8_t x_32; -x_32 = 1; -x_25 = x_32; -goto block_29; +uint8_t x_34; +x_34 = 1; +x_27 = x_34; +goto block_31; } else { -uint8_t x_33; -x_33 = 0; -x_25 = x_33; -goto block_29; +uint8_t x_35; +x_35 = 0; +x_27 = x_35; +goto block_31; } } else { -if (x_23 == 0) +if (x_25 == 0) { -uint8_t x_34; -x_34 = 0; -x_25 = x_34; -goto block_29; +uint8_t x_36; +x_36 = 0; +x_27 = x_36; +goto block_31; } else { -uint8_t x_35; -x_35 = 1; -x_25 = x_35; -goto block_29; +uint8_t x_37; +x_37 = 1; +x_27 = x_37; +goto block_31; } } } } -block_43: +block_45: { -if (x_37 == 0) +if (x_39 == 0) { -uint8_t x_38; -x_38 = 0; -return x_38; +uint8_t x_40; +x_40 = 0; +return x_40; } else { -if (x_11 == 0) +if (x_12 == 0) { -if (x_22 == 0) +if (x_24 == 0) { -uint8_t x_39; -x_39 = 1; -x_30 = x_39; -goto block_36; +uint8_t x_41; +x_41 = 1; +x_32 = x_41; +goto block_38; } else { -uint8_t x_40; -x_40 = 0; -x_30 = x_40; -goto block_36; +uint8_t x_42; +x_42 = 0; +x_32 = x_42; +goto block_38; } } else { -if (x_22 == 0) +if (x_24 == 0) { -uint8_t x_41; -x_41 = 0; -x_30 = x_41; -goto block_36; +uint8_t x_43; +x_43 = 0; +x_32 = x_43; +goto block_38; } else { -uint8_t x_42; -x_42 = 1; -x_30 = x_42; -goto block_36; +uint8_t x_44; +x_44 = 1; +x_32 = x_44; +goto block_38; } } } } -block_50: +block_52: { -if (x_44 == 0) +if (x_46 == 0) { -uint8_t x_45; -x_45 = 0; -return x_45; +uint8_t x_47; +x_47 = 0; +return x_47; } else { -if (x_10 == 0) +if (x_11 == 0) { -if (x_21 == 0) +if (x_23 == 0) { -uint8_t x_46; -x_46 = 1; -x_37 = x_46; -goto block_43; +uint8_t x_48; +x_48 = 1; +x_39 = x_48; +goto block_45; } else { -uint8_t x_47; -x_47 = 0; -x_37 = x_47; -goto block_43; +uint8_t x_49; +x_49 = 0; +x_39 = x_49; +goto block_45; } } else { -if (x_21 == 0) +if (x_23 == 0) { -uint8_t x_48; -x_48 = 0; -x_37 = x_48; -goto block_43; +uint8_t x_50; +x_50 = 0; +x_39 = x_50; +goto block_45; } else { -uint8_t x_49; -x_49 = 1; -x_37 = x_49; -goto block_43; +uint8_t x_51; +x_51 = 1; +x_39 = x_51; +goto block_45; } } } } -block_57: +block_59: { -if (x_51 == 0) +if (x_53 == 0) { -uint8_t x_52; -x_52 = 0; -return x_52; +uint8_t x_54; +x_54 = 0; +return x_54; } else { -if (x_9 == 0) +if (x_10 == 0) { -if (x_20 == 0) +if (x_22 == 0) { -uint8_t x_53; -x_53 = 1; -x_44 = x_53; -goto block_50; +uint8_t x_55; +x_55 = 1; +x_46 = x_55; +goto block_52; } else { -uint8_t x_54; -x_54 = 0; -x_44 = x_54; -goto block_50; +uint8_t x_56; +x_56 = 0; +x_46 = x_56; +goto block_52; } } else { -if (x_20 == 0) +if (x_22 == 0) { -uint8_t x_55; -x_55 = 0; -x_44 = x_55; -goto block_50; +uint8_t x_57; +x_57 = 0; +x_46 = x_57; +goto block_52; } else { -uint8_t x_56; -x_56 = 1; -x_44 = x_56; -goto block_50; +uint8_t x_58; +x_58 = 1; +x_46 = x_58; +goto block_52; } } } } -block_64: +block_66: { -if (x_58 == 0) +if (x_60 == 0) { -uint8_t x_59; -x_59 = 0; -return x_59; +uint8_t x_61; +x_61 = 0; +return x_61; } else { -if (x_8 == 0) +if (x_9 == 0) { -if (x_19 == 0) +if (x_21 == 0) { -uint8_t x_60; -x_60 = 1; -x_51 = x_60; -goto block_57; +uint8_t x_62; +x_62 = 1; +x_53 = x_62; +goto block_59; } else { -uint8_t x_61; -x_61 = 0; -x_51 = x_61; -goto block_57; +uint8_t x_63; +x_63 = 0; +x_53 = x_63; +goto block_59; } } else { -if (x_19 == 0) +if (x_21 == 0) { -uint8_t x_62; -x_62 = 0; -x_51 = x_62; -goto block_57; +uint8_t x_64; +x_64 = 0; +x_53 = x_64; +goto block_59; } else { -uint8_t x_63; -x_63 = 1; -x_51 = x_63; -goto block_57; +uint8_t x_65; +x_65 = 1; +x_53 = x_65; +goto block_59; } } } } block_73: { -if (x_65 == 0) -{ -uint8_t x_66; -x_66 = 0; -return x_66; -} -else -{ -uint8_t x_67; -x_67 = l___private_Init_MetaTypes_0__Lean_Meta_beqEtaStructMode____x40_Init_MetaTypes___hyg_104_(x_6, x_17); if (x_67 == 0) { uint8_t x_68; @@ -866,44 +868,43 @@ return x_68; } else { -if (x_7 == 0) +if (x_8 == 0) { -if (x_18 == 0) +if (x_20 == 0) { uint8_t x_69; x_69 = 1; -x_58 = x_69; -goto block_64; +x_60 = x_69; +goto block_66; } else { uint8_t x_70; x_70 = 0; -x_58 = x_70; -goto block_64; +x_60 = x_70; +goto block_66; } } else { -if (x_18 == 0) +if (x_20 == 0) { uint8_t x_71; x_71 = 0; -x_58 = x_71; -goto block_64; +x_60 = x_71; +goto block_66; } else { uint8_t x_72; x_72 = 1; -x_58 = x_72; -goto block_64; -} +x_60 = x_72; +goto block_66; } } } } -block_80: +block_82: { if (x_74 == 0) { @@ -913,95 +914,152 @@ return x_75; } else { -if (x_5 == 0) +uint8_t x_76; +x_76 = l___private_Init_MetaTypes_0__Lean_Meta_beqEtaStructMode____x40_Init_MetaTypes___hyg_104_(x_6, x_18); +if (x_76 == 0) { -if (x_16 == 0) +uint8_t x_77; +x_77 = 0; +return x_77; +} +else { -uint8_t x_76; -x_76 = 1; -x_65 = x_76; +if (x_7 == 0) +{ +if (x_19 == 0) +{ +uint8_t x_78; +x_78 = 1; +x_67 = x_78; goto block_73; } else { -uint8_t x_77; -x_77 = 0; -x_65 = x_77; +uint8_t x_79; +x_79 = 0; +x_67 = x_79; goto block_73; } } else { -if (x_16 == 0) +if (x_19 == 0) { -uint8_t x_78; -x_78 = 0; -x_65 = x_78; +uint8_t x_80; +x_80 = 0; +x_67 = x_80; goto block_73; } else { -uint8_t x_79; -x_79 = 1; -x_65 = x_79; +uint8_t x_81; +x_81 = 1; +x_67 = x_81; goto block_73; } } } } -block_87: +} +block_89: { -if (x_81 == 0) +if (x_83 == 0) { -uint8_t x_82; -x_82 = 0; -return x_82; +uint8_t x_84; +x_84 = 0; +return x_84; +} +else +{ +if (x_5 == 0) +{ +if (x_17 == 0) +{ +uint8_t x_85; +x_85 = 1; +x_74 = x_85; +goto block_82; +} +else +{ +uint8_t x_86; +x_86 = 0; +x_74 = x_86; +goto block_82; +} +} +else +{ +if (x_17 == 0) +{ +uint8_t x_87; +x_87 = 0; +x_74 = x_87; +goto block_82; +} +else +{ +uint8_t x_88; +x_88 = 1; +x_74 = x_88; +goto block_82; +} +} +} +} +block_96: +{ +if (x_90 == 0) +{ +uint8_t x_91; +x_91 = 0; +return x_91; } else { if (x_4 == 0) { -if (x_15 == 0) +if (x_16 == 0) { -uint8_t x_83; -x_83 = 1; -x_74 = x_83; -goto block_80; +uint8_t x_92; +x_92 = 1; +x_83 = x_92; +goto block_89; } else { -uint8_t x_84; -x_84 = 0; -x_74 = x_84; -goto block_80; +uint8_t x_93; +x_93 = 0; +x_83 = x_93; +goto block_89; } } else { -if (x_15 == 0) +if (x_16 == 0) { -uint8_t x_85; -x_85 = 0; -x_74 = x_85; -goto block_80; +uint8_t x_94; +x_94 = 0; +x_83 = x_94; +goto block_89; } else { -uint8_t x_86; -x_86 = 1; -x_74 = x_86; -goto block_80; +uint8_t x_95; +x_95 = 1; +x_83 = x_95; +goto block_89; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_246____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_256____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_246_(x_1, x_2); +x_3 = l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_256_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -1012,7 +1070,7 @@ static lean_object* _init_l_Lean_Meta_DSimp_instBEqConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_246____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_MetaTypes_0__Lean_Meta_DSimp_beqConfig____x40_Init_MetaTypes___hyg_256____boxed), 2, 0); return x_1; } } @@ -1240,7 +1298,7 @@ x_1 = l_Lean_Meta_Simp_instInhabitedConfig___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_693_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_719_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_50; uint8_t x_57; uint8_t x_64; uint8_t x_71; uint8_t x_78; uint8_t x_85; uint8_t x_92; uint8_t x_99; uint8_t x_106; uint8_t x_113; uint8_t x_120; uint8_t x_129; uint8_t x_136; uint8_t x_143; uint8_t x_150; uint8_t x_157; uint8_t x_164; @@ -2121,11 +2179,11 @@ goto block_156; } } } -LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_693____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_719____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_693_(x_1, x_2); +x_3 = l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_719_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2136,7 +2194,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instBEqConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_693____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_MetaTypes_0__Lean_Meta_Simp_beqConfig____x40_Init_MetaTypes___hyg_719____boxed), 2, 0); return x_1; } } @@ -2206,7 +2264,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT uint8_t l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2256,7 +2314,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158_(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_1)) { @@ -2282,7 +2340,7 @@ if (lean_obj_tag(x_2) == 1) lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_2, 0); -x_7 = l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1(x_5, x_6); +x_7 = l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1(x_5, x_6); return x_7; } else @@ -2299,7 +2357,7 @@ if (lean_obj_tag(x_2) == 2) lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = lean_ctor_get(x_1, 0); x_10 = lean_ctor_get(x_2, 0); -x_11 = l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1(x_9, x_10); +x_11 = l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1(x_9, x_10); return x_11; } else @@ -2312,22 +2370,22 @@ return x_12; } } } -LEAN_EXPORT lean_object* l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____spec__1(x_1, x_2); +x_3 = l_List_hasDecEq___at___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132_(x_1, x_2); +x_3 = l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2338,7 +2396,7 @@ static lean_object* _init_l_Lean_Meta_instBEqOccurrences___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158____boxed), 2, 0); return x_1; } } @@ -2394,6 +2452,7 @@ l_Lean_Meta_DSimp_Config_autoUnfold___default = _init_l_Lean_Meta_DSimp_Config_a l_Lean_Meta_DSimp_Config_failIfUnchanged___default = _init_l_Lean_Meta_DSimp_Config_failIfUnchanged___default(); l_Lean_Meta_DSimp_Config_unfoldPartialApp___default = _init_l_Lean_Meta_DSimp_Config_unfoldPartialApp___default(); l_Lean_Meta_DSimp_Config_zetaDelta___default = _init_l_Lean_Meta_DSimp_Config_zetaDelta___default(); +l_Lean_Meta_DSimp_Config_index___default = _init_l_Lean_Meta_DSimp_Config_index___default(); l_Lean_Meta_DSimp_instInhabitedConfig___closed__1 = _init_l_Lean_Meta_DSimp_instInhabitedConfig___closed__1(); lean_mark_persistent(l_Lean_Meta_DSimp_instInhabitedConfig___closed__1); l_Lean_Meta_DSimp_instInhabitedConfig = _init_l_Lean_Meta_DSimp_instInhabitedConfig(); diff --git a/stage0/stdlib/Init/WFTactics.c b/stage0/stdlib/Init/WFTactics.c index 25d092fba2b6..c1e4233b6e4d 100644 --- a/stage0/stdlib/Init/WFTactics.c +++ b/stage0/stdlib/Init/WFTactics.c @@ -17,19 +17,22 @@ static lean_object* l_tacticDecreasing__trivial__pre__omega___closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__11; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__61; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__2; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__62; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__59; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__39; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__69; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__60; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4; static lean_object* l_tacticSimp__wf___closed__1; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__14; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__29; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__26; static lean_object* l_tacticDecreasing__with_____closed__10; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__29; static lean_object* l_tacticDecreasing__tactic___closed__1; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__12; +static lean_object* l_tacticClean__wf___closed__5; LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_tacticSimp__wf___closed__4; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__21; @@ -37,6 +40,8 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1_ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__101; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__35; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__55; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__15; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__8; static lean_object* l_tacticDecreasing__with_____closed__8; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__3___closed__2; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__40; @@ -51,7 +56,6 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1_ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__20; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__7; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__74; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__14; static lean_object* l_tacticDecreasing__tactic___closed__2; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__19; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__3___closed__1; @@ -79,6 +83,7 @@ lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__97; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__52; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__2___closed__4; LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__16; @@ -93,7 +98,6 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__102; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__88; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__71; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__16; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__84; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__2; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); @@ -102,10 +106,12 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__3___closed__7; LEAN_EXPORT lean_object* l_tacticDecreasing__trivial; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__85; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__41; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__2; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__98; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__tactic__1___closed__2; +LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__79; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__28; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__25; @@ -119,7 +125,7 @@ lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__63; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__56; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__90; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__9; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__82; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__38; @@ -133,6 +139,7 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__10; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__23; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__2; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__18; @@ -154,6 +161,7 @@ lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__tactic__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__47; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9; static lean_object* l_tacticDecreasing__with_____closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__4; LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__3(lean_object*, lean_object*, lean_object*); @@ -176,6 +184,7 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__93; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__99; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__21; +LEAN_EXPORT lean_object* l_tacticClean__wf; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__26; LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__2(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__8; @@ -184,6 +193,8 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__tactic__1___closed__3; LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__28; +static lean_object* l_tacticClean__wf___closed__1; +static lean_object* l_tacticClean__wf___closed__4; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__103; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__tactic__1___closed__4; @@ -198,10 +209,9 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__3(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__5; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__10; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__7; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18; -lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__91; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2(lean_object*, lean_object*, lean_object*); @@ -220,14 +230,16 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__ static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__35; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___closed__1; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__12; +static lean_object* l_tacticClean__wf___closed__2; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__46; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__8; static lean_object* l_tacticDecreasing__trivial__pre__omega___closed__3; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__17; static lean_object* l_tacticDecreasing__with_____closed__6; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__38; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__5; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__73; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__16; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__22; static lean_object* l_tacticDecreasing__trivial__pre__omega___closed__4; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__13; @@ -235,21 +247,22 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1_ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__80; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__30; static lean_object* l_tacticDecreasing__trivial___closed__5; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__15; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__4; static lean_object* l_tacticDecreasing__trivial___closed__3; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__15; +static lean_object* l_tacticClean__wf___closed__3; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__72; static lean_object* l_tacticSimp__wf___closed__3; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__13; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__7; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__68; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__3___closed__8; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__27; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__14; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__7; static lean_object* l_tacticDecreasing__with_____closed__3; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__12; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__5; LEAN_EXPORT lean_object* l_tacticDecreasing__with__; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__3___closed__2; @@ -264,9 +277,10 @@ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1_ static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__77; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__6; static lean_object* l_tacticDecreasing__with_____closed__2; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3; static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__9; static lean_object* l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__64; -static lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11; +static lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11; LEAN_EXPORT lean_object* l_tacticSimp__wf; static lean_object* l_tacticDecreasing__tactic___closed__3; static lean_object* _init_l_tacticSimp__wf___closed__1() { @@ -1637,37 +1651,37 @@ return x_134; } } } -static lean_object* _init_l_tacticDecreasing__trivial___closed__1() { +static lean_object* _init_l_tacticClean__wf___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticDecreasing_trivial", 24, 24); +x_1 = lean_mk_string_unchecked("tacticClean_wf", 14, 14); return x_1; } } -static lean_object* _init_l_tacticDecreasing__trivial___closed__2() { +static lean_object* _init_l_tacticClean__wf___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_tacticDecreasing__trivial___closed__1; +x_2 = l_tacticClean__wf___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_tacticDecreasing__trivial___closed__3() { +static lean_object* _init_l_tacticClean__wf___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("decreasing_trivial", 18, 18); +x_1 = lean_mk_string_unchecked("clean_wf", 8, 8); return x_1; } } -static lean_object* _init_l_tacticDecreasing__trivial___closed__4() { +static lean_object* _init_l_tacticClean__wf___closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_tacticDecreasing__trivial___closed__3; +x_1 = l_tacticClean__wf___closed__3; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1675,13 +1689,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_tacticDecreasing__trivial___closed__5() { +static lean_object* _init_l_tacticClean__wf___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_tacticDecreasing__trivial___closed__2; +x_1 = l_tacticClean__wf___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_tacticDecreasing__trivial___closed__4; +x_3 = l_tacticClean__wf___closed__4; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1689,170 +1703,644 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_tacticDecreasing__trivial() { +static lean_object* _init_l_tacticClean__wf() { _start: { lean_object* x_1; -x_1 = l_tacticDecreasing__trivial___closed__5; +x_1 = l_tacticClean__wf___closed__5; return x_1; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__1() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tactic_<;>_", 11, 11); +x_1 = lean_mk_string_unchecked("failIfUnchanged", 15, 15); return x_1; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__2() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__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___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__1; -x_2 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__2; -x_3 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__3; -x_4 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__1; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("paren", 5, 5); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__4() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__1; -x_2 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__2; -x_3 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__3; -x_4 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__3; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("arith", 5, 5); +x_1 = lean_mk_string_unchecked("false", 5, 5); return x_1; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__6() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5; +x_1 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__7() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5; +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__8() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__7() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("failIfUnchanged", 15, 15); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__34; +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__8; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__8; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__10() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("false", 5, 5); +x_1 = lean_mk_string_unchecked("only", 4, 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("sizeOf_nat", 10, 10); return x_1; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__12() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11; +x_1 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__13() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11; +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__14() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__34; -x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__15() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__14; +x_2 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__16() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(15u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticClean__wf__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_tacticClean__wf___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 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; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_8 = lean_ctor_get(x_2, 5); +lean_inc(x_8); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +lean_dec(x_8); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__13; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__17; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__15; +lean_inc(x_10); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +x_19 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__18; +lean_inc(x_10); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_19); +x_21 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__22; +lean_inc(x_10); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_21); +x_23 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__12; +x_24 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__23; +lean_inc(x_10); +x_25 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_25, 0, x_10); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_25, 2, x_24); +x_26 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__30; +lean_inc(x_11); +lean_inc(x_12); +x_27 = l_Lean_addMacroScope(x_12, x_26, x_11); +x_28 = lean_box(0); +x_29 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__29; +lean_inc(x_10); +x_30 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_30, 0, x_10); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_27); +lean_ctor_set(x_30, 3, x_28); +x_31 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__27; +lean_inc(x_25); +lean_inc(x_10); +x_32 = l_Lean_Syntax_node2(x_10, x_31, x_30, x_25); +x_33 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__33; +lean_inc(x_11); +lean_inc(x_12); +x_34 = l_Lean_addMacroScope(x_12, x_33, x_11); +x_35 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__32; +x_36 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__37; +lean_inc(x_10); +x_37 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_37, 0, x_10); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_34); +lean_ctor_set(x_37, 3, x_36); +x_38 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__25; +lean_inc(x_37); +lean_inc(x_20); +lean_inc(x_10); +x_39 = l_Lean_Syntax_node3(x_10, x_38, x_32, x_20, x_37); +x_40 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__38; +lean_inc(x_10); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_10); +lean_ctor_set(x_41, 1, x_40); +x_42 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__41; +lean_inc(x_11); +lean_inc(x_12); +x_43 = l_Lean_addMacroScope(x_12, x_42, x_11); +x_44 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__40; +lean_inc(x_10); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_10); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +lean_ctor_set(x_45, 3, x_28); +lean_inc(x_25); +lean_inc(x_10); +x_46 = l_Lean_Syntax_node2(x_10, x_31, x_45, x_25); +lean_inc(x_20); +lean_inc(x_10); +x_47 = l_Lean_Syntax_node3(x_10, x_38, x_46, x_20, x_37); +x_48 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3; +lean_inc(x_11); +lean_inc(x_12); +x_49 = l_Lean_addMacroScope(x_12, x_48, x_11); +x_50 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__2; +lean_inc(x_10); +x_51 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_51, 0, x_10); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_51, 2, x_49); +lean_ctor_set(x_51, 3, x_28); +lean_inc(x_25); +lean_inc(x_10); +x_52 = l_Lean_Syntax_node2(x_10, x_31, x_51, x_25); +x_53 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6; +lean_inc(x_11); +lean_inc(x_12); +x_54 = l_Lean_addMacroScope(x_12, x_53, x_11); +x_55 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5; +x_56 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9; +lean_inc(x_10); +x_57 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_57, 0, x_10); +lean_ctor_set(x_57, 1, x_55); +lean_ctor_set(x_57, 2, x_54); +lean_ctor_set(x_57, 3, x_56); +lean_inc(x_20); +lean_inc(x_10); +x_58 = l_Lean_Syntax_node3(x_10, x_38, x_52, x_20, x_57); +lean_inc_n(x_41, 2); +lean_inc(x_10); +x_59 = l_Lean_Syntax_node5(x_10, x_23, x_39, x_41, x_47, x_41, x_58); +x_60 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__43; +lean_inc(x_25); +lean_inc(x_10); +x_61 = l_Lean_Syntax_node1(x_10, x_60, x_25); +x_62 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__44; +lean_inc(x_10); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_10); +lean_ctor_set(x_63, 1, x_62); +x_64 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__21; +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_65 = l_Lean_Syntax_node6(x_10, x_64, x_22, x_25, x_59, x_61, x_25, x_63); +x_66 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__45; +lean_inc(x_10); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_10); +lean_ctor_set(x_67, 1, x_66); +x_68 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__16; +lean_inc(x_10); +x_69 = l_Lean_Syntax_node5(x_10, x_68, x_16, x_18, x_20, x_65, x_67); +lean_inc(x_10); +x_70 = l_Lean_Syntax_node1(x_10, x_23, x_69); +x_71 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__10; +lean_inc(x_10); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_10); +lean_ctor_set(x_72, 1, x_71); +lean_inc(x_10); +x_73 = l_Lean_Syntax_node1(x_10, x_23, x_72); +x_74 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__46; +lean_inc(x_10); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_10); +lean_ctor_set(x_75, 1, x_74); +x_76 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__51; +lean_inc(x_11); +lean_inc(x_12); +x_77 = l_Lean_addMacroScope(x_12, x_76, x_11); +x_78 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__50; +x_79 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__55; +lean_inc(x_10); +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_10); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_79); +x_81 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__48; +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_82 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_80); +x_83 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__58; +lean_inc(x_11); +lean_inc(x_12); +x_84 = l_Lean_addMacroScope(x_12, x_83, x_11); +x_85 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__57; +x_86 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__62; +lean_inc(x_10); +x_87 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_87, 0, x_10); +lean_ctor_set(x_87, 1, x_85); +lean_ctor_set(x_87, 2, x_84); +lean_ctor_set(x_87, 3, x_86); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_88 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_87); +x_89 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__67; +lean_inc(x_11); +lean_inc(x_12); +x_90 = l_Lean_addMacroScope(x_12, x_89, x_11); +x_91 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__64; +x_92 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__71; +lean_inc(x_10); +x_93 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_93, 0, x_10); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_90); +lean_ctor_set(x_93, 3, x_92); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_94 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_93); +x_95 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__74; +lean_inc(x_11); +lean_inc(x_12); +x_96 = l_Lean_addMacroScope(x_12, x_95, x_11); +x_97 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__73; +x_98 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__78; +lean_inc(x_10); +x_99 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_99, 0, x_10); +lean_ctor_set(x_99, 1, x_97); +lean_ctor_set(x_99, 2, x_96); +lean_ctor_set(x_99, 3, x_98); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_100 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_99); +x_101 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__81; +lean_inc(x_11); +lean_inc(x_12); +x_102 = l_Lean_addMacroScope(x_12, x_101, x_11); +x_103 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__80; +x_104 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__85; +lean_inc(x_10); +x_105 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_105, 0, x_10); +lean_ctor_set(x_105, 1, x_103); +lean_ctor_set(x_105, 2, x_102); +lean_ctor_set(x_105, 3, x_104); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_106 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_105); +x_107 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__90; +lean_inc(x_11); +lean_inc(x_12); +x_108 = l_Lean_addMacroScope(x_12, x_107, x_11); +x_109 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__87; +x_110 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__94; +lean_inc(x_10); +x_111 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_111, 0, x_10); +lean_ctor_set(x_111, 1, x_109); +lean_ctor_set(x_111, 2, x_108); +lean_ctor_set(x_111, 3, x_110); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_112 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_111); +x_113 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__99; +lean_inc(x_11); +lean_inc(x_12); +x_114 = l_Lean_addMacroScope(x_12, x_113, x_11); +x_115 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__96; +x_116 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__101; +lean_inc(x_10); +x_117 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_117, 0, x_10); +lean_ctor_set(x_117, 1, x_115); +lean_ctor_set(x_117, 2, x_114); +lean_ctor_set(x_117, 3, x_116); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_118 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_117); +x_119 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13; +x_120 = l_Lean_addMacroScope(x_12, x_119, x_11); +x_121 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__12; +x_122 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__15; +lean_inc(x_10); +x_123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_123, 0, x_10); +lean_ctor_set(x_123, 1, x_121); +lean_ctor_set(x_123, 2, x_120); +lean_ctor_set(x_123, 3, x_122); +lean_inc_n(x_25, 2); +lean_inc(x_10); +x_124 = l_Lean_Syntax_node3(x_10, x_81, x_25, x_25, x_123); +x_125 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__16; +x_126 = lean_array_push(x_125, x_82); +lean_inc(x_41); +x_127 = lean_array_push(x_126, x_41); +x_128 = lean_array_push(x_127, x_88); +lean_inc(x_41); +x_129 = lean_array_push(x_128, x_41); +x_130 = lean_array_push(x_129, x_94); +lean_inc(x_41); +x_131 = lean_array_push(x_130, x_41); +x_132 = lean_array_push(x_131, x_100); +lean_inc(x_41); +x_133 = lean_array_push(x_132, x_41); +x_134 = lean_array_push(x_133, x_106); +lean_inc(x_41); +x_135 = lean_array_push(x_134, x_41); +x_136 = lean_array_push(x_135, x_112); +lean_inc(x_41); +x_137 = lean_array_push(x_136, x_41); +x_138 = lean_array_push(x_137, x_118); +x_139 = lean_array_push(x_138, x_41); +x_140 = lean_array_push(x_139, x_124); +lean_inc(x_10); +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_10); +lean_ctor_set(x_141, 1, x_23); +lean_ctor_set(x_141, 2, x_140); +x_142 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__103; +lean_inc(x_10); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_10); +lean_ctor_set(x_143, 1, x_142); +lean_inc(x_10); +x_144 = l_Lean_Syntax_node3(x_10, x_23, x_75, x_141, x_143); +x_145 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__14; +lean_inc(x_25); +x_146 = l_Lean_Syntax_node6(x_10, x_145, x_14, x_70, x_25, x_73, x_144, x_25); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_3); +return x_147; +} +} +} +static lean_object* _init_l_tacticDecreasing__trivial___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticDecreasing_trivial", 24, 24); +return x_1; +} +} +static lean_object* _init_l_tacticDecreasing__trivial___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__15; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_2 = l_tacticDecreasing__trivial___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__17() { +static lean_object* _init_l_tacticDecreasing__trivial___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("decreasing_trivial", 18, 18); +return x_1; +} +} +static lean_object* _init_l_tacticDecreasing__trivial___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_tacticDecreasing__trivial___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticDecreasing__trivial___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_tacticDecreasing__trivial___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_tacticDecreasing__trivial___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_tacticDecreasing__trivial() { +_start: +{ +lean_object* x_1; +x_1 = l_tacticDecreasing__trivial___closed__5; +return x_1; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tactic_<;>_", 11, 11); +return x_1; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__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___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__1; +x_2 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__2; +x_3 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__3; +x_4 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("paren", 5, 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__1; +x_2 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__2; +x_3 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__3; +x_4 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("arith", 5, 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__8() { _start: { lean_object* x_1; @@ -1860,7 +2348,7 @@ x_1 = lean_mk_string_unchecked("<;>", 3, 3); return x_1; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9() { _start: { lean_object* x_1; @@ -1868,14 +2356,14 @@ x_1 = lean_mk_string_unchecked("done", 4, 4); return x_1; } } -static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19() { +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__1; x_2 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__2; x_3 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__3; -x_4 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18; +x_4 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -1978,11 +2466,11 @@ lean_inc(x_10); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_10); lean_ctor_set(x_41, 1, x_40); -x_42 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10; +x_42 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3; lean_inc(x_11); lean_inc(x_12); x_43 = l_Lean_addMacroScope(x_12, x_42, x_11); -x_44 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9; +x_44 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__2; lean_inc(x_10); x_45 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_45, 0, x_10); @@ -1992,10 +2480,10 @@ lean_ctor_set(x_45, 3, x_28); lean_inc(x_25); lean_inc(x_10); x_46 = l_Lean_Syntax_node2(x_10, x_31, x_45, x_25); -x_47 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__13; +x_47 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6; x_48 = l_Lean_addMacroScope(x_12, x_47, x_11); -x_49 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__12; -x_50 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__16; +x_49 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5; +x_50 = l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9; lean_inc(x_10); x_51 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_51, 0, x_10); @@ -2047,17 +2535,17 @@ x_71 = l_Lean_Syntax_node1(x_10, x_70, x_69); x_72 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__4; lean_inc(x_10); x_73 = l_Lean_Syntax_node3(x_10, x_72, x_14, x_71, x_61); -x_74 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__17; +x_74 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__8; lean_inc(x_10); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_10); lean_ctor_set(x_75, 1, x_74); -x_76 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18; +x_76 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9; lean_inc(x_10); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_10); lean_ctor_set(x_77, 1, x_76); -x_78 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19; +x_78 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10; lean_inc(x_10); x_79 = l_Lean_Syntax_node1(x_10, x_78, x_77); x_80 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__2; @@ -3199,6 +3687,15 @@ x_1 = lean_mk_string_unchecked("\"failed to prove termination, possible solution return x_1; } } +static lean_object* _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(9u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -3219,7 +3716,7 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 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; lean_object* x_127; lean_object* x_128; lean_object* x_129; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 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; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; 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; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); @@ -3238,12 +3735,12 @@ lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_tacticSimp__wf___closed__3; +x_17 = l_tacticClean__wf___closed__3; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_tacticSimp__wf___closed__2; +x_19 = l_tacticClean__wf___closed__2; lean_inc(x_12); x_20 = l_Lean_Syntax_node1(x_12, x_19, x_18); x_21 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__12; @@ -3253,240 +3750,278 @@ x_23 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_22); -x_24 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__3; +x_24 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__6; lean_inc(x_12); x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_12); lean_ctor_set(x_25, 1, x_24); -x_26 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__4; +x_26 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__13; lean_inc(x_12); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_26); -x_28 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__8; +x_28 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__14; +lean_inc_n(x_23, 5); +lean_inc(x_12); +x_29 = l_Lean_Syntax_node6(x_12, x_28, x_27, x_23, x_23, x_23, x_23, x_23); lean_inc(x_12); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_12); -lean_ctor_set(x_29, 1, x_28); -x_30 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__3; +x_30 = l_Lean_Syntax_node1(x_12, x_21, x_29); +x_31 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__10; lean_inc(x_12); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_12); -lean_ctor_set(x_31, 1, x_30); -x_32 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__13; +x_32 = l_Lean_Syntax_node1(x_12, x_31, x_30); +x_33 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__8; +lean_inc(x_12); +x_34 = l_Lean_Syntax_node1(x_12, x_33, x_32); +x_35 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__5; +lean_inc(x_12); +x_36 = l_Lean_Syntax_node2(x_12, x_35, x_25, x_34); +x_37 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__3; +lean_inc(x_12); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_37); +x_39 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__4; +lean_inc(x_12); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_12); +lean_ctor_set(x_40, 1, x_39); +x_41 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__8; +lean_inc(x_12); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_12); +lean_ctor_set(x_42, 1, x_41); +x_43 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__3; +lean_inc(x_12); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_12); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__13; lean_inc(x_13); lean_inc(x_14); -x_33 = l_Lean_addMacroScope(x_14, x_32, x_13); -x_34 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__10; -x_35 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__15; +x_46 = l_Lean_addMacroScope(x_14, x_45, x_13); +x_47 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__10; +x_48 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__15; lean_inc(x_12); -x_36 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_36, 0, x_12); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_35); -x_37 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__4; -lean_inc(x_31); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_12); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +x_50 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__pre__omega__1___closed__4; +lean_inc(x_44); lean_inc(x_12); -x_38 = l_Lean_Syntax_node2(x_12, x_37, x_31, x_36); +x_51 = l_Lean_Syntax_node2(x_12, x_50, x_44, x_49); lean_inc(x_12); -x_39 = l_Lean_Syntax_node1(x_12, x_21, x_38); -x_40 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__10; +x_52 = l_Lean_Syntax_node1(x_12, x_21, x_51); lean_inc(x_12); -x_41 = l_Lean_Syntax_node1(x_12, x_40, x_39); -x_42 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__8; +x_53 = l_Lean_Syntax_node1(x_12, x_31, x_52); lean_inc(x_12); -x_43 = l_Lean_Syntax_node1(x_12, x_42, x_41); -x_44 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__7; -lean_inc(x_29); +x_54 = l_Lean_Syntax_node1(x_12, x_33, x_53); +x_55 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__7; +lean_inc(x_42); lean_inc(x_12); -x_45 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_43); -x_46 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__19; +x_56 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_54); +x_57 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__19; lean_inc(x_13); lean_inc(x_14); -x_47 = l_Lean_addMacroScope(x_14, x_46, x_13); -x_48 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__17; -x_49 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__21; +x_58 = l_Lean_addMacroScope(x_14, x_57, x_13); +x_59 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__17; +x_60 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__21; lean_inc(x_12); -x_50 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_50, 0, x_12); -lean_ctor_set(x_50, 1, x_48); -lean_ctor_set(x_50, 2, x_47); -lean_ctor_set(x_50, 3, x_49); -lean_inc(x_31); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_12); +lean_ctor_set(x_61, 1, x_59); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set(x_61, 3, x_60); +lean_inc(x_44); lean_inc(x_12); -x_51 = l_Lean_Syntax_node2(x_12, x_37, x_31, x_50); +x_62 = l_Lean_Syntax_node2(x_12, x_50, x_44, x_61); lean_inc(x_12); -x_52 = l_Lean_Syntax_node1(x_12, x_21, x_51); +x_63 = l_Lean_Syntax_node1(x_12, x_21, x_62); lean_inc(x_12); -x_53 = l_Lean_Syntax_node1(x_12, x_40, x_52); +x_64 = l_Lean_Syntax_node1(x_12, x_31, x_63); lean_inc(x_12); -x_54 = l_Lean_Syntax_node1(x_12, x_42, x_53); -lean_inc(x_29); +x_65 = l_Lean_Syntax_node1(x_12, x_33, x_64); +lean_inc(x_42); lean_inc(x_12); -x_55 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_54); +x_66 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_65); lean_inc(x_12); -x_56 = l_Lean_Syntax_node2(x_12, x_21, x_45, x_55); -x_57 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__5; -lean_inc(x_27); +x_67 = l_Lean_Syntax_node2(x_12, x_21, x_56, x_66); +x_68 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__5; +lean_inc(x_40); lean_inc(x_12); -x_58 = l_Lean_Syntax_node2(x_12, x_57, x_27, x_56); +x_69 = l_Lean_Syntax_node2(x_12, x_68, x_40, x_67); lean_inc(x_12); -x_59 = l_Lean_Syntax_node1(x_12, x_21, x_58); +x_70 = l_Lean_Syntax_node1(x_12, x_21, x_69); lean_inc(x_12); -x_60 = l_Lean_Syntax_node1(x_12, x_40, x_59); +x_71 = l_Lean_Syntax_node1(x_12, x_31, x_70); lean_inc(x_12); -x_61 = l_Lean_Syntax_node1(x_12, x_42, x_60); -x_62 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__45; +x_72 = l_Lean_Syntax_node1(x_12, x_33, x_71); +x_73 = l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__45; lean_inc(x_12); -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_12); -lean_ctor_set(x_63, 1, x_62); -x_64 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__4; -lean_inc(x_63); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_12); +lean_ctor_set(x_74, 1, x_73); +x_75 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__4; +lean_inc(x_74); lean_inc(x_16); lean_inc(x_12); -x_65 = l_Lean_Syntax_node3(x_12, x_64, x_16, x_61, x_63); +x_76 = l_Lean_Syntax_node3(x_12, x_75, x_16, x_72, x_74); lean_inc(x_12); -x_66 = l_Lean_Syntax_node1(x_12, x_21, x_65); +x_77 = l_Lean_Syntax_node1(x_12, x_21, x_76); lean_inc(x_12); -x_67 = l_Lean_Syntax_node1(x_12, x_40, x_66); +x_78 = l_Lean_Syntax_node1(x_12, x_31, x_77); lean_inc(x_12); -x_68 = l_Lean_Syntax_node1(x_12, x_42, x_67); -x_69 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__2; -lean_inc(x_25); +x_79 = l_Lean_Syntax_node1(x_12, x_33, x_78); +x_80 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__2; +lean_inc(x_38); lean_inc(x_12); -x_70 = l_Lean_Syntax_node2(x_12, x_69, x_25, x_68); -x_71 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__25; +x_81 = l_Lean_Syntax_node2(x_12, x_80, x_38, x_79); +x_82 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__25; lean_inc(x_13); lean_inc(x_14); -x_72 = l_Lean_addMacroScope(x_14, x_71, x_13); -x_73 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__23; -x_74 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__27; +x_83 = l_Lean_addMacroScope(x_14, x_82, x_13); +x_84 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__23; +x_85 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__27; lean_inc(x_12); -x_75 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_75, 0, x_12); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_75, 2, x_72); -lean_ctor_set(x_75, 3, x_74); -lean_inc(x_31); +x_86 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_86, 0, x_12); +lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_86, 2, x_83); +lean_ctor_set(x_86, 3, x_85); +lean_inc(x_44); lean_inc(x_12); -x_76 = l_Lean_Syntax_node2(x_12, x_37, x_31, x_75); +x_87 = l_Lean_Syntax_node2(x_12, x_50, x_44, x_86); lean_inc(x_12); -x_77 = l_Lean_Syntax_node1(x_12, x_21, x_76); +x_88 = l_Lean_Syntax_node1(x_12, x_21, x_87); lean_inc(x_12); -x_78 = l_Lean_Syntax_node1(x_12, x_40, x_77); +x_89 = l_Lean_Syntax_node1(x_12, x_31, x_88); lean_inc(x_12); -x_79 = l_Lean_Syntax_node1(x_12, x_42, x_78); -lean_inc(x_29); +x_90 = l_Lean_Syntax_node1(x_12, x_33, x_89); +lean_inc(x_42); lean_inc(x_12); -x_80 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_79); -x_81 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__30; -x_82 = l_Lean_addMacroScope(x_14, x_81, x_13); -x_83 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__29; -x_84 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__32; +x_91 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_90); +x_92 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__30; +x_93 = l_Lean_addMacroScope(x_14, x_92, x_13); +x_94 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__29; +x_95 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__32; lean_inc(x_12); -x_85 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_85, 0, x_12); -lean_ctor_set(x_85, 1, x_83); -lean_ctor_set(x_85, 2, x_82); -lean_ctor_set(x_85, 3, x_84); +x_96 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_96, 0, x_12); +lean_ctor_set(x_96, 1, x_94); +lean_ctor_set(x_96, 2, x_93); +lean_ctor_set(x_96, 3, x_95); lean_inc(x_12); -x_86 = l_Lean_Syntax_node2(x_12, x_37, x_31, x_85); +x_97 = l_Lean_Syntax_node2(x_12, x_50, x_44, x_96); lean_inc(x_12); -x_87 = l_Lean_Syntax_node1(x_12, x_21, x_86); +x_98 = l_Lean_Syntax_node1(x_12, x_21, x_97); lean_inc(x_12); -x_88 = l_Lean_Syntax_node1(x_12, x_40, x_87); +x_99 = l_Lean_Syntax_node1(x_12, x_31, x_98); lean_inc(x_12); -x_89 = l_Lean_Syntax_node1(x_12, x_42, x_88); -lean_inc(x_29); +x_100 = l_Lean_Syntax_node1(x_12, x_33, x_99); +lean_inc(x_42); lean_inc(x_12); -x_90 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_89); +x_101 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_100); lean_inc(x_12); -x_91 = l_Lean_Syntax_node2(x_12, x_21, x_80, x_90); -lean_inc(x_27); +x_102 = l_Lean_Syntax_node2(x_12, x_21, x_91, x_101); +lean_inc(x_40); lean_inc(x_12); -x_92 = l_Lean_Syntax_node2(x_12, x_57, x_27, x_91); +x_103 = l_Lean_Syntax_node2(x_12, x_68, x_40, x_102); lean_inc(x_12); -x_93 = l_Lean_Syntax_node1(x_12, x_21, x_92); +x_104 = l_Lean_Syntax_node1(x_12, x_21, x_103); lean_inc(x_12); -x_94 = l_Lean_Syntax_node1(x_12, x_40, x_93); +x_105 = l_Lean_Syntax_node1(x_12, x_31, x_104); lean_inc(x_12); -x_95 = l_Lean_Syntax_node1(x_12, x_42, x_94); -lean_inc(x_63); +x_106 = l_Lean_Syntax_node1(x_12, x_33, x_105); +lean_inc(x_74); lean_inc(x_16); lean_inc(x_12); -x_96 = l_Lean_Syntax_node3(x_12, x_64, x_16, x_95, x_63); +x_107 = l_Lean_Syntax_node3(x_12, x_75, x_16, x_106, x_74); lean_inc(x_12); -x_97 = l_Lean_Syntax_node1(x_12, x_21, x_96); +x_108 = l_Lean_Syntax_node1(x_12, x_21, x_107); lean_inc(x_12); -x_98 = l_Lean_Syntax_node1(x_12, x_40, x_97); +x_109 = l_Lean_Syntax_node1(x_12, x_31, x_108); lean_inc(x_12); -x_99 = l_Lean_Syntax_node1(x_12, x_42, x_98); +x_110 = l_Lean_Syntax_node1(x_12, x_33, x_109); lean_inc(x_12); -x_100 = l_Lean_Syntax_node2(x_12, x_69, x_25, x_99); -x_101 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18; +x_111 = l_Lean_Syntax_node2(x_12, x_80, x_38, x_110); +x_112 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9; lean_inc(x_12); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_12); -lean_ctor_set(x_102, 1, x_101); -x_103 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19; +x_113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_113, 0, x_12); +lean_ctor_set(x_113, 1, x_112); +x_114 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10; lean_inc(x_12); -x_104 = l_Lean_Syntax_node1(x_12, x_103, x_102); +x_115 = l_Lean_Syntax_node1(x_12, x_114, x_113); lean_inc(x_12); -x_105 = l_Lean_Syntax_node1(x_12, x_21, x_104); +x_116 = l_Lean_Syntax_node1(x_12, x_21, x_115); lean_inc(x_12); -x_106 = l_Lean_Syntax_node1(x_12, x_40, x_105); +x_117 = l_Lean_Syntax_node1(x_12, x_31, x_116); lean_inc(x_12); -x_107 = l_Lean_Syntax_node1(x_12, x_42, x_106); -lean_inc(x_29); +x_118 = l_Lean_Syntax_node1(x_12, x_33, x_117); +lean_inc(x_42); lean_inc(x_12); -x_108 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_107); -lean_inc(x_29); +x_119 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_118); +lean_inc(x_42); lean_inc(x_12); -x_109 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_9); -x_110 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__33; +x_120 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_9); +x_121 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__33; lean_inc(x_12); -x_111 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_111, 0, x_12); -lean_ctor_set(x_111, 1, x_110); -x_112 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__37; +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_12); +lean_ctor_set(x_122, 1, x_121); +x_123 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__37; lean_inc(x_12); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_12); -lean_ctor_set(x_113, 1, x_112); -x_114 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__36; +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_12); +lean_ctor_set(x_124, 1, x_123); +x_125 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__36; lean_inc(x_12); -x_115 = l_Lean_Syntax_node1(x_12, x_114, x_113); +x_126 = l_Lean_Syntax_node1(x_12, x_125, x_124); lean_inc(x_12); -x_116 = l_Lean_Syntax_node1(x_12, x_21, x_115); -x_117 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__34; +x_127 = l_Lean_Syntax_node1(x_12, x_21, x_126); +x_128 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__34; lean_inc(x_12); -x_118 = l_Lean_Syntax_node2(x_12, x_117, x_111, x_116); +x_129 = l_Lean_Syntax_node2(x_12, x_128, x_122, x_127); lean_inc(x_12); -x_119 = l_Lean_Syntax_node1(x_12, x_21, x_118); +x_130 = l_Lean_Syntax_node1(x_12, x_21, x_129); lean_inc(x_12); -x_120 = l_Lean_Syntax_node1(x_12, x_40, x_119); +x_131 = l_Lean_Syntax_node1(x_12, x_31, x_130); lean_inc(x_12); -x_121 = l_Lean_Syntax_node1(x_12, x_42, x_120); +x_132 = l_Lean_Syntax_node1(x_12, x_33, x_131); lean_inc(x_12); -x_122 = l_Lean_Syntax_node2(x_12, x_44, x_29, x_121); +x_133 = l_Lean_Syntax_node2(x_12, x_55, x_42, x_132); lean_inc(x_12); -x_123 = l_Lean_Syntax_node3(x_12, x_21, x_108, x_109, x_122); +x_134 = l_Lean_Syntax_node3(x_12, x_21, x_119, x_120, x_133); lean_inc(x_12); -x_124 = l_Lean_Syntax_node2(x_12, x_57, x_27, x_123); -lean_inc_n(x_23, 2); +x_135 = l_Lean_Syntax_node2(x_12, x_68, x_40, x_134); +x_136 = l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__38; +x_137 = lean_array_push(x_136, x_20); +lean_inc(x_23); +x_138 = lean_array_push(x_137, x_23); +x_139 = lean_array_push(x_138, x_36); +lean_inc(x_23); +x_140 = lean_array_push(x_139, x_23); +x_141 = lean_array_push(x_140, x_81); +lean_inc(x_23); +x_142 = lean_array_push(x_141, x_23); +x_143 = lean_array_push(x_142, x_111); +x_144 = lean_array_push(x_143, x_23); +x_145 = lean_array_push(x_144, x_135); lean_inc(x_12); -x_125 = l_Lean_Syntax_node7(x_12, x_21, x_20, x_23, x_70, x_23, x_100, x_23, x_124); +x_146 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_146, 0, x_12); +lean_ctor_set(x_146, 1, x_21); +lean_ctor_set(x_146, 2, x_145); lean_inc(x_12); -x_126 = l_Lean_Syntax_node1(x_12, x_40, x_125); +x_147 = l_Lean_Syntax_node1(x_12, x_31, x_146); lean_inc(x_12); -x_127 = l_Lean_Syntax_node1(x_12, x_42, x_126); -x_128 = l_Lean_Syntax_node3(x_12, x_64, x_16, x_127, x_63); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_3); -return x_129; +x_148 = l_Lean_Syntax_node1(x_12, x_33, x_147); +x_149 = l_Lean_Syntax_node3(x_12, x_75, x_16, x_148, x_74); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_3); +return x_150; } } } @@ -3929,6 +4464,50 @@ l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__102 = _ini lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__102); l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__103 = _init_l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__103(); lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticSimp__wf__1___closed__103); +l_tacticClean__wf___closed__1 = _init_l_tacticClean__wf___closed__1(); +lean_mark_persistent(l_tacticClean__wf___closed__1); +l_tacticClean__wf___closed__2 = _init_l_tacticClean__wf___closed__2(); +lean_mark_persistent(l_tacticClean__wf___closed__2); +l_tacticClean__wf___closed__3 = _init_l_tacticClean__wf___closed__3(); +lean_mark_persistent(l_tacticClean__wf___closed__3); +l_tacticClean__wf___closed__4 = _init_l_tacticClean__wf___closed__4(); +lean_mark_persistent(l_tacticClean__wf___closed__4); +l_tacticClean__wf___closed__5 = _init_l_tacticClean__wf___closed__5(); +lean_mark_persistent(l_tacticClean__wf___closed__5); +l_tacticClean__wf = _init_l_tacticClean__wf(); +lean_mark_persistent(l_tacticClean__wf); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__1); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__2 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__2(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__2); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__3); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__4); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__5); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__6); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__7 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__7(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__7); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__8 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__8(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__8); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__9); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__10 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__10(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__10); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__11); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__12 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__12(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__12); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__13); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__14 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__14(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__14); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__15 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__15(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__15); +l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__16 = _init_l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__16(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticClean__wf__1___closed__16); l_tacticDecreasing__trivial___closed__1 = _init_l_tacticDecreasing__trivial___closed__1(); lean_mark_persistent(l_tacticDecreasing__trivial___closed__1); l_tacticDecreasing__trivial___closed__2 = _init_l_tacticDecreasing__trivial___closed__2(); @@ -3961,24 +4540,6 @@ l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed_ lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__9); l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10(); lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__10); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__11); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__12 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__12(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__12); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__13 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__13(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__13); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__14 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__14(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__14); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__15 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__15(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__15); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__16 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__16(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__16); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__17 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__17(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__17); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__18); -l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19(); -lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__1___closed__19); l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___closed__1 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___closed__1(); lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___closed__1); l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___closed__2 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__trivial__2___closed__2(); @@ -4145,6 +4706,8 @@ l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__ lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__36); l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__37 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__37(); lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__37); +l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__38 = _init_l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__38(); +lean_mark_persistent(l___aux__Init__WFTactics______macroRules__tacticDecreasing__with____1___closed__38); l_tacticDecreasing__tactic___closed__1 = _init_l_tacticDecreasing__tactic___closed__1(); lean_mark_persistent(l_tacticDecreasing__tactic___closed__1); l_tacticDecreasing__tactic___closed__2 = _init_l_tacticDecreasing__tactic___closed__2(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/AuxDeclCache.c b/stage0/stdlib/Lean/Compiler/LCNF/AuxDeclCache.c index 9e65a7f28115..baa775b21124 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/AuxDeclCache.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/AuxDeclCache.c @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_cacheAuxDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); uint8_t lean_usize_dec_le(size_t, size_t); @@ -39,6 +38,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cacheAuxDecl___lambda__1(lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_cacheAuxDecl___spec__2___closed__2; +uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_instBEqDecl; lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_cacheAuxDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -128,7 +128,7 @@ else lean_object* x_9; uint8_t x_10; x_9 = lean_array_fget(x_1, x_4); lean_inc(x_5); -x_10 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_5, x_9); +x_10 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_5, x_9); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; @@ -200,7 +200,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_3, x_12); +x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_3, x_12); if (x_14 == 0) { lean_object* x_15; @@ -261,7 +261,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_3, x_27); +x_29 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_3, x_27); if (x_29 == 0) { lean_object* x_30; @@ -407,7 +407,7 @@ else lean_object* x_17; uint8_t x_18; x_17 = lean_array_fget(x_5, x_2); lean_inc(x_3); -x_18 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_3, x_17); +x_18 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_3, x_17); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; @@ -505,7 +505,7 @@ x_19 = lean_ctor_get(x_15, 0); x_20 = lean_ctor_get(x_15, 1); lean_inc(x_19); lean_inc(x_4); -x_21 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_4, x_19); +x_21 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_4, x_19); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -541,7 +541,7 @@ lean_inc(x_26); lean_dec(x_15); lean_inc(x_26); lean_inc(x_4); -x_28 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_4, x_26); +x_28 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_4, x_26); if (x_28 == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; @@ -664,7 +664,7 @@ if (lean_is_exclusive(x_57)) { } lean_inc(x_60); lean_inc(x_4); -x_63 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_4, x_60); +x_63 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_4, x_60); if (x_63 == 0) { lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Basic.c b/stage0/stdlib/Lean/Compiler/LCNF/Basic.c index 07d93430a308..1b7a96cec204 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Basic.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Basic.c @@ -18,7 +18,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_LetValue_updateProjImp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqFunDecl; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instParams(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_LetValue_updateArgsImp___closed__1; static lean_object* l_Lean_Compiler_LCNF_instInhabitedParam___closed__2; static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_Arg_updateTypeImp___closed__2; @@ -54,7 +53,6 @@ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_attachCodeDecls_go(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedFunDeclCore___rarg(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateFunImp___closed__2; -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_17_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_collectUsedAtExpr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltsImp___spec__1(lean_object*); @@ -81,7 +79,6 @@ lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object lean_object* l_Lean_Expr_bvar___override(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_size_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_toLetValue(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqParam____x40_Lean_Compiler_LCNF_Basic___hyg_53_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedAltCore___rarg(lean_object*); @@ -136,6 +133,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqLitValue; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_forM_go___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqLetValue____x40_Lean_Compiler_LCNF_Basic___hyg_844____boxed(lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instHashableLitValue___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_hashLetValue____x40_Lean_Compiler_LCNF_Basic___hyg_1084____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_attachCodeDecls_go___boxed(lean_object*, lean_object*, lean_object*); @@ -145,12 +143,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecD LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_isDecl(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_sizeLe___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateJmpImp___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_go(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqCases(lean_object*, lean_object*); uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1724_(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_LetValue_updateConstImp___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instInhabitedCodeDecl___closed__1; LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqCases___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Param_toArg(lean_object*); @@ -192,8 +190,8 @@ uint64_t l_Lean_Expr_hash(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instHashableArg; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LitValue_toExpr(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqParam; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedLitValue; @@ -252,6 +250,7 @@ static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_u LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqCases___boxed(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateRangeArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateRevRangeArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isCasesOnParam_x3f(lean_object*); @@ -261,13 +260,13 @@ LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basi LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_hashLetValue____x40_Lean_Compiler_LCNF_Basic___hyg_1084____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___lambda__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_isDecl___boxed(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_LetValue_updateFVarImp___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateLetImp(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_forM_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqFunDecl(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_LetValue_updateProjImp___closed__2; static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___spec__1___closed__1; @@ -377,6 +376,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateCasesImp___closed__1; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Decl_isCasesOnParam_x3f_go___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_instInhabitedParam___closed__1() { _start: { @@ -6640,7 +6640,7 @@ x_1 = l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -6687,7 +6687,7 @@ return x_10; } } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -6729,7 +6729,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; uint8_t x_26; @@ -6844,7 +6844,7 @@ else { lean_object* x_36; uint8_t x_37; x_36 = lean_unsigned_to_nat(0u); -x_37 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__2(x_6, x_14, lean_box(0), x_6, x_14, x_36); +x_37 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__2(x_6, x_14, lean_box(0), x_6, x_14, x_36); lean_dec(x_14); lean_dec(x_6); if (x_37 == 0) @@ -6930,7 +6930,7 @@ if (x_9 == 0) if (x_17 == 0) { uint8_t x_21; -x_21 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1(x_10, x_18); +x_21 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_10, x_18); return x_21; } else @@ -6955,7 +6955,7 @@ return x_23; else { uint8_t x_24; -x_24 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1(x_10, x_18); +x_24 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_10, x_18); return x_24; } } @@ -6963,20 +6963,20 @@ return x_24; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_1, x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____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_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____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) { _start: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -6985,11 +6985,11 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_1, x_2); +x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_1, x_2); x_4 = lean_box(x_3); return x_4; } @@ -6998,7 +6998,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_instBEqDecl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____boxed), 2, 0); return x_1; } } diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c b/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c index c17b6b49bdba..3e226b744ccc 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c @@ -13,11 +13,12 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__11; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__10; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_findSpecCache_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__4; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__13; static double l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5___closed__2; static lean_object* l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_isGround___spec__1___rarg___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -26,11 +27,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetValue_forFVarM___at_Lean_Compil LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_getRemainingArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___rarg___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__15; static lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___closed__2; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__13; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Simp_withDiscrCtorImp_updateCtx___spec__5(size_t, size_t, lean_object*); @@ -73,7 +73,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___at_Lean_Comp lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__6; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__4; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__9; static lean_object* l_Lean_Compiler_LCNF_specialize___closed__2; static lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___closed__1; lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__1(lean_object*, lean_object*); @@ -84,8 +83,8 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Speciali LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___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_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__10; lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_FunDeclCore_toExprM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__15; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -121,7 +120,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specCacheExt; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_ToExpr_abstractM___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__5; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__1; static lean_object* l_Lean_Compiler_LCNF_specialize___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normArgImp(lean_object*, lean_object*, uint8_t); @@ -150,8 +149,6 @@ uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_LCtx_ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Compiler_LCNF_addFVarSubst___spec__2(lean_object*); static lean_object* l_Lean_Compiler_LCNF_specialize___closed__3; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__7; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__3; LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -185,12 +182,10 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Spec static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__8; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___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_Compiler_LCNF_Specialize_findSpecCache_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__2; static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__1; lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__5___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__1; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__17; lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____lambda__1___closed__6; @@ -204,6 +199,7 @@ lean_object* l_Lean_Compiler_LCNF_ToExpr_mkLambdaM___boxed(lean_object*, lean_ob LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__4(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__9; @@ -214,11 +210,12 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode(lean_object*, lean_object* l_Lean_SMap_switch___at_Lean_Compiler_SpecState_switch___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__5___closed__2; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__1; lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Compiler_LCNF_addFVarSubst___spec__5(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__12; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__3; lean_object* l_OptionT_instMonad___rarg(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___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*); @@ -229,6 +226,7 @@ lean_object* l_Lean_MessageData_ofExpr(lean_object*); lean_object* l_Lean_Compiler_LCNF_getSpecParamInfoCore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_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*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___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* l_Lean_Compiler_LCNF_attachCodeDecls(lean_object*, lean_object*); @@ -247,14 +245,14 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_ static lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_getRemainingArgs___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_isGround___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__11; lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__6; lean_object* l_Lean_RBTree_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__4; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,10 +268,13 @@ uint64_t lean_uint64_xor(uint64_t, uint64_t); extern lean_object* l_Id_instMonad; LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_CodeDecl_fvarId(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262_(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Specialize_isGround___rarg___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__12; extern lean_object* l_Lean_Expr_instHashable; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__14; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____lambda__1(lean_object*); lean_object* l_Lean_Compiler_LCNF_allFVarM_go___at_Lean_Compiler_LCNF_allFVar___spec__2(lean_object*, lean_object*); @@ -311,6 +312,7 @@ size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___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_Compiler_LCNF_Specialize_getRemainingArgs___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__7; lean_object* l_Lean_SMap_instInhabited___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Specialize_Collector_collect___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); @@ -319,13 +321,13 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_instantiateLevelParamsNoCache(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToExpr_withParams_go___at_Lean_Compiler_LCNF_Specialize_mkKey___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__8; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__10; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___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*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__1; lean_object* lean_array_get_size(lean_object*); @@ -343,7 +345,6 @@ lean_object* l_Lean_Compiler_LCNF_FunDeclCore_toExpr(lean_object*, lean_object*) LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__13; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(lean_object*, 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_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__14; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect___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_Compiler_LCNF_Specialize_specializeApp_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*, lean_object*); @@ -353,7 +354,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__1; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__3; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__6; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -11769,7 +11769,7 @@ lean_dec(x_1); return x_12; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11779,7 +11779,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11789,27 +11789,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__2; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__2; x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__4() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__3; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__3; x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__5() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__5() { _start: { lean_object* x_1; @@ -11817,17 +11817,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__6() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__4; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__5; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__4; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__7() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__7() { _start: { lean_object* x_1; @@ -11835,57 +11835,57 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__8() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__6; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__7; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__6; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__9() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__8; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__8; x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__10() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__9; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__9; x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__11() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__10; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__10; x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__12() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__11; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__11; x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_50____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__13() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__13() { _start: { lean_object* x_1; @@ -11893,33 +11893,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__14() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__12; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__13; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__12; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__15() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__14; -x_2 = lean_unsigned_to_nat(4260u); +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__14; +x_2 = lean_unsigned_to_nat(4262u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262_(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_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__1; x_3 = 1; -x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__15; +x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -12202,37 +12202,37 @@ l_Lean_Compiler_LCNF_specialize___closed__3 = _init_l_Lean_Compiler_LCNF_special lean_mark_persistent(l_Lean_Compiler_LCNF_specialize___closed__3); l_Lean_Compiler_LCNF_specialize = _init_l_Lean_Compiler_LCNF_specialize(); lean_mark_persistent(l_Lean_Compiler_LCNF_specialize); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__3); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__4(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__4); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__5(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__5); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__6(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__6); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__7 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__7(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__7); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__8 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__8(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__8); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__9 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__9(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__9); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__10 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__10(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__10); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__11 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__11(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__11); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__12 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__12(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__12); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__13 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__13(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__13); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__14 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__14(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__14); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__15 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__15(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260____closed__15); -if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4260_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__4); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__5); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__6); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__7 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__7); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__8 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__8); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__9 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__9(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__9); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__10 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__10(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__10); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__11 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__11(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__11); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__12 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__12(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__12); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__13 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__13(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__13); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__14 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__14(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__14); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__15 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__15(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262____closed__15); +if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4262_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Testing.c b/stage0/stdlib/Lean/Compiler/LCNF/Testing.c index 2f52f7e9a2bd..fc3d20e3c19f 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Testing.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Testing.c @@ -18,7 +18,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_asser static lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesSize___closed__1; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_containsConst_goLetValue(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2___closed__1; -uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Testing_assertReducesOrPreservesSize___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertDoesNotContainConstAfter___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -114,6 +113,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls___boxed(lean_obje LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3276,7 +3276,7 @@ else lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_array_fget(x_4, x_6); x_11 = lean_array_fget(x_5, x_6); -x_12 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5775_(x_10, x_11); +x_12 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796_(x_10, x_11); if (x_12 == 0) { uint8_t x_13; diff --git a/stage0/stdlib/Lean/Data/Parsec/Basic.c b/stage0/stdlib/Lean/Data/Parsec/Basic.c index f60a975001ab..041651fd260d 100644 --- a/stage0/stdlib/Lean/Data/Parsec/Basic.c +++ b/stage0/stdlib/Lean/Data/Parsec/Basic.c @@ -58,6 +58,7 @@ LEAN_EXPORT lean_object* l_Lean_Parsec_instReprParseResult___rarg(lean_object*, LEAN_EXPORT lean_object* l_Lean_Parsec_instInhabited___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_peek_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_Basic_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec_Basic___hyg_50____rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_eof_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_many___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Parsec_Basic_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec_Basic___hyg_50____rarg___closed__7; LEAN_EXPORT lean_object* l_Lean_Parsec_many1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -107,6 +108,7 @@ LEAN_EXPORT lean_object* l_Lean_Parsec_bind(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Parsec_many___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Parsec_bind___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_many1Chars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_eof_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_satisfy(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Parsec_Basic_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec_Basic___hyg_50____rarg___closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -115,6 +117,7 @@ LEAN_EXPORT lean_object* l_Lean_Parsec_manyCharsCore___rarg___boxed(lean_object* static lean_object* l_Lean_Parsec_instMonad___closed__5; LEAN_EXPORT lean_object* l_Lean_Parsec_fail___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_attempt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_eof_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_manyChars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parsec_instAlternative___rarg___closed__2; @@ -1544,6 +1547,57 @@ lean_dec(x_4); return x_6; } } +LEAN_EXPORT lean_object* l_Lean_Parsec_eof_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_1, 3); +lean_inc(x_3); +lean_dec(x_1); +lean_inc(x_2); +x_4 = lean_apply_1(x_3, x_2); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_6 = 1; +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_9 = 0; +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_eof_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_alloc_closure((void*)(l_Lean_Parsec_eof_x3f___rarg), 2, 0); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_eof_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parsec_eof_x3f(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___rarg(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: { diff --git a/stage0/stdlib/Lean/Data/Parsec/ByteArray.c b/stage0/stdlib/Lean/Data/Parsec/ByteArray.c index ad7980f24311..499e30a0dff9 100644 --- a/stage0/stdlib/Lean/Data/Parsec/ByteArray.c +++ b/stage0/stdlib/Lean/Data/Parsec/ByteArray.c @@ -14,6 +14,7 @@ extern "C" { #endif static lean_object* l_Lean_Parsec_ByteArray_Parser_run___rarg___closed__1; +uint8_t lean_uint8_sub(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_Parser_run___rarg(lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_uint8_of_nat(lean_object*); @@ -30,6 +31,7 @@ LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat___lam static uint8_t l_Lean_Parsec_ByteArray_hexDigit___closed__5; static lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat___closed__3; static lean_object* l_Lean_Parsec_ByteArray_take___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_digits(lean_object*); static uint8_t l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_skipWs___closed__4; lean_object* l_ByteArray_extract(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat___closed__7; @@ -66,6 +68,7 @@ extern lean_object* l_Std_Format_defWidth; static lean_object* l_Lean_Parsec_ByteArray_digit___closed__2; static uint8_t l_Lean_Parsec_ByteArray_asciiLetter___closed__3; static uint8_t l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_skipWs___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitsCore_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_Parser_run(lean_object*); static lean_object* l_Lean_Parsec_ByteArray_hexDigit___closed__2; LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_skipByte(uint8_t, lean_object*); @@ -75,12 +78,14 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat; LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_hexDigit(lean_object*); static lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitToNat___boxed(lean_object*); static uint8_t l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_skipWs___closed__1; static lean_object* l_Lean_Parsec_ByteArray_pbyte___closed__2; lean_object* lean_string_to_utf8(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat___lambda__2(lean_object*); static uint8_t l_Lean_Parsec_ByteArray_asciiLetter___closed__2; static uint8_t l_Lean_Parsec_ByteArray_hexDigit___closed__4; +lean_object* lean_nat_mul(lean_object*, lean_object*); uint8_t lean_uint8_dec_le(uint8_t, uint8_t); lean_object* lean_uint8_to_nat(uint8_t); size_t lean_usize_add(size_t, size_t); @@ -95,8 +100,10 @@ uint8_t lean_usize_dec_lt(size_t, size_t); static uint8_t l_Lean_Parsec_ByteArray_hexDigit___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_digit(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitsCore(lean_object*, lean_object*); lean_object* lean_byte_array_size(lean_object*); uint8_t lean_uint8_dec_eq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitToNat(uint8_t); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_ByteArray_forInUnsafe_loop___at_Lean_Parsec_ByteArray_skipBytes___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_instInputIteratorUInt8Nat___lambda__1(lean_object* x_1) { @@ -1151,6 +1158,237 @@ return x_27; } } } +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitToNat(uint8_t x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = l_Lean_Parsec_ByteArray_digit___closed__1; +x_3 = lean_uint8_sub(x_1, x_2); +x_4 = lean_uint8_to_nat(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitToNat___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitToNat(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitsCore_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_4); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_1); +return x_7; +} +else +{ +uint8_t x_8; uint8_t x_9; uint8_t x_10; +x_8 = lean_byte_array_fget(x_3, x_4); +x_9 = l_Lean_Parsec_ByteArray_digit___closed__1; +x_10 = lean_uint8_dec_le(x_9, x_8); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_4); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_1); +return x_11; +} +else +{ +uint8_t x_12; uint8_t x_13; +x_12 = l_Lean_Parsec_ByteArray_digit___closed__3; +x_13 = lean_uint8_dec_le(x_8, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_4); +lean_dec(x_3); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_1); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_1); +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; lean_object* x_24; +x_16 = lean_ctor_get(x_1, 1); +lean_dec(x_16); +x_17 = lean_ctor_get(x_1, 0); +lean_dec(x_17); +x_18 = lean_uint8_sub(x_8, x_9); +x_19 = lean_uint8_to_nat(x_18); +x_20 = lean_unsigned_to_nat(10u); +x_21 = lean_nat_mul(x_2, x_20); +lean_dec(x_2); +x_22 = lean_nat_add(x_21, x_19); +lean_dec(x_19); +lean_dec(x_21); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_4, x_23); +lean_dec(x_4); +lean_ctor_set(x_1, 1, x_24); +x_2 = x_22; +goto _start; +} +else +{ +uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_1); +x_26 = lean_uint8_sub(x_8, x_9); +x_27 = lean_uint8_to_nat(x_26); +x_28 = lean_unsigned_to_nat(10u); +x_29 = lean_nat_mul(x_2, x_28); +lean_dec(x_2); +x_30 = lean_nat_add(x_29, x_27); +lean_dec(x_27); +lean_dec(x_29); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_add(x_4, x_31); +lean_dec(x_4); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_3); +lean_ctor_set(x_33, 1, x_32); +x_1 = x_33; +x_2 = x_30; +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitsCore(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitsCore_go(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_ctor_set(x_3, 1, x_5); +lean_ctor_set(x_3, 0, x_6); +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_3); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_ByteArray_digits(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_inc(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_Parsec_ByteArray_digit___closed__1; +x_13 = lean_uint8_dec_le(x_12, x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +x_14 = l_Lean_Parsec_ByteArray_digit___closed__2; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +uint8_t x_16; uint8_t x_17; +x_16 = l_Lean_Parsec_ByteArray_digit___closed__3; +x_17 = lean_uint8_dec_le(x_11, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_10); +x_18 = l_Lean_Parsec_ByteArray_digit___closed__2; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +else +{ +uint32_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_1); +x_20 = lean_uint8_to_uint32(x_11); +x_21 = lean_uint32_to_uint8(x_20); +x_22 = lean_uint8_sub(x_21, x_12); +x_23 = lean_uint8_to_nat(x_22); +x_24 = l___private_Lean_Data_Parsec_ByteArray_0__Lean_Parsec_ByteArray_digitsCore(x_23, x_10); +return x_24; +} +} +} +} +} static uint8_t _init_l_Lean_Parsec_ByteArray_hexDigit___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Data/Parsec/String.c b/stage0/stdlib/Lean/Data/Parsec/String.c index 8802e1dac073..d4bcb09b0b74 100644 --- a/stage0/stdlib/Lean/Data/Parsec/String.c +++ b/stage0/stdlib/Lean/Data/Parsec/String.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_uint32_to_nat(uint32_t); LEAN_EXPORT lean_object* l_Lean_Parsec_String_skipString(lean_object*, lean_object*); static lean_object* l_Lean_Parsec_String_asciiLetter___closed__1; static lean_object* l_Lean_Parsec_String_instInputIteratorCharPos___closed__7; @@ -42,6 +43,7 @@ LEAN_EXPORT lean_object* l_Lean_Parsec_String_Parser_run___rarg(lean_object*, le static lean_object* l_Lean_Parsec_String_digit___closed__1; LEAN_EXPORT lean_object* l_Lean_Parsec_String_take(lean_object*, lean_object*); static lean_object* l_Lean_Parsec_String_pchar___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitsCore_go(lean_object*, lean_object*); static lean_object* l_Lean_Parsec_String_hexDigit___closed__1; static lean_object* l_Lean_Parsec_String_instInputIteratorCharPos___closed__5; LEAN_EXPORT lean_object* l_Lean_Parsec_String_Parser_run(lean_object*); @@ -57,14 +59,21 @@ static lean_object* l_Lean_Parsec_String_Parser_run___rarg___closed__3; static lean_object* l_Lean_Parsec_String_take___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_skipWs(lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitToNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_String_skipChar___boxed(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_String_ws(lean_object*); static lean_object* l_Lean_Parsec_String_instInputIteratorCharPos___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitToNat(uint32_t); LEAN_EXPORT lean_object* l_Lean_Parsec_String_instInputIteratorCharPos___lambda__1(lean_object*); static lean_object* l_Lean_Parsec_String_instInputIteratorCharPos___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parsec_String_digits(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitsCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_String_pstring(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_String_instInputIteratorCharPos; +lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_String_pchar(uint32_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parsec_String_digit(lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); @@ -561,6 +570,181 @@ return x_16; } } } +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitToNat(uint32_t x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_uint32_to_nat(x_1); +x_3 = lean_unsigned_to_nat(48u); +x_4 = lean_nat_sub(x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitToNat___boxed(lean_object* x_1) { +_start: +{ +uint32_t x_2; lean_object* x_3; +x_2 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_3 = l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitToNat(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitsCore_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_String_Iterator_hasNext(x_1); +if (x_3 == 0) +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_1); +return x_4; +} +else +{ +uint32_t x_5; uint32_t x_6; uint8_t x_7; +x_5 = l_String_Iterator_curr(x_1); +x_6 = 48; +x_7 = lean_uint32_dec_le(x_6, x_5); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_1); +return x_8; +} +else +{ +uint32_t x_9; uint8_t x_10; +x_9 = 57; +x_10 = lean_uint32_dec_le(x_5, x_9); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_1); +return x_11; +} +else +{ +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; +x_12 = lean_uint32_to_nat(x_5); +x_13 = lean_unsigned_to_nat(48u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = lean_unsigned_to_nat(10u); +x_16 = lean_nat_mul(x_2, x_15); +lean_dec(x_2); +x_17 = lean_nat_add(x_16, x_14); +lean_dec(x_14); +lean_dec(x_16); +x_18 = l_String_Iterator_next(x_1); +x_1 = x_18; +x_2 = x_17; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitsCore(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitsCore_go(x_2, x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_ctor_set(x_3, 1, x_5); +lean_ctor_set(x_3, 0, x_6); +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_3); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_String_digits(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; uint32_t x_7; uint8_t x_8; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +x_7 = 48; +x_8 = lean_uint32_dec_le(x_7, x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +x_9 = l_Lean_Parsec_String_digit___closed__1; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +uint32_t x_11; uint8_t x_12; +x_11 = 57; +x_12 = lean_uint32_dec_le(x_6, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_13 = l_Lean_Parsec_String_digit___closed__1; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_15 = lean_uint32_to_nat(x_6); +x_16 = lean_unsigned_to_nat(48u); +x_17 = lean_nat_sub(x_15, x_16); +lean_dec(x_15); +x_18 = l___private_Lean_Data_Parsec_String_0__Lean_Parsec_String_digitsCore(x_17, x_5); +return x_18; +} +} +} +} +} static lean_object* _init_l_Lean_Parsec_String_hexDigit___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 80bebe9016cd..88f2953d99ca 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -29760,7 +29760,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCode _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("` cannot be mutated, only variables declared using `let mut` can be mutated. If you did not intent to mutate but define `", 121, 121); +x_1 = lean_mk_string_unchecked("` cannot be mutated, only variables declared using `let mut` can be mutated. If you did not intend to mutate but define `", 121, 121); return x_1; } } diff --git a/stage0/stdlib/Lean/Elab/GuardMsgs.c b/stage0/stdlib/Lean/Elab/GuardMsgs.c index 9deabc5527a8..4ea4c53e44f0 100644 --- a/stage0/stdlib/Lean/Elab/GuardMsgs.c +++ b/stage0/stdlib/Lean/Elab/GuardMsgs.c @@ -121,7 +121,6 @@ static lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_noConfusion___rarg__ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Diff_lcs___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__40(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_MessageOrdering_toCtorIdx___boxed(lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -166,6 +165,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_MessageOrdering_noConfusio uint8_t l_Char_isWhitespace(uint32_t); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__8___closed__4; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +lean_object* l_List_filter___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs__1___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__24___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__46___closed__1; @@ -182,6 +182,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab static lean_object* l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange__1___closed__4; lean_object* l_Lean_MessageLog_toList(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___lambda__1___boxed(lean_object*); lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___lambda__1___boxed(lean_object*); static lean_object* l_initFn____x40_Lean_Elab_GuardMsgs___hyg_7____closed__2; @@ -207,6 +208,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_GuardMsgs_ static lean_object* l_initFn____x40_Lean_Elab_GuardMsgs___hyg_7____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply(uint8_t, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1823____closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3182____closed__1; static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___closed__1; @@ -284,6 +286,7 @@ lean_object* l_Subarray_get___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Diff_diff___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Diff_matchSuffix_go___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__7(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__8___closed__7; +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___boxed(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_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1___boxed(lean_object*); @@ -4428,71 +4431,31 @@ x_4 = l_String_splitAux___at_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___s return x_4; } } -LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___lambda__1(lean_object* x_1) { _start: { -if (lean_obj_tag(x_1) == 0) +uint8_t x_2; +x_2 = l_String_isEmpty(x_1); +if (x_2 == 0) { -lean_object* x_3; -x_3 = l_List_reverse___rarg(x_2); +uint8_t x_3; +x_3 = 1; return x_3; } else { uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_String_isEmpty(x_5); -if (x_7 == 0) -{ -lean_ctor_set(x_1, 1, x_2); -{ -lean_object* _tmp_0 = x_6; -lean_object* _tmp_1 = x_1; -x_1 = _tmp_0; -x_2 = _tmp_1; -} -goto _start; +x_4 = 0; +return x_4; } -else -{ -lean_free_object(x_1); -lean_dec(x_5); -x_1 = x_6; -goto _start; } } -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_1); -x_12 = l_String_isEmpty(x_10); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_2); -x_1 = x_11; -x_2 = x_13; -goto _start; -} -else +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___closed__1() { +_start: { -lean_dec(x_10); -x_1 = x_11; -goto _start; -} -} -} +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___lambda__1___boxed), 1, 0); +return x_1; } } LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply(uint8_t x_1, lean_object* x_2) { @@ -4516,8 +4479,8 @@ return x_5; { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_6 = l_String_split___at_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___spec__1(x_2); -x_7 = lean_box(0); -x_8 = l_List_filterTR_loop___at_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___spec__3(x_6, x_7); +x_7 = l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___closed__1; +x_8 = l_List_filter___rarg(x_7, x_6); x_9 = l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__4___closed__1; x_10 = l_String_intercalate(x_9, x_8); return x_10; @@ -4543,6 +4506,16 @@ lean_dec(x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___lambda__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___lambda__1(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -15160,6 +15133,8 @@ l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__5 = _init_l_Lean lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__5); l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__6 = _init_l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__6(); lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__6); +l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___closed__1 = _init_l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_apply___closed__1); l_Lean_Diff_lcs___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__1 = _init_l_Lean_Diff_lcs___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__1(); lean_mark_persistent(l_Lean_Diff_lcs___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__1); l_Lean_Diff_lcs___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__2 = _init_l_Lean_Diff_lcs___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 0d4bc1cd0f5e..d083556529cd 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -275,7 +275,6 @@ static lean_object* l_Lean_Elab_Command_accLevelAtCtor___lambda__2___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___lambda__2(uint8_t, 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___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_EXPORT lean_object* l_Lean_Elab_Command_accLevelAtCtor___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_expr_abstract(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_Elab_Command_shouldInferResultUniverse___closed__2; @@ -619,6 +618,7 @@ lean_object* l_Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_o lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___closed__5; lean_object* l_Lean_mkNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__4___boxed__const__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop(lean_object*); @@ -767,7 +767,6 @@ static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__18; static lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__5; -lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__1(lean_object*, lean_object*, size_t, size_t, 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_initFn____x40_Lean_Elab_Inductive___hyg_6586____closed__1; @@ -26284,144 +26283,160 @@ x_19 = lean_unsigned_to_nat(0u); x_20 = lean_nat_dec_eq(x_6, x_19); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; x_21 = lean_unsigned_to_nat(1u); x_22 = lean_nat_sub(x_6, x_21); lean_dec(x_6); -x_23 = lean_array_get_size(x_4); -x_24 = lean_nat_dec_lt(x_7, x_23); -lean_dec(x_23); -x_25 = lean_nat_dec_lt(x_7, x_5); -if (x_24 == 0) +x_29 = lean_array_get_size(x_4); +x_30 = lean_nat_dec_lt(x_7, x_29); +lean_dec(x_29); +x_31 = lean_nat_dec_lt(x_7, x_5); +if (x_30 == 0) { -lean_object* x_101; lean_object* x_102; -x_101 = l_Lean_instInhabitedExpr; -x_102 = l_outOfBounds___rarg(x_101); -x_26 = x_102; -goto block_100; +lean_object* x_109; lean_object* x_110; +x_109 = l_Lean_instInhabitedExpr; +x_110 = l_outOfBounds___rarg(x_109); +x_32 = x_110; +goto block_108; } else { -lean_object* x_103; -x_103 = lean_array_fget(x_4, x_7); -x_26 = x_103; -goto block_100; +lean_object* x_111; +x_111 = lean_array_fget(x_4, x_7); +x_32 = x_111; +goto block_108; } -block_100: +block_28: { -lean_object* x_27; -if (x_25 == 0) +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_nat_add(x_7, x_9); +lean_dec(x_7); +x_6 = x_22; +x_7 = x_26; +x_10 = x_25; +x_17 = x_24; +goto _start; +} +block_108: +{ +lean_object* x_33; +if (x_31 == 0) { -lean_object* x_97; lean_object* x_98; -x_97 = l_Lean_Elab_Command_instInhabitedInductiveView; -x_98 = l_outOfBounds___rarg(x_97); -x_27 = x_98; -goto block_96; +lean_object* x_105; lean_object* x_106; +x_105 = l_Lean_Elab_Command_instInhabitedInductiveView; +x_106 = l_outOfBounds___rarg(x_105); +x_33 = x_106; +goto block_104; } else { -lean_object* x_99; -x_99 = lean_array_fget(x_1, x_7); -x_27 = x_99; -goto block_96; +lean_object* x_107; +x_107 = lean_array_fget(x_1, x_7); +x_33 = x_107; +goto block_104; } -block_96: +block_104: { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); 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_26); -x_29 = l_Lean_Elab_Term_addLocalVarInfo(x_28, x_26, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_array_get_size(x_2); -x_32 = lean_nat_dec_lt(x_7, x_31); -lean_dec(x_31); -if (x_32 == 0) +lean_inc(x_32); +x_35 = l_Lean_Elab_Term_addLocalVarInfo(x_34, x_32, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; -x_33 = l_Lean_Elab_Command_instInhabitedElabHeaderResult; -x_34 = l_outOfBounds___rarg(x_33); -x_35 = lean_ctor_get(x_34, 4); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 3); +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -x_37 = lean_expr_abstract(x_35, x_36); -lean_dec(x_36); lean_dec(x_35); -x_38 = lean_expr_instantiate_rev(x_37, x_3); +x_37 = lean_array_get_size(x_2); +x_38 = lean_nat_dec_lt(x_7, x_37); lean_dec(x_37); -x_39 = 0; -x_40 = 1; -x_41 = 1; -lean_inc(x_3); -x_42 = l_Lean_Meta_mkForallFVars(x_3, x_38, x_39, x_40, x_41, x_13, x_14, x_15, x_16, x_30); -if (lean_obj_tag(x_42) == 0) +if (x_38 == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; lean_object* x_50; +x_39 = l_Lean_Elab_Command_instInhabitedElabHeaderResult; +x_40 = l_outOfBounds___rarg(x_39); +x_41 = lean_ctor_get(x_40, 4); +lean_inc(x_41); +x_42 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_36); 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); -lean_inc(x_34); +x_45 = lean_ctor_get(x_40, 3); +lean_inc(x_45); +x_46 = l_Lean_Expr_replaceFVars(x_43, x_45, x_3); +lean_dec(x_45); +lean_dec(x_43); +x_47 = 0; +x_48 = 1; +x_49 = 1; +lean_inc(x_3); +x_50 = l_Lean_Meta_mkForallFVars(x_3, x_46, x_47, x_48, x_49, x_13, x_14, x_15, x_16, x_44); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +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); +lean_inc(x_40); lean_inc(x_3); lean_inc(x_4); -x_45 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors), 11, 4); -lean_closure_set(x_45, 0, x_4); -lean_closure_set(x_45, 1, x_26); -lean_closure_set(x_45, 2, x_3); -lean_closure_set(x_45, 3, x_34); +x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors), 11, 4); +lean_closure_set(x_53, 0, x_4); +lean_closure_set(x_53, 1, x_32); +lean_closure_set(x_53, 2, x_3); +lean_closure_set(x_53, 3, x_40); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_46 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_3, x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_44); -if (lean_obj_tag(x_46) == 0) +x_54 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_3, x_53, x_11, x_12, x_13, x_14, x_15, x_16, x_52); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -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_ctor_get(x_34, 0); -lean_inc(x_49); -lean_dec(x_34); -x_50 = lean_ctor_get(x_49, 4); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_43); -lean_ctor_set(x_51, 2, x_47); -x_52 = lean_array_push(x_10, x_51); -x_53 = lean_nat_add(x_7, x_9); -lean_dec(x_7); -x_6 = x_22; -x_7 = x_53; -x_10 = x_52; -x_17 = x_48; -goto _start; +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_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_ctor_get(x_40, 0); +lean_inc(x_57); +lean_dec(x_40); +x_58 = lean_ctor_get(x_57, 4); +lean_inc(x_58); +lean_dec(x_57); +x_59 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_51); +lean_ctor_set(x_59, 2, x_55); +x_60 = lean_array_push(x_10, x_59); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_23 = x_61; +x_24 = x_56; +goto block_28; } else { -uint8_t x_55; -lean_dec(x_43); -lean_dec(x_34); +uint8_t x_62; +lean_dec(x_51); +lean_dec(x_40); lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); @@ -26433,31 +26448,31 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_55 = !lean_is_exclusive(x_46); -if (x_55 == 0) +x_62 = !lean_is_exclusive(x_54); +if (x_62 == 0) { -return x_46; +return x_54; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_46, 0); -x_57 = lean_ctor_get(x_46, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_46); -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; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_54, 0); +x_64 = lean_ctor_get(x_54, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_54); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } else { -uint8_t x_59; -lean_dec(x_34); -lean_dec(x_26); +uint8_t x_66; +lean_dec(x_40); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); @@ -26469,99 +26484,101 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_59 = !lean_is_exclusive(x_42); -if (x_59 == 0) +x_66 = !lean_is_exclusive(x_50); +if (x_66 == 0) { -return x_42; +return x_50; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_42, 0); -x_61 = lean_ctor_get(x_42, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_42); -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; +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_50, 0); +x_68 = lean_ctor_get(x_50, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_50); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; lean_object* x_71; -x_63 = lean_array_fget(x_2, x_7); -x_64 = lean_ctor_get(x_63, 4); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 3); -lean_inc(x_65); -x_66 = lean_expr_abstract(x_64, x_65); -lean_dec(x_65); -lean_dec(x_64); -x_67 = lean_expr_instantiate_rev(x_66, x_3); -lean_dec(x_66); -x_68 = 0; -x_69 = 1; -x_70 = 1; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; +x_70 = lean_array_fget(x_2, x_7); +x_71 = lean_ctor_get(x_70, 4); +lean_inc(x_71); +x_72 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_71, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_ctor_get(x_70, 3); +lean_inc(x_75); +x_76 = l_Lean_Expr_replaceFVars(x_73, x_75, x_3); +lean_dec(x_75); +lean_dec(x_73); +x_77 = 0; +x_78 = 1; +x_79 = 1; lean_inc(x_3); -x_71 = l_Lean_Meta_mkForallFVars(x_3, x_67, x_68, x_69, x_70, x_13, x_14, x_15, x_16, x_30); -if (lean_obj_tag(x_71) == 0) +x_80 = l_Lean_Meta_mkForallFVars(x_3, x_76, x_77, x_78, x_79, x_13, x_14, x_15, x_16, x_74); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -lean_inc(x_63); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +lean_inc(x_70); lean_inc(x_3); lean_inc(x_4); -x_74 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors), 11, 4); -lean_closure_set(x_74, 0, x_4); -lean_closure_set(x_74, 1, x_26); -lean_closure_set(x_74, 2, x_3); -lean_closure_set(x_74, 3, x_63); +x_83 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors), 11, 4); +lean_closure_set(x_83, 0, x_4); +lean_closure_set(x_83, 1, x_32); +lean_closure_set(x_83, 2, x_3); +lean_closure_set(x_83, 3, x_70); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_75 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_3, x_74, x_11, x_12, x_13, x_14, x_15, x_16, x_73); -if (lean_obj_tag(x_75) == 0) +x_84 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(x_3, x_83, x_11, x_12, x_13, x_14, x_15, x_16, x_82); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_63, 0); -lean_inc(x_78); -lean_dec(x_63); -x_79 = lean_ctor_get(x_78, 4); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_72); -lean_ctor_set(x_80, 2, x_76); -x_81 = lean_array_push(x_10, x_80); -x_82 = lean_nat_add(x_7, x_9); -lean_dec(x_7); -x_6 = x_22; -x_7 = x_82; -x_10 = x_81; -x_17 = x_77; -goto _start; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_70, 0); +lean_inc(x_87); +lean_dec(x_70); +x_88 = lean_ctor_get(x_87, 4); +lean_inc(x_88); +lean_dec(x_87); +x_89 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_81); +lean_ctor_set(x_89, 2, x_85); +x_90 = lean_array_push(x_10, x_89); +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_23 = x_91; +x_24 = x_86; +goto block_28; } else { -uint8_t x_84; -lean_dec(x_72); -lean_dec(x_63); +uint8_t x_92; +lean_dec(x_81); +lean_dec(x_70); lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); @@ -26573,31 +26590,31 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_84 = !lean_is_exclusive(x_75); -if (x_84 == 0) +x_92 = !lean_is_exclusive(x_84); +if (x_92 == 0) { -return x_75; +return x_84; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_75, 0); -x_86 = lean_ctor_get(x_75, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_75); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_84, 0); +x_94 = lean_ctor_get(x_84, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_84); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } else { -uint8_t x_88; -lean_dec(x_63); -lean_dec(x_26); +uint8_t x_96; +lean_dec(x_70); +lean_dec(x_32); lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); @@ -26609,31 +26626,31 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_88 = !lean_is_exclusive(x_71); -if (x_88 == 0) +x_96 = !lean_is_exclusive(x_80); +if (x_96 == 0) { -return x_71; +return x_80; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_71, 0); -x_90 = lean_ctor_get(x_71, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_71); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_80, 0); +x_98 = lean_ctor_get(x_80, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_80); +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; } } } } else { -uint8_t x_92; -lean_dec(x_26); +uint8_t x_100; +lean_dec(x_32); lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); @@ -26645,23 +26662,23 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_92 = !lean_is_exclusive(x_29); -if (x_92 == 0) +x_100 = !lean_is_exclusive(x_35); +if (x_100 == 0) { -return x_29; +return x_35; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_29, 0); -x_94 = lean_ctor_get(x_29, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_29); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_35, 0); +x_102 = lean_ctor_get(x_35, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_35); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } @@ -26669,7 +26686,7 @@ return x_95; } else { -lean_object* x_104; +lean_object* x_112; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -26680,15 +26697,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_10); -lean_ctor_set(x_104, 1, x_17); -return x_104; +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_10); +lean_ctor_set(x_112, 1, x_17); +return x_112; } } else { -lean_object* x_105; +lean_object* x_113; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -26699,10 +26716,10 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_10); -lean_ctor_set(x_105, 1, x_17); -return x_105; +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_10); +lean_ctor_set(x_113, 1, x_17); +return x_113; } } } @@ -29870,163 +29887,113 @@ x_22 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Co lean_dec(x_18); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 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 = 1; -x_26 = 0; +x_25 = lean_array_get_size(x_3); +lean_dec(x_3); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_27 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_25, x_26, x_11, x_12, x_13, x_14, x_15, x_16, x_24); -if (lean_obj_tag(x_27) == 0) +lean_inc(x_4); +lean_inc(x_23); +x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(x_25, x_23, x_4, x_13, x_14, x_15, x_16, x_24); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_4); -lean_inc(x_23); -x_30 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(x_29, x_23, x_4, x_13, x_14, x_15, x_16, x_28); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -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); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); lean_inc(x_5); -x_33 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_5, x_11, x_12, x_13, x_14, x_15, x_16, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_unbox(x_34); -lean_dec(x_34); -if (x_35 == 0) +x_29 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_5, x_11, x_12, x_13, x_14, x_15, x_16, x_28); +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_36; lean_object* x_37; lean_object* x_38; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_5); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_box(0); -x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_23, x_31, x_6, x_7, x_1, x_4, x_8, x_9, x_37, x_11, x_12, x_13, x_14, x_15, x_16, x_36); -return x_38; -} -else -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_33); -if (x_39 == 0) -{ -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; -x_40 = lean_ctor_get(x_33, 1); -x_41 = lean_ctor_get(x_33, 0); -lean_dec(x_41); -lean_inc(x_31); -x_42 = l___private_Init_Data_Repr_0__Nat_reprFast(x_31); -x_43 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_43, 0, x_42); -x_44 = l_Lean_MessageData_ofFormat(x_43); -x_45 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; -lean_ctor_set_tag(x_33, 7); -lean_ctor_set(x_33, 1, x_44); -lean_ctor_set(x_33, 0, x_45); -x_46 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___closed__5; -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_33); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_5, x_47, x_11, x_12, x_13, x_14, x_15, x_16, x_40); -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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_23, x_31, x_6, x_7, x_1, x_4, x_8, x_9, x_49, x_11, x_12, x_13, x_14, x_15, x_16, x_50); -lean_dec(x_49); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_52 = lean_ctor_get(x_33, 1); -lean_inc(x_52); -lean_dec(x_33); -lean_inc(x_31); -x_53 = l___private_Init_Data_Repr_0__Nat_reprFast(x_31); -x_54 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = l_Lean_MessageData_ofFormat(x_54); -x_56 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; -x_57 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___closed__5; -x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_5, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_52); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_23, x_31, x_6, x_7, x_1, x_4, x_8, x_9, x_61, x_11, x_12, x_13, x_14, x_15, x_16, x_62); -lean_dec(x_61); -return x_63; -} -} +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_23, x_27, x_6, x_7, x_1, x_4, x_8, x_9, x_33, x_11, x_12, x_13, x_14, x_15, x_16, x_32); +return x_34; } else { -uint8_t x_64; -lean_dec(x_23); -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_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_64 = !lean_is_exclusive(x_30); -if (x_64 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_29); +if (x_35 == 0) { -return x_30; +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; +x_36 = lean_ctor_get(x_29, 1); +x_37 = lean_ctor_get(x_29, 0); +lean_dec(x_37); +lean_inc(x_27); +x_38 = l___private_Init_Data_Repr_0__Nat_reprFast(x_27); +x_39 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = l_Lean_MessageData_ofFormat(x_39); +x_41 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; +lean_ctor_set_tag(x_29, 7); +lean_ctor_set(x_29, 1, x_40); +lean_ctor_set(x_29, 0, x_41); +x_42 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___closed__5; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_29); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_5, x_43, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_23, x_27, x_6, x_7, x_1, x_4, x_8, x_9, x_45, x_11, x_12, x_13, x_14, x_15, x_16, x_46); +lean_dec(x_45); +return x_47; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_30, 0); -x_66 = lean_ctor_get(x_30, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_30); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +lean_object* x_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; +x_48 = lean_ctor_get(x_29, 1); +lean_inc(x_48); +lean_dec(x_29); +lean_inc(x_27); +x_49 = l___private_Init_Data_Repr_0__Nat_reprFast(x_27); +x_50 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l_Lean_MessageData_ofFormat(x_50); +x_52 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___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); +x_56 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_5, x_55, x_11, x_12, x_13, x_14, x_15, x_16, x_48); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_23, x_27, x_6, x_7, x_1, x_4, x_8, x_9, x_57, x_11, x_12, x_13, x_14, x_15, x_16, x_58); +lean_dec(x_57); +return x_59; } } } else { -uint8_t x_68; +uint8_t x_60; lean_dec(x_23); lean_dec(x_16); lean_dec(x_15); @@ -30038,31 +30005,30 @@ 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_68 = !lean_is_exclusive(x_27); -if (x_68 == 0) +x_60 = !lean_is_exclusive(x_26); +if (x_60 == 0) { -return x_27; +return x_26; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_27, 0); -x_70 = lean_ctor_get(x_27, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_27); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_26, 0); +x_62 = lean_ctor_get(x_26, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_26); +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_72; +uint8_t x_64; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -30075,23 +30041,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_22); -if (x_72 == 0) +x_64 = !lean_is_exclusive(x_22); +if (x_64 == 0) { return x_22; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_22, 0); -x_74 = lean_ctor_get(x_22, 1); -lean_inc(x_74); -lean_inc(x_73); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_22, 0); +x_66 = lean_ctor_get(x_22, 1); +lean_inc(x_66); +lean_inc(x_65); lean_dec(x_22); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +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; } } } @@ -30273,49 +30239,64 @@ lean_inc(x_1); x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader(x_1, 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; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; 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_box(x_4); -lean_inc(x_14); -lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed), 15, 6); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_14); -lean_closure_set(x_17, 2, x_2); -lean_closure_set(x_17, 3, x_3); -lean_closure_set(x_17, 4, x_16); -lean_closure_set(x_17, 5, x_5); +x_16 = 1; +x_17 = 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); -x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg(x_14, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +x_18 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_15); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; size_t 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_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); lean_dec(x_18); -x_20 = lean_array_size(x_1); -x_21 = lean_box_usize(x_20); -x_22 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7___boxed__const__1; -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed), 10, 3); -lean_closure_set(x_23, 0, x_1); -lean_closure_set(x_23, 1, x_21); -lean_closure_set(x_23, 2, x_22); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__4___lambda__1___boxed), 7, 0); -x_25 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__5(x_23, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -return x_25; +x_20 = lean_box(x_4); +lean_inc(x_14); +lean_inc(x_1); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed), 15, 6); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_14); +lean_closure_set(x_21, 2, x_2); +lean_closure_set(x_21, 3, x_3); +lean_closure_set(x_21, 4, x_20); +lean_closure_set(x_21, 5, x_5); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_22 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg(x_14, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_array_size(x_1); +x_25 = lean_box_usize(x_24); +x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7___boxed__const__1; +x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed), 10, 3); +lean_closure_set(x_27, 0, x_1); +lean_closure_set(x_27, 1, x_25); +lean_closure_set(x_27, 2, x_26); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__4___lambda__1___boxed), 7, 0); +x_29 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__5(x_27, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +return x_29; } else { -uint8_t x_26; +uint8_t x_30; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -30323,29 +30304,63 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_18); -if (x_26 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) +{ +return x_22; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_14); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_18); +if (x_34 == 0) { return x_18; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_18, 0); +x_36 = lean_ctor_get(x_18, 1); +lean_inc(x_36); +lean_inc(x_35); lean_dec(x_18); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } else { -uint8_t x_30; +uint8_t x_38; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -30356,23 +30371,23 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_13); -if (x_30 == 0) +x_38 = !lean_is_exclusive(x_13); +if (x_38 == 0) { return x_13; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_13, 0); -x_32 = lean_ctor_get(x_13, 1); -lean_inc(x_32); -lean_inc(x_31); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_13, 0); +x_40 = lean_ctor_get(x_13, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_13); -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; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c index 833d277df377..cc58377bac1d 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c @@ -24,6 +24,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDe LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__3___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__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_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__11; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,6 +33,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDe LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__19(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__7; lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstAltPos(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -57,7 +59,7 @@ lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__3___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_tryURefl___closed__3; uint8_t l_Lean_Exception_isInterrupt(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__12; static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__8; lean_object* l_Lean_Meta_Match_isNamedPattern___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__2(lean_object*, lean_object*); @@ -70,19 +72,20 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_f static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__3___closed__1; static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__4; static lean_object* l_Lean_Elab_Eqns_funext_x3f___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(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_Eqns_expand___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__7; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_splitMatch_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__2; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_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_Lean_Elab_Eqns_simpMatch_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__9; lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_Eqns_mkEqnTypes_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT uint8_t l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__3___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__11___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -94,12 +97,13 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnTyp lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__19; extern lean_object* l_Lean_ForEachExprWhere_initCache; lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_mapForallTelescope_x27___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__32___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ForEachExpr_visit___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Eqns_simpEqnType_collect___spec__3___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_Eqns_mkEqnTypes_go___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_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Eqns_simpEqnType_collect___spec__3(lean_object*); @@ -118,16 +122,15 @@ static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_tryContradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBTree_toArray___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__5; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__32___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__12; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -152,8 +155,8 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnus LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__1___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__16; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__17___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_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__19; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__28___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -164,9 +167,7 @@ uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); lean_object* l_Lean_Expr_replaceFVarId(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__30___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*); uint8_t l_Lean_Expr_hasMVar(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__2; uint8_t l_Lean_Expr_isLambda(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__9; static lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__2; @@ -200,6 +201,7 @@ static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_PreDefi uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___at_Lean_Elab_Eqns_simpEqnType___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*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_isIrrelevant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,16 +225,17 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreD LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_quickCmp___boxed(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_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__17; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__15___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__15___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__1___closed__2; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__21___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__5; static lean_object* l_Lean_Elab_Eqns_expandRHS_x3f___closed__1; -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__17; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___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_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__2___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -263,7 +266,6 @@ LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Eqns_si LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__2___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_RBTree_toArray___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__1___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -292,13 +294,14 @@ static lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses___closed__2; extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___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* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(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_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(lean_object*, lean_object*, uint8_t); uint64_t l_Lean_Expr_hash(lean_object*); static lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_lhsDependsOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof___closed__1; -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__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_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -308,12 +311,11 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnus static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___lambda__1___closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_expand(uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516_(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Split_splitMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__18; static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__7; static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldEq___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -327,7 +329,6 @@ uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler lean_object* l_Lean_Meta_simpIfTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___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_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_expandRHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -337,11 +338,9 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___s lean_object* l_Lean_Meta_isMatcherAppCore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__11(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__10; lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_diagnostics; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpIf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -352,7 +351,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnTyp LEAN_EXPORT uint8_t l_Lean_Elab_Eqns_deltaRHS_x3f___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_CollectFVars_main(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_find_ext_expr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__21___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_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -376,15 +375,15 @@ lean_object* l_Lean_MessageData_ofExpr(lean_object*); lean_object* l_Lean_Meta_Match_isNamedPattern_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Eqns_mkUnfoldProof___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go(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_Eqns_mkEqnTypes_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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_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* l_Lean_Meta_Split_simpMatchTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_lhsDependsOn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___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*); double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__21___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_instInhabitedEqnInfoCore; -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__1; +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at_Lean_Elab_Eqns_simpEqnType_collect___spec__4___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__19___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -412,7 +411,7 @@ static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__25(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(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_brecOnSuffix; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__9___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__11; @@ -422,13 +421,12 @@ lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2(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*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__25___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_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go(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_Elab_Eqns_mkEqnTypes_go(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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__1___closed__1; @@ -453,6 +451,7 @@ LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Elab_PreDef LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Eqns_mkUnfoldProof___spec__3___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_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_pushDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__15; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__4; lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -461,7 +460,6 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_funext_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__8; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__23___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -471,10 +469,11 @@ static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__2___closed__1 LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__4; extern lean_object* l_Lean_Meta_unfoldThmSuffix; static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__1; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__14; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__21(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Eqns_deltaLHS___lambda__1(lean_object*); @@ -502,6 +501,7 @@ static lean_object* l_Lean_Elab_Eqns_tryURefl___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_splitMatch_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3(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_Eqns_removeUnusedEqnHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__13; lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_mkLambda(lean_object*, lean_object*, lean_object*); @@ -533,7 +533,6 @@ lean_object* lean_find_expr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Elab_Eqns_mkUnfoldProof___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__15; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Elab_Eqns_funext_x3f___lambda__2___closed__1; lean_object* l_Lean_Meta_Match_unfoldNamedPattern___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -545,13 +544,12 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__19___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_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__16; static lean_object* l_Lean_Elab_Eqns_mkUnfoldEq___lambda__3___closed__1; static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__14; uint8_t l_Lean_Exception_isRuntime(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_isIrrelevant___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaLHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__10; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__9___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_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_whnfAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); @@ -572,7 +570,6 @@ lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Elab_Eqns_tryURefl___closed__2; static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__1___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__18; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__19___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_Eqns_splitMatch_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); @@ -20470,76 +20467,76 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -if (lean_obj_tag(x_3) == 0) +if (lean_obj_tag(x_2) == 0) { -lean_object* x_11; lean_object* x_12; -lean_dec(x_9); +lean_object* x_10; lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_2); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_dec(x_4); +lean_dec(x_1); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_3, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_2, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_3, 1); -lean_inc(x_14); -lean_dec(x_3); -lean_inc(x_9); +lean_dec(x_2); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_2); -x_15 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_4); +lean_inc(x_1); +x_14 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_3 = x_14; -x_10 = x_16; +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_2 = x_13; +x_9 = x_15; goto _start; } else { -uint8_t x_18; -lean_dec(x_14); -lean_dec(x_9); +uint8_t x_17; +lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_2); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) +lean_dec(x_4); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) { -return x_15; +return x_14; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); lean_inc(x_19); -lean_dec(x_15); -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_inc(x_18); +lean_dec(x_14); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } @@ -20785,571 +20782,445 @@ x_10 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn(x_1, x return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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) { _start: { -lean_object* x_12; -lean_inc(x_10); +lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_2); lean_inc(x_1); -x_12 = l_Lean_Elab_Eqns_splitMatch_x3f(x_1, x_2, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +x_11 = l_Lean_Elab_Eqns_splitMatch_x3f(x_1, x_2, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; lean_dec(x_2); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn(x_1, x_6, x_7, x_8, x_9, x_10, x_14); -return x_15; +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn(x_1, x_5, x_6, x_7, x_8, x_9, x_13); +return x_14; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_16 = lean_ctor_get(x_12, 1); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_ctor_get(x_12, 0); lean_inc(x_16); lean_dec(x_12); -x_17 = lean_ctor_get(x_13, 0); -lean_inc(x_17); -lean_dec(x_13); -x_18 = l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(x_3, x_2, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -if (lean_obj_tag(x_18) == 0) +x_17 = l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -return x_18; +return x_17; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) { -return x_18; +return x_17; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_18, 0); -x_25 = lean_ctor_get(x_18, 1); -lean_inc(x_25); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_17, 0); +x_24 = lean_ctor_get(x_17, 1); lean_inc(x_24); -lean_dec(x_18); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_inc(x_23); +lean_dec(x_17); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } } else { -uint8_t x_27; -lean_dec(x_10); +uint8_t x_26; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_12); -if (x_27 == 0) +x_26 = !lean_is_exclusive(x_11); +if (x_26 == 0) { -return x_12; +return x_11; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_12, 0); -x_29 = lean_ctor_get(x_12, 1); -lean_inc(x_29); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_11, 0); +x_28 = lean_ctor_get(x_11, 1); lean_inc(x_28); -lean_dec(x_12); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_inc(x_27); +lean_dec(x_11); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; -lean_inc(x_10); +lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); -x_12 = l_Lean_MVarId_getType_x27(x_1, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +x_11 = l_Lean_MVarId_getType_x27(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -lean_inc(x_10); +lean_dec(x_11); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_15 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch(x_13, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) +lean_inc(x_6); +x_14 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch(x_12, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); lean_dec(x_15); -x_19 = lean_box(0); -x_20 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(x_1, x_2, x_3, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -return x_20; +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_box(0); +x_19 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(x_1, x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +return x_19; } else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_dec(x_15); -lean_inc(x_10); +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); -x_22 = l_Lean_Elab_Eqns_simpMatch_x3f(x_1, x_7, x_8, x_9, x_10, x_21); +x_21 = l_Lean_Elab_Eqns_simpMatch_x3f(x_1, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -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_Eqns_mkEqnTypes_go___lambda__2(x_1, x_2, x_3, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_24); -return x_26; +lean_dec(x_21); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(x_1, x_2, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_25; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_27 = lean_ctor_get(x_22, 1); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_ctor_get(x_22, 0); lean_inc(x_27); lean_dec(x_22); -x_28 = lean_ctor_get(x_23, 0); -lean_inc(x_28); -lean_dec(x_23); -x_29 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_3, x_2, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -if (lean_obj_tag(x_29) == 0) +x_28 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_2, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +if (lean_obj_tag(x_28) == 0) { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) { -return x_29; +return x_28; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); lean_inc(x_31); -lean_dec(x_29); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_inc(x_30); +lean_dec(x_28); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } else { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) { -return x_29; +return x_28; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_28, 0); +x_35 = lean_ctor_get(x_28, 1); lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_inc(x_34); +lean_dec(x_28); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } } else { -uint8_t x_38; -lean_dec(x_10); +uint8_t x_37; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_22); -if (x_38 == 0) +x_37 = !lean_is_exclusive(x_21); +if (x_37 == 0) { -return x_22; +return x_21; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_22, 0); -x_40 = lean_ctor_get(x_22, 1); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_21, 0); +x_39 = lean_ctor_get(x_21, 1); lean_inc(x_39); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_inc(x_38); +lean_dec(x_21); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } } else { -uint8_t x_42; -lean_dec(x_10); +uint8_t x_41; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_15); -if (x_42 == 0) +x_41 = !lean_is_exclusive(x_14); +if (x_41 == 0) { -return x_15; +return x_14; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_15, 0); -x_44 = lean_ctor_get(x_15, 1); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_14, 0); +x_43 = lean_ctor_get(x_14, 1); lean_inc(x_43); -lean_dec(x_15); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_inc(x_42); +lean_dec(x_14); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } else { -uint8_t x_46; -lean_dec(x_10); +uint8_t x_45; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_12); -if (x_46 == 0) +x_45 = !lean_is_exclusive(x_11); +if (x_45 == 0) { -return x_12; +return x_11; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_12, 0); -x_48 = lean_ctor_get(x_12, 1); -lean_inc(x_48); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_11, 0); +x_47 = lean_ctor_get(x_11, 1); lean_inc(x_47); -lean_dec(x_12); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_inc(x_46); +lean_dec(x_11); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; -lean_inc(x_10); +lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); -x_12 = l_Lean_Elab_Eqns_expandRHS_x3f(x_1, x_7, x_8, x_9, x_10, x_11); +x_11 = l_Lean_Elab_Eqns_expandRHS_x3f(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_box(0); -x_16 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -return x_16; +lean_dec(x_11); +x_14 = lean_box(0); +x_15 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_15; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_1); -x_17 = lean_ctor_get(x_12, 1); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_ctor_get(x_12, 0); lean_inc(x_17); lean_dec(x_12); -x_18 = lean_ctor_get(x_13, 0); -lean_inc(x_18); -lean_dec(x_13); -x_19 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_3, x_2, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_19) == 0) +x_18 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_18) == 0) { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -return x_19; +return x_18; } else { -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_19, 1); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) -{ -return x_19; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_19, 0); -x_26 = lean_ctor_get(x_19, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_19); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -} -else -{ -uint8_t x_28; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_12); -if (x_28 == 0) -{ -return x_12; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_12, 0); -x_30 = lean_ctor_get(x_12, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_12); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__5(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) { -_start: -{ -if (x_3 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -else -{ -lean_object* x_14; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_14 = l_Lean_Elab_Eqns_tryURefl(x_1, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_unbox(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_box(0); -x_19 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_2); -x_20 = lean_ctor_get(x_14, 1); lean_inc(x_20); -lean_dec(x_14); -x_21 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn(x_1, x_6, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -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; +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } else { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) { -return x_21; +return x_18; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } } else { -uint8_t x_32; -lean_dec(x_10); +uint8_t x_27; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_14); -if (x_32 == 0) +x_27 = !lean_is_exclusive(x_11); +if (x_27 == 0) { -return x_14; +return x_11; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_14, 0); -x_34 = lean_ctor_get(x_14, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_14); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_11, 0); +x_29 = lean_ctor_get(x_11, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_11); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -21390,83 +21261,83 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = l_Lean_Elab_Eqns_mkEqnTypes_go___closed__2; -x_12 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__1(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_unbox(x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Elab_Eqns_mkEqnTypes_go___closed__2; +x_11 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__1(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_unbox(x_12); lean_dec(x_12); -x_16 = lean_box(0); -x_17 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__5(x_3, x_2, x_1, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -return x_17; +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_2, x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +return x_16; } else { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_12); -if (x_18 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_11); +if (x_17 == 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; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_19 = lean_ctor_get(x_12, 1); -x_20 = lean_ctor_get(x_12, 0); -lean_dec(x_20); -lean_inc(x_3); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_3); -x_22 = l_Lean_Elab_Eqns_mkEqnTypes_go___closed__4; -lean_ctor_set_tag(x_12, 7); -lean_ctor_set(x_12, 1, x_21); -lean_ctor_set(x_12, 0, x_22); -x_23 = l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_12); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_addTrace___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__3(x_11, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -x_26 = lean_ctor_get(x_25, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_18 = lean_ctor_get(x_11, 1); +x_19 = lean_ctor_get(x_11, 0); +lean_dec(x_19); +lean_inc(x_2); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_2); +x_21 = l_Lean_Elab_Eqns_mkEqnTypes_go___closed__4; +lean_ctor_set_tag(x_11, 7); +lean_ctor_set(x_11, 1, x_20); +lean_ctor_set(x_11, 0, x_21); +x_22 = l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_11); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__3(x_10, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); +lean_dec(x_24); +x_27 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_2, x_1, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_26); lean_dec(x_25); -x_28 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__5(x_3, x_2, x_1, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_27); -lean_dec(x_26); -return x_28; +return x_27; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_29 = lean_ctor_get(x_12, 1); -lean_inc(x_29); -lean_dec(x_12); -lean_inc(x_3); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_3); -x_31 = l_Lean_Elab_Eqns_mkEqnTypes_go___closed__4; -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; -x_34 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_addTrace___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__3(x_11, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -x_36 = lean_ctor_get(x_35, 0); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_28 = lean_ctor_get(x_11, 1); +lean_inc(x_28); +lean_dec(x_11); +lean_inc(x_2); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_2); +x_30 = l_Lean_Elab_Eqns_mkEqnTypes_go___closed__4; +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; +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_Elab_Eqns_mkEqnTypes_go___spec__3(x_10, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); +lean_dec(x_34); +x_37 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_2, x_1, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_36); lean_dec(x_35); -x_38 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__5(x_3, x_2, x_1, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_37); -lean_dec(x_36); -return x_38; +return x_37; } } } @@ -21485,15 +21356,13 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___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_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___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) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -lean_dec(x_1); -x_12 = l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_4); -return x_12; +lean_object* x_10; +x_10 = l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -21520,140 +21389,110 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -lean_dec(x_3); -x_13 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_5); +lean_object* x_11; +x_11 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_13; +lean_dec(x_3); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -lean_dec(x_3); -x_13 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_5); +lean_object* x_11; +x_11 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_13; +lean_dec(x_3); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -lean_dec(x_3); -x_13 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_5); +lean_object* x_11; +x_11 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_13; +lean_dec(x_3); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_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) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); +lean_object* x_10; +x_10 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_3); -x_13 = l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__5(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_5); -lean_dec(x_4); -return x_13; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_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_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = l_Lean_RBTree_toArray___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__1___closed__1; +x_9 = lean_st_mk_ref(x_8, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +lean_inc(x_10); +lean_inc(x_1); +x_12 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_1, x_2, x_1, x_10, x_3, x_4, x_5, x_6, x_11); lean_dec(x_1); -x_12 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_4); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +if (lean_obj_tag(x_12) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l_Lean_RBTree_toArray___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__1___closed__1; -x_10 = lean_st_mk_ref(x_9, x_8); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_10, x_13); lean_dec(x_10); -lean_inc(x_11); -lean_inc(x_2); -x_13 = l_Lean_Elab_Eqns_mkEqnTypes_go(x_1, x_2, x_3, x_2, x_11, x_4, x_5, x_6, x_7, x_12); -lean_dec(x_2); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_11, x_14); -lean_dec(x_11); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -return x_15; +return x_14; } else { -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, 1); -lean_inc(x_18); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); lean_inc(x_17); -lean_dec(x_15); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; } } else { -uint8_t x_20; -lean_dec(x_11); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) +uint8_t x_19; +lean_dec(x_10); +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) { -return x_13; +return x_12; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); -lean_dec(x_13); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} +lean_inc(x_20); +lean_dec(x_12); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_1); -lean_dec(x_1); -x_10 = l_Lean_Elab_Eqns_mkEqnTypes(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -31706,7 +31545,7 @@ return x_34; } } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__1() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__1() { _start: { lean_object* x_1; @@ -31714,18 +31553,18 @@ x_1 = lean_mk_string_unchecked("unfoldEqn", 9, 9); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__2() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; x_2 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__2; -x_3 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__1; +x_3 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3() { _start: { lean_object* x_1; @@ -31733,27 +31572,27 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__4() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__5() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__4; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__4; x_2 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6() { _start: { lean_object* x_1; @@ -31761,17 +31600,17 @@ x_1 = lean_mk_string_unchecked("Eqns", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__7() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__5; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__5; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__8() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__8() { _start: { lean_object* x_1; @@ -31779,17 +31618,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__9() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__7; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__8; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__7; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__10() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__10() { _start: { lean_object* x_1; @@ -31797,37 +31636,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__11() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__9; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__10; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__9; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__12() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__11; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__11; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__13() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__12; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__12; x_2 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__14() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__14() { _start: { lean_object* x_1; @@ -31835,27 +31674,27 @@ x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__15() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__13; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__14; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__13; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__16() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__15; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__15; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__17() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__17() { _start: { lean_object* x_1; @@ -31863,33 +31702,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__18() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__16; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__17; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__16; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__17; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__19() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__18; -x_2 = lean_unsigned_to_nat(6516u); +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__18; +x_2 = lean_unsigned_to_nat(6412u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412_(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_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__2; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__19; +x_4 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__19; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -32151,45 +31990,45 @@ l_Lean_Elab_Eqns_mkUnfoldProof___closed__4 = _init_l_Lean_Elab_Eqns_mkUnfoldProo lean_mark_persistent(l_Lean_Elab_Eqns_mkUnfoldProof___closed__4); l_Lean_Elab_Eqns_mkUnfoldEq___lambda__3___closed__1 = _init_l_Lean_Elab_Eqns_mkUnfoldEq___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_Eqns_mkUnfoldEq___lambda__3___closed__1); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__1(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__1); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__2 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__2(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__2); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__3); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__4 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__4(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__4); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__5 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__5(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__5); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__6); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__7 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__7(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__7); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__8 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__8(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__8); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__9 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__9(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__9); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__10 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__10(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__10); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__11 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__11(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__11); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__12 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__12(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__12); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__13 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__13(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__13); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__14 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__14(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__14); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__15 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__15(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__15); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__16 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__16(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__16); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__17 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__17(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__17); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__18 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__18(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__18); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__19 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__19(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516____closed__19); -if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6516_(lean_io_mk_world()); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__1(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__1); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__2 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__2(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__2); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__3); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__4 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__4(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__4); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__5 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__5(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__5); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__6); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__7 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__7(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__7); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__8 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__8(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__8); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__9 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__9(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__9); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__10 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__10(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__10); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__11 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__11(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__11); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__12 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__12(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__12); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__13 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__13(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__13); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__14 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__14(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__14); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__15 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__15(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__15); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__16 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__16(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__16); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__17 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__17(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__17); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__18 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__18(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__18); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__19 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__19(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412____closed__19); +if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6412_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c index ee91fd9007b0..7f552ee88eec 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c @@ -16,21 +16,19 @@ extern "C" { lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465_(lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464_(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__4; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__16; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__5; uint32_t l_UInt32_ofNatTruncate(lean_object*); static lean_object* l_Lean_Elab_Structural_registerEqnsInfo___closed__1; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__8; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getUnfoldFor_x3f___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__13; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_simpMatch_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -44,8 +42,6 @@ lean_object* l_Lean_Expr_bvar___override(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___closed__1; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__3; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__9; extern lean_object* l_Lean_Meta_tactic_hygienic; lean_object* l_Lean_Meta_registerGetUnfoldEqnFn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_tryContradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -53,6 +49,7 @@ lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof(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___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__5; extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -63,39 +60,46 @@ uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__19; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_eqnInfoExt; size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__6; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_mkEqns___closed__1; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__10; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__19; lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__17; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___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*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__7; static lean_object* l_Lean_Elab_Structural_mkEqns___lambda__2___closed__1; lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__15; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__4; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__5; 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*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211_(lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__3; lean_object* l_outOfBounds___rarg(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__4; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__16; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__8; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__1; lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__12; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__14; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__15; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___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___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__7; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,40 +110,36 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_ extern lean_object* l_Lean_diagnostics; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__20; lean_object* l_Lean_Elab_Eqns_simpIf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Eqns_mkEqnTypes(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__2; +lean_object* l_Lean_Elab_Eqns_mkEqnTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_splitTarget_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__18; lean_object* l_Lean_MessageData_ofExpr(lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getEqnsFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__3; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__18; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_eqnThmSuffixBase; lean_object* lean_name_append_index_after(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__14; static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__21; -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_registerGetEqnsFn(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__1; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__17; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__14; uint8_t lean_nat_dec_lt(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_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__6; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___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*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__19; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__11; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___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*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__16; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__4; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__13; static lean_object* l_Lean_Elab_Structural_mkEqns___closed__2; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__4; lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_ensureEqnReservedNamesAvailable(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -148,10 +148,10 @@ lean_object* l_Lean_Elab_Eqns_whnfReducibleLHS_x3f(lean_object*, lean_object*, l lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go(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_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__10; extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__3; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_casesOnStuckLHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -159,14 +159,13 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpTargetStar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__11; lean_object* l_Lean_Elab_Eqns_tryURefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__4; lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getUnfoldFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -179,14 +178,15 @@ static uint32_t l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab lean_object* l_Lean_MessageData_ofName(lean_object*); lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getUnfoldFor_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__8; lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__3; -static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__12; static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__13; static lean_object* l_Lean_Elab_Structural_mkEqns___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__7; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lambda__1___closed__17; +static lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2; static lean_object* _init_l_Lean_Elab_Structural_instInhabitedEqnInfo___closed__1() { _start: { @@ -2515,7 +2515,7 @@ lean_inc(x_5); x_15 = l_Lean_Meta_mkEq(x_14, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +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; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -2534,35 +2534,34 @@ lean_inc(x_22); lean_dec(x_2); x_23 = l_Lean_Expr_mvarId_x21(x_20); lean_dec(x_20); -x_24 = 1; -x_25 = l_Lean_Elab_Eqns_mkEqnTypes(x_24, x_22, x_23, x_5, x_6, x_7, x_8, x_21); -return x_25; +x_24 = l_Lean_Elab_Eqns_mkEqnTypes(x_22, x_23, x_5, x_6, x_7, x_8, x_21); +return x_24; } else { -uint8_t x_26; +uint8_t x_25; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_26 = !lean_is_exclusive(x_15); -if (x_26 == 0) +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) { return x_15; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_15, 0); -x_28 = lean_ctor_get(x_15, 1); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); lean_inc(x_27); +lean_inc(x_26); lean_dec(x_15); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -3048,7 +3047,7 @@ lean_dec(x_7); return x_12; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1() { _start: { lean_object* x_1; @@ -3056,7 +3055,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2() { _start: { lean_object* x_1; @@ -3064,7 +3063,7 @@ x_1 = lean_mk_string_unchecked("Structural", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__3() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__3() { _start: { lean_object* x_1; @@ -3072,23 +3071,23 @@ x_1 = lean_mk_string_unchecked("eqnInfoExt", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__4() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1; x_2 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__1; -x_3 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2; -x_4 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__3; +x_3 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2; +x_4 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__4; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__4; x_3 = l_Lean_mkMapDeclarationExtension___rarg(x_2, x_1); return x_3; } @@ -3715,7 +3714,7 @@ return x_31; } } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__1() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__1() { _start: { lean_object* x_1; @@ -3723,7 +3722,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getEqnsFor_x3f), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__2() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__2() { _start: { lean_object* x_1; @@ -3731,37 +3730,37 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_getUnfoldFor_x3f), 6, 0) return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__3() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__4() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__3; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__3; x_2 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__5() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__4; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__4; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__6() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__6() { _start: { lean_object* x_1; @@ -3769,17 +3768,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__7() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__5; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__6; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__5; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__8() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__8() { _start: { lean_object* x_1; @@ -3787,37 +3786,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__9() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__7; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__8; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__7; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__10() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__9; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__9; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__11() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__10; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__10; x_2 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__12() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__12() { _start: { lean_object* x_1; @@ -3825,27 +3824,27 @@ x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__13() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__11; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__12; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__11; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__14() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__13; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__13; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__15() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__15() { _start: { lean_object* x_1; @@ -3853,17 +3852,17 @@ x_1 = lean_mk_string_unchecked("Eqns", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__16() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__14; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__15; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__14; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__17() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__17() { _start: { lean_object* x_1; @@ -3871,31 +3870,31 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__18() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__16; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__17; +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__16; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__17; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__19() { +static lean_object* _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__18; -x_2 = lean_unsigned_to_nat(1465u); +x_1 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__18; +x_2 = lean_unsigned_to_nat(1464u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__1; +x_2 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__1; x_3 = l_Lean_Meta_registerGetEqnsFn(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -3903,7 +3902,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__2; +x_5 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__2; x_6 = l_Lean_Meta_registerGetUnfoldEqnFn(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -3913,7 +3912,7 @@ lean_inc(x_7); lean_dec(x_6); x_8 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__5; x_9 = 0; -x_10 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__19; +x_10 = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__19; x_11 = l_Lean_registerTraceClass(x_8, x_9, x_10, x_7); return x_11; } @@ -4082,60 +4081,60 @@ l_Lean_Elab_Structural_mkEqns___closed__2 = _init_l_Lean_Elab_Structural_mkEqns_ lean_mark_persistent(l_Lean_Elab_Structural_mkEqns___closed__2); l_Lean_Elab_Structural_mkEqns___closed__3 = _init_l_Lean_Elab_Structural_mkEqns___closed__3(); lean_mark_persistent(l_Lean_Elab_Structural_mkEqns___closed__3); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__1); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__2); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__3 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__3(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__3); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__4 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__4(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212____closed__4); -if (builtin) {res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1212_(lean_io_mk_world()); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__1); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__2); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__3 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__3(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__3); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__4 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__4(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211____closed__4); +if (builtin) {res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1211_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Structural_eqnInfoExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Structural_eqnInfoExt); lean_dec_ref(res); }l_Lean_Elab_Structural_registerEqnsInfo___closed__1 = _init_l_Lean_Elab_Structural_registerEqnsInfo___closed__1(); lean_mark_persistent(l_Lean_Elab_Structural_registerEqnsInfo___closed__1); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__1 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__1(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__1); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__2 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__2(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__2); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__3 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__3(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__3); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__4 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__4(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__4); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__5 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__5(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__5); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__6 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__6(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__6); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__7 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__7(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__7); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__8 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__8(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__8); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__9 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__9(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__9); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__10 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__10(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__10); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__11 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__11(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__11); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__12 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__12(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__12); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__13 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__13(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__13); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__14 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__14(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__14); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__15 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__15(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__15); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__16 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__16(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__16); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__17 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__17(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__17); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__18 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__18(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__18); -l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__19 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__19(); -lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465____closed__19); -if (builtin) {res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1465_(lean_io_mk_world()); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__1 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__1(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__1); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__2 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__2(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__2); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__3 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__3(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__3); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__4 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__4(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__4); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__5 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__5(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__5); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__6 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__6(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__6); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__7 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__7(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__7); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__8 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__8(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__8); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__9 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__9(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__9); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__10 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__10(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__10); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__11 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__11(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__11); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__12 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__12(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__12); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__13 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__13(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__13); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__14 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__14(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__14); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__15 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__15(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__15); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__16 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__16(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__16); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__17 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__17(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__17); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__18 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__18(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__18); +l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__19 = _init_l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__19(); +lean_mark_persistent(l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464____closed__19); +if (builtin) {res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns___hyg_1464_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c index f01ac8028748..c982980d5730 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c @@ -240,7 +240,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__15(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__7(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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, 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_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__7___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__17___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_Structural_reportTermArg___closed__3; @@ -412,7 +411,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___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*); -uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_404_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1518,6 +1516,7 @@ if (x_12 == 0) lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_23; lean_object* x_24; uint8_t x_25; x_13 = lean_array_uget(x_3, x_4); x_23 = l_Lean_Expr_bindingDomain_x21(x_13); +lean_dec(x_13); x_24 = lean_unsigned_to_nat(0u); x_25 = lean_nat_dec_lt(x_24, x_2); if (x_25 == 0) @@ -1526,6 +1525,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_26 = l_Lean_instInhabitedExpr; x_27 = l_outOfBounds___rarg(x_26); x_28 = l_Lean_Expr_bindingDomain_x21(x_27); +lean_dec(x_27); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -1533,199 +1533,126 @@ lean_inc(x_7); x_29 = l_Lean_Meta_isExprDefEq(x_23, x_28, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_29) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_object* x_30; uint8_t x_31; x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Expr_bindingName_x21(x_13); -x_33 = l_Lean_Expr_bindingName_x21(x_27); -x_34 = lean_name_eq(x_32, x_33); -lean_dec(x_33); -lean_dec(x_32); -if (x_34 == 0) -{ -uint8_t x_35; -lean_dec(x_30); -lean_dec(x_27); -lean_dec(x_13); -x_35 = 1; -x_14 = x_35; -x_15 = x_31; -goto block_22; -} -else -{ -uint8_t x_36; uint8_t x_37; uint8_t x_38; -x_36 = l_Lean_Expr_binderInfo(x_13); -lean_dec(x_13); -x_37 = l_Lean_Expr_binderInfo(x_27); -lean_dec(x_27); -x_38 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_404_(x_36, x_37); -if (x_38 == 0) -{ -uint8_t x_39; -lean_dec(x_30); -x_39 = 1; -x_14 = x_39; -x_15 = x_31; -goto block_22; -} -else -{ -uint8_t x_40; -x_40 = lean_unbox(x_30); +x_31 = lean_unbox(x_30); lean_dec(x_30); -if (x_40 == 0) +if (x_31 == 0) { -uint8_t x_41; -x_41 = 1; -x_14 = x_41; -x_15 = x_31; +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = 1; +x_14 = x_33; +x_15 = x_32; goto block_22; } else { -uint8_t x_42; -x_42 = 0; -x_14 = x_42; -x_15 = x_31; +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_dec(x_29); +x_35 = 0; +x_14 = x_35; +x_15 = x_34; goto block_22; } } -} -} else { -uint8_t x_43; -lean_dec(x_27); -lean_dec(x_13); +uint8_t x_36; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_43 = !lean_is_exclusive(x_29); -if (x_43 == 0) +x_36 = !lean_is_exclusive(x_29); +if (x_36 == 0) { return x_29; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_29, 0); -x_45 = lean_ctor_get(x_29, 1); -lean_inc(x_45); -lean_inc(x_44); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_29, 0); +x_38 = lean_ctor_get(x_29, 1); +lean_inc(x_38); +lean_inc(x_37); lean_dec(x_29); -x_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; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_array_fget(x_1, x_24); -x_48 = l_Lean_Expr_bindingDomain_x21(x_47); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_array_fget(x_1, x_24); +x_41 = l_Lean_Expr_bindingDomain_x21(x_40); +lean_dec(x_40); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_49 = l_Lean_Meta_isExprDefEq(x_23, x_48, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_50 = lean_ctor_get(x_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_Expr_bindingName_x21(x_13); -x_53 = l_Lean_Expr_bindingName_x21(x_47); -x_54 = lean_name_eq(x_52, x_53); -lean_dec(x_53); -lean_dec(x_52); -if (x_54 == 0) -{ -uint8_t x_55; -lean_dec(x_50); -lean_dec(x_47); -lean_dec(x_13); -x_55 = 1; -x_14 = x_55; -x_15 = x_51; -goto block_22; -} -else -{ -uint8_t x_56; uint8_t x_57; uint8_t x_58; -x_56 = l_Lean_Expr_binderInfo(x_13); -lean_dec(x_13); -x_57 = l_Lean_Expr_binderInfo(x_47); -lean_dec(x_47); -x_58 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_404_(x_56, x_57); -if (x_58 == 0) -{ -uint8_t x_59; -lean_dec(x_50); -x_59 = 1; -x_14 = x_59; -x_15 = x_51; -goto block_22; -} -else +x_42 = l_Lean_Meta_isExprDefEq(x_23, x_41, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_42) == 0) { -uint8_t x_60; -x_60 = lean_unbox(x_50); -lean_dec(x_50); -if (x_60 == 0) +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_unbox(x_43); +lean_dec(x_43); +if (x_44 == 0) { -uint8_t x_61; -x_61 = 1; -x_14 = x_61; -x_15 = x_51; +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = 1; +x_14 = x_46; +x_15 = x_45; goto block_22; } else { -uint8_t x_62; -x_62 = 0; -x_14 = x_62; -x_15 = x_51; +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); +lean_dec(x_42); +x_48 = 0; +x_14 = x_48; +x_15 = x_47; goto block_22; } } -} -} else { -uint8_t x_63; -lean_dec(x_47); -lean_dec(x_13); +uint8_t x_49; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_63 = !lean_is_exclusive(x_49); -if (x_63 == 0) +x_49 = !lean_is_exclusive(x_42); +if (x_49 == 0) { -return x_49; +return x_42; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_49, 0); -x_65 = lean_ctor_get(x_49, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_49); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_42, 0); +x_51 = lean_ctor_get(x_42, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_42); +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; } } } @@ -1758,17 +1685,17 @@ return x_21; } else { -uint8_t x_67; lean_object* x_68; lean_object* x_69; +uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_67 = 0; -x_68 = lean_box(x_67); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_11); -return x_69; +x_53 = 0; +x_54 = lean_box(x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_11); +return x_55; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Basic.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Basic.c new file mode 100644 index 000000000000..a584e62e586c --- /dev/null +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Basic.c @@ -0,0 +1,469 @@ +// Lean compiler output +// Module: Lean.Elab.PreDefinition.WF.Basic +// Imports: Lean.Elab.Tactic.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__8; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__3; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_applyCleanWfTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__15; +lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__4; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__14; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__10; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__11; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6_(lean_object*); +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__9; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__13; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__9; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__2; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__6; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__10; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__12; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__4; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__7; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__1; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__8; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2; +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__5; +lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_debug_rawDecreasingByGoal; +static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__6; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic(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_WF_applyCleanWfTactic___closed__3; +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("rawDecreasingByGoal", 19, 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Shows the raw `decreasing_by` goal including internal implementation detail intead of cleaning it up with the `clean_wf` tactic. Can be enabled for debugging purposes. Please report an issue if you have to use this option for other reasons.", 240, 240); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__6() { +_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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__4; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__5; +x_4 = lean_box(x_1); +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("WF", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__10() { +_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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__8; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__9; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1; +x_5 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6_(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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__3; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__6; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__10; +x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_WF_debug_rawDecreasingByGoal; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("allGoals", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7; +x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__2; +x_3 = l_Lean_Elab_WF_applyCleanWfTactic___closed__3; +x_4 = l_Lean_Elab_WF_applyCleanWfTactic___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("all_goals", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7; +x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__2; +x_3 = l_Lean_Elab_WF_applyCleanWfTactic___closed__3; +x_4 = l_Lean_Elab_WF_applyCleanWfTactic___closed__7; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7; +x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__2; +x_3 = l_Lean_Elab_WF_applyCleanWfTactic___closed__3; +x_4 = l_Lean_Elab_WF_applyCleanWfTactic___closed__9; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__11; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticClean_wf", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__13; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("clean_wf", 8, 8); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_applyCleanWfTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 2); +lean_inc(x_10); +x_11 = l_Lean_Elab_WF_applyCleanWfTactic___closed__1; +x_12 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_7, 5); +lean_inc(x_13); +x_14 = 0; +x_15 = l_Lean_SourceInfo_fromRef(x_13, x_14); +lean_dec(x_13); +x_16 = lean_st_ref_get(x_8, x_9); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_18 = lean_ctor_get(x_16, 1); +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +x_20 = l_Lean_Elab_WF_applyCleanWfTactic___closed__6; +lean_inc(x_15); +lean_ctor_set_tag(x_16, 2); +lean_ctor_set(x_16, 1, x_20); +lean_ctor_set(x_16, 0, x_15); +x_21 = l_Lean_Elab_WF_applyCleanWfTactic___closed__15; +lean_inc(x_15); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Elab_WF_applyCleanWfTactic___closed__14; +lean_inc(x_15); +x_24 = l_Lean_Syntax_node1(x_15, x_23, x_22); +x_25 = l_Lean_Elab_WF_applyCleanWfTactic___closed__12; +lean_inc(x_15); +x_26 = l_Lean_Syntax_node1(x_15, x_25, x_24); +x_27 = l_Lean_Elab_WF_applyCleanWfTactic___closed__10; +lean_inc(x_15); +x_28 = l_Lean_Syntax_node1(x_15, x_27, x_26); +x_29 = l_Lean_Elab_WF_applyCleanWfTactic___closed__8; +lean_inc(x_15); +x_30 = l_Lean_Syntax_node1(x_15, x_29, x_28); +x_31 = l_Lean_Elab_WF_applyCleanWfTactic___closed__5; +x_32 = l_Lean_Syntax_node2(x_15, x_31, x_16, x_30); +x_33 = l_Lean_Elab_Tactic_evalTactic(x_32, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_34 = lean_ctor_get(x_16, 1); +lean_inc(x_34); +lean_dec(x_16); +x_35 = l_Lean_Elab_WF_applyCleanWfTactic___closed__6; +lean_inc(x_15); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_15); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Elab_WF_applyCleanWfTactic___closed__15; +lean_inc(x_15); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Elab_WF_applyCleanWfTactic___closed__14; +lean_inc(x_15); +x_40 = l_Lean_Syntax_node1(x_15, x_39, x_38); +x_41 = l_Lean_Elab_WF_applyCleanWfTactic___closed__12; +lean_inc(x_15); +x_42 = l_Lean_Syntax_node1(x_15, x_41, x_40); +x_43 = l_Lean_Elab_WF_applyCleanWfTactic___closed__10; +lean_inc(x_15); +x_44 = l_Lean_Syntax_node1(x_15, x_43, x_42); +x_45 = l_Lean_Elab_WF_applyCleanWfTactic___closed__8; +lean_inc(x_15); +x_46 = l_Lean_Syntax_node1(x_15, x_45, x_44); +x_47 = l_Lean_Elab_WF_applyCleanWfTactic___closed__5; +x_48 = l_Lean_Syntax_node2(x_15, x_47, x_36, x_46); +x_49 = l_Lean_Elab_Tactic_evalTactic(x_48, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; +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_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_9); +return x_51; +} +} +} +lean_object* initialize_Lean_Elab_Tactic_Basic(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_Basic(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__1); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__2); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__3); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__4); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__5); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__6 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__6); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__7); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__8 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__8); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__9 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__9(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__9); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__10 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__10(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6____closed__10); +if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_6_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Elab_WF_debug_rawDecreasingByGoal = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Elab_WF_debug_rawDecreasingByGoal); +lean_dec_ref(res); +}l_Lean_Elab_WF_applyCleanWfTactic___closed__1 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__1); +l_Lean_Elab_WF_applyCleanWfTactic___closed__2 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__2); +l_Lean_Elab_WF_applyCleanWfTactic___closed__3 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__3); +l_Lean_Elab_WF_applyCleanWfTactic___closed__4 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__4); +l_Lean_Elab_WF_applyCleanWfTactic___closed__5 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__5); +l_Lean_Elab_WF_applyCleanWfTactic___closed__6 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__6); +l_Lean_Elab_WF_applyCleanWfTactic___closed__7 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__7); +l_Lean_Elab_WF_applyCleanWfTactic___closed__8 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__8); +l_Lean_Elab_WF_applyCleanWfTactic___closed__9 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__9(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__9); +l_Lean_Elab_WF_applyCleanWfTactic___closed__10 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__10(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__10); +l_Lean_Elab_WF_applyCleanWfTactic___closed__11 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__11(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__11); +l_Lean_Elab_WF_applyCleanWfTactic___closed__12 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__12(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__12); +l_Lean_Elab_WF_applyCleanWfTactic___closed__13 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__13(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__13); +l_Lean_Elab_WF_applyCleanWfTactic___closed__14 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__14(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__14); +l_Lean_Elab_WF_applyCleanWfTactic___closed__15 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__15(); +lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__15); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c index cbedf9dd53b9..8377792155ba 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c @@ -21,27 +21,22 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_ lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__6; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_rwFixEq___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__10; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__10; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__4; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__19; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__7; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_getEqnsFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__6; uint32_t l_UInt32_ofNatTruncate(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__13; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__10; lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_WF_mkEqns___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__14; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__16; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__14; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__6; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); @@ -50,6 +45,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_ lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__13; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__9; lean_object* l_Lean_Elab_Eqns_simpMatch_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -63,7 +59,6 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_mkEqns___spec_ LEAN_EXPORT lean_object* l_Lean_Elab_WF_getUnfoldFor_x3f___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__3; extern lean_object* l_Lean_Meta_tactic_hygienic; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__8; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof___closed__2; @@ -73,19 +68,18 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__16; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__9; lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499_(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__5; extern lean_object* l_Lean_maxRecDepth; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__8; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__3; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__7; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_mkEqns___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*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__1; lean_object* l_Lean_Expr_appArg_x21(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__14; lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_WF_eqnInfoExt; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_rwFixEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); @@ -93,25 +87,25 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__17; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2; lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__2; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__4; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__11; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_mkEqns___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*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__3; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__19; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__18; LEAN_EXPORT lean_object* l_Lean_Elab_WF_getUnfoldFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_rwFixEq___lambda__1___closed__6; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__4; lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_getUnfoldFor_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -124,24 +118,23 @@ lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f(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_object* l_Lean_Name_num___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__12; extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__2; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__18; static lean_object* l_Lean_Elab_WF_mkEqns___closed__1; extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__15; lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_WF_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_registerEqnsInfo___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772_(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__1(lean_object*, size_t, size_t); 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_WF_mkEqns___closed__2; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_rwFixEq___lambda__1___closed__5; @@ -149,20 +142,30 @@ extern lean_object* l_Lean_diagnostics; LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); lean_object* l_Lean_Elab_Eqns_simpIf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Eqns_mkEqnTypes(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Eqns_mkEqnTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_splitTarget_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__1; lean_object* l_Lean_MessageData_ofExpr(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__4; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__18; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__7; extern lean_object* l_Lean_Meta_eqnThmSuffixBase; LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkEqns___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*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__3; lean_object* lean_name_append_index_after(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__5; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771_(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__2; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__9; static lean_object* l_Lean_Elab_WF_mkEqns___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(size_t, size_t, lean_object*); lean_object* l_Lean_Expr_constLevels_x21(lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__16; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_registerGetEqnsFn(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkEqns___lambda__1___boxed(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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_rwFixEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -170,11 +173,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Ela 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_Lean_Elab_WF_instInhabitedEqnInfo___closed__3; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_registerEqnsInfo___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__19; LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkEqns___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__10; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__8; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -195,6 +198,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_ uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); size_t lean_usize_add(size_t, size_t); extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498_(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__15; @@ -202,18 +206,17 @@ lean_object* l_Lean_Meta_casesOnStuckLHS_x3f(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpTargetStar(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_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__15; +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__8; lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_rwFixEq___lambda__1___closed__7; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_registerEqnsInfo___spec__3___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_tryURefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__7; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__11; lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__17; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___lambda__1___closed__20; @@ -225,7 +228,6 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_ lean_object* l_Lean_MVarId_intros(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__5; lean_object* l_Lean_Elab_Eqns_deltaLHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkEqns___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); @@ -233,8 +235,6 @@ static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__2; static lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo___closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__12; -static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__17; lean_object* l_panic___at_Lean_Meta_subst_substEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_WF_instInhabitedEqnInfo___closed__1() { @@ -3395,281 +3395,278 @@ x_25 = lean_ctor_get(x_6, 0); x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) { -uint8_t x_27; uint8_t x_28; lean_object* x_29; +uint8_t x_27; lean_object* x_28; x_27 = 2; lean_ctor_set_uint8(x_25, 9, x_27); -x_28 = 0; -x_29 = l_Lean_Elab_Eqns_mkEqnTypes(x_28, x_22, x_23, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_29) == 0) +x_28 = l_Lean_Elab_Eqns_mkEqnTypes(x_22, x_23, x_6, x_7, x_8, x_9, x_21); +if (lean_obj_tag(x_28) == 0) { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) { -return x_29; +return x_28; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); lean_inc(x_31); -lean_dec(x_29); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_inc(x_30); +lean_dec(x_28); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } else { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) { -return x_29; +return x_28; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_28, 0); +x_35 = lean_ctor_get(x_28, 1); lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_inc(x_34); +lean_dec(x_28); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; -x_38 = lean_ctor_get_uint8(x_25, 0); -x_39 = lean_ctor_get_uint8(x_25, 1); -x_40 = lean_ctor_get_uint8(x_25, 2); -x_41 = lean_ctor_get_uint8(x_25, 3); -x_42 = lean_ctor_get_uint8(x_25, 4); -x_43 = lean_ctor_get_uint8(x_25, 5); -x_44 = lean_ctor_get_uint8(x_25, 6); -x_45 = lean_ctor_get_uint8(x_25, 7); -x_46 = lean_ctor_get_uint8(x_25, 8); -x_47 = lean_ctor_get_uint8(x_25, 10); -x_48 = lean_ctor_get_uint8(x_25, 11); -x_49 = lean_ctor_get_uint8(x_25, 12); +uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; +x_37 = lean_ctor_get_uint8(x_25, 0); +x_38 = lean_ctor_get_uint8(x_25, 1); +x_39 = lean_ctor_get_uint8(x_25, 2); +x_40 = lean_ctor_get_uint8(x_25, 3); +x_41 = lean_ctor_get_uint8(x_25, 4); +x_42 = lean_ctor_get_uint8(x_25, 5); +x_43 = lean_ctor_get_uint8(x_25, 6); +x_44 = lean_ctor_get_uint8(x_25, 7); +x_45 = lean_ctor_get_uint8(x_25, 8); +x_46 = lean_ctor_get_uint8(x_25, 10); +x_47 = lean_ctor_get_uint8(x_25, 11); +x_48 = lean_ctor_get_uint8(x_25, 12); lean_dec(x_25); -x_50 = 2; -x_51 = lean_alloc_ctor(0, 0, 13); -lean_ctor_set_uint8(x_51, 0, x_38); -lean_ctor_set_uint8(x_51, 1, x_39); -lean_ctor_set_uint8(x_51, 2, x_40); -lean_ctor_set_uint8(x_51, 3, x_41); -lean_ctor_set_uint8(x_51, 4, x_42); -lean_ctor_set_uint8(x_51, 5, x_43); -lean_ctor_set_uint8(x_51, 6, x_44); -lean_ctor_set_uint8(x_51, 7, x_45); -lean_ctor_set_uint8(x_51, 8, x_46); -lean_ctor_set_uint8(x_51, 9, x_50); -lean_ctor_set_uint8(x_51, 10, x_47); -lean_ctor_set_uint8(x_51, 11, x_48); -lean_ctor_set_uint8(x_51, 12, x_49); -lean_ctor_set(x_6, 0, x_51); -x_52 = 0; -x_53 = l_Lean_Elab_Eqns_mkEqnTypes(x_52, x_22, x_23, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_56 = x_53; +x_49 = 2; +x_50 = lean_alloc_ctor(0, 0, 13); +lean_ctor_set_uint8(x_50, 0, x_37); +lean_ctor_set_uint8(x_50, 1, x_38); +lean_ctor_set_uint8(x_50, 2, x_39); +lean_ctor_set_uint8(x_50, 3, x_40); +lean_ctor_set_uint8(x_50, 4, x_41); +lean_ctor_set_uint8(x_50, 5, x_42); +lean_ctor_set_uint8(x_50, 6, x_43); +lean_ctor_set_uint8(x_50, 7, x_44); +lean_ctor_set_uint8(x_50, 8, x_45); +lean_ctor_set_uint8(x_50, 9, x_49); +lean_ctor_set_uint8(x_50, 10, x_46); +lean_ctor_set_uint8(x_50, 11, x_47); +lean_ctor_set_uint8(x_50, 12, x_48); +lean_ctor_set(x_6, 0, x_50); +x_51 = l_Lean_Elab_Eqns_mkEqnTypes(x_22, x_23, x_6, x_7, x_8, x_9, x_21); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; } else { - lean_dec_ref(x_53); - x_56 = lean_box(0); + lean_dec_ref(x_51); + x_54 = lean_box(0); } -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_57 = x_56; + x_55 = x_54; } -lean_ctor_set(x_57, 0, x_54); -lean_ctor_set(x_57, 1, x_55); -return x_57; +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_53); +return x_55; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_53, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_60 = x_53; +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_51, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_58 = x_51; } else { - lean_dec_ref(x_53); - x_60 = lean_box(0); + lean_dec_ref(x_51); + x_58 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); } else { - x_61 = x_60; + x_59 = x_58; } -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; } } } 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; uint8_t x_68; uint8_t x_69; uint8_t x_70; uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; uint8_t x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; uint8_t x_80; uint8_t x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; -x_62 = lean_ctor_get(x_6, 0); -x_63 = lean_ctor_get(x_6, 1); -x_64 = lean_ctor_get(x_6, 2); -x_65 = lean_ctor_get(x_6, 3); -x_66 = lean_ctor_get(x_6, 4); -x_67 = lean_ctor_get(x_6, 5); -x_68 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); -x_69 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; uint8_t x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_60 = lean_ctor_get(x_6, 0); +x_61 = lean_ctor_get(x_6, 1); +x_62 = lean_ctor_get(x_6, 2); +x_63 = lean_ctor_get(x_6, 3); +x_64 = lean_ctor_get(x_6, 4); +x_65 = lean_ctor_get(x_6, 5); +x_66 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); +x_67 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_6); -x_70 = lean_ctor_get_uint8(x_62, 0); -x_71 = lean_ctor_get_uint8(x_62, 1); -x_72 = lean_ctor_get_uint8(x_62, 2); -x_73 = lean_ctor_get_uint8(x_62, 3); -x_74 = lean_ctor_get_uint8(x_62, 4); -x_75 = lean_ctor_get_uint8(x_62, 5); -x_76 = lean_ctor_get_uint8(x_62, 6); -x_77 = lean_ctor_get_uint8(x_62, 7); -x_78 = lean_ctor_get_uint8(x_62, 8); -x_79 = lean_ctor_get_uint8(x_62, 10); -x_80 = lean_ctor_get_uint8(x_62, 11); -x_81 = lean_ctor_get_uint8(x_62, 12); -if (lean_is_exclusive(x_62)) { - x_82 = x_62; +x_68 = lean_ctor_get_uint8(x_60, 0); +x_69 = lean_ctor_get_uint8(x_60, 1); +x_70 = lean_ctor_get_uint8(x_60, 2); +x_71 = lean_ctor_get_uint8(x_60, 3); +x_72 = lean_ctor_get_uint8(x_60, 4); +x_73 = lean_ctor_get_uint8(x_60, 5); +x_74 = lean_ctor_get_uint8(x_60, 6); +x_75 = lean_ctor_get_uint8(x_60, 7); +x_76 = lean_ctor_get_uint8(x_60, 8); +x_77 = lean_ctor_get_uint8(x_60, 10); +x_78 = lean_ctor_get_uint8(x_60, 11); +x_79 = lean_ctor_get_uint8(x_60, 12); +if (lean_is_exclusive(x_60)) { + x_80 = x_60; } else { - lean_dec_ref(x_62); - x_82 = lean_box(0); + lean_dec_ref(x_60); + x_80 = lean_box(0); } -x_83 = 2; -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 0, 13); +x_81 = 2; +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 0, 13); } else { - x_84 = x_82; -} -lean_ctor_set_uint8(x_84, 0, x_70); -lean_ctor_set_uint8(x_84, 1, x_71); -lean_ctor_set_uint8(x_84, 2, x_72); -lean_ctor_set_uint8(x_84, 3, x_73); -lean_ctor_set_uint8(x_84, 4, x_74); -lean_ctor_set_uint8(x_84, 5, x_75); -lean_ctor_set_uint8(x_84, 6, x_76); -lean_ctor_set_uint8(x_84, 7, x_77); -lean_ctor_set_uint8(x_84, 8, x_78); -lean_ctor_set_uint8(x_84, 9, x_83); -lean_ctor_set_uint8(x_84, 10, x_79); -lean_ctor_set_uint8(x_84, 11, x_80); -lean_ctor_set_uint8(x_84, 12, x_81); -x_85 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_85, 0, x_84); -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_uint8(x_85, sizeof(void*)*6, x_68); -lean_ctor_set_uint8(x_85, sizeof(void*)*6 + 1, x_69); -x_86 = 0; -x_87 = l_Lean_Elab_Eqns_mkEqnTypes(x_86, x_22, x_23, x_85, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_90 = x_87; + x_82 = x_80; +} +lean_ctor_set_uint8(x_82, 0, x_68); +lean_ctor_set_uint8(x_82, 1, x_69); +lean_ctor_set_uint8(x_82, 2, x_70); +lean_ctor_set_uint8(x_82, 3, x_71); +lean_ctor_set_uint8(x_82, 4, x_72); +lean_ctor_set_uint8(x_82, 5, x_73); +lean_ctor_set_uint8(x_82, 6, x_74); +lean_ctor_set_uint8(x_82, 7, x_75); +lean_ctor_set_uint8(x_82, 8, x_76); +lean_ctor_set_uint8(x_82, 9, x_81); +lean_ctor_set_uint8(x_82, 10, x_77); +lean_ctor_set_uint8(x_82, 11, x_78); +lean_ctor_set_uint8(x_82, 12, x_79); +x_83 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_61); +lean_ctor_set(x_83, 2, x_62); +lean_ctor_set(x_83, 3, x_63); +lean_ctor_set(x_83, 4, x_64); +lean_ctor_set(x_83, 5, x_65); +lean_ctor_set_uint8(x_83, sizeof(void*)*6, x_66); +lean_ctor_set_uint8(x_83, sizeof(void*)*6 + 1, x_67); +x_84 = l_Lean_Elab_Eqns_mkEqnTypes(x_22, x_23, x_83, x_7, x_8, x_9, x_21); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; } else { - lean_dec_ref(x_87); - x_90 = lean_box(0); + lean_dec_ref(x_84); + x_87 = lean_box(0); } -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 2, 0); } else { - x_91 = x_90; + x_88 = x_87; } -lean_ctor_set(x_91, 0, x_88); -lean_ctor_set(x_91, 1, x_89); -return x_91; +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_87, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_94 = x_87; +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_84, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_84, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_91 = x_84; } else { - lean_dec_ref(x_87); - x_94 = lean_box(0); + lean_dec_ref(x_84); + x_91 = lean_box(0); } -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); } else { - x_95 = x_94; + x_92 = x_91; } -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_93); -return x_95; +lean_ctor_set(x_92, 0, x_89); +lean_ctor_set(x_92, 1, x_90); +return x_92; } } } else { -uint8_t x_96; +uint8_t x_93; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_96 = !lean_is_exclusive(x_15); -if (x_96 == 0) +x_93 = !lean_is_exclusive(x_15); +if (x_93 == 0) { return x_15; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_15, 0); -x_98 = lean_ctor_get(x_15, 1); -lean_inc(x_98); -lean_inc(x_97); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_15, 0); +x_95 = lean_ctor_get(x_15, 1); +lean_inc(x_95); +lean_inc(x_94); lean_dec(x_15); -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; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; } } } @@ -4155,7 +4152,7 @@ lean_dec(x_7); return x_13; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1() { _start: { lean_object* x_1; @@ -4163,7 +4160,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2() { _start: { lean_object* x_1; @@ -4171,7 +4168,7 @@ x_1 = lean_mk_string_unchecked("WF", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__3() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__3() { _start: { lean_object* x_1; @@ -4179,23 +4176,23 @@ x_1 = lean_mk_string_unchecked("eqnInfoExt", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__4() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1; x_2 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__1; -x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2; -x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__3; +x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2; +x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__4; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__4; x_3 = l_Lean_mkMapDeclarationExtension___rarg(x_2, x_1); return x_3; } @@ -5289,7 +5286,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__1() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__1() { _start: { lean_object* x_1; @@ -5297,7 +5294,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_getEqnsFor_x3f), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__2() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__2() { _start: { lean_object* x_1; @@ -5305,37 +5302,37 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_getUnfoldFor_x3f), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__3() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__4() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__3; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__3; x_2 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__5() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__4; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__4; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__6() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__6() { _start: { lean_object* x_1; @@ -5343,17 +5340,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__7() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__5; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__6; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__5; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__8() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__8() { _start: { lean_object* x_1; @@ -5361,37 +5358,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__9() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__7; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__8; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__7; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__10() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__9; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__9; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__11() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__10; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__10; x_2 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__12() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__12() { _start: { lean_object* x_1; @@ -5399,27 +5396,27 @@ x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__13() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__11; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__12; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__11; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__14() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__13; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__13; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__15() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__15() { _start: { lean_object* x_1; @@ -5427,17 +5424,17 @@ x_1 = lean_mk_string_unchecked("Eqns", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__16() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__14; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__15; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__14; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__17() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__17() { _start: { lean_object* x_1; @@ -5445,31 +5442,31 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__18() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__16; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__17; +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__16; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__17; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__19() { +static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__18; -x_2 = lean_unsigned_to_nat(1772u); +x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__18; +x_2 = lean_unsigned_to_nat(1771u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__1; +x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__1; x_3 = l_Lean_Meta_registerGetEqnsFn(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -5477,7 +5474,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__2; +x_5 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__2; x_6 = l_Lean_Meta_registerGetUnfoldEqnFn(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -5487,7 +5484,7 @@ lean_inc(x_7); lean_dec(x_6); x_8 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_mkProof_go___closed__5; x_9 = 0; -x_10 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__19; +x_10 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__19; x_11 = l_Lean_registerTraceClass(x_8, x_9, x_10, x_7); return x_11; } @@ -5682,15 +5679,15 @@ l_Lean_Elab_WF_mkEqns___closed__2 = _init_l_Lean_Elab_WF_mkEqns___closed__2(); lean_mark_persistent(l_Lean_Elab_WF_mkEqns___closed__2); l_Lean_Elab_WF_mkEqns___closed__3 = _init_l_Lean_Elab_WF_mkEqns___closed__3(); lean_mark_persistent(l_Lean_Elab_WF_mkEqns___closed__3); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__1); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__2); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__3(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__3); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__4(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499____closed__4); -if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1499_(lean_io_mk_world()); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__1); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__2); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__3); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498____closed__4); +if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1498_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_WF_eqnInfoExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_WF_eqnInfoExt); @@ -5701,45 +5698,45 @@ l_Lean_Elab_WF_registerEqnsInfo___closed__1 = _init_l_Lean_Elab_WF_registerEqnsI lean_mark_persistent(l_Lean_Elab_WF_registerEqnsInfo___closed__1); l_Lean_Elab_WF_registerEqnsInfo___closed__2 = _init_l_Lean_Elab_WF_registerEqnsInfo___closed__2(); lean_mark_persistent(l_Lean_Elab_WF_registerEqnsInfo___closed__2); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__1); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__2); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__3(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__3); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__4(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__4); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__5(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__5); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__6 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__6(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__6); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__7 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__7(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__7); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__8 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__8(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__8); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__9 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__9(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__9); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__10 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__10(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__10); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__11 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__11(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__11); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__12 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__12(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__12); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__13 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__13(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__13); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__14 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__14(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__14); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__15 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__15(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__15); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__16 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__16(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__16); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__17 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__17(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__17); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__18 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__18(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__18); -l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__19 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__19(); -lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772____closed__19); -if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1772_(lean_io_mk_world()); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__1); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__2); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__3); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__4); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__5); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__6 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__6); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__7 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__7); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__8 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__8); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__9 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__9(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__9); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__10 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__10(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__10); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__11 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__11(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__11); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__12 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__12(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__12); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__13 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__13(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__13); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__14 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__14(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__14); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__15 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__15(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__15); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__16 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__16(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__16); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__17 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__17(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__17); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__18 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__18(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__18); +l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__19 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__19(); +lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771____closed__19); +if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_1771_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c index a2e11e6315c6..011081c25efb 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.WF.Fix -// Imports: Lean.Util.HasConstCache Lean.Meta.Match.Match Lean.Meta.Tactic.Simp.Main Lean.Meta.Tactic.Cleanup Lean.Meta.ArgsPacker Lean.Elab.Tactic.Basic Lean.Elab.RecAppSyntax Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.Structural.BRecOn Lean.Data.Array +// Imports: Lean.Util.HasConstCache Lean.Meta.Match.Match Lean.Meta.Tactic.Simp.Main Lean.Meta.Tactic.Cleanup Lean.Meta.ArgsPacker Lean.Elab.Tactic.Basic Lean.Elab.RecAppSyntax Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.Structural.BRecOn Lean.Elab.PreDefinition.WF.Basic Lean.Data.Array #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -91,6 +91,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_p static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processApp___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* l_Lean_Elab_WF_applyCleanWfTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -11705,7 +11706,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Ela 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_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__2; x_2 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__3; -x_3 = lean_unsigned_to_nat(124u); +x_3 = lean_unsigned_to_nat(125u); x_4 = lean_unsigned_to_nat(49u); x_5 = l_List_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12412,45 +12413,91 @@ return x_1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_ctor_get(x_7, 5); -lean_inc(x_10); -x_11 = 0; -x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11); -lean_dec(x_10); -x_13 = lean_st_ref_get(x_8, x_9); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_Elab_WF_applyCleanWfTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 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; -x_15 = lean_ctor_get(x_13, 1); -x_16 = lean_ctor_get(x_13, 0); -lean_dec(x_16); -x_17 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__3; +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_7, 5); lean_inc(x_12); -lean_ctor_set_tag(x_13, 2); -lean_ctor_set(x_13, 1, x_17); -lean_ctor_set(x_13, 0, x_12); -x_18 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__2; -x_19 = l_Lean_Syntax_node1(x_12, x_18, x_13); -x_20 = l_Lean_Elab_Tactic_evalTactic(x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -return x_20; +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +lean_dec(x_12); +x_15 = lean_st_ref_get(x_8, x_11); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_15, 1); +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +x_19 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__3; +lean_inc(x_14); +lean_ctor_set_tag(x_15, 2); +lean_ctor_set(x_15, 1, x_19); +lean_ctor_set(x_15, 0, x_14); +x_20 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__2; +x_21 = l_Lean_Syntax_node1(x_14, x_20, x_15); +x_22 = l_Lean_Elab_Tactic_evalTactic(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +return x_22; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); -lean_dec(x_13); -x_22 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__3; -lean_inc(x_12); -x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_12); -lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__2; -x_25 = l_Lean_Syntax_node1(x_12, x_24, x_23); -x_26 = l_Lean_Elab_Tactic_evalTactic(x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -return x_26; +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_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_dec(x_15); +x_24 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__3; +lean_inc(x_14); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_14); +lean_ctor_set(x_25, 1, x_24); +x_26 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__2; +x_27 = l_Lean_Syntax_node1(x_14, x_26, x_25); +x_28 = l_Lean_Elab_Tactic_evalTactic(x_27, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +return x_28; +} +} +else +{ +uint8_t x_29; +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_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) +{ +return x_10; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_10, 0); +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_10); +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; +} } } } @@ -14561,26 +14608,74 @@ return x_23; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; 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_13; lean_object* x_14; lean_object* x_15; x_13 = l_Lean_Elab_Tactic_setGoals(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = lean_ctor_get(x_2, 1); -lean_inc(x_15); +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); +x_15 = l_Lean_Elab_WF_applyCleanWfTactic(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); lean_dec(x_2); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); -lean_closure_set(x_16, 0, x_15); -x_17 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__3), 11, 1); -lean_closure_set(x_20, 0, x_18); -x_21 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__2(x_16, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -return x_21; +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_18, 0, x_17); +x_19 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +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_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__3), 11, 1); +lean_closure_set(x_22, 0, x_20); +x_23 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__2(x_18, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +return x_23; +} +else +{ +uint8_t x_24; +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); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) +{ +return x_15; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_15); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -16837,6 +16932,7 @@ lean_object* initialize_Lean_Elab_RecAppSyntax(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_BRecOn(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_WF_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Array(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_Fix(uint8_t builtin, lean_object* w) { @@ -16873,6 +16969,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_Structural_BRecOn(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_WF_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Data_Array(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c index 97e916d68f01..68b177d58315 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.WF.GuessLex -// Imports: Lean.Util.HasConstCache Lean.Meta.Match.MatcherApp.Transform Lean.Meta.Tactic.Cleanup Lean.Meta.Tactic.Refl Lean.Meta.Tactic.TryThis Lean.Meta.ArgsPacker Lean.Elab.Quotation Lean.Elab.RecAppSyntax Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.TerminationArgument Lean.Data.Array +// Imports: Lean.Util.HasConstCache Lean.Meta.Match.MatcherApp.Transform Lean.Meta.Tactic.Cleanup Lean.Meta.Tactic.Refl Lean.Meta.Tactic.TryThis Lean.Meta.ArgsPacker Lean.Elab.Quotation Lean.Elab.RecAppSyntax Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.TerminationArgument Lean.Elab.PreDefinition.WF.Basic Lean.Data.Array #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -20,15 +20,13 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_com static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__11; LEAN_EXPORT lean_object* l_Array_mapMUnsafe___at_Lean_Elab_WF_GuessLex_explainMutualFailure___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_WF_GuessLex_naryVarNames___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*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__2; -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3; static lean_object* l_Lean_Elab_WF_GuessLex_instToStringGuessLexRel___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2___closed__4; -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__2; static lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg___closed__2; lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___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_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,7 +59,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTe LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationArguments___spec__1___closed__1; -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__4; LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_mayOmitSizeOf___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__9___boxed(lean_object**); static lean_object* l_Lean_Elab_WF_guessLex___closed__1; @@ -83,12 +80,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_wi LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_WF_GuessLex_mkProdElem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219____closed__13; static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5; lean_object* lean_name_append_after(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__28___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__7(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -104,7 +101,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCo LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg(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*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_posString___closed__1; @@ -178,7 +174,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApp LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1(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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__6___rarg___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_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__10; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Expr_bvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -206,13 +201,14 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(lean_ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__32(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__1(lean_object*, lean_object*, size_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_Elab_WF_applyCleanWfTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_refl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__8; static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___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_WF_GuessLex_evalRecCall___closed__2; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6(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_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_WF_GuessLex_mkProdElem___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__31___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -228,6 +224,7 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApp lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_create(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6; lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -239,7 +236,6 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__16___rarg___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_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__23___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___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*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__8; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__9(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -276,9 +272,11 @@ extern lean_object* l_instInhabitedNat; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219____closed__18; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1; LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedPUnit; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__4___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*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withUserNames(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219____closed__21; @@ -332,15 +330,15 @@ static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpl uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_explainFailure___closed__1; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5(lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3; lean_object* lean_nat_to_int(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219____closed__22; lean_object* l_Lean_MessageData_ofSyntax(lean_object*); @@ -356,9 +354,8 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___s LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__9; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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*); static lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__30___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -366,7 +363,6 @@ static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4; lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_range(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); @@ -397,6 +393,7 @@ lean_object* l_ReaderT_instMonadLift(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___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*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__3; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__5; static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__5; lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); @@ -417,17 +414,15 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_wi LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__28___rarg___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_WF_GuessLex_GuessLexRel_toNatRel___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__32___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__17___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_st_ref_get(lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___boxed(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_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_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withUserNames___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___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*); @@ -474,6 +469,7 @@ static lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___boxed(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_9____closed__1; @@ -512,6 +508,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(l static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_toTerminationArguments___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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___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*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__2(lean_object*, size_t, 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_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___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*); @@ -525,8 +522,8 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___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_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__7; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__6; lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4(lean_object*, lean_object*); @@ -565,6 +562,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_formatTable___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6(lean_object*, lean_object*); @@ -577,6 +575,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_expla LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2(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*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__31___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2(lean_object*, lean_object*); @@ -629,7 +628,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_complexMeasures(lean_object*, l LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___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*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___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*); static lean_object* l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1; -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__11; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__12___closed__9; @@ -715,7 +713,7 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApp static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationArguments___spec__1___closed__2; static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_prettyEntry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___closed__1; @@ -727,6 +725,7 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loo LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___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_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectHeaders(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10(lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2___closed__5; lean_object* l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_prettyEntry___closed__1; @@ -823,6 +822,7 @@ lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___boxed(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_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219_(uint8_t, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3; @@ -846,7 +846,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(uint8_t); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isAuxRecursorWithSuffix(lean_object*, lean_object*, lean_object*); @@ -876,11 +876,11 @@ static lean_object* l_Lean_Elab_WF_GuessLex_instInhabitedMeasure___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4219____closed__10; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___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_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_WF_GuessLex_naryVarNames_freshen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__13___boxed(lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__6; -static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__12; lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___closed__1; @@ -893,7 +893,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLe LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__22(lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5(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_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationArguments___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__12___closed__1; @@ -19893,7 +19893,7 @@ static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed_ 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_WF_GuessLex_GuessLexRel_toNatRel___closed__23; x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24; -x_3 = lean_unsigned_to_nat(420u); +x_3 = lean_unsigned_to_nat(421u); x_4 = lean_unsigned_to_nat(15u); x_5 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -20099,15 +20099,251 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_2; -x_2 = 0; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_apply_10(x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 0); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticDecreasing_tactic", 23, 23); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("decreasing_tactic", 17, 17); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Using tactic ", 13, 13); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_12 = l_Lean_Elab_WF_applyCleanWfTactic(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1; +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_dec(x_2); +x_15 = lean_ctor_get(x_9, 5); +lean_inc(x_15); +x_16 = 0; +x_17 = l_Lean_SourceInfo_fromRef(x_15, x_16); +lean_dec(x_15); +x_18 = lean_st_ref_get(x_10, x_13); +x_19 = !lean_is_exclusive(x_18); +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; +x_20 = lean_ctor_get(x_18, 1); +x_21 = lean_ctor_get(x_18, 0); +lean_dec(x_21); +x_22 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4; +lean_inc(x_17); +lean_ctor_set_tag(x_18, 2); +lean_ctor_set(x_18, 1, x_22); +lean_ctor_set(x_18, 0, x_17); +x_23 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3; +x_24 = l_Lean_Syntax_node1(x_17, x_23, x_18); +x_25 = lean_apply_10(x_14, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +lean_dec(x_18); +x_27 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4; +lean_inc(x_17); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3; +x_30 = l_Lean_Syntax_node1(x_17, x_29, x_28); +x_31 = lean_apply_10(x_14, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_1, 0); +lean_inc(x_32); +lean_dec(x_1); +lean_inc(x_2); +x_33 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_unbox(x_34); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_2); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_box(0); +x_38 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(x_32, x_14, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +return x_38; +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_33); +if (x_39 == 0) +{ +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_40 = lean_ctor_get(x_33, 1); +x_41 = lean_ctor_get(x_33, 0); +lean_dec(x_41); +x_42 = lean_ctor_get(x_32, 1); +lean_inc(x_42); +x_43 = l_Lean_MessageData_ofSyntax(x_42); +x_44 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6; +lean_ctor_set_tag(x_33, 7); +lean_ctor_set(x_33, 1, x_43); +lean_ctor_set(x_33, 0, x_44); +x_45 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___closed__5; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_33); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__2(x_2, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +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_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(x_32, x_14, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +lean_dec(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; 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_51 = lean_ctor_get(x_33, 1); +lean_inc(x_51); +lean_dec(x_33); +x_52 = lean_ctor_get(x_32, 1); +lean_inc(x_52); +x_53 = l_Lean_MessageData_ofSyntax(x_52); +x_54 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6; +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___closed__5; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__2(x_2, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_51); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(x_32, x_14, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +lean_dec(x_59); +return x_61; +} +} +} +} +else +{ +uint8_t x_62; +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_62 = !lean_is_exclusive(x_12); +if (x_62 == 0) +{ +return x_12; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_12, 0); +x_64 = lean_ctor_get(x_12, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_12); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -20165,188 +20401,15 @@ return x_17; } } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticDecreasing_tactic", 23, 23); -return x_1; -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("decreasing_tactic", 17, 17); -return x_1; -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___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) { -_start: -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_11 = lean_ctor_get(x_8, 5); -lean_inc(x_11); -x_12 = 0; -x_13 = l_Lean_SourceInfo_fromRef(x_11, x_12); -lean_dec(x_11); -x_14 = lean_st_ref_get(x_9, x_10); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_14, 1); -x_17 = lean_ctor_get(x_14, 0); -lean_dec(x_17); -x_18 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3; -lean_inc(x_13); -lean_ctor_set_tag(x_14, 2); -lean_ctor_set(x_14, 1, x_18); -lean_ctor_set(x_14, 0, x_13); -x_19 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__2; -x_20 = l_Lean_Syntax_node1(x_13, x_19, x_14); -x_21 = lean_apply_10(x_1, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_dec(x_14); -x_23 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3; -lean_inc(x_13); -x_24 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_24, 0, x_13); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__2; -x_26 = l_Lean_Syntax_node1(x_13, x_25, x_24); -x_27 = lean_apply_10(x_1, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -return x_27; -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_apply_10(x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Using tactic ", 13, 13); -return x_1; -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2() { +LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); +uint8_t x_2; +x_2 = 0; return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_inc(x_1); -x_13 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__1(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_unbox(x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_1); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_box(0); -x_18 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -return x_18; -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_13); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_20 = lean_ctor_get(x_13, 1); -x_21 = lean_ctor_get(x_13, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_2, 1); -lean_inc(x_22); -x_23 = l_Lean_MessageData_ofSyntax(x_22); -x_24 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2; -lean_ctor_set_tag(x_13, 7); -lean_ctor_set(x_13, 1, x_23); -lean_ctor_set(x_13, 0, x_24); -x_25 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___closed__5; -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_Elab_Tactic_evalTactic_handleEx___spec__2(x_1, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -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 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(x_2, x_3, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -lean_dec(x_28); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_31 = lean_ctor_get(x_13, 1); -lean_inc(x_31); -lean_dec(x_13); -x_32 = lean_ctor_get(x_2, 1); -lean_inc(x_32); -x_33 = l_Lean_MessageData_ofSyntax(x_32); -x_34 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2; -x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___closed__5; -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__2(x_1, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -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 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(x_2, x_3, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); -lean_dec(x_39); -return x_41; -} -} -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -20354,7 +20417,7 @@ x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_ev return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__2() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2() { _start: { lean_object* x_1; @@ -20362,16 +20425,16 @@ x_1 = lean_mk_string_unchecked("Did not find ", 13, 13); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__4() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4() { _start: { lean_object* x_1; @@ -20379,24 +20442,16 @@ x_1 = lean_mk_string_unchecked(" proof: ", 8, 8); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__4; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 0); -return x_1; -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -20405,23 +20460,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__8() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__9() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8() { _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_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__8; -x_3 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7; +x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; +x_3 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; 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); @@ -20432,15 +20487,15 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__10() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__11() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -20449,8 +20504,8 @@ x_2 = lean_box(0); x_3 = lean_box(0); x_4 = 1; x_5 = 0; -x_6 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__9; -x_7 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__10; +x_6 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; +x_7 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; x_8 = lean_alloc_ctor(0, 9, 10); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_2); @@ -20474,7 +20529,7 @@ lean_ctor_set_uint8(x_8, sizeof(void*)*9 + 9, x_5); return x_8; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__12() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20490,7 +20545,7 @@ lean_ctor_set(x_3, 5, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9(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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_38; @@ -20549,137 +20604,114 @@ x_52 = 1; x_53 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_3, x_52); if (x_53 == 0) { -lean_object* x_140; lean_object* x_141; -x_140 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__6; -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_157; -x_157 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6), 10, 1); -lean_closure_set(x_157, 0, x_140); -x_141 = x_157; -goto block_156; -} -else -{ -lean_object* x_158; lean_object* x_159; -x_158 = lean_ctor_get(x_5, 0); -lean_inc(x_158); -lean_dec(x_5); +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_inc(x_2); -x_159 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8), 12, 3); -lean_closure_set(x_159, 0, x_2); -lean_closure_set(x_159, 1, x_158); -lean_closure_set(x_159, 2, x_140); -x_141 = x_159; -goto block_156; -} -block_156: -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_142 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); -lean_closure_set(x_142, 0, x_141); +x_140 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5), 11, 2); +lean_closure_set(x_140, 0, x_5); +lean_closure_set(x_140, 1, x_2); +x_141 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); +lean_closure_set(x_141, 0, x_140); lean_inc(x_49); -x_143 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5), 9, 2); -lean_closure_set(x_143, 0, x_49); -lean_closure_set(x_143, 1, x_142); -x_144 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2), 8, 1); -lean_closure_set(x_144, 0, x_143); -x_145 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__11; -x_146 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__12; +x_142 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6), 9, 2); +lean_closure_set(x_142, 0, x_49); +lean_closure_set(x_142, 1, x_141); +x_143 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2), 8, 1); +lean_closure_set(x_143, 0, x_142); +x_144 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; +x_145 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_147 = l_Lean_Elab_Term_TermElabM_run___rarg(x_144, x_145, x_146, x_7, x_8, x_9, x_10, x_50); -if (lean_obj_tag(x_147) == 0) +x_146 = l_Lean_Elab_Term_TermElabM_run___rarg(x_143, x_144, x_145, x_7, x_8, x_9, x_10, x_50); +if (lean_obj_tag(x_146) == 0) { -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_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_dec(x_51); lean_dec(x_49); lean_dec(x_44); -x_148 = lean_ctor_get(x_147, 0); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); +lean_dec(x_146); +x_149 = lean_ctor_get(x_147, 0); lean_inc(x_149); lean_dec(x_147); -x_150 = lean_ctor_get(x_148, 0); -lean_inc(x_150); -lean_dec(x_148); -x_151 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_150, x_7, x_8, x_9, x_10, x_149); +x_150 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_149, x_7, x_8, x_9, x_10, x_148); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_150); -x_152 = lean_ctor_get(x_151, 0); +lean_dec(x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_12 = x_152; -x_13 = x_153; +lean_dec(x_150); +x_12 = x_151; +x_13 = x_152; goto block_37; } else { -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_147, 0); +lean_object* x_153; lean_object* x_154; +x_153 = lean_ctor_get(x_146, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_146, 1); lean_inc(x_154); -x_155 = lean_ctor_get(x_147, 1); -lean_inc(x_155); -lean_dec(x_147); -x_54 = x_154; -x_55 = x_155; +lean_dec(x_146); +x_54 = x_153; +x_55 = x_154; goto block_139; } } -} else { -lean_object* x_160; +lean_object* x_155; lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_49); -x_160 = l_Lean_MVarId_refl(x_49, x_7, x_8, x_9, x_10, x_50); -if (lean_obj_tag(x_160) == 0) +x_155 = l_Lean_MVarId_refl(x_49, x_7, x_8, x_9, x_10, x_50); +if (lean_obj_tag(x_155) == 0) { -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_dec(x_51); lean_dec(x_49); lean_dec(x_44); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -lean_dec(x_160); -x_163 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_161, x_7, x_8, x_9, x_10, x_162); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_156, x_7, x_8, x_9, x_10, x_157); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_161); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); -lean_dec(x_163); -x_12 = x_164; -x_13 = x_165; +lean_dec(x_156); +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); +x_12 = x_159; +x_13 = x_160; goto block_37; } else { -lean_object* x_166; lean_object* x_167; -x_166 = lean_ctor_get(x_160, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_160, 1); -lean_inc(x_167); -lean_dec(x_160); -x_54 = x_166; -x_55 = x_167; +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_155, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_155, 1); +lean_inc(x_162); +lean_dec(x_155); +x_54 = x_161; +x_55 = x_162; goto block_139; } } @@ -20704,7 +20736,7 @@ if (x_59 == 0) lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; x_60 = lean_ctor_get(x_58, 0); x_61 = lean_ctor_get(x_58, 1); -x_62 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1; +x_62 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; x_63 = lean_unbox(x_60); lean_dec(x_60); if (x_63 == 0) @@ -20794,7 +20826,7 @@ goto block_93; { 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; x_75 = l_Lean_MessageData_ofFormat(x_74); -x_76 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3; +x_76 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; if (lean_is_scalar(x_44)) { x_77 = lean_alloc_ctor(7, 2, 0); } else { @@ -20803,7 +20835,7 @@ if (lean_is_scalar(x_44)) { } lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); -x_78 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5; +x_78 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; x_79 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -20867,7 +20899,7 @@ x_99 = lean_ctor_get(x_58, 1); lean_inc(x_99); lean_inc(x_98); lean_dec(x_58); -x_100 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1; +x_100 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; x_101 = lean_unbox(x_98); lean_dec(x_98); if (x_101 == 0) @@ -20958,7 +20990,7 @@ goto block_132; { 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; x_114 = l_Lean_MessageData_ofFormat(x_113); -x_115 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3; +x_115 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; if (lean_is_scalar(x_44)) { x_116 = lean_alloc_ctor(7, 2, 0); } else { @@ -20967,7 +20999,7 @@ if (lean_is_scalar(x_44)) { } lean_ctor_set(x_116, 0, x_115); lean_ctor_set(x_116, 1, x_114); -x_117 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5; +x_117 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; x_118 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_118, 0, x_116); lean_ctor_set(x_118, 1, x_117); @@ -21073,7 +21105,7 @@ return x_138; } else { -uint8_t x_168; +uint8_t x_163; lean_dec(x_44); lean_dec(x_10); lean_dec(x_9); @@ -21082,29 +21114,29 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_168 = !lean_is_exclusive(x_48); -if (x_168 == 0) +x_163 = !lean_is_exclusive(x_48); +if (x_163 == 0) { return x_48; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_48, 0); -x_170 = lean_ctor_get(x_48, 1); -lean_inc(x_170); -lean_inc(x_169); +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_48, 0); +x_165 = lean_ctor_get(x_48, 1); +lean_inc(x_165); +lean_inc(x_164); lean_dec(x_48); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +return x_166; } } } else { -uint8_t x_172; +uint8_t x_167; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -21113,23 +21145,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_172 = !lean_is_exclusive(x_38); -if (x_172 == 0) +x_167 = !lean_is_exclusive(x_38); +if (x_167 == 0) { return x_38; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_38, 0); -x_174 = lean_ctor_get(x_38, 1); -lean_inc(x_174); -lean_inc(x_173); +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_38, 0); +x_169 = lean_ctor_get(x_38, 1); +lean_inc(x_169); +lean_inc(x_168); lean_dec(x_38); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +return x_170; } } block_37: @@ -21340,7 +21372,7 @@ lean_inc(x_10); lean_inc(x_1); lean_inc(x_7); lean_inc(x_2); -x_31 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9(x_24, x_2, x_30, x_7, x_1, x_29, x_10, x_11, x_12, x_13, x_28); +x_31 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_24, x_2, x_30, x_7, x_1, x_29, x_10, x_11, x_12, x_13, x_28); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; @@ -21525,7 +21557,7 @@ lean_inc(x_10); lean_inc(x_1); lean_inc(x_7); lean_inc(x_2); -x_62 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9(x_24, x_2, x_61, x_7, x_1, x_59, x_10, x_11, x_12, x_13, x_60); +x_62 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_24, x_2, x_61, x_7, x_1, x_59, x_10, x_11, x_12, x_13, x_60); lean_dec(x_59); if (lean_obj_tag(x_62) == 0) { @@ -22112,32 +22144,32 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; +lean_object* x_13; +x_13 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_13; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed(lean_object* x_1) { _start: { -lean_object* x_13; -x_13 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_3); -return x_13; +uint8_t x_2; lean_object* x_3; +x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_3); lean_dec(x_3); -x_13 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); return x_13; } @@ -34428,6 +34460,7 @@ lean_object* initialize_Lean_Elab_RecAppSyntax(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_Structural_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_TerminationArgument(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_WF_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Array(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_GuessLex(uint8_t builtin, lean_object* w) { @@ -34467,6 +34500,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_TerminationArgument(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_WF_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Data_Array(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -34795,40 +34831,40 @@ l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2__ lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2); l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__1); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__2); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6___closed__3); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__4); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__5 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__5(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__5); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__6); l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1); l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__1); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__2); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__3); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__4 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__4(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__4); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__5); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__6 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__6(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__6); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__7); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__8 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__8(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__8); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__9 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__9(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__9); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__10 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__10(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__10); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__11 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__11(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__11); -l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__12 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__12(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__9___closed__12); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11); l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1); l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c index 77100754fdbb..db4ccfe5e7b2 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c @@ -17,14 +17,17 @@ static lean_object* l_Lean_Elab_varyingVarNames___lambda__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_varyingVarNames___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingName_x21(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__11; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedPrefix___spec__13___boxed(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__8; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__18; LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at_Lean_Elab_getFixedPrefix___spec__5(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_Elab_instInhabitedPreDefinition; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(size_t, size_t, lean_object*); extern lean_object* l_Lean_allowUnsafeReducibility; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4(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*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -35,7 +38,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getFixedPrefix___ lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_varyingVarNames___lambda__3(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_wfRecursion___lambda__2(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*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729_(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__11___closed__2; lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -52,13 +54,16 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___s lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__9; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1___boxed(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662_(lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_wfRecursion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__16; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__8(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___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_array_fget(lean_object*, lean_object*); @@ -67,10 +72,10 @@ static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_wfRecursion___spec__6_ LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__1; static lean_object* l_Lean_Elab_varyingVarNames___closed__2; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__7; lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withCommonTelescope_go___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__14; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__11(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_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -86,9 +91,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_withCommonTelesco lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_PreDefinition_filterAttrs(lean_object*, lean_object*); static lean_object* l_Lean_Elab_varyingVarNames___lambda__2___closed__2; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__16; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__9(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__9; extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at_Lean_Elab_wfRecursion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -99,6 +102,7 @@ static lean_object* l_panic___at_Lean_Elab_varyingVarNames___spec__1___closed__1 LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDeclsFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_visitLet_visit___at_Lean_Elab_getFixedPrefix___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_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_getFixedPrefix___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,7 +113,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___s uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); static lean_object* l_Lean_Elab_varyingVarNames___lambda__2___closed__5; uint8_t l_Lean_Expr_isLambda(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1; static lean_object* l_Lean_Elab_wfRecursion___lambda__8___closed__1; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__7___closed__1; @@ -118,7 +121,6 @@ lean_object* l_Lean_Elab_applyAttributesOf(lean_object*, uint8_t, lean_object*, lean_object* l_instMonadControlTOfMonadControl___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_preprocess___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__11___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_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__18; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4___boxed(lean_object**); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__3; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__11___closed__1; @@ -126,8 +128,8 @@ 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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__10; static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__1; lean_object* l_Lean_Meta_iteToDIte___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_withCommonTelescope___rarg___closed__1; @@ -142,12 +144,12 @@ lean_object* l_Lean_Elab_WF_mkFix(lean_object*, lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at_Lean_Elab_getFixedPrefix___spec__8(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_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27_visit___at_Lean_Elab_getFixedPrefix___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__5; static lean_object* l_Lean_setReducibilityStatus___at_Lean_Elab_wfRecursion___spec__5___closed__4; static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_wfRecursion___spec__6___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__7___closed__2; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__8; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___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_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,9 +158,9 @@ lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___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*); lean_object* l_outOfBounds___rarg(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__2___closed__1; lean_object* l_Lean_Meta_ArgsPacker_curryProj(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_PreDefinition_WF_Main___hyg_2729____closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3(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_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_varyingVarNames___closed__1; @@ -187,7 +189,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_wfRecursion___spec__6( static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__2___closed__2; static lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_getFixedPrefix___spec__3___closed__3; extern lean_object* l_Lean_instInhabitedExpr; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__2; lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(lean_object*, lean_object*, uint8_t); uint64_t l_Lean_Expr_hash(lean_object*); lean_object* l_Lean_Elab_WF_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -214,6 +215,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_visitLet_visit___at_Lean_Elab_getFixedPrefi LEAN_EXPORT lean_object* l_Lean_Elab_getFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(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*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__5; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__2(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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedPrefix___spec__13___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_Elab_wfRecursion___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -224,14 +226,12 @@ lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_ForEachExpr_vis lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedPrefix___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlTOfPure___rarg(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__15; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withCommonTelescope_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_getFixedPrefix___spec__13___rarg(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*); uint8_t l_Lean_Expr_binderInfo(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___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_EXPORT lean_object* l_Lean_Elab_getFixedPrefix___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withCommonTelescope___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_wfRecursion___spec__1(lean_object*, lean_object*); @@ -241,26 +241,28 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spe LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___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_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___boxed(lean_object**); lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__14; lean_object* l_Lean_Elab_WF_guessLex(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_wfRecursion___lambda__2___boxed(lean_object**); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_ForEachExpr_visit___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_elabWFRel___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*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__10; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_getFixedPrefix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedPrefix___spec__10___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_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(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*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(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_PreDefinition_WF_Main___hyg_2662____closed__17; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___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*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___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*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__7; static lean_object* l_Lean_Elab_wfRecursion___closed__3; lean_object* l_id___rarg___boxed(lean_object*); static lean_object* l_Lean_Elab_varyingVarNames___closed__7; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_getFixedPrefix___spec__3___closed__1; static lean_object* l_Lean_Elab_wfRecursion___lambda__5___closed__2; @@ -297,7 +299,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_withCommonTelescope_go static lean_object* l_Lean_Elab_wfRecursion___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_varyingVarNames___lambda__1___boxed(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_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___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*); @@ -307,7 +308,9 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_varyingVarNames___spec__1(lean_o LEAN_EXPORT lean_object* l_Lean_Elab_varyingVarNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__1___boxed(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_PreDefinition_WF_Main___hyg_2662____closed__12; LEAN_EXPORT uint8_t l_Lean_Elab_wfRecursion___lambda__1(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__4; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); static lean_object* l_Lean_Elab_wfRecursion___closed__1; @@ -317,7 +320,6 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___closed__8; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setReducibilityStatus___at_Lean_Elab_wfRecursion___spec__5___closed__5; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__11; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_getFixedPrefix___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_varyingVarNames___closed__6; @@ -326,12 +328,11 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__10(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_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___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*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__17; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedPrefix___spec__7___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*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_404_(uint8_t, uint8_t); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___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_object*); @@ -340,7 +341,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__ lean_object* l_Lean_Elab_enableInfoTree___at_Lean_Elab_addAndCompilePartialRec___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope_go(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__13; static lean_object* l_Lean_Elab_getFixedPrefix___lambda__2___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); @@ -351,7 +351,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_getFixedPrefix LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__14___lambda__3___closed__6; static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_wfRecursion___spec__6___closed__2; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__8; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); size_t lean_usize_land(size_t, size_t); @@ -1314,6 +1313,7 @@ if (x_13 == 0) lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_24; lean_object* x_25; uint8_t x_26; x_14 = lean_array_uget(x_3, x_4); x_24 = l_Lean_Expr_bindingDomain_x21(x_14); +lean_dec(x_14); x_25 = lean_unsigned_to_nat(0u); x_26 = lean_nat_dec_lt(x_25, x_2); if (x_26 == 0) @@ -1322,6 +1322,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = l_Lean_instInhabitedExpr; x_28 = l_outOfBounds___rarg(x_27); x_29 = l_Lean_Expr_bindingDomain_x21(x_28); +lean_dec(x_28); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -1329,199 +1330,126 @@ lean_inc(x_8); x_30 = l_Lean_Meta_isExprDefEq(x_24, x_29, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_31; uint8_t x_32; 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_Expr_bindingName_x21(x_14); -x_34 = l_Lean_Expr_bindingName_x21(x_28); -x_35 = lean_name_eq(x_33, x_34); -lean_dec(x_34); -lean_dec(x_33); -if (x_35 == 0) -{ -uint8_t x_36; -lean_dec(x_31); -lean_dec(x_28); -lean_dec(x_14); -x_36 = 1; -x_15 = x_36; -x_16 = x_32; -goto block_23; -} -else -{ -uint8_t x_37; uint8_t x_38; uint8_t x_39; -x_37 = l_Lean_Expr_binderInfo(x_14); -lean_dec(x_14); -x_38 = l_Lean_Expr_binderInfo(x_28); -lean_dec(x_28); -x_39 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_404_(x_37, x_38); -if (x_39 == 0) -{ -uint8_t x_40; +x_32 = lean_unbox(x_31); lean_dec(x_31); -x_40 = 1; -x_15 = x_40; -x_16 = x_32; -goto block_23; -} -else -{ -uint8_t x_41; -x_41 = lean_unbox(x_31); -lean_dec(x_31); -if (x_41 == 0) +if (x_32 == 0) { -uint8_t x_42; -x_42 = 1; -x_15 = x_42; -x_16 = x_32; +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = 1; +x_15 = x_34; +x_16 = x_33; goto block_23; } else { -uint8_t x_43; -x_43 = 0; -x_15 = x_43; -x_16 = x_32; +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = 0; +x_15 = x_36; +x_16 = x_35; goto block_23; } } -} -} else { -uint8_t x_44; -lean_dec(x_28); -lean_dec(x_14); +uint8_t x_37; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_44 = !lean_is_exclusive(x_30); -if (x_44 == 0) +x_37 = !lean_is_exclusive(x_30); +if (x_37 == 0) { return x_30; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_30, 0); -x_46 = lean_ctor_get(x_30, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_30, 0); +x_39 = lean_ctor_get(x_30, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_30); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_array_fget(x_1, x_25); -x_49 = l_Lean_Expr_bindingDomain_x21(x_48); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_array_fget(x_1, x_25); +x_42 = l_Lean_Expr_bindingDomain_x21(x_41); +lean_dec(x_41); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_50 = l_Lean_Meta_isExprDefEq(x_24, x_49, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Expr_bindingName_x21(x_14); -x_54 = l_Lean_Expr_bindingName_x21(x_48); -x_55 = lean_name_eq(x_53, x_54); -lean_dec(x_54); -lean_dec(x_53); -if (x_55 == 0) -{ -uint8_t x_56; -lean_dec(x_51); -lean_dec(x_48); -lean_dec(x_14); -x_56 = 1; -x_15 = x_56; -x_16 = x_52; -goto block_23; -} -else -{ -uint8_t x_57; uint8_t x_58; uint8_t x_59; -x_57 = l_Lean_Expr_binderInfo(x_14); -lean_dec(x_14); -x_58 = l_Lean_Expr_binderInfo(x_48); -lean_dec(x_48); -x_59 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_404_(x_57, x_58); -if (x_59 == 0) -{ -uint8_t x_60; -lean_dec(x_51); -x_60 = 1; -x_15 = x_60; -x_16 = x_52; -goto block_23; -} -else +x_43 = l_Lean_Meta_isExprDefEq(x_24, x_42, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_43) == 0) { -uint8_t x_61; -x_61 = lean_unbox(x_51); -lean_dec(x_51); -if (x_61 == 0) +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +if (x_45 == 0) { -uint8_t x_62; -x_62 = 1; -x_15 = x_62; -x_16 = x_52; +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = 1; +x_15 = x_47; +x_16 = x_46; goto block_23; } else { -uint8_t x_63; -x_63 = 0; -x_15 = x_63; -x_16 = x_52; +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_dec(x_43); +x_49 = 0; +x_15 = x_49; +x_16 = x_48; goto block_23; } } -} -} else { -uint8_t x_64; -lean_dec(x_48); -lean_dec(x_14); +uint8_t x_50; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_64 = !lean_is_exclusive(x_50); -if (x_64 == 0) +x_50 = !lean_is_exclusive(x_43); +if (x_50 == 0) { -return x_50; +return x_43; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_50, 0); -x_66 = lean_ctor_get(x_50, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_50); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_43, 0); +x_52 = lean_ctor_get(x_43, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_43); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } @@ -1554,17 +1482,17 @@ return x_22; } else { -uint8_t x_68; lean_object* x_69; lean_object* x_70; +uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_68 = 0; -x_69 = lean_box(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_12); -return x_70; +x_54 = 0; +x_55 = lean_box(x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_12); +return x_56; } } } @@ -10503,7 +10431,7 @@ lean_dec(x_2); return x_10; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1() { _start: { lean_object* x_1; @@ -10511,27 +10439,27 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____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_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__2; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__4() { _start: { lean_object* x_1; @@ -10539,17 +10467,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__4; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__3; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__6() { _start: { lean_object* x_1; @@ -10557,37 +10485,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__7() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__5; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__6; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__5; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__8() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__7; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__7; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__9() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__8; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__8; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__10() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__10() { _start: { lean_object* x_1; @@ -10595,17 +10523,17 @@ x_1 = lean_mk_string_unchecked("PreDefinition", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__11() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__9; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__10; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__9; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__12() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__12() { _start: { lean_object* x_1; @@ -10613,17 +10541,17 @@ x_1 = lean_mk_string_unchecked("WF", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__13() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__11; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__12; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__11; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__14() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__14() { _start: { lean_object* x_1; @@ -10631,17 +10559,17 @@ x_1 = lean_mk_string_unchecked("Main", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__15() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__13; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__14; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__13; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__16() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__16() { _start: { lean_object* x_1; @@ -10649,33 +10577,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__17() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__15; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__16; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__15; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__18() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__17; -x_2 = lean_unsigned_to_nat(2729u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__17; +x_2 = lean_unsigned_to_nat(2662u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; x_3 = 0; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__18; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__18; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -10871,43 +10799,43 @@ l_Lean_Elab_wfRecursion___closed__2 = _init_l_Lean_Elab_wfRecursion___closed__2( lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__2); l_Lean_Elab_wfRecursion___closed__3 = _init_l_Lean_Elab_wfRecursion___closed__3(); lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__7(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__7); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__8(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__8); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__9(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__9); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__10(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__10); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__11 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__11(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__11); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__12 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__12(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__12); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__13 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__13(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__13); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__14 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__14(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__14); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__15 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__15(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__15); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__16 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__16(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__16); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__17 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__17(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__17); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__18 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__18(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729____closed__18); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2729_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__7(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__7); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__8(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__8); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__9(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__9); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__10(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__10); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__11 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__11(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__11); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__12 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__12(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__12); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__13 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__13(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__13); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__14 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__14(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__14); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__15 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__15(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__15); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__16 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__16(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__16); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__17 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__17(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__17); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__18 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__18(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662____closed__18); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_2662_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index d609dffc071a..b3941f595124 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.StructInst -// Imports: Lean.Util.FindExpr Lean.Parser.Term Lean.Meta.Structure Lean.Elab.App Lean.Elab.Binders +// Imports: Lean.Util.FindExpr Lean.Parser.Term Lean.Meta.Structure Lean.Elab.App Lean.Elab.Binders Lean.PrettyPrinter #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__3; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__1; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___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*); @@ -63,6 +62,7 @@ static lean_object* l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__12; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_StructInst_DefaultFields_allDefaultMissing_go___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lean_Elab_Term_StructInst_formatField___spec__1(lean_object*, lean_object*); @@ -86,7 +86,6 @@ static lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_StructInst_Struct_allDefault(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst_declRange__1___closed__5; -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux(lean_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___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst__1(lean_object*); @@ -95,6 +94,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_Struct_ref(lean_object*); +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__7; LEAN_EXPORT lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___spec__3(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Core_instantiateTypeLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,7 +126,7 @@ LEAN_EXPORT lean_object* l_List_findSomeM_x3f___at_Lean_Elab_Term_StructInst_Def lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__13; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__2; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce___closed__1; @@ -154,6 +154,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedExplicitSourceInfo_ uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__2(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_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux(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_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValue_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -176,6 +177,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructI LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__6; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_mapForallTelescope_x27___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -184,8 +186,8 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___la LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isDefaultMissing_x3f___at_Lean_Elab_Term_StructInst_DefaultFields_allDefaultMissing_go___spec__1___rarg___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__8; lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); @@ -204,6 +206,7 @@ lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__6; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isDefaultMissing_x3f___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__7___closed__1; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__9; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11; lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,7 +221,6 @@ lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___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* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__11; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at_Lean_Elab_Term_StructInst_formatStruct___spec__3___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); @@ -244,7 +246,6 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Term_StructInst_findField_x3f___lambda__1(lean_o LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__1(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_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___boxed(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_StructInst_expandStructInstFieldAbbrev___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4; @@ -286,7 +287,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagate(lea lean_object* l_Lean_getPathToBaseStructure_x3f(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_allStructNames___default; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067_(lean_object*); lean_object* l_Lean_isSubobjectField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev_docString__1___closed__1; @@ -370,6 +370,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isDefaultMiss lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_Struct_setParams(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068_(lean_object*); lean_object* l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6___closed__2; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8; @@ -465,14 +466,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyD LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_mkProjStx_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__9; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__4; static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___closed__5; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_allDefaultMissing_go___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__6(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_StructInst_DefaultFields_reduce___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__5___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField(lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__7; lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isDefaultMissing_x3f___at_Lean_Elab_Term_StructInst_DefaultFields_allDefaultMissing_go___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,7 +485,6 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructIns LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__9; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__24; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -513,7 +511,6 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_instToStringFieldStruct; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__5; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___closed__2; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__5; @@ -569,6 +566,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c static lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct; +lean_object* l_Lean_MessageData_ofConstName(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__1; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); @@ -601,6 +599,7 @@ lean_object* l_Lean_Meta_getStructureName(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__3___closed__7; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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*); +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__14; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isDefaultMissing_x3f___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__7(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_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5___rarg___closed__1; @@ -618,9 +617,7 @@ lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at_Lean_Elab_Term_StructInst_Struct_modifyFields___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__12; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__8(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_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__14; static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_step(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -674,6 +671,7 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__4; uint8_t l_Lean_isPrivateNameFromImportedModule(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType_declRange__1___closed__2; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__10; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__4; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___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*); @@ -684,6 +682,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS(lean_o static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__9; static double l_Lean_addTrace___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__16___closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__5; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); @@ -696,7 +695,6 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__4; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__10; lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___spec__2___closed__3; @@ -783,7 +781,6 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___closed__1; lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__2; lean_object* l_Lean_getStructureCtor(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__14___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_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -822,6 +819,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__5___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___closed__1; @@ -877,6 +875,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__6; static lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__1; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__4; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lean_Elab_Term_StructInst_formatStruct___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); @@ -900,6 +899,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru lean_object* l_Lean_Expr_mvarId_x21(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst_declRange__1___closed__7; lean_object* l_String_toSubstring_x27(lean_object*); +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); @@ -943,6 +943,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_instInhabitedStruct; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_List_length___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__10; +static lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__11; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__5; @@ -3483,7 +3484,7 @@ static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Struct 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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(130u); +x_3 = lean_unsigned_to_nat(131u); x_4 = lean_unsigned_to_nat(43u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9684,7 +9685,7 @@ static lean_object* _init_l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed 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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed__1; -x_3 = lean_unsigned_to_nat(335u); +x_3 = lean_unsigned_to_nat(336u); x_4 = lean_unsigned_to_nat(25u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9759,7 +9760,7 @@ static lean_object* _init_l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__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; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__1; -x_3 = lean_unsigned_to_nat(343u); +x_3 = lean_unsigned_to_nat(344u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12723,7 +12724,7 @@ static lean_object* _init_l_List_map___at___private_Lean_Elab_StructInst_0__Lean 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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(443u); +x_3 = lean_unsigned_to_nat(444u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13005,7 +13006,7 @@ x_41 = l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_St lean_ctor_set_tag(x_23, 7); lean_ctor_set(x_23, 1, x_41); lean_ctor_set(x_23, 0, x_34); -x_42 = l_Lean_MessageData_ofName(x_32); +x_42 = l_Lean_MessageData_ofConstName(x_32); x_43 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_43, 0, x_23); lean_ctor_set(x_43, 1, x_42); @@ -13295,7 +13296,7 @@ x_102 = l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_S lean_ctor_set_tag(x_23, 7); lean_ctor_set(x_23, 1, x_102); lean_ctor_set(x_23, 0, x_101); -x_103 = l_Lean_MessageData_ofName(x_32); +x_103 = l_Lean_MessageData_ofConstName(x_32); x_104 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_104, 0, x_23); lean_ctor_set(x_104, 1, x_103); @@ -13520,7 +13521,7 @@ x_146 = l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_S x_147 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_MessageData_ofName(x_137); +x_148 = l_Lean_MessageData_ofConstName(x_137); x_149 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_149, 0, x_147); lean_ctor_set(x_149, 1, x_148); @@ -14221,7 +14222,7 @@ static lean_object* _init_l_List_foldlM___at___private_Lean_Elab_StructInst_0__L 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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__1; -x_3 = lean_unsigned_to_nat(461u); +x_3 = lean_unsigned_to_nat(462u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28184,7 +28185,7 @@ static lean_object* _init_l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName 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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName___closed__1; -x_3 = lean_unsigned_to_nat(772u); +x_3 = lean_unsigned_to_nat(773u); x_4 = lean_unsigned_to_nat(9u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -31429,7 +31430,7 @@ static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_Defau 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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; x_2 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1; -x_3 = lean_unsigned_to_nat(886u); +x_3 = lean_unsigned_to_nat(887u); x_4 = lean_unsigned_to_nat(25u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -36621,7 +36622,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -36631,37 +36632,37 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__1; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__1; x_2 = l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType__1___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__2; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__2; x_2 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__3; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__3; x_2 = l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType__1___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__5() { _start: { lean_object* x_1; @@ -36669,17 +36670,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__4; -x_2 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__5; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__4; +x_2 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__7() { _start: { lean_object* x_1; @@ -36687,47 +36688,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__6; -x_2 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__7; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__6; +x_2 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__8; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__8; x_2 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__9; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__9; x_2 = l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType__1___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__10; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__10; x_2 = l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType__1___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__12() { _start: { lean_object* x_1; @@ -36735,33 +36736,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__11; -x_2 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__12; +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__11; +x_2 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__13; -x_2 = lean_unsigned_to_nat(13067u); +x_1 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__13; +x_2 = lean_unsigned_to_nat(13068u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__5___closed__3; x_3 = 0; -x_4 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__14; +x_4 = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__14; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -36802,6 +36803,7 @@ lean_object* initialize_Lean_Parser_Term(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Structure(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_App(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Binders(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_PrettyPrinter(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_StructInst(uint8_t builtin, lean_object* w) { lean_object * res; @@ -36822,6 +36824,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Binders(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_PrettyPrinter(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1 = _init_l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1); l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2 = _init_l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2(); @@ -37415,35 +37420,35 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst_dec if (builtin) {res = l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst_declRange__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__1 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__1); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__2 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__2); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__3 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__3); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__4 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__4); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__5 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__5); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__6 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__6); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__7 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__7); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__8 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__8); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__9 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__9); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__10 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__10); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__11 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__11); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__12 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__12); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__13 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__13); -l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__14 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067____closed__14); -if (builtin) {res = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13067_(lean_io_mk_world()); +}l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__1 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__1); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__2 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__2); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__3 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__3); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__4 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__4); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__5 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__5); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__6 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__6); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__7 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__7); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__8 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__8); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__9 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__9); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__10 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__10); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__11 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__11); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__12 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__12); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__13 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__13); +l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__14 = _init_l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068____closed__14); +if (builtin) {res = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_13068_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide.c index 3688b13878f8..d6bc33298ccb 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BVDecide.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Tactic.BVDecide -// Imports: Lean.Elab.Tactic.BVDecide.Bitblast +// Imports: Lean.Elab.Tactic.BVDecide.Bitblast Lean.Elab.Tactic.BVDecide.LRAT Lean.Elab.Tactic.BVDecide.External #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,6 +14,8 @@ extern "C" { #endif lean_object* initialize_Lean_Elab_Tactic_BVDecide_Bitblast(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_External(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide(uint8_t builtin, lean_object* w) { lean_object * res; @@ -22,6 +24,12 @@ _G_initialized = true; res = initialize_Lean_Elab_Tactic_BVDecide_Bitblast(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_External(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/External.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/External.c new file mode 100644 index 000000000000..b72499f5cd06 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/External.c @@ -0,0 +1,3392 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.External +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Parser Lean.CoreM Lean.Data.Parsec +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_IO_FS_Handle_readToEnd___boxed(lean_object*, lean_object*); +lean_object* lean_io_process_child_try_wait(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_ByteArray_Parser_run___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint32_to_uint8(uint32_t); +lean_object* l_EIO_toBaseIO___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__6; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parse(lean_object*); +uint8_t lean_byte_array_fget(lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at_IO_Process_output___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseLit(lean_object*); +lean_object* lean_io_as_task(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__2; +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9; +extern lean_object* l_Lean_Parsec_unexpectedEndOfInput; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseLines_go(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__12; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment(lean_object*); +lean_object* lean_io_process_child_wait(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__14; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__16; +lean_object* lean_nat_to_int(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__2(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_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__22; +lean_object* l_IO_sleep(uint32_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__3; +lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader(lean_object*); +uint8_t l_String_startsWith(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* lean_io_process_spawn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseLines(lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__5; +lean_object* lean_task_get_own(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__10; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__15; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20; +extern lean_object* l_Lean_Core_interruptExceptionId; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_abs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_ByteArray_skipBytes(lean_object*, lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +extern lean_object* l_Task_Priority_dedicated; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11; +lean_object* lean_string_to_utf8(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__13; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__23; +uint8_t lean_int_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6; +lean_object* lean_uint8_to_nat(uint8_t); +size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__17; +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__1; +lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__4; +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2(size_t, size_t, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +lean_object* lean_nat_add(lean_object*, lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__3; +lean_object* lean_byte_array_size(lean_object*); +uint8_t lean_uint8_dec_eq(uint8_t, uint8_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12; +lean_object* lean_io_process_child_kill(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8; +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 32; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("expected: '", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("'", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__5; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_inc(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__1; +x_13 = lean_uint8_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +x_14 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__7; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseLit(x_10); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_push(x_1, x_5); +x_1 = x_6; +x_2 = x_4; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_3, 0); +lean_dec(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = lean_nat_dec_eq(x_11, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_dec(x_1); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_dec(x_9); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +x_15 = lean_nat_dec_eq(x_14, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +return x_17; +} +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___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; uint8_t x_9; size_t x_10; size_t x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___closed__1; +x_9 = lean_int_dec_lt(x_8, x_5); +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +if (x_9 == 0) +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_nat_abs(x_5); +lean_dec(x_5); +x_13 = 0; +x_14 = lean_box(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +x_16 = lean_array_uset(x_7, x_2, x_15); +x_2 = x_11; +x_3 = x_16; +goto _start; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_nat_abs(x_5); +lean_dec(x_5); +x_19 = 1; +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); +x_22 = lean_array_uset(x_7, x_2, x_21); +x_2 = x_11; +x_3 = x_22; +goto _start; +} +} +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 118; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" 0", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__7; +x_2 = lean_string_to_utf8(x_1); +return x_2; +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 10; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__10() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__10; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__11; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__12; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_inc(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__1; +x_13 = lean_uint8_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +x_14 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__5; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_1); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_1, 1); +lean_dec(x_17); +x_18 = lean_ctor_get(x_1, 0); +lean_dec(x_18); +x_19 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6; +x_20 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__1(x_19, x_10); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_size(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2(x_23, x_24, x_22); +x_26 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8; +lean_inc(x_21); +x_27 = l_Lean_Parsec_ByteArray_skipBytes(x_26, x_21); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_21); +lean_free_object(x_1); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_27, 1); +lean_dec(x_29); +x_30 = 1; +x_31 = lean_box(x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_25); +lean_ctor_set(x_27, 1, x_32); +return x_27; +} +else +{ +lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_27, 0); +lean_inc(x_33); +lean_dec(x_27); +x_34 = 1; +x_35 = lean_box(x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_25); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_27); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_27, 0); +x_40 = lean_ctor_get(x_27, 1); +x_41 = lean_ctor_get(x_21, 1); +lean_inc(x_41); +lean_dec(x_21); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +x_43 = lean_nat_dec_eq(x_41, x_42); +lean_dec(x_42); +lean_dec(x_41); +if (x_43 == 0) +{ +lean_dec(x_25); +lean_free_object(x_1); +return x_27; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_dec(x_40); +x_44 = lean_ctor_get(x_39, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +x_46 = lean_byte_array_size(x_44); +x_47 = lean_nat_dec_lt(x_45, x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_25); +lean_free_object(x_1); +x_48 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set(x_27, 1, x_48); +return x_27; +} +else +{ +lean_object* x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; +x_49 = lean_nat_add(x_45, x_8); +lean_inc(x_44); +lean_ctor_set(x_1, 1, x_49); +lean_ctor_set(x_1, 0, x_44); +x_50 = lean_byte_array_fget(x_44, x_45); +lean_dec(x_45); +lean_dec(x_44); +x_51 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9; +x_52 = lean_uint8_dec_eq(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_1); +lean_dec(x_25); +x_53 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13; +lean_ctor_set(x_27, 1, x_53); +return x_27; +} +else +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_39); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_39, 1); +lean_dec(x_55); +x_56 = lean_ctor_get(x_39, 0); +lean_dec(x_56); +x_57 = 0; +x_58 = lean_box(x_57); +lean_ctor_set(x_39, 1, x_25); +lean_ctor_set(x_39, 0, x_58); +lean_ctor_set_tag(x_27, 0); +lean_ctor_set(x_27, 1, x_39); +lean_ctor_set(x_27, 0, x_1); +return x_27; +} +else +{ +uint8_t x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_39); +x_59 = 0; +x_60 = lean_box(x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_25); +lean_ctor_set_tag(x_27, 0); +lean_ctor_set(x_27, 1, x_61); +lean_ctor_set(x_27, 0, x_1); +return x_27; +} +} +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_62 = lean_ctor_get(x_27, 0); +x_63 = lean_ctor_get(x_27, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_27); +x_64 = lean_ctor_get(x_21, 1); +lean_inc(x_64); +lean_dec(x_21); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +x_66 = lean_nat_dec_eq(x_64, x_65); +lean_dec(x_65); +lean_dec(x_64); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_25); +lean_free_object(x_1); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_62); +lean_ctor_set(x_67, 1, x_63); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_dec(x_63); +x_68 = lean_ctor_get(x_62, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_62, 1); +lean_inc(x_69); +x_70 = lean_byte_array_size(x_68); +x_71 = lean_nat_dec_lt(x_69, x_70); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_25); +lean_free_object(x_1); +x_72 = l_Lean_Parsec_unexpectedEndOfInput; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_62); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +else +{ +lean_object* x_74; uint8_t x_75; uint8_t x_76; uint8_t x_77; +x_74 = lean_nat_add(x_69, x_8); +lean_inc(x_68); +lean_ctor_set(x_1, 1, x_74); +lean_ctor_set(x_1, 0, x_68); +x_75 = lean_byte_array_fget(x_68, x_69); +lean_dec(x_69); +lean_dec(x_68); +x_76 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9; +x_77 = lean_uint8_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_1); +lean_dec(x_25); +x_78 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_62); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +else +{ +lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_80 = x_62; +} else { + lean_dec_ref(x_62); + x_80 = lean_box(0); +} +x_81 = 0; +x_82 = lean_box(x_81); +if (lean_is_scalar(x_80)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_80; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_25); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_1); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +} +} +} +else +{ +uint8_t x_85; +lean_free_object(x_1); +x_85 = !lean_is_exclusive(x_20); +if (x_85 == 0) +{ +return x_20; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_20, 0); +x_87 = lean_ctor_get(x_20, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_20); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +lean_object* x_89; lean_object* x_90; +lean_dec(x_1); +x_89 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6; +x_90 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__1(x_89, x_10); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; size_t x_93; size_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_array_size(x_92); +x_94 = 0; +x_95 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2(x_93, x_94, x_92); +x_96 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8; +lean_inc(x_91); +x_97 = l_Lean_Parsec_ByteArray_skipBytes(x_96, x_91); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_91); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_99 = x_97; +} else { + lean_dec_ref(x_97); + x_99 = lean_box(0); +} +x_100 = 1; +x_101 = lean_box(x_100); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_95); +if (lean_is_scalar(x_99)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_99; +} +lean_ctor_set(x_103, 0, x_98); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_104 = lean_ctor_get(x_97, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_97, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_106 = x_97; +} else { + lean_dec_ref(x_97); + x_106 = lean_box(0); +} +x_107 = lean_ctor_get(x_91, 1); +lean_inc(x_107); +lean_dec(x_91); +x_108 = lean_ctor_get(x_104, 1); +lean_inc(x_108); +x_109 = lean_nat_dec_eq(x_107, x_108); +lean_dec(x_108); +lean_dec(x_107); +if (x_109 == 0) +{ +lean_object* x_110; +lean_dec(x_95); +if (lean_is_scalar(x_106)) { + x_110 = lean_alloc_ctor(1, 2, 0); +} else { + x_110 = x_106; +} +lean_ctor_set(x_110, 0, x_104); +lean_ctor_set(x_110, 1, x_105); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_104, 1); +lean_inc(x_112); +x_113 = lean_byte_array_size(x_111); +x_114 = lean_nat_dec_lt(x_112, x_113); +lean_dec(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_95); +x_115 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_106)) { + x_116 = lean_alloc_ctor(1, 2, 0); +} else { + x_116 = x_106; +} +lean_ctor_set(x_116, 0, x_104); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +else +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; uint8_t x_120; uint8_t x_121; +x_117 = lean_nat_add(x_112, x_8); +lean_inc(x_111); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_111); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_byte_array_fget(x_111, x_112); +lean_dec(x_112); +lean_dec(x_111); +x_120 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9; +x_121 = lean_uint8_dec_eq(x_119, x_120); +if (x_121 == 0) +{ +lean_object* x_122; lean_object* x_123; +lean_dec(x_118); +lean_dec(x_95); +x_122 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13; +if (lean_is_scalar(x_106)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_106; +} +lean_ctor_set(x_123, 0, x_104); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +else +{ +lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_124 = x_104; +} else { + lean_dec_ref(x_104); + x_124 = lean_box(0); +} +x_125 = 0; +x_126 = lean_box(x_125); +if (lean_is_scalar(x_124)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_124; +} +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_95); +if (lean_is_scalar(x_106)) { + x_128 = lean_alloc_ctor(0, 2, 0); +} else { + x_128 = x_106; + lean_ctor_set_tag(x_128, 0); +} +lean_ctor_set(x_128, 0, x_118); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +} +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_129 = lean_ctor_get(x_90, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_90, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_131 = x_90; +} else { + lean_dec_ref(x_90); + x_131 = lean_box(0); +} +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(1, 2, 0); +} else { + x_132 = x_131; +} +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_130); +return x_132; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___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_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseLines_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment(x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 1); +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l_Array_append___rarg(x_1, x_8); +lean_dec(x_8); +x_10 = lean_unbox(x_7); +lean_dec(x_7); +if (x_10 == 0) +{ +lean_free_object(x_3); +x_1 = x_9; +x_2 = x_6; +goto _start; +} +else +{ +lean_ctor_set(x_3, 1, x_9); +return x_3; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = l_Array_append___rarg(x_1, x_15); +lean_dec(x_15); +x_17 = lean_unbox(x_14); +lean_dec(x_14); +if (x_17 == 0) +{ +x_1 = x_16; +x_2 = x_13; +goto _start; +} +else +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_16); +return x_19; +} +} +} +else +{ +uint8_t x_20; +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_3); +if (x_20 == 0) +{ +return x_3; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_3, 0); +x_22 = lean_ctor_get(x_3, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_3); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseLines(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6; +x_3 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseLines_go(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("s SATISFIABLE\n", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__1; +x_2 = lean_string_to_utf8(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2; +x_3 = l_Lean_Parsec_ByteArray_skipBytes(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 1); +lean_dec(x_5); +x_6 = lean_box(0); +lean_ctor_set(x_3, 1, x_6); +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parse(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2; +x_3 = l_Lean_Parsec_ByteArray_skipBytes(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseLines(x_4); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) +{ +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Core_interruptExceptionId; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___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_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg(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; uint8_t x_9; +x_7 = lean_st_ref_get(x_1, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_unbox(x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_apply_3(x_3, x_4, x_5, x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_dec(x_7); +x_13 = lean_apply_3(x_2, x_4, x_5, 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; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__2; +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__2; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___boxed), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___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_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_3, 5); +x_7 = lean_io_process_child_kill(x_1, x_2, x_5); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_7); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_io_error_to_string(x_13); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l_Lean_MessageData_ofFormat(x_15); +lean_inc(x_6); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_6); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_7, 0, x_17); +return x_7; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_7, 0); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_7); +x_20 = lean_io_error_to_string(x_18); +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l_Lean_MessageData_ofFormat(x_21); +lean_inc(x_6); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_6); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 5); +lean_inc(x_9); +x_10 = lean_io_process_child_try_wait(x_1, x_2, x_8); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint32_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = 50; +x_14 = l_IO_sleep(x_13, x_12); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_dec(x_10); +x_18 = !lean_is_exclusive(x_11); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_task_get_own(x_3); +x_21 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_20, x_17); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_task_get_own(x_4); +x_25 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_24, x_23); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_free_object(x_11); +lean_dec(x_9); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint32_t x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_unbox_uint32(x_19); +lean_dec(x_19); +lean_ctor_set_uint32(x_28, sizeof(void*)*2, x_29); +lean_ctor_set(x_25, 0, x_28); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint32_t x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_25, 0); +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_25); +x_32 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_32, 0, x_22); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_unbox_uint32(x_19); +lean_dec(x_19); +lean_ctor_set_uint32(x_32, sizeof(void*)*2, x_33); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_31); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_22); +lean_dec(x_19); +x_35 = !lean_is_exclusive(x_25); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_25, 0); +x_37 = lean_io_error_to_string(x_36); +lean_ctor_set_tag(x_11, 3); +lean_ctor_set(x_11, 0, x_37); +x_38 = l_Lean_MessageData_ofFormat(x_11); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_9); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_25, 0, x_39); +return x_25; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_25, 0); +x_41 = lean_ctor_get(x_25, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_25); +x_42 = lean_io_error_to_string(x_40); +lean_ctor_set_tag(x_11, 3); +lean_ctor_set(x_11, 0, x_42); +x_43 = l_Lean_MessageData_ofFormat(x_11); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_9); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_41); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_19); +lean_dec(x_4); +x_46 = !lean_is_exclusive(x_21); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_21, 0); +x_48 = lean_io_error_to_string(x_47); +lean_ctor_set_tag(x_11, 3); +lean_ctor_set(x_11, 0, x_48); +x_49 = l_Lean_MessageData_ofFormat(x_11); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_9); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_21, 0, x_50); +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_io_error_to_string(x_51); +lean_ctor_set_tag(x_11, 3); +lean_ctor_set(x_11, 0, x_53); +x_54 = l_Lean_MessageData_ofFormat(x_11); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_9); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_52); +return x_56; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_11, 0); +lean_inc(x_57); +lean_dec(x_11); +x_58 = lean_task_get_own(x_3); +x_59 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_58, x_17); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_task_get_own(x_4); +x_63 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_62, x_61); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint32_t x_68; lean_object* x_69; +lean_dec(x_9); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_66 = x_63; +} else { + lean_dec_ref(x_63); + x_66 = lean_box(0); +} +x_67 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_67, 0, x_60); +lean_ctor_set(x_67, 1, x_64); +x_68 = lean_unbox_uint32(x_57); +lean_dec(x_57); +lean_ctor_set_uint32(x_67, sizeof(void*)*2, x_68); +if (lean_is_scalar(x_66)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_66; +} +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_65); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_60); +lean_dec(x_57); +x_70 = lean_ctor_get(x_63, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_63, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_72 = x_63; +} else { + lean_dec_ref(x_63); + x_72 = lean_box(0); +} +x_73 = lean_io_error_to_string(x_70); +x_74 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = l_Lean_MessageData_ofFormat(x_74); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_9); +lean_ctor_set(x_76, 1, x_75); +if (lean_is_scalar(x_72)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_72; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_71); +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; lean_object* x_85; +lean_dec(x_57); +lean_dec(x_4); +x_78 = lean_ctor_get(x_59, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_59, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_80 = x_59; +} else { + lean_dec_ref(x_59); + x_80 = lean_box(0); +} +x_81 = lean_io_error_to_string(x_78); +x_82 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_MessageData_ofFormat(x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_9); +lean_ctor_set(x_84, 1, x_83); +if (lean_is_scalar(x_80)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_80; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_79); +return x_85; +} +} +} +} +else +{ +uint8_t x_86; +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_86 = !lean_is_exclusive(x_10); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_10, 0); +x_88 = lean_io_error_to_string(x_87); +x_89 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = l_Lean_MessageData_ofFormat(x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_9); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_10, 0, x_91); +return x_10; +} +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; +x_92 = lean_ctor_get(x_10, 0); +x_93 = lean_ctor_get(x_10, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_10); +x_94 = lean_io_error_to_string(x_92); +x_95 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_96 = l_Lean_MessageData_ofFormat(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_9); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_93); +return x_98; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_inc(x_2); +lean_inc(x_1); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__1___boxed), 5, 2); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_inc(x_5); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__2), 8, 5); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); +lean_closure_set(x_10, 4, x_5); +x_11 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg(x_5, x_9, x_10, x_6, x_7, x_8); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; +x_1 = 2; +x_2 = 0; +x_3 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, 1, x_2); +lean_ctor_set_uint8(x_3, 2, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_runInterruptible(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 0); +lean_dec(x_6); +x_7 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1; +lean_ctor_set(x_1, 0, x_7); +x_8 = lean_ctor_get(x_2, 5); +lean_inc(x_8); +x_9 = lean_io_process_spawn(x_1, x_4); +if (lean_obj_tag(x_9) == 0) +{ +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; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_IO_FS_Handle_readToEnd___boxed), 2, 1); +lean_closure_set(x_13, 0, x_12); +x_14 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_14, 0, x_13); +x_15 = l_Task_Priority_dedicated; +x_16 = lean_io_as_task(x_14, x_15, x_11); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_10, 2); +lean_inc(x_19); +x_20 = lean_alloc_closure((void*)(l_IO_FS_Handle_readToEnd___boxed), 2, 1); +lean_closure_set(x_20, 0, x_19); +x_21 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_21, 0, x_20); +x_22 = lean_io_as_task(x_21, x_15, x_18); +x_23 = lean_ctor_get(x_2, 11); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +lean_dec(x_3); +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_22, 0); +x_26 = lean_ctor_get(x_22, 1); +x_27 = lean_task_get_own(x_17); +x_28 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_27, x_26); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_task_get_own(x_25); +x_32 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_31, 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, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_io_process_child_wait(x_7, x_10, x_34); +lean_dec(x_10); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +lean_free_object(x_22); +lean_dec(x_8); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; uint32_t x_39; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_38, 0, x_29); +lean_ctor_set(x_38, 1, x_33); +x_39 = lean_unbox_uint32(x_37); +lean_dec(x_37); +lean_ctor_set_uint32(x_38, sizeof(void*)*2, x_39); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint32_t x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_35, 0); +x_41 = lean_ctor_get(x_35, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_35); +x_42 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_42, 0, x_29); +lean_ctor_set(x_42, 1, x_33); +x_43 = lean_unbox_uint32(x_40); +lean_dec(x_40); +lean_ctor_set_uint32(x_42, sizeof(void*)*2, x_43); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} +} +else +{ +uint8_t x_45; +lean_dec(x_33); +lean_dec(x_29); +x_45 = !lean_is_exclusive(x_35); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_35, 0); +x_47 = lean_io_error_to_string(x_46); +x_48 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_MessageData_ofFormat(x_48); +lean_ctor_set(x_22, 1, x_49); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_35, 0, x_22); +return x_35; +} +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; +x_50 = lean_ctor_get(x_35, 0); +x_51 = lean_ctor_get(x_35, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_35); +x_52 = lean_io_error_to_string(x_50); +x_53 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = l_Lean_MessageData_ofFormat(x_53); +lean_ctor_set(x_22, 1, x_54); +lean_ctor_set(x_22, 0, x_8); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_22); +lean_ctor_set(x_55, 1, x_51); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_29); +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_32); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_32, 0); +x_58 = lean_io_error_to_string(x_57); +x_59 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_MessageData_ofFormat(x_59); +lean_ctor_set(x_22, 1, x_60); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_32, 0, x_22); +return x_32; +} +else +{ +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_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_63 = lean_io_error_to_string(x_61); +x_64 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = l_Lean_MessageData_ofFormat(x_64); +lean_ctor_set(x_22, 1, x_65); +lean_ctor_set(x_22, 0, x_8); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_22); +lean_ctor_set(x_66, 1, x_62); +return x_66; +} +} +} +else +{ +uint8_t x_67; +lean_dec(x_25); +lean_dec(x_10); +x_67 = !lean_is_exclusive(x_28); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_28, 0); +x_69 = lean_io_error_to_string(x_68); +x_70 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_MessageData_ofFormat(x_70); +lean_ctor_set(x_22, 1, x_71); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_28, 0, x_22); +return x_28; +} +else +{ +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_72 = lean_ctor_get(x_28, 0); +x_73 = lean_ctor_get(x_28, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_28); +x_74 = lean_io_error_to_string(x_72); +x_75 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_75, 0, x_74); +x_76 = l_Lean_MessageData_ofFormat(x_75); +lean_ctor_set(x_22, 1, x_76); +lean_ctor_set(x_22, 0, x_8); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_22); +lean_ctor_set(x_77, 1, x_73); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_22, 0); +x_79 = lean_ctor_get(x_22, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_22); +x_80 = lean_task_get_own(x_17); +x_81 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_80, x_79); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +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_84 = lean_task_get_own(x_78); +x_85 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_84, x_83); +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); +x_88 = lean_io_process_child_wait(x_7, x_10, x_87); +lean_dec(x_10); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint32_t x_93; lean_object* x_94; +lean_dec(x_8); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_91 = x_88; +} else { + lean_dec_ref(x_88); + x_91 = lean_box(0); +} +x_92 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_92, 0, x_82); +lean_ctor_set(x_92, 1, x_86); +x_93 = lean_unbox_uint32(x_89); +lean_dec(x_89); +lean_ctor_set_uint32(x_92, sizeof(void*)*2, x_93); +if (lean_is_scalar(x_91)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_91; +} +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_90); +return x_94; +} +else +{ +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_dec(x_86); +lean_dec(x_82); +x_95 = lean_ctor_get(x_88, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_88, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_97 = x_88; +} else { + lean_dec_ref(x_88); + x_97 = lean_box(0); +} +x_98 = lean_io_error_to_string(x_95); +x_99 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_100 = l_Lean_MessageData_ofFormat(x_99); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_8); +lean_ctor_set(x_101, 1, x_100); +if (lean_is_scalar(x_97)) { + x_102 = lean_alloc_ctor(1, 2, 0); +} else { + x_102 = x_97; +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_96); +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; lean_object* x_110; +lean_dec(x_82); +lean_dec(x_10); +x_103 = lean_ctor_get(x_85, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_85, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_105 = x_85; +} else { + lean_dec_ref(x_85); + x_105 = lean_box(0); +} +x_106 = lean_io_error_to_string(x_103); +x_107 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = l_Lean_MessageData_ofFormat(x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_8); +lean_ctor_set(x_109, 1, x_108); +if (lean_is_scalar(x_105)) { + x_110 = lean_alloc_ctor(1, 2, 0); +} else { + x_110 = x_105; +} +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_104); +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_dec(x_78); +lean_dec(x_10); +x_111 = lean_ctor_get(x_81, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_81, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_113 = x_81; +} else { + lean_dec_ref(x_81); + x_113 = lean_box(0); +} +x_114 = lean_io_error_to_string(x_111); +x_115 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_115, 0, x_114); +x_116 = l_Lean_MessageData_ofFormat(x_115); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_8); +lean_ctor_set(x_117, 1, x_116); +if (lean_is_scalar(x_113)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_113; +} +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_112); +return x_118; +} +} +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_8); +x_119 = lean_ctor_get(x_22, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_22, 1); +lean_inc(x_120); +lean_dec(x_22); +x_121 = lean_ctor_get(x_23, 0); +lean_inc(x_121); +lean_dec(x_23); +x_122 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go(x_7, x_10, x_17, x_119, x_121, x_2, x_3, x_120); +return x_122; +} +} +else +{ +uint8_t x_123; +lean_dec(x_3); +lean_dec(x_2); +x_123 = !lean_is_exclusive(x_9); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_124 = lean_ctor_get(x_9, 0); +x_125 = lean_io_error_to_string(x_124); +x_126 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_127 = l_Lean_MessageData_ofFormat(x_126); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_8); +lean_ctor_set(x_128, 1, x_127); +lean_ctor_set(x_9, 0, x_128); +return x_9; +} +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; +x_129 = lean_ctor_get(x_9, 0); +x_130 = lean_ctor_get(x_9, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_9); +x_131 = lean_io_error_to_string(x_129); +x_132 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_133 = l_Lean_MessageData_ofFormat(x_132); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_8); +lean_ctor_set(x_134, 1, x_133); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_130); +return x_135; +} +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_136 = lean_ctor_get(x_1, 1); +x_137 = lean_ctor_get(x_1, 2); +x_138 = lean_ctor_get(x_1, 3); +x_139 = lean_ctor_get(x_1, 4); +x_140 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_1); +x_141 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1; +x_142 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_136); +lean_ctor_set(x_142, 2, x_137); +lean_ctor_set(x_142, 3, x_138); +lean_ctor_set(x_142, 4, x_139); +lean_ctor_set_uint8(x_142, sizeof(void*)*5, x_140); +x_143 = lean_ctor_get(x_2, 5); +lean_inc(x_143); +x_144 = lean_io_process_spawn(x_142, x_4); +if (lean_obj_tag(x_144) == 0) +{ +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; +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_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +x_148 = lean_alloc_closure((void*)(l_IO_FS_Handle_readToEnd___boxed), 2, 1); +lean_closure_set(x_148, 0, x_147); +x_149 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_149, 0, x_148); +x_150 = l_Task_Priority_dedicated; +x_151 = lean_io_as_task(x_149, x_150, x_146); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = lean_ctor_get(x_145, 2); +lean_inc(x_154); +x_155 = lean_alloc_closure((void*)(l_IO_FS_Handle_readToEnd___boxed), 2, 1); +lean_closure_set(x_155, 0, x_154); +x_156 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_156, 0, x_155); +x_157 = lean_io_as_task(x_156, x_150, x_153); +x_158 = lean_ctor_get(x_2, 11); +lean_inc(x_158); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_3); +lean_dec(x_2); +x_159 = lean_ctor_get(x_157, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_157, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_161 = x_157; +} else { + lean_dec_ref(x_157); + x_161 = lean_box(0); +} +x_162 = lean_task_get_own(x_152); +x_163 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_162, x_160); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +lean_dec(x_163); +x_166 = lean_task_get_own(x_159); +x_167 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_166, x_165); +if (lean_obj_tag(x_167) == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_167, 1); +lean_inc(x_169); +lean_dec(x_167); +x_170 = lean_io_process_child_wait(x_141, x_145, x_169); +lean_dec(x_145); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint32_t x_175; lean_object* x_176; +lean_dec(x_161); +lean_dec(x_143); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_173 = x_170; +} else { + lean_dec_ref(x_170); + x_173 = lean_box(0); +} +x_174 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_174, 0, x_164); +lean_ctor_set(x_174, 1, x_168); +x_175 = lean_unbox_uint32(x_171); +lean_dec(x_171); +lean_ctor_set_uint32(x_174, sizeof(void*)*2, x_175); +if (lean_is_scalar(x_173)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_173; +} +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_172); +return x_176; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_168); +lean_dec(x_164); +x_177 = lean_ctor_get(x_170, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_170, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_179 = x_170; +} else { + lean_dec_ref(x_170); + x_179 = lean_box(0); +} +x_180 = lean_io_error_to_string(x_177); +x_181 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_181, 0, x_180); +x_182 = l_Lean_MessageData_ofFormat(x_181); +if (lean_is_scalar(x_161)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_161; +} +lean_ctor_set(x_183, 0, x_143); +lean_ctor_set(x_183, 1, x_182); +if (lean_is_scalar(x_179)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_179; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_178); +return x_184; +} +} +else +{ +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_dec(x_164); +lean_dec(x_145); +x_185 = lean_ctor_get(x_167, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_167, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_187 = x_167; +} else { + lean_dec_ref(x_167); + x_187 = lean_box(0); +} +x_188 = lean_io_error_to_string(x_185); +x_189 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_189, 0, x_188); +x_190 = l_Lean_MessageData_ofFormat(x_189); +if (lean_is_scalar(x_161)) { + x_191 = lean_alloc_ctor(0, 2, 0); +} else { + x_191 = x_161; +} +lean_ctor_set(x_191, 0, x_143); +lean_ctor_set(x_191, 1, x_190); +if (lean_is_scalar(x_187)) { + x_192 = lean_alloc_ctor(1, 2, 0); +} else { + x_192 = x_187; +} +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_186); +return x_192; +} +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_159); +lean_dec(x_145); +x_193 = lean_ctor_get(x_163, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_163, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_195 = x_163; +} else { + lean_dec_ref(x_163); + x_195 = lean_box(0); +} +x_196 = lean_io_error_to_string(x_193); +x_197 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_197, 0, x_196); +x_198 = l_Lean_MessageData_ofFormat(x_197); +if (lean_is_scalar(x_161)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_161; +} +lean_ctor_set(x_199, 0, x_143); +lean_ctor_set(x_199, 1, x_198); +if (lean_is_scalar(x_195)) { + x_200 = lean_alloc_ctor(1, 2, 0); +} else { + x_200 = x_195; +} +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_194); +return x_200; +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_dec(x_143); +x_201 = lean_ctor_get(x_157, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_157, 1); +lean_inc(x_202); +lean_dec(x_157); +x_203 = lean_ctor_get(x_158, 0); +lean_inc(x_203); +lean_dec(x_158); +x_204 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_go(x_141, x_145, x_152, x_201, x_203, x_2, x_3, x_202); +return x_204; +} +} +else +{ +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_3); +lean_dec(x_2); +x_205 = lean_ctor_get(x_144, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_144, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_207 = x_144; +} else { + lean_dec_ref(x_144); + x_207 = lean_box(0); +} +x_208 = lean_io_error_to_string(x_205); +x_209 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_209, 0, x_208); +x_210 = l_Lean_MessageData_ofFormat(x_209); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_143); +lean_ctor_set(x_211, 1, x_210); +if (lean_is_scalar(x_207)) { + x_212 = lean_alloc_ctor(1, 2, 0); +} else { + x_212 = x_207; +} +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_206); +return x_212; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___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; uint8_t x_7; +x_5 = lean_ctor_get(x_2, 5); +x_6 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(x_1, x_2, x_3, x_4); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set_tag(x_6, 1); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +lean_inc(x_5); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("-t", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("--lrat", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__5() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; +x_1 = 0; +x_2 = 2; +x_3 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, 1, x_1); +lean_ctor_set_uint8(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("--binary=", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("--quiet", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("--unsat", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("s UNSATISFIABLE", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("s SATISFIABLE", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("c UNKNOWN", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("The external prover produced unexpected output:\n", 48, 48); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("The SAT solver timed out while solving the problem.", 51, 51); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nConsider increasing the timeout with `set_option sat.timeout `", 68, 68); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__13; +x_2 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__14; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__15; +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_Elab_Tactic_BVDecide_External_satQuery___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__16; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parse), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Error ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" while parsing:\n", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Failed to execute external prover:\n", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("false", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("true", 4, 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +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; +x_9 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4); +x_10 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__1; +x_11 = lean_string_append(x_10, x_9); +lean_dec(x_9); +x_12 = lean_string_append(x_11, x_10); +x_13 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__2; +x_14 = lean_array_push(x_13, x_2); +x_15 = lean_array_push(x_14, x_3); +x_16 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__3; +x_17 = lean_array_push(x_15, x_16); +x_18 = lean_array_push(x_17, x_12); +x_19 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__4; +x_20 = lean_array_push(x_18, x_19); +x_21 = lean_box(0); +if (x_5 == 0) +{ +lean_object* x_143; +x_143 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__22; +x_22 = x_143; +goto block_142; +} +else +{ +lean_object* x_144; +x_144 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__23; +x_22 = x_144; +goto block_142; +} +block_142: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_23 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__6; +x_24 = lean_string_append(x_23, x_22); +lean_dec(x_22); +x_25 = lean_string_append(x_24, x_10); +x_26 = lean_array_push(x_20, x_25); +x_27 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__7; +x_28 = lean_array_push(x_26, x_27); +x_29 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__8; +x_30 = lean_array_push(x_28, x_29); +x_31 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__5; +x_32 = l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6; +x_33 = 0; +x_34 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_1); +lean_ctor_set(x_34, 2, x_30); +lean_ctor_set(x_34, 3, x_21); +lean_ctor_set(x_34, 4, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*5, x_33); +lean_inc(x_7); +lean_inc(x_6); +x_35 = l_Lean_Elab_Tactic_BVDecide_External_runInterruptible(x_34, x_6, x_7, x_8); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; uint32_t x_39; uint32_t x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +x_39 = lean_ctor_get_uint32(x_37, sizeof(void*)*2); +x_40 = 255; +x_41 = lean_uint32_dec_eq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = lean_ctor_get(x_37, 0); +lean_inc(x_42); +lean_dec(x_37); +x_43 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9; +lean_inc(x_42); +x_44 = l_String_startsWith(x_42, x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; +x_45 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10; +lean_inc(x_42); +x_46 = l_String_startsWith(x_42, x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +lean_free_object(x_35); +x_47 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11; +lean_inc(x_42); +x_48 = l_String_startsWith(x_42, x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_49 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12; +x_50 = lean_string_append(x_49, x_42); +lean_dec(x_42); +x_51 = lean_string_append(x_50, x_10); +x_52 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = l_Lean_MessageData_ofFormat(x_52); +x_54 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_53, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_6); +return x_54; +} +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_42); +x_55 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__17; +x_56 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_55, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_6); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_string_to_utf8(x_42); +x_58 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18; +x_59 = l_Lean_Parsec_ByteArray_Parser_run___rarg(x_58, x_57); +if (lean_obj_tag(x_59) == 0) +{ +uint8_t x_60; +lean_free_object(x_35); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_61 = lean_ctor_get(x_59, 0); +x_62 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19; +x_63 = lean_string_append(x_62, x_61); +lean_dec(x_61); +x_64 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20; +x_65 = lean_string_append(x_63, x_64); +x_66 = lean_string_append(x_65, x_42); +lean_dec(x_42); +x_67 = lean_string_append(x_66, x_10); +lean_ctor_set_tag(x_59, 3); +lean_ctor_set(x_59, 0, x_67); +x_68 = l_Lean_MessageData_ofFormat(x_59); +x_69 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_68, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_6); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_70 = lean_ctor_get(x_59, 0); +lean_inc(x_70); +lean_dec(x_59); +x_71 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19; +x_72 = lean_string_append(x_71, x_70); +lean_dec(x_70); +x_73 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20; +x_74 = lean_string_append(x_72, x_73); +x_75 = lean_string_append(x_74, x_42); +lean_dec(x_42); +x_76 = lean_string_append(x_75, x_10); +x_77 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_78 = l_Lean_MessageData_ofFormat(x_77); +x_79 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_78, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_6); +return x_79; +} +} +else +{ +uint8_t x_80; +lean_dec(x_42); +lean_dec(x_7); +lean_dec(x_6); +x_80 = !lean_is_exclusive(x_59); +if (x_80 == 0) +{ +lean_ctor_set_tag(x_59, 0); +lean_ctor_set(x_35, 0, x_59); +return x_35; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_59, 0); +lean_inc(x_81); +lean_dec(x_59); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_35, 0, x_82); +return x_35; +} +} +} +} +else +{ +lean_object* x_83; +lean_dec(x_42); +lean_dec(x_7); +lean_dec(x_6); +x_83 = lean_box(1); +lean_ctor_set(x_35, 0, x_83); +return x_35; +} +} +else +{ +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_free_object(x_35); +x_84 = lean_ctor_get(x_37, 1); +lean_inc(x_84); +lean_dec(x_37); +x_85 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21; +x_86 = lean_string_append(x_85, x_84); +lean_dec(x_84); +x_87 = lean_string_append(x_86, x_10); +x_88 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = l_Lean_MessageData_ofFormat(x_88); +x_90 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_89, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_6); +return x_90; +} +} +else +{ +lean_object* x_91; lean_object* x_92; uint32_t x_93; uint32_t x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_35, 0); +x_92 = lean_ctor_get(x_35, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_35); +x_93 = lean_ctor_get_uint32(x_91, sizeof(void*)*2); +x_94 = 255; +x_95 = lean_uint32_dec_eq(x_93, x_94); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_96 = lean_ctor_get(x_91, 0); +lean_inc(x_96); +lean_dec(x_91); +x_97 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9; +lean_inc(x_96); +x_98 = l_String_startsWith(x_96, x_97); +if (x_98 == 0) +{ +lean_object* x_99; uint8_t x_100; +x_99 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10; +lean_inc(x_96); +x_100 = l_String_startsWith(x_96, x_99); +if (x_100 == 0) +{ +lean_object* x_101; uint8_t x_102; +x_101 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11; +lean_inc(x_96); +x_102 = l_String_startsWith(x_96, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_103 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12; +x_104 = lean_string_append(x_103, x_96); +lean_dec(x_96); +x_105 = lean_string_append(x_104, x_10); +x_106 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = l_Lean_MessageData_ofFormat(x_106); +x_108 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_107, x_6, x_7, x_92); +lean_dec(x_7); +lean_dec(x_6); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_96); +x_109 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__17; +x_110 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_109, x_6, x_7, x_92); +lean_dec(x_7); +lean_dec(x_6); +return x_110; +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_string_to_utf8(x_96); +x_112 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18; +x_113 = l_Lean_Parsec_ByteArray_Parser_run___rarg(x_112, x_111); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + x_115 = x_113; +} else { + lean_dec_ref(x_113); + x_115 = lean_box(0); +} +x_116 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19; +x_117 = lean_string_append(x_116, x_114); +lean_dec(x_114); +x_118 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20; +x_119 = lean_string_append(x_117, x_118); +x_120 = lean_string_append(x_119, x_96); +lean_dec(x_96); +x_121 = lean_string_append(x_120, x_10); +if (lean_is_scalar(x_115)) { + x_122 = lean_alloc_ctor(3, 1, 0); +} else { + x_122 = x_115; + lean_ctor_set_tag(x_122, 3); +} +lean_ctor_set(x_122, 0, x_121); +x_123 = l_Lean_MessageData_ofFormat(x_122); +x_124 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_123, x_6, x_7, x_92); +lean_dec(x_7); +lean_dec(x_6); +return x_124; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_96); +lean_dec(x_7); +lean_dec(x_6); +x_125 = lean_ctor_get(x_113, 0); +lean_inc(x_125); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + x_126 = x_113; +} else { + lean_dec_ref(x_113); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(0, 1, 0); +} else { + x_127 = x_126; + lean_ctor_set_tag(x_127, 0); +} +lean_ctor_set(x_127, 0, x_125); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_92); +return x_128; +} +} +} +else +{ +lean_object* x_129; lean_object* x_130; +lean_dec(x_96); +lean_dec(x_7); +lean_dec(x_6); +x_129 = lean_box(1); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_92); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_131 = lean_ctor_get(x_91, 1); +lean_inc(x_131); +lean_dec(x_91); +x_132 = l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21; +x_133 = lean_string_append(x_132, x_131); +lean_dec(x_131); +x_134 = lean_string_append(x_133, x_10); +x_135 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_136 = l_Lean_MessageData_ofFormat(x_135); +x_137 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_136, x_6, x_7, x_92); +lean_dec(x_7); +lean_dec(x_6); +return x_137; +} +} +} +else +{ +uint8_t x_138; +lean_dec(x_7); +lean_dec(x_6); +x_138 = !lean_is_exclusive(x_35); +if (x_138 == 0) +{ +return x_35; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_35, 0); +x_140 = lean_ctor_get(x_35, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_35); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Tactic_BVDecide_External_satQuery___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_External_satQuery___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_5); +lean_dec(x_5); +x_10 = l_Lean_Elab_Tactic_BVDecide_External_satQuery(x_1, x_2, x_3, x_4, x_9, x_6, x_7, x_8); +return x_10; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Parser(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_CoreM(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Parsec(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_External(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Parser(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_CoreM(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Parsec(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__1(); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__2); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__3); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__4); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__5); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__6); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment_wsLit___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___spec__2___closed__1); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__1(); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__2); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__3); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__4); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__5); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__6); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__7); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__8); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__9(); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__10); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__11); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__12); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parsePartialAssignment___closed__13); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__1); +l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_ModelParser_parseHeader___closed__2); +l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__1); +l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_runInterruptible_withInterruptCheck___rarg___closed__2); +l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_runInterruptible___closed__1); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__1); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__2); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__3); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__4); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__5); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__6); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__7); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__8); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__9); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__10); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__11); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__12); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__13); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__14 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__14); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__15 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__15); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__16 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__16); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__17 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__17); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__18); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__19); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__20); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__21); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__22 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__22(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__22); +l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__23 = _init_l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__23(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_External_satQuery___closed__23); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT.c new file mode 100644 index 000000000000..ac790017c3db --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT.c @@ -0,0 +1,41 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Actions Lean.Elab.Tactic.BVDecide.LRAT.Checker Lean.Elab.Tactic.BVDecide.LRAT.Trim Lean.Elab.Tactic.BVDecide.LRAT.Parser +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Checker(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Trim(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Parser(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Checker(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Trim(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Parser(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Actions.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Actions.c new file mode 100644 index 000000000000..31a1de7c0bc2 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Actions.c @@ -0,0 +1,3358 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Actions +// Imports: Std.Sat.CNF +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__16; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__10; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__7; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__7; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__5; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instReprAction___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instBEqAction___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__18; +lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__13; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__2; +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2(lean_object*, lean_object*); +lean_object* lean_string_push(lean_object*, uint32_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instToStringAction___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__10; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450_(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__2; +lean_object* lean_nat_to_int(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__2; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5; +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__1; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__19; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instBEqAction(lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___boxed(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__17; +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__1; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__8; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__6; +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__3(lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__8(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__6; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__1; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__5; +lean_object* lean_string_length(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instReprAction(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10; +static lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(lean_object*, lean_object*); +lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(lean_object*); +static lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1; +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9; +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__2; +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instToStringAction(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__12; +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +lean_object* lean_array_get_size(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__11; +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__11; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2; +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__1; +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__5(lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12; +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__3; +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__1; +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_Elab_Tactic_BVDecide_LRAT_instInhabitedAction(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__2; +return x_3; +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____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; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_nat_dec_eq(x_12, x_14); +lean_dec(x_14); +lean_dec(x_12); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_6); +x_17 = 0; +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_array_get_size(x_13); +x_19 = lean_array_get_size(x_15); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_6); +x_21 = 0; +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__4(x_13, x_15, lean_box(0), x_13, x_15, x_22); +lean_dec(x_15); +lean_dec(x_13); +if (x_23 == 0) +{ +uint8_t x_24; +lean_dec(x_6); +x_24 = 0; +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_6, x_25); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_26; +goto _start; +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_dec(x_2); +lean_dec(x_1); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_nat_dec_eq(x_5, x_7); +lean_dec(x_7); +lean_dec(x_5); +if (x_9 == 0) +{ +uint8_t x_10; +lean_dec(x_8); +lean_dec(x_6); +x_10 = 0; +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_array_get_size(x_6); +x_12 = lean_array_get_size(x_8); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +uint8_t x_14; +lean_dec(x_8); +lean_dec(x_6); +x_14 = 0; +return x_14; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__1(x_6, x_8, lean_box(0), x_6, x_8, x_15); +lean_dec(x_8); +lean_dec(x_6); +return x_16; +} +} +} +else +{ +uint8_t x_17; +lean_dec(x_4); +lean_dec(x_3); +x_17 = 0; +return x_17; +} +} +case 1: +{ +lean_dec(x_2); +if (lean_obj_tag(x_4) == 1) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_18 = lean_ctor_get(x_3, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_3, 2); +lean_inc(x_20); +lean_dec(x_3); +x_21 = lean_ctor_get(x_4, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_4, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_4, 2); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_nat_dec_eq(x_18, x_21); +lean_dec(x_21); +lean_dec(x_18); +if (x_24 == 0) +{ +uint8_t x_25; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_1); +x_25 = 0; +return x_25; +} +else +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_apply_2(x_1, x_19, x_22); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +uint8_t x_28; +lean_dec(x_23); +lean_dec(x_20); +x_28 = 0; +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_array_get_size(x_20); +x_30 = lean_array_get_size(x_23); +x_31 = lean_nat_dec_eq(x_29, x_30); +lean_dec(x_30); +lean_dec(x_29); +if (x_31 == 0) +{ +uint8_t x_32; +lean_dec(x_23); +lean_dec(x_20); +x_32 = 0; +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__2(x_20, x_23, lean_box(0), x_20, x_23, x_33); +lean_dec(x_23); +lean_dec(x_20); +return x_34; +} +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_35 = 0; +return x_35; +} +} +case 2: +{ +if (lean_obj_tag(x_4) == 2) +{ +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; uint8_t x_60; +x_36 = lean_ctor_get(x_3, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_3, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_3, 2); +lean_inc(x_38); +x_39 = lean_ctor_get(x_3, 3); +lean_inc(x_39); +x_40 = lean_ctor_get(x_3, 4); +lean_inc(x_40); +lean_dec(x_3); +x_41 = lean_ctor_get(x_4, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_4, 1); +lean_inc(x_42); +x_43 = lean_ctor_get(x_4, 2); +lean_inc(x_43); +x_44 = lean_ctor_get(x_4, 3); +lean_inc(x_44); +x_45 = lean_ctor_get(x_4, 4); +lean_inc(x_45); +lean_dec(x_4); +x_60 = lean_nat_dec_eq(x_36, x_41); +lean_dec(x_41); +lean_dec(x_36); +if (x_60 == 0) +{ +uint8_t x_61; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_42); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_2); +lean_dec(x_1); +x_61 = 0; +return x_61; +} +else +{ +lean_object* x_62; uint8_t x_63; +x_62 = lean_apply_2(x_1, x_37, x_42); +x_63 = lean_unbox(x_62); +lean_dec(x_62); +if (x_63 == 0) +{ +uint8_t x_64; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_2); +x_64 = 0; +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_65 = lean_ctor_get(x_38, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_38, 1); +lean_inc(x_66); +lean_dec(x_38); +x_67 = lean_ctor_get(x_43, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_43, 1); +lean_inc(x_68); +lean_dec(x_43); +x_69 = lean_apply_2(x_2, x_65, x_67); +x_70 = lean_unbox(x_69); +lean_dec(x_69); +if (x_70 == 0) +{ +uint8_t x_71; +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_40); +lean_dec(x_39); +x_71 = 0; +return x_71; +} +else +{ +uint8_t x_72; +x_72 = lean_unbox(x_66); +lean_dec(x_66); +if (x_72 == 0) +{ +uint8_t x_73; +x_73 = lean_unbox(x_68); +lean_dec(x_68); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_box(0); +x_46 = x_74; +goto block_59; +} +else +{ +uint8_t x_75; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_40); +lean_dec(x_39); +x_75 = 0; +return x_75; +} +} +else +{ +uint8_t x_76; +x_76 = lean_unbox(x_68); +lean_dec(x_68); +if (x_76 == 0) +{ +uint8_t x_77; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_40); +lean_dec(x_39); +x_77 = 0; +return x_77; +} +else +{ +lean_object* x_78; +x_78 = lean_box(0); +x_46 = x_78; +goto block_59; +} +} +} +} +} +block_59: +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_47 = lean_array_get_size(x_39); +x_48 = lean_array_get_size(x_44); +x_49 = lean_nat_dec_eq(x_47, x_48); +lean_dec(x_48); +lean_dec(x_47); +if (x_49 == 0) +{ +uint8_t x_50; +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_40); +lean_dec(x_39); +x_50 = 0; +return x_50; +} +else +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_unsigned_to_nat(0u); +x_52 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__3(x_39, x_44, lean_box(0), x_39, x_44, x_51); +lean_dec(x_44); +lean_dec(x_39); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_45); +lean_dec(x_40); +x_53 = 0; +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_array_get_size(x_40); +x_55 = lean_array_get_size(x_45); +x_56 = lean_nat_dec_eq(x_54, x_55); +lean_dec(x_55); +lean_dec(x_54); +if (x_56 == 0) +{ +uint8_t x_57; +lean_dec(x_45); +lean_dec(x_40); +x_57 = 0; +return x_57; +} +else +{ +uint8_t x_58; +x_58 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__5(x_40, x_45, lean_box(0), x_40, x_45, x_51); +lean_dec(x_45); +lean_dec(x_40); +return x_58; +} +} +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_79 = 0; +return x_79; +} +} +default: +{ +lean_dec(x_2); +lean_dec(x_1); +if (lean_obj_tag(x_4) == 3) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_80 = lean_ctor_get(x_3, 0); +lean_inc(x_80); +lean_dec(x_3); +x_81 = lean_ctor_get(x_4, 0); +lean_inc(x_81); +lean_dec(x_4); +x_82 = lean_array_get_size(x_80); +x_83 = lean_array_get_size(x_81); +x_84 = lean_nat_dec_eq(x_82, x_83); +lean_dec(x_83); +lean_dec(x_82); +if (x_84 == 0) +{ +uint8_t x_85; +lean_dec(x_81); +lean_dec(x_80); +x_85 = 0; +return x_85; +} +else +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_unsigned_to_nat(0u); +x_87 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__6(x_80, x_81, lean_box(0), x_80, x_81, x_86); +lean_dec(x_81); +lean_dec(x_80); +return x_87; +} +} +else +{ +uint8_t x_88; +lean_dec(x_4); +lean_dec(x_3); +x_88 = 0; +return x_88; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____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) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____spec__6(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg___boxed(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 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg(x_1, x_2, x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instBEqAction___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_beqAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_148____rarg___boxed), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instBEqAction(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_instBEqAction___rarg), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +x_3 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +lean_ctor_set_tag(x_3, 5); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 0, x_2); +x_7 = l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__1(x_5); +x_8 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set(x_8, 1, x_7); +x_2 = x_8; +x_3 = x_6; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_3, 0); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_3); +lean_inc(x_1); +x_12 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_12, 0, x_2); +lean_ctor_set(x_12, 1, x_1); +x_13 = l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__1(x_10); +x_14 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_2 = x_14; +x_3 = x_11; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +lean_dec(x_2); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__1(x_5); +return x_6; +} +else +{ +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_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__1(x_7); +x_9 = l_List_foldl___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__3(x_2, x_8, x_4); +return x_9; +} +} +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(",", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___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_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__2; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 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_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("(", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__5; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("false", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("true", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_apply_2(x_1, x_5, x_7); +x_9 = lean_box(0); +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_9); +lean_ctor_set(x_2, 0, x_8); +x_10 = lean_unbox(x_6); +lean_dec(x_6); +if (x_10 == 0) +{ +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; +x_11 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_2); +x_13 = l_List_reverse___rarg(x_12); +x_14 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_15 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_13, x_14); +x_16 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_17 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_19 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_21 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = 0; +x_23 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_22); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; +x_24 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_2); +x_26 = l_List_reverse___rarg(x_25); +x_27 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_28 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_26, x_27); +x_29 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_30 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_32 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_34 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = 0; +x_36 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_35); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_37 = lean_ctor_get(x_2, 0); +x_38 = lean_ctor_get(x_2, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_2); +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_apply_2(x_1, x_37, x_39); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_unbox(x_38); +lean_dec(x_38); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; +x_44 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_42); +x_46 = l_List_reverse___rarg(x_45); +x_47 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_48 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_46, x_47); +x_49 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_50 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_52 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_54 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = 0; +x_56 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_55); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; +x_57 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_42); +x_59 = l_List_reverse___rarg(x_58); +x_60 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_61 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_59, x_60); +x_62 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_63 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_65 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_67 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = 0; +x_69 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set_uint8(x_69, sizeof(void*)*1, x_68); +return x_69; +} +} +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___boxed), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#[", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__1; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__2; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___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_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#[]", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__7; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4); +x_7 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = lean_box(0); +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 1, x_8); +lean_ctor_set(x_1, 0, x_7); +x_9 = lean_array_get_size(x_5); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_12 = lean_array_to_list(lean_box(0), x_5); +x_13 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_14 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_12, x_13); +x_15 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_16 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_18 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_20 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = 1; +x_22 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_21); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_1); +x_24 = l_List_reverse___rarg(x_23); +x_25 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_24, x_13); +x_26 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_27 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_29 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_31 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = 0; +x_33 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_32); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; +lean_dec(x_5); +x_34 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_1); +x_36 = l_List_reverse___rarg(x_35); +x_37 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_38 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_36, x_37); +x_39 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_40 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_42 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_44 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = 0; +x_46 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_45); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_47 = lean_ctor_get(x_1, 0); +x_48 = lean_ctor_get(x_1, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_1); +x_49 = l___private_Init_Data_Repr_0__Nat_reprFast(x_47); +x_50 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_get_size(x_48); +x_54 = lean_unsigned_to_nat(0u); +x_55 = lean_nat_dec_eq(x_53, x_54); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; +x_56 = lean_array_to_list(lean_box(0), x_48); +x_57 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_58 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_56, x_57); +x_59 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_60 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_62 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_64 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = 1; +x_66 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_52); +x_68 = l_List_reverse___rarg(x_67); +x_69 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_68, x_57); +x_70 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_71 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_73 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_75 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +x_76 = 0; +x_77 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_76); +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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; +lean_dec(x_48); +x_78 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_52); +x_80 = l_List_reverse___rarg(x_79); +x_81 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_82 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_80, x_81); +x_83 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7; +x_84 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9; +x_86 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6; +x_88 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = 0; +x_90 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set_uint8(x_90, sizeof(void*)*1, x_89); +return x_90; +} +} +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +lean_ctor_set_tag(x_3, 5); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 0, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(x_5, x_7); +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_8); +x_2 = x_9; +x_3 = x_6; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +lean_inc(x_1); +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_13, 1, x_1); +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(x_11, x_14); +x_16 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +x_2 = x_16; +x_3 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +lean_dec(x_2); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(x_8, x_9); +x_11 = l_List_foldl___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__8(x_2, x_10, x_4); +return x_11; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.Tactic.BVDecide.LRAT.Action.addEmpty", 46, 46); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__2; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.Tactic.BVDecide.LRAT.Action.addRup", 44, 44); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__7; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.Tactic.BVDecide.LRAT.Action.addRat", 44, 44); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__9; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__10; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.Tactic.BVDecide.LRAT.Action.del", 41, 41); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__13; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14; +x_2 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_3 = lean_alloc_ctor(5, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_2 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15; +x_3 = lean_alloc_ctor(4, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__17() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__16; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_2 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15; +x_3 = lean_alloc_ctor(4, 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___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__19() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__18; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 0: +{ +uint8_t x_5; +lean_dec(x_2); +lean_dec(x_1); +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_unsigned_to_nat(1024u); +x_9 = lean_nat_dec_le(x_8, x_4); +x_10 = l___private_Init_Data_Repr_0__Nat_reprFast(x_6); +x_11 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3; +lean_ctor_set_tag(x_3, 5); +lean_ctor_set(x_3, 1, x_11); +lean_ctor_set(x_3, 0, x_12); +x_13 = lean_box(1); +x_14 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_array_get_size(x_7); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_15, x_16); +lean_dec(x_15); +if (x_9 == 0) +{ +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_18 = lean_array_to_list(lean_box(0), x_7); +x_19 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_20 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_18, x_19); +x_21 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_22 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_24 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_26 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = 1; +x_28 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); +x_29 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_29, 0, x_14); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_31 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = 0; +x_33 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_32); +x_34 = l_Repr_addAppParen(x_33, x_4); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_7); +x_35 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_36 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_36, 0, x_14); +lean_ctor_set(x_36, 1, x_35); +x_37 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_38 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = 0; +x_40 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set_uint8(x_40, sizeof(void*)*1, x_39); +x_41 = l_Repr_addAppParen(x_40, x_4); +return x_41; +} +} +else +{ +if (x_17 == 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; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; +x_42 = lean_array_to_list(lean_box(0), x_7); +x_43 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_44 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_42, x_43); +x_45 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_46 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_48 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_50 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = 1; +x_52 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51); +x_53 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_53, 0, x_14); +lean_ctor_set(x_53, 1, x_52); +x_54 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_55 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = 0; +x_57 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56); +x_58 = l_Repr_addAppParen(x_57, x_4); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_7); +x_59 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_60 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_60, 0, x_14); +lean_ctor_set(x_60, 1, x_59); +x_61 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_62 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = 0; +x_64 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_63); +x_65 = l_Repr_addAppParen(x_64, x_4); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_66 = lean_ctor_get(x_3, 0); +x_67 = lean_ctor_get(x_3, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_3); +x_68 = lean_unsigned_to_nat(1024u); +x_69 = lean_nat_dec_le(x_68, x_4); +x_70 = l___private_Init_Data_Repr_0__Nat_reprFast(x_66); +x_71 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3; +x_73 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_box(1); +x_75 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_get_size(x_67); +x_77 = lean_unsigned_to_nat(0u); +x_78 = lean_nat_dec_eq(x_76, x_77); +lean_dec(x_76); +if (x_69 == 0) +{ +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; +x_79 = lean_array_to_list(lean_box(0), x_67); +x_80 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_81 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_79, x_80); +x_82 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_83 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_85 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_87 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = 1; +x_89 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set_uint8(x_89, sizeof(void*)*1, x_88); +x_90 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_90, 0, x_75); +lean_ctor_set(x_90, 1, x_89); +x_91 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_92 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = 0; +x_94 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set_uint8(x_94, sizeof(void*)*1, x_93); +x_95 = l_Repr_addAppParen(x_94, x_4); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_67); +x_96 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_97 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_97, 0, x_75); +lean_ctor_set(x_97, 1, x_96); +x_98 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_99 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = 0; +x_101 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set_uint8(x_101, sizeof(void*)*1, x_100); +x_102 = l_Repr_addAppParen(x_101, x_4); +return x_102; +} +} +else +{ +if (x_78 == 0) +{ +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; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; +x_103 = lean_array_to_list(lean_box(0), x_67); +x_104 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_105 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_103, x_104); +x_106 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_107 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +x_108 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_109 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_111 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = 1; +x_113 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set_uint8(x_113, sizeof(void*)*1, x_112); +x_114 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_114, 0, x_75); +lean_ctor_set(x_114, 1, x_113); +x_115 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_116 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = 0; +x_118 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set_uint8(x_118, sizeof(void*)*1, x_117); +x_119 = l_Repr_addAppParen(x_118, x_4); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_67); +x_120 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_121 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_121, 0, x_75); +lean_ctor_set(x_121, 1, x_120); +x_122 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_123 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = 0; +x_125 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set_uint8(x_125, sizeof(void*)*1, x_124); +x_126 = l_Repr_addAppParen(x_125, x_4); +return x_126; +} +} +} +} +case 1: +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 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; uint8_t x_143; +lean_dec(x_2); +x_127 = lean_ctor_get(x_3, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_3, 1); +lean_inc(x_128); +x_129 = lean_ctor_get(x_3, 2); +lean_inc(x_129); +lean_dec(x_3); +x_130 = lean_unsigned_to_nat(1024u); +x_131 = lean_nat_dec_le(x_130, x_4); +x_132 = l___private_Init_Data_Repr_0__Nat_reprFast(x_127); +x_133 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__8; +x_135 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +x_136 = lean_box(1); +x_137 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_apply_2(x_1, x_128, x_130); +x_139 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +x_140 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_136); +x_141 = lean_array_get_size(x_129); +x_142 = lean_unsigned_to_nat(0u); +x_143 = lean_nat_dec_eq(x_141, x_142); +lean_dec(x_141); +if (x_131 == 0) +{ +if (x_143 == 0) +{ +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; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; lean_object* x_159; lean_object* x_160; +x_144 = lean_array_to_list(lean_box(0), x_129); +x_145 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_146 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_144, x_145); +x_147 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_148 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +x_149 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_150 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +x_151 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_152 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = 1; +x_154 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set_uint8(x_154, sizeof(void*)*1, x_153); +x_155 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_155, 0, x_140); +lean_ctor_set(x_155, 1, x_154); +x_156 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_157 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = 0; +x_159 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set_uint8(x_159, sizeof(void*)*1, x_158); +x_160 = l_Repr_addAppParen(x_159, x_4); +return x_160; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_129); +x_161 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_162 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_162, 0, x_140); +lean_ctor_set(x_162, 1, x_161); +x_163 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_164 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = 0; +x_166 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set_uint8(x_166, sizeof(void*)*1, x_165); +x_167 = l_Repr_addAppParen(x_166, x_4); +return x_167; +} +} +else +{ +if (x_143 == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_object* x_183; lean_object* x_184; +x_168 = lean_array_to_list(lean_box(0), x_129); +x_169 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_170 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_168, x_169); +x_171 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_172 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_174 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +x_175 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_176 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_174); +x_177 = 1; +x_178 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set_uint8(x_178, sizeof(void*)*1, x_177); +x_179 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_179, 0, x_140); +lean_ctor_set(x_179, 1, x_178); +x_180 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_181 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_179); +x_182 = 0; +x_183 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set_uint8(x_183, sizeof(void*)*1, x_182); +x_184 = l_Repr_addAppParen(x_183, x_4); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_129); +x_185 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_186 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_186, 0, x_140); +lean_ctor_set(x_186, 1, x_185); +x_187 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_188 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = 0; +x_190 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set_uint8(x_190, sizeof(void*)*1, x_189); +x_191 = l_Repr_addAppParen(x_190, x_4); +return x_191; +} +} +} +case 2: +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; +x_192 = lean_ctor_get(x_3, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_3, 1); +lean_inc(x_193); +x_194 = lean_ctor_get(x_3, 2); +lean_inc(x_194); +x_195 = lean_ctor_get(x_3, 3); +lean_inc(x_195); +x_196 = lean_ctor_get(x_3, 4); +lean_inc(x_196); +lean_dec(x_3); +x_197 = lean_unsigned_to_nat(1024u); +x_198 = lean_nat_dec_le(x_197, x_4); +x_199 = l___private_Init_Data_Repr_0__Nat_reprFast(x_192); +x_200 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_200, 0, x_199); +x_201 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__11; +x_202 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = lean_box(1); +x_204 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +x_205 = lean_apply_2(x_1, x_193, x_197); +x_206 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +x_207 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_203); +x_208 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg(x_2, x_194, x_197); +x_209 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +x_210 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_203); +x_211 = lean_array_get_size(x_195); +x_212 = lean_unsigned_to_nat(0u); +x_213 = lean_nat_dec_eq(x_211, x_212); +lean_dec(x_211); +x_214 = lean_array_get_size(x_196); +x_215 = lean_nat_dec_eq(x_214, x_212); +lean_dec(x_214); +if (x_198 == 0) +{ +lean_object* x_256; +x_256 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_216 = x_256; +goto block_255; +} +else +{ +lean_object* x_257; +x_257 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_216 = x_257; +goto block_255; +} +block_255: +{ +lean_object* x_217; +if (x_213 == 0) +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_object* x_253; +x_243 = lean_array_to_list(lean_box(0), x_195); +x_244 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_245 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_243, x_244); +x_246 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_247 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_245); +x_248 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_249 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_249, 0, x_247); +lean_ctor_set(x_249, 1, x_248); +x_250 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_251 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +x_252 = 1; +x_253 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set_uint8(x_253, sizeof(void*)*1, x_252); +x_217 = x_253; +goto block_242; +} +else +{ +lean_object* x_254; +lean_dec(x_195); +x_254 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_217 = x_254; +goto block_242; +} +block_242: +{ +lean_object* x_218; lean_object* x_219; +x_218 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_218, 0, x_210); +lean_ctor_set(x_218, 1, x_217); +x_219 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_203); +if (x_215 == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_234; lean_object* x_235; +x_220 = lean_array_to_list(lean_box(0), x_196); +x_221 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_222 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__7(x_220, x_221); +x_223 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_224 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_226 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +x_227 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_228 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = 1; +x_230 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set_uint8(x_230, sizeof(void*)*1, x_229); +x_231 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_231, 0, x_219); +lean_ctor_set(x_231, 1, x_230); +x_232 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_232, 0, x_216); +lean_ctor_set(x_232, 1, x_231); +x_233 = 0; +x_234 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set_uint8(x_234, sizeof(void*)*1, x_233); +x_235 = l_Repr_addAppParen(x_234, x_4); +return x_235; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_196); +x_236 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8; +x_237 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_237, 0, x_219); +lean_ctor_set(x_237, 1, x_236); +x_238 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_238, 0, x_216); +lean_ctor_set(x_238, 1, x_237); +x_239 = 0; +x_240 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_240, 0, x_238); +lean_ctor_set_uint8(x_240, sizeof(void*)*1, x_239); +x_241 = l_Repr_addAppParen(x_240, x_4); +return x_241; +} +} +} +} +default: +{ +lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; +lean_dec(x_2); +lean_dec(x_1); +x_258 = lean_ctor_get(x_3, 0); +lean_inc(x_258); +lean_dec(x_3); +x_259 = lean_unsigned_to_nat(1024u); +x_260 = lean_nat_dec_le(x_259, x_4); +x_261 = lean_array_get_size(x_258); +x_262 = lean_unsigned_to_nat(0u); +x_263 = lean_nat_dec_eq(x_261, x_262); +lean_dec(x_261); +if (x_260 == 0) +{ +if (x_263 == 0) +{ +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; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; lean_object* x_280; lean_object* x_281; +x_264 = lean_array_to_list(lean_box(0), x_258); +x_265 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_266 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_264, x_265); +x_267 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_268 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_270 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +x_271 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_272 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_270); +x_273 = 1; +x_274 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_274, 0, x_272); +lean_ctor_set_uint8(x_274, sizeof(void*)*1, x_273); +x_275 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14; +x_276 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4; +x_278 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_276); +x_279 = 0; +x_280 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_280, 0, x_278); +lean_ctor_set_uint8(x_280, sizeof(void*)*1, x_279); +x_281 = l_Repr_addAppParen(x_280, x_4); +return x_281; +} +else +{ +lean_object* x_282; lean_object* x_283; +lean_dec(x_258); +x_282 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__17; +x_283 = l_Repr_addAppParen(x_282, x_4); +return x_283; +} +} +else +{ +if (x_263 == 0) +{ +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; uint8_t x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; lean_object* x_300; lean_object* x_301; +x_284 = lean_array_to_list(lean_box(0), x_258); +x_285 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3; +x_286 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__2(x_284, x_285); +x_287 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4; +x_288 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +x_289 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6; +x_290 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +x_291 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3; +x_292 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = 1; +x_294 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_294, 0, x_292); +lean_ctor_set_uint8(x_294, sizeof(void*)*1, x_293); +x_295 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14; +x_296 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +x_297 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5; +x_298 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_296); +x_299 = 0; +x_300 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_300, 0, x_298); +lean_ctor_set_uint8(x_300, sizeof(void*)*1, x_299); +x_301 = l_Repr_addAppParen(x_300, x_4); +return x_301; +} +else +{ +lean_object* x_302; lean_object* x_303; +lean_dec(x_258); +x_302 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__19; +x_303 = l_Repr_addAppParen(x_302, x_4); +return x_303; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instReprAction___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___boxed), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instReprAction(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_instReprAction___rarg), 2, 0); +return x_3; +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", ", 2, 2); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1; +x_6 = lean_string_append(x_1, x_5); +x_7 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3); +x_8 = lean_string_append(x_6, x_7); +lean_dec(x_7); +x_1 = x_8; +x_2 = x_4; +goto _start; +} +} +} +static lean_object* _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[]", 2, 2); +return x_1; +} +} +static lean_object* _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4); +x_6 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +x_8 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5; +x_9 = lean_string_append(x_7, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint32_t x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = l___private_Init_Data_Repr_0__Nat_reprFast(x_10); +x_12 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2; +x_13 = lean_string_append(x_12, x_11); +lean_dec(x_11); +x_14 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2(x_13, x_3); +x_15 = 93; +x_16 = lean_string_push(x_14, x_15); +return x_16; +} +} +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("#", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +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_object* x_20; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1; +x_6 = lean_string_append(x_1, x_5); +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_Init_Data_Repr_0__Nat_reprFast(x_7); +x_10 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +x_11 = lean_string_append(x_10, x_9); +lean_dec(x_9); +x_12 = lean_string_append(x_11, x_5); +x_13 = lean_array_to_list(lean_box(0), x_8); +x_14 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_13); +x_15 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = lean_string_append(x_12, x_16); +lean_dec(x_16); +x_18 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_19 = lean_string_append(x_17, x_18); +x_20 = lean_string_append(x_6, x_19); +lean_dec(x_19); +x_1 = x_20; +x_2 = x_4; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__3(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 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; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l___private_Init_Data_Repr_0__Nat_reprFast(x_5); +x_8 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_array_to_list(lean_box(0), x_6); +x_13 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_12); +x_14 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_15 = lean_string_append(x_14, x_13); +lean_dec(x_13); +x_16 = lean_string_append(x_11, x_15); +lean_dec(x_15); +x_17 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_18 = lean_string_append(x_16, x_17); +x_19 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2; +x_20 = lean_string_append(x_19, x_18); +lean_dec(x_18); +x_21 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5; +x_22 = lean_string_append(x_20, x_21); +return x_22; +} +else +{ +lean_object* x_23; uint32_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_23 = lean_ctor_get(x_1, 0); +lean_inc(x_23); +lean_dec(x_1); +x_24 = 93; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = l___private_Init_Data_Repr_0__Nat_reprFast(x_25); +x_28 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +x_30 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1; +x_31 = lean_string_append(x_29, x_30); +x_32 = lean_array_to_list(lean_box(0), x_26); +x_33 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_32); +x_34 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_35 = lean_string_append(x_34, x_33); +lean_dec(x_33); +x_36 = lean_string_append(x_31, x_35); +lean_dec(x_35); +x_37 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_38 = lean_string_append(x_36, x_37); +x_39 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +x_41 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4(x_40, x_3); +x_42 = lean_string_push(x_41, x_24); +return x_42; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("addEmpty (id: ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(") (hints: ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("addRup ", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" (id : ", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("addRat ", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" (id: ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(") (pivot: ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(") (rup hints: ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(") (rat hints: ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("del ", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__1; +x_8 = lean_string_append(x_7, x_6); +lean_dec(x_6); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2; +x_10 = lean_string_append(x_8, x_9); +x_11 = lean_array_to_list(lean_box(0), x_5); +x_12 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_11); +x_13 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_14 = lean_string_append(x_13, x_12); +lean_dec(x_12); +x_15 = lean_string_append(x_10, x_14); +lean_dec(x_14); +x_16 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_17 = lean_string_append(x_15, x_16); +return x_17; +} +case 1: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_2); +x_18 = lean_ctor_get(x_3, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_3, 2); +lean_inc(x_20); +lean_dec(x_3); +x_21 = lean_apply_1(x_1, x_19); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__3; +x_23 = lean_string_append(x_22, x_21); +lean_dec(x_21); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__4; +x_25 = lean_string_append(x_23, x_24); +x_26 = l___private_Init_Data_Repr_0__Nat_reprFast(x_18); +x_27 = lean_string_append(x_25, x_26); +lean_dec(x_26); +x_28 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2; +x_29 = lean_string_append(x_27, x_28); +x_30 = lean_array_to_list(lean_box(0), x_20); +x_31 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_30); +x_32 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_33 = lean_string_append(x_32, x_31); +lean_dec(x_31); +x_34 = lean_string_append(x_29, x_33); +lean_dec(x_33); +x_35 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_36 = lean_string_append(x_34, x_35); +return x_36; +} +case 2: +{ +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; 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_37 = lean_ctor_get(x_3, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_3, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_3, 2); +lean_inc(x_39); +x_40 = lean_ctor_get(x_3, 3); +lean_inc(x_40); +x_41 = lean_ctor_get(x_3, 4); +lean_inc(x_41); +lean_dec(x_3); +x_42 = lean_apply_1(x_1, x_38); +x_43 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__5; +x_44 = lean_string_append(x_43, x_42); +lean_dec(x_42); +x_45 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__6; +x_46 = lean_string_append(x_44, x_45); +x_47 = l___private_Init_Data_Repr_0__Nat_reprFast(x_37); +x_48 = lean_string_append(x_46, x_47); +lean_dec(x_47); +x_49 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__7; +x_50 = lean_string_append(x_48, x_49); +x_51 = lean_array_to_list(lean_box(0), x_40); +x_52 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_51); +x_53 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_54 = lean_string_append(x_53, x_52); +lean_dec(x_52); +x_55 = lean_array_to_list(lean_box(0), x_41); +x_56 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__3(x_55); +x_57 = lean_string_append(x_53, x_56); +lean_dec(x_56); +x_58 = lean_ctor_get(x_39, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_39, 1); +lean_inc(x_59); +lean_dec(x_39); +x_60 = lean_apply_1(x_2, x_58); +x_61 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4; +x_62 = lean_string_append(x_61, x_60); +lean_dec(x_60); +x_63 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1; +x_64 = lean_string_append(x_62, x_63); +x_65 = lean_unbox(x_59); +lean_dec(x_59); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_66 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10; +x_67 = lean_string_append(x_64, x_66); +x_68 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_69 = lean_string_append(x_67, x_68); +x_70 = lean_string_append(x_50, x_69); +lean_dec(x_69); +x_71 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8; +x_72 = lean_string_append(x_70, x_71); +x_73 = lean_string_append(x_72, x_54); +lean_dec(x_54); +x_74 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9; +x_75 = lean_string_append(x_73, x_74); +x_76 = lean_string_append(x_75, x_57); +lean_dec(x_57); +x_77 = lean_string_append(x_76, x_68); +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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_78 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12; +x_79 = lean_string_append(x_64, x_78); +x_80 = l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8; +x_81 = lean_string_append(x_79, x_80); +x_82 = lean_string_append(x_50, x_81); +lean_dec(x_81); +x_83 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8; +x_84 = lean_string_append(x_82, x_83); +x_85 = lean_string_append(x_84, x_54); +lean_dec(x_54); +x_86 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9; +x_87 = lean_string_append(x_85, x_86); +x_88 = lean_string_append(x_87, x_57); +lean_dec(x_57); +x_89 = lean_string_append(x_88, x_80); +return x_89; +} +} +default: +{ +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_dec(x_2); +lean_dec(x_1); +x_90 = lean_ctor_get(x_3, 0); +lean_inc(x_90); +lean_dec(x_3); +x_91 = lean_array_to_list(lean_box(0), x_90); +x_92 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1(x_91); +x_93 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1; +x_94 = lean_string_append(x_93, x_92); +lean_dec(x_92); +x_95 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__10; +x_96 = lean_string_append(x_95, x_94); +lean_dec(x_94); +x_97 = l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__11; +x_98 = lean_string_append(x_96, x_97); +return x_98; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instToStringAction___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg), 3, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instToStringAction(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_instToStringAction___rarg), 2, 0); +return x_3; +} +} +lean_object* initialize_Std_Sat_CNF(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Std_Sat_CNF(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction___closed__2); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__1 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__1(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__1); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__2 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__2(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__2); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__3); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__4); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__5 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__5(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__5); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__6); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__7); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__8); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__9); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__10); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__11); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__12); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__4___rarg___closed__13); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__1 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__1(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__1); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__2 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__2(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__2); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__3); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__4); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__5); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__6); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__7 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__7(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__7); +l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8 = _init_l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____spec__6___closed__8); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__1 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__1); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__2 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__2); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__3); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__4); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__5); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__6 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__6); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__7 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__7); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__8 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__8); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__9 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__9); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__10 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__10); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__11 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__11); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__12 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__12); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__13 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__13); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__14); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__15); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__16 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__16); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__17 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__17); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__18 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__18); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__19 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Actions_0__Lean_Elab_Tactic_BVDecide_LRAT_reprAction____x40_Lean_Elab_Tactic_BVDecide_LRAT_Actions___hyg_450____rarg___closed__19); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__2___closed__1); +l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1 = _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1(); +lean_mark_persistent(l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__1); +l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2 = _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2(); +lean_mark_persistent(l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__1___closed__2); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___spec__4___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__7); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__8); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__9); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__10); +l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Action_toString___rarg___closed__11); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Checker.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Checker.c new file mode 100644 index 000000000000..e972eff4d1b0 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Checker.c @@ -0,0 +1,725 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Checker +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Actions Lean.Elab.Tactic.BVDecide.LRAT.Internal.Convert Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATChecker Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATCheckerSound Std.Sat.CNF +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instBEqOfDecidableEq___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_check___closed__1; +lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_check___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction(lean_object*, lean_object*); +static lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__1; +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_check(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5; +lean_object* l_instDecidableEqBool___boxed(lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +uint8_t l_List_elem___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT(lean_object*); +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___boxed(lean_object*, lean_object*); +static lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__2; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete(lean_object*, lean_object*, lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Sat_CNF_numLiterals(lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter(lean_object*, lean_object*); +static lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__3; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +x_5 = l_List_reverse___rarg(x_4); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction(x_2, x_7); +lean_ctor_set(x_3, 1, x_4); +lean_ctor_set(x_3, 0, x_9); +{ +lean_object* _tmp_2 = x_8; +lean_object* _tmp_3 = x_3; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction(x_2, x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_4); +x_3 = x_12; +x_4 = x_14; +goto _start; +} +} +} +} +static lean_object* _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__1; +x_2 = lean_alloc_closure((void*)(l_instBEqOfDecidableEq___rarg), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_instDecidableEqBool___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__3; +x_2 = lean_alloc_closure((void*)(l_instBEqOfDecidableEq___rarg), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__2; +x_2 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__4; +x_3 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +x_5 = lean_array_to_list(lean_box(0), x_4); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +lean_dec(x_3); +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +switch (lean_obj_tag(x_9)) { +case 0: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_dec(x_3); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_array_push(x_4, x_9); +x_3 = x_10; +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_array_push(x_4, x_16); +x_3 = x_10; +x_4 = x_17; +goto _start; +} +} +case 1: +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_19); +lean_dec(x_3); +x_20 = !lean_is_exclusive(x_9); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_array_push(x_4, x_9); +x_3 = x_19; +x_4 = x_21; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_9, 0); +x_24 = lean_ctor_get(x_9, 1); +x_25 = lean_ctor_get(x_9, 2); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_9); +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_25); +x_27 = lean_array_push(x_4, x_26); +x_3 = x_19; +x_4 = x_27; +goto _start; +} +} +case 2: +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +x_30 = !lean_is_exclusive(x_9); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_31 = lean_ctor_get(x_9, 0); +x_32 = lean_ctor_get(x_9, 1); +x_33 = lean_ctor_get(x_9, 2); +x_34 = lean_ctor_get(x_9, 3); +x_35 = lean_ctor_get(x_9, 4); +x_36 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5; +lean_inc(x_32); +lean_inc(x_33); +x_37 = l_List_elem___rarg(x_36, x_33, x_32); +if (x_37 == 0) +{ +lean_free_object(x_9); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_31); +x_3 = x_29; +goto _start; +} +else +{ +lean_object* x_39; +x_39 = lean_array_push(x_4, x_9); +x_3 = x_29; +x_4 = x_39; +goto _start; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_41 = lean_ctor_get(x_9, 0); +x_42 = lean_ctor_get(x_9, 1); +x_43 = lean_ctor_get(x_9, 2); +x_44 = lean_ctor_get(x_9, 3); +x_45 = lean_ctor_get(x_9, 4); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_9); +x_46 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5; +lean_inc(x_42); +lean_inc(x_43); +x_47 = l_List_elem___rarg(x_46, x_43, x_42); +if (x_47 == 0) +{ +lean_dec(x_45); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_42); +lean_dec(x_41); +x_3 = x_29; +goto _start; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_49, 0, x_41); +lean_ctor_set(x_49, 1, x_42); +lean_ctor_set(x_49, 2, x_43); +lean_ctor_set(x_49, 3, x_44); +lean_ctor_set(x_49, 4, x_45); +x_50 = lean_array_push(x_4, x_49); +x_3 = x_29; +x_4 = x_50; +goto _start; +} +} +} +default: +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_3, 1); +lean_inc(x_52); +lean_dec(x_3); +x_53 = !lean_is_exclusive(x_9); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_array_push(x_4, x_9); +x_3 = x_52; +x_4 = x_54; +goto _start; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_9, 0); +lean_inc(x_56); +lean_dec(x_9); +x_57 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_array_push(x_4, x_57); +x_3 = x_52; +x_4 = x_58; +goto _start; +} +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +lean_dec(x_3); +x_5 = 1; +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +switch (lean_obj_tag(x_6)) { +case 0: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_4); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_box(0); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd(x_2, x_3, x_8, x_7); +lean_dec(x_7); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +uint8_t x_12; +x_12 = 2; +return x_12; +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +case 1: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec(x_4); +x_15 = lean_ctor_get(x_6, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_6, 2); +lean_inc(x_16); +lean_dec(x_6); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd(x_2, x_3, x_15, x_16); +lean_dec(x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +uint8_t x_20; +lean_dec(x_17); +lean_dec(x_14); +x_20 = 2; +return x_20; +} +else +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +lean_dec(x_17); +x_3 = x_21; +x_4 = x_14; +goto _start; +} +} +case 2: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_ctor_get(x_6, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_6, 2); +lean_inc(x_25); +x_26 = lean_ctor_get(x_6, 3); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 4); +lean_inc(x_27); +lean_dec(x_6); +x_28 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd(x_2, x_3, x_24, x_25, x_26, x_27); +lean_dec(x_26); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +uint8_t x_31; +lean_dec(x_28); +lean_dec(x_23); +x_31 = 2; +return x_31; +} +else +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_28, 0); +lean_inc(x_32); +lean_dec(x_28); +x_3 = x_32; +x_4 = x_23; +goto _start; +} +} +default: +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_4, 1); +lean_inc(x_34); +lean_dec(x_4); +x_35 = lean_ctor_get(x_6, 0); +lean_inc(x_35); +lean_dec(x_6); +x_36 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete(x_2, x_3, x_35); +lean_dec(x_35); +x_3 = x_36; +x_4 = x_34; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_check___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_check(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; +lean_inc(x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT(x_2); +x_4 = lean_array_to_list(lean_box(0), x_1); +lean_inc(x_2); +x_5 = l_Std_Sat_CNF_numLiterals(x_2); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_add(x_5, x_6); +lean_dec(x_5); +x_8 = lean_box(0); +x_9 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__1(x_2, x_7, x_4, x_8); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_check___closed__1; +x_11 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2(x_2, x_7, x_9, x_10); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__3(x_2, x_7, x_3, x_11); +lean_dec(x_7); +lean_dec(x_2); +x_13 = 0; +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult(x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___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_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__3___boxed(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 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_check___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_check(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___rarg(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) == 0) +{ +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +switch (lean_obj_tag(x_7)) { +case 0: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +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_apply_2(x_3, x_8, x_9); +return x_10; +} +case 1: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_7, 2); +lean_inc(x_13); +lean_dec(x_7); +x_14 = lean_apply_3(x_4, x_11, x_12, x_13); +return x_14; +} +case 2: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_15 = lean_ctor_get(x_7, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_7, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_7, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_7, 3); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 4); +lean_inc(x_19); +lean_dec(x_7); +x_20 = lean_apply_5(x_6, x_15, x_16, x_17, x_18, x_19); +return x_20; +} +default: +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_21 = lean_ctor_get(x_7, 0); +lean_inc(x_21); +lean_dec(x_7); +x_22 = lean_apply_1(x_5, x_21); +return x_22; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___rarg___boxed), 6, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___rarg___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___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Checker_0__Lean_Elab_Tactic_BVDecide_LRAT_check_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Sat_CNF(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Checker(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Sat_CNF(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__1 = _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__1(); +lean_mark_persistent(l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__1); +l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__2 = _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__2(); +lean_mark_persistent(l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__2); +l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__3 = _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__3(); +lean_mark_persistent(l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__3); +l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__4 = _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__4(); +lean_mark_persistent(l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__4); +l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5 = _init_l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5(); +lean_mark_persistent(l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_check___spec__2___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_check___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_check___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_check___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal.c new file mode 100644 index 000000000000..494fab5af05a --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal.c @@ -0,0 +1,69 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Actions Lean.Elab.Tactic.BVDecide.LRAT.Internal.Assignment Lean.Elab.Tactic.BVDecide.LRAT.Internal.CNF Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula Lean.Elab.Tactic.BVDecide.LRAT.Internal.Entails Lean.Elab.Tactic.BVDecide.LRAT.Internal.Assignment Lean.Elab.Tactic.BVDecide.LRAT.Internal.Clause Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATChecker Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATCheckerSound Lean.Elab.Tactic.BVDecide.LRAT.Internal.PosFin Lean.Elab.Tactic.BVDecide.LRAT.Internal.Convert +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Actions.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Actions.c new file mode 100644 index 000000000000..fe01a81d9aef --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Actions.c @@ -0,0 +1,1353 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Actions +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Actions Lean.Elab.Tactic.BVDecide.LRAT.Internal.Clause +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8(lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9(lean_object*); +size_t lean_usize_of_nat(lean_object*); +uint8_t l_instDecidableNot___rarg(uint8_t); +lean_object* lean_nat_to_int(lean_object*); +static lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_abs(lean_object*); +LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t); +uint8_t lean_int_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral___boxed(lean_object*, lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3(lean_object*); +uint8_t lean_int_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_nat_dec_lt(x_5, x_1); +if (x_7 == 0) +{ +lean_object* x_8; +lean_free_object(x_2); +lean_dec(x_6); +lean_dec(x_5); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_2); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = lean_nat_dec_lt(x_10, x_1); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_11); +lean_dec(x_10); +x_13 = lean_box(0); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_11); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_nat_abs(x_2); +x_5 = lean_nat_dec_lt(x_4, x_1); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_4); +x_6 = lean_box(0); +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1; +x_8 = lean_int_dec_lt(x_7, x_2); +if (x_8 == 0) +{ +uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = 0; +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +else +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = 1; +x_14 = lean_box(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; size_t x_12; size_t x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1; +x_10 = lean_int_dec_eq(x_6, x_9); +x_11 = l_instDecidableNot___rarg(x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +if (x_11 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_14 = lean_box(0); +x_15 = lean_array_uset(x_8, x_3, x_14); +x_3 = x_13; +x_4 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure(x_1, x_6, lean_box(0)); +lean_dec(x_6); +x_18 = lean_array_uset(x_8, x_3, x_17); +x_3 = x_13; +x_4 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +x_12 = lean_nat_dec_eq(x_8, x_10); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +else +{ +uint8_t x_14; +x_14 = lean_unbox(x_9); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = lean_unbox(x_11); +if (x_15 == 0) +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = lean_unbox(x_11); +return x_18; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_uget(x_3, x_4); +x_8 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg(x_7, x_2); +lean_dec(x_7); +if (x_8 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_4, x_9); +x_4 = x_10; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_array_get_size(x_2); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_4); +x_7 = 0; +return x_7; +} +else +{ +size_t x_8; size_t x_9; uint8_t x_10; +x_8 = 0; +x_9 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_10 = l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__4(x_1, x_3, x_2, x_8, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; +x_7 = lean_array_uget(x_2, x_3); +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +if (lean_obj_tag(x_7) == 0) +{ +x_3 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = lean_array_push(x_5, x_11); +x_3 = x_9; +x_5 = x_12; +goto _start; +} +} +else +{ +return x_5; +} +} +} +static lean_object* _init_l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_le(x_4, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +return x_9; +} +else +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_usize_of_nat(x_3); +x_11 = lean_usize_of_nat(x_4); +x_12 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__6(x_1, x_2, x_10, x_11, x_12); +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; size_t x_12; size_t x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1; +x_10 = lean_int_dec_eq(x_6, x_9); +x_11 = l_instDecidableNot___rarg(x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +if (x_11 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_14 = lean_box(0); +x_15 = lean_array_uset(x_8, x_3, x_14); +x_3 = x_13; +x_4 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure(x_1, x_6, lean_box(0)); +lean_dec(x_6); +x_18 = lean_array_uset(x_8, x_3, x_17); +x_3 = x_13; +x_4 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +x_12 = lean_nat_dec_eq(x_8, x_10); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +else +{ +uint8_t x_14; +x_14 = lean_unbox(x_9); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = lean_unbox(x_11); +if (x_15 == 0) +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = lean_unbox(x_11); +return x_18; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_uget(x_3, x_4); +x_8 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg(x_7, x_2); +lean_dec(x_7); +if (x_8 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_4, x_9); +x_4 = x_10; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_array_get_size(x_2); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_4); +x_7 = 0; +return x_7; +} +else +{ +size_t x_8; size_t x_9; uint8_t x_10; +x_8 = 0; +x_9 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_10 = l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__10(x_1, x_3, x_2, x_8, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__12(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; +x_7 = lean_array_uget(x_2, x_3); +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +if (lean_obj_tag(x_7) == 0) +{ +x_3 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = lean_array_push(x_5, x_11); +x_3 = x_9; +x_5 = x_12; +goto _start; +} +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_le(x_4, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +return x_9; +} +else +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_usize_of_nat(x_3); +x_11 = lean_usize_of_nat(x_4); +x_12 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1; +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__12(x_1, x_2, x_10, x_11, x_12); +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_2); +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_2, 0); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_2); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +case 1: +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_2); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +x_12 = lean_ctor_get(x_2, 2); +x_13 = lean_array_size(x_11); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1(x_1, x_13, x_14, x_11); +x_16 = lean_box(0); +x_17 = l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2(x_1, x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_get_size(x_15); +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5(x_1, x_15, x_19, x_18); +lean_dec(x_18); +lean_dec(x_15); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(x_1, x_20); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +lean_free_object(x_2); +lean_dec(x_12); +lean_dec(x_10); +x_22 = lean_box(0); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_21, 0); +lean_ctor_set(x_2, 1, x_24); +lean_ctor_set(x_21, 0, x_2); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +lean_ctor_set(x_2, 1, x_25); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_2); +return x_26; +} +} +} +else +{ +lean_object* x_27; +lean_dec(x_15); +lean_free_object(x_2); +lean_dec(x_12); +lean_dec(x_10); +x_27 = lean_box(0); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_28 = lean_ctor_get(x_2, 0); +x_29 = lean_ctor_get(x_2, 1); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_2); +x_31 = lean_array_size(x_29); +x_32 = 0; +x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1(x_1, x_31, x_32, x_29); +x_34 = lean_box(0); +x_35 = l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2(x_1, x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_array_get_size(x_33); +x_37 = lean_unsigned_to_nat(0u); +x_38 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5(x_1, x_33, x_37, x_36); +lean_dec(x_36); +lean_dec(x_33); +x_39 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(x_1, x_38); +lean_dec(x_38); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; +lean_dec(x_30); +lean_dec(x_28); +x_40 = lean_box(0); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_42 = x_39; +} else { + lean_dec_ref(x_39); + x_42 = lean_box(0); +} +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_28); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_43, 2, x_30); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(1, 1, 0); +} else { + x_44 = x_42; +} +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +lean_object* x_45; +lean_dec(x_33); +lean_dec(x_30); +lean_dec(x_28); +x_45 = lean_box(0); +return x_45; +} +} +} +case 2: +{ +uint8_t x_46; +x_46 = !lean_is_exclusive(x_2); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t x_55; +x_47 = lean_ctor_get(x_2, 0); +x_48 = lean_ctor_get(x_2, 1); +x_49 = lean_ctor_get(x_2, 2); +x_50 = lean_ctor_get(x_2, 3); +x_51 = lean_ctor_get(x_2, 4); +x_52 = lean_ctor_get(x_49, 0); +lean_inc(x_52); +x_53 = lean_unsigned_to_nat(0u); +x_54 = lean_nat_dec_eq(x_52, x_53); +lean_dec(x_52); +x_55 = l_instDecidableNot___rarg(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_free_object(x_2); +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_47); +x_56 = lean_box(0); +return x_56; +} +else +{ +lean_object* x_57; +x_57 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral(x_1, x_49, lean_box(0)); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; +lean_free_object(x_2); +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_48); +lean_dec(x_47); +x_58 = lean_box(0); +return x_58; +} +else +{ +lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_array_size(x_48); +x_61 = 0; +x_62 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7(x_1, x_60, x_61, x_48); +x_63 = lean_box(0); +x_64 = l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8(x_1, x_62, x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_array_get_size(x_62); +x_66 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11(x_1, x_62, x_53, x_65); +lean_dec(x_65); +lean_dec(x_62); +x_67 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(x_1, x_66); +lean_dec(x_66); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; +lean_dec(x_59); +lean_free_object(x_2); +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_47); +x_68 = lean_box(0); +return x_68; +} +else +{ +uint8_t x_69; +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_67, 0); +lean_ctor_set(x_2, 2, x_59); +lean_ctor_set(x_2, 1, x_70); +lean_ctor_set(x_67, 0, x_2); +return x_67; +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_67, 0); +lean_inc(x_71); +lean_dec(x_67); +lean_ctor_set(x_2, 2, x_59); +lean_ctor_set(x_2, 1, x_71); +x_72 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_72, 0, x_2); +return x_72; +} +} +} +else +{ +lean_object* x_73; +lean_dec(x_62); +lean_dec(x_59); +lean_free_object(x_2); +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_47); +x_73 = lean_box(0); +return x_73; +} +} +} +} +else +{ +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; uint8_t x_81; uint8_t x_82; +x_74 = lean_ctor_get(x_2, 0); +x_75 = lean_ctor_get(x_2, 1); +x_76 = lean_ctor_get(x_2, 2); +x_77 = lean_ctor_get(x_2, 3); +x_78 = lean_ctor_get(x_2, 4); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_2); +x_79 = lean_ctor_get(x_76, 0); +lean_inc(x_79); +x_80 = lean_unsigned_to_nat(0u); +x_81 = lean_nat_dec_eq(x_79, x_80); +lean_dec(x_79); +x_82 = l_instDecidableNot___rarg(x_81); +if (x_82 == 0) +{ +lean_object* x_83; +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_74); +x_83 = lean_box(0); +return x_83; +} +else +{ +lean_object* x_84; +x_84 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_natLiteralToPosFinLiteral(x_1, x_76, lean_box(0)); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_75); +lean_dec(x_74); +x_85 = lean_box(0); +return x_85; +} +else +{ +lean_object* x_86; size_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_86 = lean_ctor_get(x_84, 0); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_array_size(x_75); +x_88 = 0; +x_89 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7(x_1, x_87, x_88, x_75); +x_90 = lean_box(0); +x_91 = l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8(x_1, x_89, x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_array_get_size(x_89); +x_93 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11(x_1, x_89, x_80, x_92); +lean_dec(x_92); +lean_dec(x_89); +x_94 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(x_1, x_93); +lean_dec(x_93); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; +lean_dec(x_86); +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_74); +x_95 = lean_box(0); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + x_97 = x_94; +} else { + lean_dec_ref(x_94); + x_97 = lean_box(0); +} +x_98 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_98, 0, x_74); +lean_ctor_set(x_98, 1, x_96); +lean_ctor_set(x_98, 2, x_86); +lean_ctor_set(x_98, 3, x_77); +lean_ctor_set(x_98, 4, x_78); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(1, 1, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +return x_99; +} +} +else +{ +lean_object* x_100; +lean_dec(x_89); +lean_dec(x_86); +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_74); +x_100 = lean_box(0); +return x_100; +} +} +} +} +} +default: +{ +uint8_t x_101; +x_101 = !lean_is_exclusive(x_2); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_2); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_2, 0); +lean_inc(x_103); +lean_dec(x_2); +x_104 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_104); +return x_105; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__3(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_8 = l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__4(x_1, x_2, x_3, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__2(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__6(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__7(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__9(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_8 = l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__10(x_1, x_2, x_3, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__8(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__12(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__11(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Actions(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intToLiteralPure___closed__1); +l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1 = _init_l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1(); +lean_mark_persistent(l_Array_filterMapM___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_intActionToDefaultClauseAction___spec__5___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Assignment.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Assignment.c new file mode 100644 index 000000000000..9794cce1bc33 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Assignment.c @@ -0,0 +1,784 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Assignment +// Imports: Init.ByCases Lean.Elab.Tactic.BVDecide.LRAT.Internal.Entails Lean.Elab.Tactic.BVDecide.LRAT.Internal.PosFin +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__2; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasPosAssignment(uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__3; +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx___boxed(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instEntailsPosFinArray(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removePosAssignment(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqAssignment___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_ofNat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasNegAssignment___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instEntailsPosFinArray___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeNegAssignment(uint8_t); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeNegAssignment___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasPosAssignment___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(uint8_t, uint8_t); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqAssignment(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasNegAssignment(uint8_t); +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122_(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment(uint8_t, uint8_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removePosAssignment___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +default: +{ +lean_object* x_5; +x_5 = lean_unsigned_to_nat(3u); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___closed__1; +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg(x_4, x_5, x_3); +return x_6; +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_ofNat(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = lean_unsigned_to_nat(2u); +x_3 = lean_nat_dec_le(x_2, x_1); +if (x_3 == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_1, x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 1; +return x_6; +} +else +{ +uint8_t x_7; +x_7 = 0; +return x_7; +} +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_eq(x_1, x_2); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = 3; +return x_9; +} +else +{ +uint8_t x_10; +x_10 = 2; +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_ofNat___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_ofNat(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqAssignment(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(x_1); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(x_2); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqAssignment___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqAssignment(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122_(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(x_1); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_toCtorIdx(x_2); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122_(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("pos", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("neg", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("both", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unassigned", 10, 10); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__1; +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__2; +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__3; +return x_4; +} +default: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__4; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasPosAssignment(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +switch (lean_obj_tag(x_2)) { +case 1: +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +case 3: +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +default: +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 1; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasPosAssignment___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasPosAssignment(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasNegAssignment(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +switch (lean_obj_tag(x_2)) { +case 1: +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +case 2: +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +default: +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 0; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasNegAssignment___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasNegAssignment(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +switch (lean_obj_tag(x_2)) { +case 1: +{ +uint8_t x_3; +x_3 = 2; +return x_3; +} +case 2: +{ +uint8_t x_4; +x_4 = 2; +return x_4; +} +default: +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 0; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removePosAssignment(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +switch (lean_obj_tag(x_2)) { +case 1: +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +case 2: +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +default: +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 3; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removePosAssignment___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removePosAssignment(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +switch (lean_obj_tag(x_2)) { +case 1: +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +case 3: +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +default: +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 2; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeNegAssignment(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +switch (lean_obj_tag(x_2)) { +case 1: +{ +uint8_t x_3; +x_3 = 3; +return x_3; +} +case 3: +{ +uint8_t x_4; +x_4 = 3; +return x_4; +} +default: +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 0; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeNegAssignment___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeNegAssignment(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(uint8_t x_1, uint8_t x_2) { +_start: +{ +if (x_1 == 0) +{ +uint8_t x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(x_2); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment(uint8_t x_1, uint8_t x_2) { +_start: +{ +if (x_1 == 0) +{ +uint8_t x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeNegAssignment(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removePosAssignment(x_2); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(uint8_t x_1, uint8_t x_2) { +_start: +{ +if (x_1 == 0) +{ +uint8_t x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasNegAssignment(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasPosAssignment(x_2); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_inc(x_4); +return x_4; +} +default: +{ +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___boxed), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___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_1); +lean_dec(x_1); +x_7 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instEntailsPosFinArray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instEntailsPosFinArray___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instEntailsPosFinArray(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* initialize_Init_ByCases(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_ByCases(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_noConfusion___rarg___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqAssignment); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString___closed__4); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/CNF.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/CNF.c new file mode 100644 index 000000000000..f543ae9f0948 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/CNF.c @@ -0,0 +1,67 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.CNF +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Class +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (x_1 == 0) +{ +lean_inc(x_3); +return x_3; +} +else +{ +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_0__cond_match__1_splitter___rarg(x_4, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Clause.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Clause.c new file mode 100644 index 000000000000..d50001dec486 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Clause.c @@ -0,0 +1,2746 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Clause +// Imports: Init.Data.List.Erase Std.Sat.CNF.Basic Lean.Elab.Tactic.BVDecide.LRAT.Internal.PosFin Lean.Elab.Tactic.BVDecide.LRAT.Internal.Assignment +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2; +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___boxed(lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3; +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___closed__1; +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited(lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqDefaultClause(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1(lean_object*, lean_object*, lean_object*); +uint8_t l_List_any___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntails(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntails___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_string_push(lean_object*, uint32_t); +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg___boxed(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_empty___boxed(lean_object*); +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral(lean_object*); +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(lean_object*); +extern uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_outOfBounds___rarg(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg(lean_object*); +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntailsLiteral(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_eraseTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_eraseTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn(lean_object*); +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_empty(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList(lean_object*); +static lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__1; +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Sat_Literal_negate___rarg(lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited___rarg(lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit(lean_object*); +static lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__2; +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntailsLiteral(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_apply_1(x_1, x_3); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +else +{ +uint8_t x_9; +x_9 = 0; +return x_9; +} +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_dec(x_2); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_4, x_3); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEvalLiteral___rarg___boxed), 2, 1); +lean_closure_set(x_6, 0, x_2); +x_7 = l_List_any___rarg(x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntails(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntails___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instEntails(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_eval___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instDecidableEval___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited___rarg___boxed), 1, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_instInhabited___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +else +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_2, 1); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +x_13 = lean_ctor_get(x_8, 0); +x_14 = lean_ctor_get(x_8, 1); +x_15 = lean_nat_dec_eq(x_11, x_13); +if (x_15 == 0) +{ +uint8_t x_16; +x_16 = 0; +return x_16; +} +else +{ +uint8_t x_17; +x_17 = lean_unbox(x_12); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = lean_unbox(x_14); +if (x_18 == 0) +{ +x_2 = x_9; +x_3 = x_10; +goto _start; +} +else +{ +uint8_t x_20; +x_20 = 0; +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = lean_unbox(x_14); +if (x_21 == 0) +{ +uint8_t x_22; +x_22 = 0; +return x_22; +} +else +{ +x_2 = x_9; +x_3 = x_10; +goto _start; +} +} +} +} +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653_(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instBEqDefaultClause(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", ", 2, 2); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("(", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("false", 5, 5); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("true", 4, 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +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; uint8_t x_14; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1; +x_7 = lean_string_append(x_2, x_6); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_dec(x_4); +x_10 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_11 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = lean_string_append(x_12, x_6); +x_14 = lean_unbox(x_9); +lean_dec(x_9); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3; +x_16 = lean_string_append(x_13, x_15); +x_17 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_18 = lean_string_append(x_16, x_17); +x_19 = lean_string_append(x_7, x_18); +lean_dec(x_18); +x_2 = x_19; +x_3 = x_5; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5; +x_22 = lean_string_append(x_13, x_21); +x_23 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_24 = lean_string_append(x_22, x_23); +x_25 = lean_string_append(x_7, x_24); +lean_dec(x_24); +x_2 = x_25; +x_3 = x_5; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +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; uint8_t x_14; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1; +x_7 = lean_string_append(x_2, x_6); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_dec(x_4); +x_10 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8); +x_11 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = lean_string_append(x_12, x_6); +x_14 = lean_unbox(x_9); +lean_dec(x_9); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3; +x_16 = lean_string_append(x_13, x_15); +x_17 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_18 = lean_string_append(x_16, x_17); +x_19 = lean_string_append(x_7, x_18); +lean_dec(x_18); +x_2 = x_19; +x_3 = x_5; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5; +x_22 = lean_string_append(x_13, x_21); +x_23 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_24 = lean_string_append(x_22, x_23); +x_25 = lean_string_append(x_7, x_24); +lean_dec(x_24); +x_2 = x_25; +x_3 = x_5; +goto _start; +} +} +} +} +static lean_object* _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[]", 2, 2); +return x_1; +} +} +static lean_object* _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[", 1, 1); +return x_1; +} +} +static lean_object* _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__1; +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = l___private_Init_Data_Repr_0__Nat_reprFast(x_6); +x_9 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1; +x_12 = lean_string_append(x_10, x_11); +x_13 = lean_unbox(x_7); +lean_dec(x_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; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3; +x_15 = lean_string_append(x_12, x_14); +x_16 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_17 = lean_string_append(x_15, x_16); +x_18 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2; +x_19 = lean_string_append(x_18, x_17); +lean_dec(x_17); +x_20 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3; +x_21 = lean_string_append(x_19, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_22 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5; +x_23 = lean_string_append(x_12, x_22); +x_24 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_25 = lean_string_append(x_23, x_24); +x_26 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2; +x_27 = lean_string_append(x_26, x_25); +lean_dec(x_25); +x_28 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3; +x_29 = lean_string_append(x_27, x_28); +return x_29; +} +} +else +{ +lean_object* x_30; uint32_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_30 = lean_ctor_get(x_2, 0); +lean_inc(x_30); +lean_dec(x_2); +x_31 = 93; +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l___private_Init_Data_Repr_0__Nat_reprFast(x_32); +x_35 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2; +x_36 = lean_string_append(x_35, x_34); +lean_dec(x_34); +x_37 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1; +x_38 = lean_string_append(x_36, x_37); +x_39 = lean_unbox(x_33); +lean_dec(x_33); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_40 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3; +x_41 = lean_string_append(x_38, x_40); +x_42 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_43 = lean_string_append(x_41, x_42); +x_44 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2; +x_45 = lean_string_append(x_44, x_43); +lean_dec(x_43); +x_46 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2(x_1, x_45, x_4); +x_47 = lean_string_push(x_46, x_31); +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; +x_48 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5; +x_49 = lean_string_append(x_38, x_48); +x_50 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4; +x_51 = lean_string_append(x_49, x_50); +x_52 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2; +x_53 = lean_string_append(x_52, x_51); +lean_dec(x_51); +x_54 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__3(x_1, x_53, x_4); +x_55 = lean_string_push(x_54, x_31); +return x_55; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = l_List_reverse___rarg(x_2); +x_4 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1(x_1, x_3); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___closed__1; +x_6 = lean_string_append(x_5, x_4); +lean_dec(x_4); +x_7 = lean_string_append(x_6, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__3(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_3, x_4, x_5); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__List_getLast_x3f_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_empty(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_empty___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_empty(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_box(0); +return x_6; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_2(x_3, x_1, lean_box(0)); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_5); +lean_dec(x_2); +x_8 = lean_apply_2(x_3, x_1, lean_box(0)); +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter___rarg), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = l_List_reverse___rarg(x_3); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = l_Std_Sat_Literal_negate___rarg(x_6); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_8); +{ +lean_object* _tmp_1 = x_7; +lean_object* _tmp_2 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = l_Std_Sat_Literal_negate___rarg(x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +x_2 = x_11; +x_3 = x_13; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(0); +x_4 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___spec__1(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_nat_dec_eq(x_7, x_9); +if (x_11 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_unbox(x_8); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_unbox(x_10); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = 1; +return x_15; +} +else +{ +x_3 = x_6; +goto _start; +} +} +else +{ +uint8_t x_17; +x_17 = lean_unbox(x_10); +if (x_17 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_19; +x_19 = 1; +return x_19; +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_nat_dec_eq(x_7, x_9); +if (x_11 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_unbox(x_8); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_unbox(x_10); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = 1; +return x_15; +} +else +{ +x_3 = x_6; +goto _start; +} +} +else +{ +uint8_t x_17; +x_17 = lean_unbox(x_10); +if (x_17 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_19; +x_19 = 1; +return x_19; +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_nat_dec_eq(x_7, x_9); +if (x_11 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_unbox(x_8); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_unbox(x_10); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = 1; +return x_15; +} +else +{ +x_3 = x_6; +goto _start; +} +} +else +{ +uint8_t x_17; +x_17 = lean_unbox(x_10); +if (x_17 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_19; +x_19 = 1; +return x_19; +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_nat_dec_eq(x_7, x_9); +if (x_11 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_unbox(x_8); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_unbox(x_10); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = 1; +return x_15; +} +else +{ +x_3 = x_6; +goto _start; +} +} +else +{ +uint8_t x_17; +x_17 = lean_unbox(x_10); +if (x_17 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_19; +x_19 = 1; +return x_19; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = 1; +x_8 = lean_box(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__1(x_1, x_9, x_2); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +x_11 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__2(x_1, x_3, x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_2); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +else +{ +lean_object* x_14; +lean_dec(x_3); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_2); +return x_14; +} +} +else +{ +lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(0); +return x_15; +} +} +else +{ +lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +x_17 = 0; +x_18 = lean_box(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__3(x_1, x_19, x_2); +lean_dec(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +x_21 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__4(x_1, x_3, x_2); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_3); +lean_ctor_set(x_22, 1, x_2); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_3); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_2); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_3); +lean_dec(x_2); +x_25 = lean_box(0); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__2(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__3(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___spec__4(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_sub(x_3, x_7); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_9; +x_9 = lean_box(0); +x_3 = x_8; +x_5 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +lean_dec(x_5); +x_12 = lean_array_uget(x_2, x_8); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert(x_1, x_11, x_12); +x_3 = x_8; +x_5 = x_13; +goto _start; +} +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_sub(x_3, x_7); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_9; +x_9 = lean_box(0); +x_3 = x_8; +x_5 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +lean_dec(x_5); +x_12 = lean_array_uget(x_2, x_8); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert(x_1, x_11, x_12); +x_3 = x_8; +x_5 = x_13; +goto _start; +} +} +else +{ +return x_5; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_array_get_size(x_2); +x_4 = lean_nat_dec_le(x_3, x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_3); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1; +return x_7; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_9 = 0; +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1; +x_11 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__1(x_1, x_2, x_8, x_9, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_lt(x_12, x_3); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_3); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1; +return x_14; +} +else +{ +size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_16 = 0; +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1; +x_18 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__2(x_1, x_2, x_15, x_16, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___spec__2(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = 1; +x_8 = lean_usize_sub(x_3, x_7); +x_9 = lean_array_uget(x_2, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_5); +x_3 = x_8; +x_5 = x_10; +goto _start; +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = 1; +x_8 = lean_usize_sub(x_3, x_7); +x_9 = lean_array_uget(x_2, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_5); +x_3 = x_8; +x_5 = x_10; +goto _start; +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_List_eraseTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__1(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_4) == 0) +{ +lean_dec(x_5); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_6, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_3, 0); +x_25 = lean_ctor_get(x_3, 1); +x_26 = lean_nat_dec_eq(x_22, x_24); +lean_dec(x_22); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_23); +x_27 = lean_array_push(x_5, x_6); +x_4 = x_7; +x_5 = x_27; +goto _start; +} +else +{ +uint8_t x_29; +x_29 = lean_unbox(x_23); +lean_dec(x_23); +if (x_29 == 0) +{ +uint8_t x_30; +x_30 = lean_unbox(x_25); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_6); +x_31 = lean_box(0); +x_8 = x_31; +goto block_21; +} +else +{ +lean_object* x_32; +x_32 = lean_array_push(x_5, x_6); +x_4 = x_7; +x_5 = x_32; +goto _start; +} +} +else +{ +uint8_t x_34; +x_34 = lean_unbox(x_25); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_array_push(x_5, x_6); +x_4 = x_7; +x_5 = x_35; +goto _start; +} +else +{ +lean_object* x_37; +lean_dec(x_6); +x_37 = lean_box(0); +x_8 = x_37; +goto block_21; +} +} +} +block_21: +{ +lean_object* x_9; uint8_t x_10; +lean_dec(x_8); +x_9 = lean_array_get_size(x_5); +x_10 = lean_nat_dec_le(x_9, x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_9); +if (x_12 == 0) +{ +lean_dec(x_9); +lean_dec(x_5); +return x_7; +} +else +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_14 = 0; +x_15 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__2(x_1, x_5, x_13, x_14, x_7); +lean_dec(x_5); +return x_15; +} +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_lt(x_16, x_9); +if (x_17 == 0) +{ +lean_dec(x_9); +lean_dec(x_5); +return x_7; +} +else +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_19 = 0; +x_20 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__3(x_1, x_5, x_18, x_19, x_7); +lean_dec(x_5); +return x_20; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___closed__1; +lean_inc(x_2); +x_5 = l_List_eraseTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__1(x_1, x_2, x_3, x_2, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__2(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__3(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_List_eraseTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_List_eraseTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_nat_dec_eq(x_7, x_9); +if (x_11 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_unbox(x_8); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_unbox(x_10); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = 1; +return x_15; +} +else +{ +x_3 = x_6; +goto _start; +} +} +else +{ +uint8_t x_17; +x_17 = lean_unbox(x_10); +if (x_17 == 0) +{ +x_3 = x_6; +goto _start; +} +else +{ +uint8_t x_19; +x_19 = 1; +return x_19; +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(x_1, x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_4; +lean_dec(x_3); +x_4 = lean_box(0); +return x_4; +} +case 1: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_5, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_5); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_9 = lean_box(x_8); +x_10 = l_outOfBounds___rarg(x_9); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +switch (x_11) { +case 0: +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_3); +x_14 = lean_box(1); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_3); +return x_15; +} +} +case 1: +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_3); +return x_18; +} +else +{ +lean_object* x_19; +lean_dec(x_3); +x_19 = lean_box(1); +return x_19; +} +} +case 2: +{ +lean_object* x_20; +lean_dec(x_3); +x_20 = lean_box(0); +return x_20; +} +default: +{ +lean_object* x_21; +x_21 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_21, 0, x_3); +return x_21; +} +} +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_array_fget(x_1, x_5); +lean_dec(x_5); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +switch (x_23) { +case 0: +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +x_25 = lean_unbox(x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_3); +x_26 = lean_box(1); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_3); +return x_27; +} +} +case 1: +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +x_29 = lean_unbox(x_28); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_3); +return x_30; +} +else +{ +lean_object* x_31; +lean_dec(x_3); +x_31 = lean_box(1); +return x_31; +} +} +case 2: +{ +lean_object* x_32; +lean_dec(x_3); +x_32 = lean_box(0); +return x_32; +} +default: +{ +lean_object* x_33; +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_3); +return x_33; +} +} +} +} +case 2: +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_2); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_2, 0); +x_36 = lean_ctor_get(x_3, 0); +lean_inc(x_36); +x_37 = lean_array_get_size(x_1); +x_38 = lean_nat_dec_lt(x_36, x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +uint8_t x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_dec(x_36); +x_39 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_40 = lean_box(x_39); +x_41 = l_outOfBounds___rarg(x_40); +x_42 = lean_unbox(x_41); +lean_dec(x_41); +switch (x_42) { +case 0: +{ +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_3, 1); +lean_inc(x_43); +lean_dec(x_3); +x_44 = lean_unbox(x_43); +lean_dec(x_43); +if (x_44 == 0) +{ +return x_2; +} +else +{ +lean_object* x_45; +lean_free_object(x_2); +lean_dec(x_35); +x_45 = lean_box(3); +return x_45; +} +} +case 1: +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_3, 1); +lean_inc(x_46); +lean_dec(x_3); +x_47 = lean_unbox(x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; +lean_free_object(x_2); +lean_dec(x_35); +x_48 = lean_box(3); +return x_48; +} +else +{ +return x_2; +} +} +case 2: +{ +lean_object* x_49; +lean_free_object(x_2); +lean_dec(x_35); +lean_dec(x_3); +x_49 = lean_box(0); +return x_49; +} +default: +{ +lean_object* x_50; +lean_free_object(x_2); +lean_dec(x_35); +lean_dec(x_3); +x_50 = lean_box(3); +return x_50; +} +} +} +else +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_array_fget(x_1, x_36); +lean_dec(x_36); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +switch (x_52) { +case 0: +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_3, 1); +lean_inc(x_53); +lean_dec(x_3); +x_54 = lean_unbox(x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +return x_2; +} +else +{ +lean_object* x_55; +lean_free_object(x_2); +lean_dec(x_35); +x_55 = lean_box(3); +return x_55; +} +} +case 1: +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_3, 1); +lean_inc(x_56); +lean_dec(x_3); +x_57 = lean_unbox(x_56); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +lean_free_object(x_2); +lean_dec(x_35); +x_58 = lean_box(3); +return x_58; +} +else +{ +return x_2; +} +} +case 2: +{ +lean_object* x_59; +lean_free_object(x_2); +lean_dec(x_35); +lean_dec(x_3); +x_59 = lean_box(0); +return x_59; +} +default: +{ +lean_object* x_60; +lean_free_object(x_2); +lean_dec(x_35); +lean_dec(x_3); +x_60 = lean_box(3); +return x_60; +} +} +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_61 = lean_ctor_get(x_2, 0); +lean_inc(x_61); +lean_dec(x_2); +x_62 = lean_ctor_get(x_3, 0); +lean_inc(x_62); +x_63 = lean_array_get_size(x_1); +x_64 = lean_nat_dec_lt(x_62, x_63); +lean_dec(x_63); +if (x_64 == 0) +{ +uint8_t x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_62); +x_65 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_66 = lean_box(x_65); +x_67 = l_outOfBounds___rarg(x_66); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +switch (x_68) { +case 0: +{ +lean_object* x_69; uint8_t x_70; +x_69 = lean_ctor_get(x_3, 1); +lean_inc(x_69); +lean_dec(x_3); +x_70 = lean_unbox(x_69); +lean_dec(x_69); +if (x_70 == 0) +{ +lean_object* x_71; +x_71 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_71, 0, x_61); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_61); +x_72 = lean_box(3); +return x_72; +} +} +case 1: +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_3, 1); +lean_inc(x_73); +lean_dec(x_3); +x_74 = lean_unbox(x_73); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_61); +x_75 = lean_box(3); +return x_75; +} +else +{ +lean_object* x_76; +x_76 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_76, 0, x_61); +return x_76; +} +} +case 2: +{ +lean_object* x_77; +lean_dec(x_61); +lean_dec(x_3); +x_77 = lean_box(0); +return x_77; +} +default: +{ +lean_object* x_78; +lean_dec(x_61); +lean_dec(x_3); +x_78 = lean_box(3); +return x_78; +} +} +} +else +{ +lean_object* x_79; uint8_t x_80; +x_79 = lean_array_fget(x_1, x_62); +lean_dec(x_62); +x_80 = lean_unbox(x_79); +lean_dec(x_79); +switch (x_80) { +case 0: +{ +lean_object* x_81; uint8_t x_82; +x_81 = lean_ctor_get(x_3, 1); +lean_inc(x_81); +lean_dec(x_3); +x_82 = lean_unbox(x_81); +lean_dec(x_81); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_83, 0, x_61); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_61); +x_84 = lean_box(3); +return x_84; +} +} +case 1: +{ +lean_object* x_85; uint8_t x_86; +x_85 = lean_ctor_get(x_3, 1); +lean_inc(x_85); +lean_dec(x_3); +x_86 = lean_unbox(x_85); +lean_dec(x_85); +if (x_86 == 0) +{ +lean_object* x_87; +lean_dec(x_61); +x_87 = lean_box(3); +return x_87; +} +else +{ +lean_object* x_88; +x_88 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_88, 0, x_61); +return x_88; +} +} +case 2: +{ +lean_object* x_89; +lean_dec(x_61); +lean_dec(x_3); +x_89 = lean_box(0); +return x_89; +} +default: +{ +lean_object* x_90; +lean_dec(x_61); +lean_dec(x_3); +x_90 = lean_box(3); +return x_90; +} +} +} +} +} +default: +{ +lean_object* x_91; +lean_dec(x_3); +x_91 = lean_box(3); +return x_91; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn___rarg(x_2, x_3, x_5); +x_3 = x_7; +x_4 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_box(1); +x_5 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___spec__1(x_1, x_3, x_4, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_toList___rarg___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_inc(x_1); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = lean_box(0); +lean_inc(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate___boxed), 2, 1); +lean_closure_set(x_4, 0, x_1); +lean_inc(x_1); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_insert___boxed), 3, 1); +lean_closure_set(x_5, 0, x_1); +lean_inc(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___boxed), 3, 1); +lean_closure_set(x_6, 0, x_1); +lean_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___boxed), 3, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce___boxed), 3, 1); +lean_closure_set(x_8, 0, x_1); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__1; +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__2; +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__3; +x_12 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_2); +lean_ctor_set(x_12, 2, x_3); +lean_ctor_set(x_12, 3, x_10); +lean_ctor_set(x_12, 4, x_11); +lean_ctor_set(x_12, 5, x_4); +lean_ctor_set(x_12, 6, x_5); +lean_ctor_set(x_12, 7, x_6); +lean_ctor_set(x_12, 8, x_7); +lean_ctor_set(x_12, 9, x_8); +return x_12; +} +} +lean_object* initialize_Init_Data_List_Erase(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Sat_CNF_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_List_Erase(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Sat_CNF_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__1); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__2); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__3); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__4); +l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5 = _init_l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5(); +lean_mark_persistent(l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__2___closed__5); +l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__1 = _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__1(); +lean_mark_persistent(l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__1); +l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2 = _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2(); +lean_mark_persistent(l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__2); +l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3 = _init_l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3(); +lean_mark_persistent(l_List_toString___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___spec__1___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringDefaultClause___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_instClausePosFin___closed__3); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Convert.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Convert.c new file mode 100644 index 000000000000..1f6c9e5a48e9 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Convert.c @@ -0,0 +1,329 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Convert +// Imports: Std.Sat.CNF.RelabelFin Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_Clause_convertLRAT_x27(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Sat_CNF_relabelFin(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter(lean_object*, lean_object*); +lean_object* l_Std_Sat_CNF_relabel___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___lambda__1___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___closed__1; +lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___lambda__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT(lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_redLength___rarg(lean_object*); +lean_object* l_Std_Sat_CNF_numLiterals(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_Clause_convertLRAT_x27___boxed(lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter(lean_object*, lean_object*); +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_nat_add(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Std_Sat_CNF_relabelFin(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___closed__1; +x_4 = l_Std_Sat_CNF_relabel___rarg(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_Clause_convertLRAT_x27(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = l_List_redLength___rarg(x_2); +x_4 = lean_mk_empty_array_with_capacity(x_3); +lean_dec(x_3); +x_5 = l_List_toArrayAux___rarg(x_2, x_4); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray(x_1, x_5); +lean_dec(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_Clause_convertLRAT_x27___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_Clause_convertLRAT_x27(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_array_to_list(lean_box(0), x_3); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_Clause_convertLRAT_x27(x_1, x_5); +if (lean_obj_tag(x_7) == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = lean_array_push(x_3, x_7); +x_2 = x_6; +x_3 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_array_push(x_3, x_13); +x_2 = x_6; +x_3 = x_14; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___closed__1; +x_4 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___spec__1(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_ofArray_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_inc(x_1); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift(x_1); +x_3 = l_Std_Sat_CNF_numLiterals(x_1); +x_4 = lean_unsigned_to_nat(1u); +x_5 = lean_nat_add(x_3, x_4); +lean_dec(x_3); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27(x_5, x_2); +x_7 = lean_box(0); +x_8 = l_List_redLength___rarg(x_6); +x_9 = lean_nat_add(x_8, x_4); +lean_dec(x_8); +x_10 = lean_mk_empty_array_with_capacity(x_9); +lean_dec(x_9); +x_11 = lean_array_push(x_10, x_7); +x_12 = l_List_toArrayAux___rarg(x_6, x_11); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray(x_5, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_2); +lean_inc(x_3); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Std_Sat_CNF_RelabelFin(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Convert(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Std_Sat_CNF_RelabelFin(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_lift___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF_convertLRAT_x27___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Entails.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Entails.c new file mode 100644 index 000000000000..b20f660e71d3 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Entails.c @@ -0,0 +1,909 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Entails +// Imports: Init.NotationExtra Init.PropLemmas +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__16; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8; +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad__; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8__; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__10; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2; +lean_object* l_Lean_Name_mkStr7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__13; +lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__13; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__3; +lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__12; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__6; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__9; +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__15; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__17; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__7; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__6; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10; +lean_object* l_String_toSubstring_x27(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__2; +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("BVDecide", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("LRAT", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Internal", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term_⊨_", 9, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8() { +_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; lean_object* x_7; lean_object* x_8; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4; +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5; +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6; +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__7; +x_8 = l_Lean_Name_mkStr7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("andthen", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ⊨ ", 5, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__13; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14; +x_2 = lean_unsigned_to_nat(26u); +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_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__12; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__15; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8; +x_2 = lean_unsigned_to_nat(25u); +x_3 = lean_unsigned_to_nat(26u); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__16; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__17; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("app", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___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_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Entails.eval", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__5; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Entails", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("eval", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__10() { +_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; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4; +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5; +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6; +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7; +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8; +x_9 = l_Lean_Name_mkStr8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__10; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__11; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__13; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; 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; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +lean_dec(x_12); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6; +x_20 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ident", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___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_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_dec(x_9); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_20 = l_Lean_Syntax_getArg(x_15, x_8); +x_21 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_22 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_9); +x_23 = 0; +x_24 = l_Lean_SourceInfo_fromRef(x_22, x_23); +lean_dec(x_22); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11; +lean_inc(x_24); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8; +x_28 = l_Lean_Syntax_node3(x_24, x_27, x_20, x_26, x_21); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_3); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term_⊭_", 9, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4; +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5; +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6; +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__1; +x_8 = l_Lean_Name_mkStr7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ⊭ ", 5, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14; +x_2 = lean_unsigned_to_nat(30u); +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_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2; +x_2 = lean_unsigned_to_nat(25u); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__6; +x_4 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__7; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term¬_", 7, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___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_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("¬", 2, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("paren", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("(", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +lean_dec(x_12); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__3; +lean_inc(x_14); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__6; +lean_inc(x_14); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9; +x_22 = l_Lean_addMacroScope(x_16, x_21, x_15); +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6; +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12; +lean_inc(x_14); +x_25 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_25, 0, x_14); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_25, 2, x_22); +lean_ctor_set(x_25, 3, x_24); +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14; +lean_inc(x_14); +x_27 = l_Lean_Syntax_node2(x_14, x_26, x_9, x_11); +x_28 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4; +lean_inc(x_14); +x_29 = l_Lean_Syntax_node2(x_14, x_28, x_25, x_27); +x_30 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__7; +lean_inc(x_14); +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_14); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__5; +lean_inc(x_14); +x_33 = l_Lean_Syntax_node3(x_14, x_32, x_20, x_29, x_31); +x_34 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__2; +x_35 = l_Lean_Syntax_node2(x_14, x_34, x_18, x_33); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_3); +return x_36; +} +} +} +lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); +lean_object* initialize_Init_PropLemmas(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_NotationExtra(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_PropLemmas(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__7); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__8); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__9); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__10); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__11); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__12); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__13); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__14); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__15 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__15); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__16 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__16); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__17 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8_____closed__17); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8__ = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8__(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22a8__); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__7); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__8); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__9); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__10); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__11); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__12); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__13); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22a8____1___closed__14); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______unexpand__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails__eval__1___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad_____closed__7); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad__ = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad__(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_term___u22ad__); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal___aux__Lean__Elab__Tactic__BVDecide__LRAT__Internal__Entails______macroRules__Lean__Elab__Tactic__BVDecide__LRAT__Internal__term___u22ad____1___closed__7); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula.c new file mode 100644 index 000000000000..bb3a5af3b6ff --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula.c @@ -0,0 +1,57 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Lemmas Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Class Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Implementation Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Instance Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RatAddResult Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RatAddSound Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RupAddResult Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RupAddSound +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Implementation(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Instance(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Implementation(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Instance(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Class.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Class.c new file mode 100644 index 000000000000..0c2f06ee20b2 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Class.c @@ -0,0 +1,33 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Class +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Entails Lean.Elab.Tactic.BVDecide.LRAT.Internal.Clause +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Entails(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Implementation.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Implementation.c new file mode 100644 index 000000000000..de4d9481fc39 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Implementation.c @@ -0,0 +1,5775 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Implementation +// Imports: Init.Data.Array Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Class Lean.Elab.Tactic.BVDecide.LRAT.Internal.Assignment Std.Sat.CNF.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instEntailsPosFin___boxed(lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1(lean_object*, lean_object*, lean_object*); +uint8_t l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1(lean_object*, lean_object*, lean_object*); +uint8_t l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___rarg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(uint8_t, uint8_t); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(lean_object*); +extern uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +lean_object* l_outOfBounds___rarg(lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___boxed(lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_range(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___boxed(lean_object*); +uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__1(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(uint8_t, uint8_t); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instEntailsPosFin(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__2(lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122_(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(lean_object*, lean_object*); +uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_instDecidableEq___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Sat_Literal_negate___rarg(lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit(lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits(lean_object*, lean_object*, lean_object*); +lean_object* l_instDecidableEqNat___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__2___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = 3; +x_3 = lean_box(x_2); +x_4 = lean_mk_array(x_1, x_3); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_6 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_5); +lean_ctor_set(x_6, 2, x_5); +lean_ctor_set(x_6, 3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_array_to_list(lean_box(0), x_3); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_array_push(x_3, x_9); +x_2 = x_8; +x_3 = x_10; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = l_List_reverse___rarg(x_3); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(x_6); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_8); +{ +lean_object* _tmp_1 = x_7; +lean_object* _tmp_2 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +x_2 = x_11; +x_3 = x_13; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = l_List_reverse___rarg(x_3); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(x_6); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_8); +{ +lean_object* _tmp_1 = x_7; +lean_object* _tmp_2 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_unit___rarg(x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +x_2 = x_11; +x_3 = x_13; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_array_to_list(lean_box(0), x_3); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_6 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__1(x_1, x_4, x_5); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_array_to_list(lean_box(0), x_7); +x_9 = lean_box(0); +x_10 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__2(x_1, x_8, x_9); +x_11 = l_List_appendTR___rarg(x_6, x_10); +x_12 = lean_ctor_get(x_2, 2); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_array_to_list(lean_box(0), x_12); +x_14 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__3(x_1, x_13, x_9); +x_15 = l_List_appendTR___rarg(x_11, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_filterMapTR_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__2(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_mapTR_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___spec__3(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(x_3); +if (lean_obj_tag(x_4) == 0) +{ +return x_1; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_array_get_size(x_1); +x_10 = lean_nat_dec_lt(x_8, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_dec(x_8); +return x_1; +} +else +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_array_fget(x_1, x_8); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +x_13 = lean_box(0); +x_14 = lean_array_fset(x_1, x_8, x_13); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(x_12); +x_16 = lean_box(x_15); +x_17 = lean_array_fset(x_14, x_8, x_16); +lean_dec(x_8); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_5, 0); +lean_inc(x_18); +lean_dec(x_5); +x_19 = lean_array_get_size(x_1); +x_20 = lean_nat_dec_lt(x_18, x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_array_fget(x_1, x_18); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +x_23 = lean_box(0); +x_24 = lean_array_fset(x_1, x_18, x_23); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(x_22); +x_26 = lean_box(x_25); +x_27 = lean_array_fset(x_24, x_18, x_26); +lean_dec(x_18); +return x_27; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_7 = lean_array_uget(x_2, x_3); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn___rarg(x_5, x_7); +lean_dec(x_7); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +x_5 = x_8; +goto _start; +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = 3; +x_4 = lean_box(x_3); +lean_inc(x_1); +x_5 = lean_mk_array(x_1, x_4); +x_6 = lean_array_get_size(x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_6); +lean_dec(x_1); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_10 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +lean_ctor_set(x_10, 2, x_9); +lean_ctor_set(x_10, 3, x_5); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = lean_nat_dec_le(x_6, x_6); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_6); +lean_dec(x_1); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_13 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_13, 2, x_12); +lean_ctor_set(x_13, 3, x_5); +return x_13; +} +else +{ +size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = 0; +x_15 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray___spec__1(x_1, x_2, x_14, x_15, x_5); +lean_dec(x_1); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_17); +lean_ctor_set(x_18, 3, x_16); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 3); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(x_3); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_3); +x_9 = lean_array_push(x_5, x_8); +lean_ctor_set(x_2, 0, x_9); +return x_2; +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +lean_ctor_set(x_7, 0, x_3); +x_15 = lean_array_push(x_5, x_7); +x_16 = lean_array_get_size(x_6); +x_17 = lean_nat_dec_lt(x_14, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_dec(x_14); +lean_ctor_set(x_2, 0, x_15); +return x_2; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_array_fget(x_6, x_14); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +x_20 = lean_box(0); +x_21 = lean_array_fset(x_6, x_14, x_20); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(x_19); +x_23 = lean_box(x_22); +x_24 = lean_array_fset(x_21, x_14, x_23); +lean_dec(x_14); +lean_ctor_set(x_2, 3, x_24); +lean_ctor_set(x_2, 0, x_15); +return x_2; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_11, 0); +lean_inc(x_25); +lean_dec(x_11); +lean_ctor_set(x_7, 0, x_3); +x_26 = lean_array_push(x_5, x_7); +x_27 = lean_array_get_size(x_6); +x_28 = lean_nat_dec_lt(x_25, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_dec(x_25); +lean_ctor_set(x_2, 0, x_26); +return x_2; +} +else +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_29 = lean_array_fget(x_6, x_25); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +x_31 = lean_box(0); +x_32 = lean_array_fset(x_6, x_25, x_31); +x_33 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(x_30); +x_34 = lean_box(x_33); +x_35 = lean_array_fset(x_32, x_25, x_34); +lean_dec(x_25); +lean_ctor_set(x_2, 3, x_35); +lean_ctor_set(x_2, 0, x_26); +return x_2; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_7, 0); +lean_inc(x_36); +lean_dec(x_7); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +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; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_36, 0); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_3); +x_41 = lean_array_push(x_5, x_40); +x_42 = lean_array_get_size(x_6); +x_43 = lean_nat_dec_lt(x_39, x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_dec(x_39); +lean_ctor_set(x_2, 0, x_41); +return x_2; +} +else +{ +lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; +x_44 = lean_array_fget(x_6, x_39); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +x_46 = lean_box(0); +x_47 = lean_array_fset(x_6, x_39, x_46); +x_48 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(x_45); +x_49 = lean_box(x_48); +x_50 = lean_array_fset(x_47, x_39, x_49); +lean_dec(x_39); +lean_ctor_set(x_2, 3, x_50); +lean_ctor_set(x_2, 0, x_41); +return x_2; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_36, 0); +lean_inc(x_51); +lean_dec(x_36); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_3); +x_53 = lean_array_push(x_5, x_52); +x_54 = lean_array_get_size(x_6); +x_55 = lean_nat_dec_lt(x_51, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_dec(x_51); +lean_ctor_set(x_2, 0, x_53); +return x_2; +} +else +{ +lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; +x_56 = lean_array_fget(x_6, x_51); +x_57 = lean_unbox(x_56); +lean_dec(x_56); +x_58 = lean_box(0); +x_59 = lean_array_fset(x_6, x_51, x_58); +x_60 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(x_57); +x_61 = lean_box(x_60); +x_62 = lean_array_fset(x_59, x_51, x_61); +lean_dec(x_51); +lean_ctor_set(x_2, 3, x_62); +lean_ctor_set(x_2, 0, x_53); +return x_2; +} +} +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_63 = lean_ctor_get(x_2, 0); +x_64 = lean_ctor_get(x_2, 1); +x_65 = lean_ctor_get(x_2, 2); +x_66 = lean_ctor_get(x_2, 3); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_2); +x_67 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_isUnit___rarg(x_3); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_3); +x_69 = lean_array_push(x_63, x_68); +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_64); +lean_ctor_set(x_70, 2, x_65); +lean_ctor_set(x_70, 3, x_66); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_71 = lean_ctor_get(x_67, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + x_72 = x_67; +} else { + lean_dec_ref(x_67); + x_72 = lean_box(0); +} +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +x_74 = lean_unbox(x_73); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_75 = lean_ctor_get(x_71, 0); +lean_inc(x_75); +lean_dec(x_71); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(1, 1, 0); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_3); +x_77 = lean_array_push(x_63, x_76); +x_78 = lean_array_get_size(x_66); +x_79 = lean_nat_dec_lt(x_75, x_78); +lean_dec(x_78); +if (x_79 == 0) +{ +lean_object* x_80; +lean_dec(x_75); +x_80 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_64); +lean_ctor_set(x_80, 2, x_65); +lean_ctor_set(x_80, 3, x_66); +return x_80; +} +else +{ +lean_object* x_81; uint8_t 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; +x_81 = lean_array_fget(x_66, x_75); +x_82 = lean_unbox(x_81); +lean_dec(x_81); +x_83 = lean_box(0); +x_84 = lean_array_fset(x_66, x_75, x_83); +x_85 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addNegAssignment(x_82); +x_86 = lean_box(x_85); +x_87 = lean_array_fset(x_84, x_75, x_86); +lean_dec(x_75); +x_88 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_88, 0, x_77); +lean_ctor_set(x_88, 1, x_64); +lean_ctor_set(x_88, 2, x_65); +lean_ctor_set(x_88, 3, x_87); +return x_88; +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = lean_ctor_get(x_71, 0); +lean_inc(x_89); +lean_dec(x_71); +if (lean_is_scalar(x_72)) { + x_90 = lean_alloc_ctor(1, 1, 0); +} else { + x_90 = x_72; +} +lean_ctor_set(x_90, 0, x_3); +x_91 = lean_array_push(x_63, x_90); +x_92 = lean_array_get_size(x_66); +x_93 = lean_nat_dec_lt(x_89, x_92); +lean_dec(x_92); +if (x_93 == 0) +{ +lean_object* x_94; +lean_dec(x_89); +x_94 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_64); +lean_ctor_set(x_94, 2, x_65); +lean_ctor_set(x_94, 3, x_66); +return x_94; +} +else +{ +lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_95 = lean_array_fget(x_66, x_89); +x_96 = lean_unbox(x_95); +lean_dec(x_95); +x_97 = lean_box(0); +x_98 = lean_array_fset(x_66, x_89, x_97); +x_99 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addPosAssignment(x_96); +x_100 = lean_box(x_99); +x_101 = lean_array_fset(x_98, x_89, x_100); +lean_dec(x_89); +x_102 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_102, 0, x_91); +lean_ctor_set(x_102, 1, x_64); +lean_ctor_set(x_102, 2, x_65); +lean_ctor_set(x_102, 3, x_101); +return x_102; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 3); +lean_inc(x_7); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + x_8 = x_2; +} else { + lean_dec_ref(x_2); + x_8 = lean_box(0); +} +x_35 = lean_box(0); +x_36 = lean_array_get_size(x_4); +x_37 = lean_nat_dec_lt(x_3, x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = l_outOfBounds___rarg(x_35); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; +lean_dec(x_8); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_5); +lean_ctor_set(x_39, 2, x_6); +lean_ctor_set(x_39, 3, x_7); +return x_39; +} +else +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +lean_dec(x_38); +x_9 = x_40; +goto block_34; +} +} +else +{ +lean_object* x_41; +x_41 = lean_array_fget(x_4, x_3); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; +lean_dec(x_8); +x_42 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_42, 0, x_4); +lean_ctor_set(x_42, 1, x_5); +lean_ctor_set(x_42, 2, x_6); +lean_ctor_set(x_42, 3, x_7); +return x_42; +} +else +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +lean_dec(x_41); +x_9 = x_43; +goto block_34; +} +} +block_34: +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_box(0); +x_11 = lean_array_set(x_4, x_3, x_10); +if (lean_is_scalar(x_8)) { + x_12 = lean_alloc_ctor(0, 4, 0); +} else { + x_12 = x_8; +} +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_5); +lean_ctor_set(x_12, 2, x_6); +lean_ctor_set(x_12, 3, x_7); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_box(0); +x_16 = lean_array_set(x_4, x_3, x_15); +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_array_get_size(x_7); +x_20 = lean_nat_dec_lt(x_17, x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_18); +lean_dec(x_17); +if (lean_is_scalar(x_8)) { + x_21 = lean_alloc_ctor(0, 4, 0); +} else { + x_21 = x_8; +} +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_5); +lean_ctor_set(x_21, 2, x_6); +lean_ctor_set(x_21, 3, x_7); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_22 = lean_array_fget(x_7, x_17); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +x_24 = lean_box(0); +x_25 = lean_array_fset(x_7, x_17, x_24); +x_26 = lean_unbox(x_18); +lean_dec(x_18); +x_27 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment(x_26, x_23); +x_28 = lean_box(x_27); +x_29 = lean_array_fset(x_25, x_17, x_28); +lean_dec(x_17); +if (lean_is_scalar(x_8)) { + x_30 = lean_alloc_ctor(0, 4, 0); +} else { + x_30 = x_8; +} +lean_ctor_set(x_30, 0, x_16); +lean_ctor_set(x_30, 1, x_5); +lean_ctor_set(x_30, 2, x_6); +lean_ctor_set(x_30, 3, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_13); +lean_dec(x_9); +x_31 = lean_box(0); +x_32 = lean_array_set(x_4, x_3, x_31); +if (lean_is_scalar(x_8)) { + x_33 = lean_alloc_ctor(0, 4, 0); +} else { + x_33 = x_8; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_5); +lean_ctor_set(x_33, 2, x_6); +lean_ctor_set(x_33, 3, x_7); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_7 = lean_array_uget(x_2, x_3); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne(x_1, x_5, x_7); +lean_dec(x_7); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +x_5 = x_8; +goto _start; +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +lean_dec(x_4); +return x_2; +} +else +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_4, x_4); +if (x_7 == 0) +{ +lean_dec(x_4); +return x_2; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = 0; +x_9 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___spec__1(x_1, x_3, x_8, x_9, x_2); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instEntailsPosFin(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instEntailsPosFin___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instEntailsPosFin(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_60; uint8_t x_61; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_5 = x_1; +} else { + lean_dec_ref(x_1); + x_5 = lean_box(0); +} +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_8 = x_3; +} else { + lean_dec_ref(x_3); + x_8 = lean_box(0); +} +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_11 = x_2; +} else { + lean_dec_ref(x_2); + x_11 = lean_box(0); +} +x_60 = lean_array_get_size(x_6); +x_61 = lean_nat_dec_lt(x_9, x_60); +lean_dec(x_60); +if (x_61 == 0) +{ +uint8_t x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_62 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_63 = lean_box(x_62); +x_64 = l_outOfBounds___rarg(x_63); +x_65 = lean_unbox(x_64); +lean_dec(x_64); +x_12 = x_65; +goto block_59; +} +else +{ +lean_object* x_66; uint8_t x_67; +x_66 = lean_array_fget(x_6, x_9); +x_67 = lean_unbox(x_66); +lean_dec(x_66); +x_12 = x_67; +goto block_59; +} +block_59: +{ +uint8_t x_13; uint8_t x_14; +x_13 = lean_unbox(x_10); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_13, x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_inc(x_10); +lean_inc(x_9); +if (lean_is_scalar(x_11)) { + x_15 = lean_alloc_ctor(0, 2, 0); +} else { + x_15 = x_11; +} +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_10); +x_16 = lean_array_push(x_4, x_15); +x_17 = lean_array_get_size(x_6); +x_18 = lean_nat_dec_lt(x_9, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_10); +lean_dec(x_9); +x_19 = lean_unbox(x_7); +lean_dec(x_7); +if (x_19 == 0) +{ +uint8_t x_20; uint8_t x_21; +x_20 = 3; +x_21 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122_(x_12, x_20); +if (x_21 == 0) +{ +uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = 1; +x_23 = lean_box(x_22); +if (lean_is_scalar(x_8)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_8; +} +lean_ctor_set(x_24, 0, x_6); +lean_ctor_set(x_24, 1, x_23); +if (lean_is_scalar(x_5)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_5; +} +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +else +{ +uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = 0; +x_27 = lean_box(x_26); +if (lean_is_scalar(x_8)) { + x_28 = lean_alloc_ctor(0, 2, 0); +} else { + x_28 = x_8; +} +lean_ctor_set(x_28, 0, x_6); +lean_ctor_set(x_28, 1, x_27); +if (lean_is_scalar(x_5)) { + x_29 = lean_alloc_ctor(0, 2, 0); +} else { + x_29 = x_5; +} +lean_ctor_set(x_29, 0, x_16); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = 1; +x_31 = lean_box(x_30); +if (lean_is_scalar(x_8)) { + x_32 = lean_alloc_ctor(0, 2, 0); +} else { + x_32 = x_8; +} +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +if (lean_is_scalar(x_5)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_5; +} +lean_ctor_set(x_33, 0, x_16); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_34 = lean_array_fget(x_6, x_9); +x_35 = lean_unbox(x_34); +lean_dec(x_34); +x_36 = lean_box(0); +x_37 = lean_array_fset(x_6, x_9, x_36); +x_38 = lean_unbox(x_10); +lean_dec(x_10); +x_39 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(x_38, x_35); +x_40 = lean_box(x_39); +x_41 = lean_array_fset(x_37, x_9, x_40); +lean_dec(x_9); +x_42 = lean_unbox(x_7); +lean_dec(x_7); +if (x_42 == 0) +{ +uint8_t x_43; uint8_t x_44; +x_43 = 3; +x_44 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqAssignment____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment___hyg_122_(x_12, x_43); +if (x_44 == 0) +{ +uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = 1; +x_46 = lean_box(x_45); +if (lean_is_scalar(x_8)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_8; +} +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_46); +if (lean_is_scalar(x_5)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_5; +} +lean_ctor_set(x_48, 0, x_16); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +else +{ +uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = 0; +x_50 = lean_box(x_49); +if (lean_is_scalar(x_8)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_8; +} +lean_ctor_set(x_51, 0, x_41); +lean_ctor_set(x_51, 1, x_50); +if (lean_is_scalar(x_5)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_5; +} +lean_ctor_set(x_52, 0, x_16); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = 1; +x_54 = lean_box(x_53); +if (lean_is_scalar(x_8)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_8; +} +lean_ctor_set(x_55, 0, x_41); +lean_ctor_set(x_55, 1, x_54); +if (lean_is_scalar(x_5)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_5; +} +lean_ctor_set(x_56, 0, x_16); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +if (lean_is_scalar(x_11)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_11; +} +lean_ctor_set(x_57, 0, x_6); +lean_ctor_set(x_57, 1, x_7); +if (lean_is_scalar(x_8)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_8; +} +lean_ctor_set(x_58, 0, x_4); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___rarg(x_2, x_4); +x_2 = x_6; +x_3 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 3); +x_7 = 0; +x_8 = lean_box(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1(x_1, x_10, x_3); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_12, 0); +lean_ctor_set(x_2, 3, x_15); +lean_ctor_set(x_2, 1, x_13); +lean_ctor_set(x_12, 0, x_2); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_ctor_set(x_2, 3, x_16); +lean_ctor_set(x_2, 1, x_13); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get(x_2, 1); +x_21 = lean_ctor_get(x_2, 2); +x_22 = lean_ctor_get(x_2, 3); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_2); +x_23 = 0; +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1(x_1, x_26, x_3); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_32 = x_28; +} else { + lean_dec_ref(x_28); + x_32 = lean_box(0); +} +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_19); +lean_ctor_set(x_33, 1, x_29); +lean_ctor_set(x_33, 2, x_21); +lean_ctor_set(x_33, 3, x_30); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_32; +} +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertUnit___rarg(x_2, x_4); +x_2 = x_6; +x_3 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_ctor_get(x_2, 3); +x_7 = 0; +x_8 = lean_box(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1(x_1, x_10, x_3); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_12, 0); +lean_ctor_set(x_2, 3, x_15); +lean_ctor_set(x_2, 2, x_13); +lean_ctor_set(x_12, 0, x_2); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_ctor_set(x_2, 3, x_16); +lean_ctor_set(x_2, 2, x_13); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get(x_2, 1); +x_21 = lean_ctor_get(x_2, 2); +x_22 = lean_ctor_get(x_2, 3); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_2); +x_23 = 0; +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1(x_1, x_26, x_3); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_32 = x_28; +} else { + lean_dec_ref(x_28); + x_32 = lean_box(0); +} +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_19); +lean_ctor_set(x_33, 1, x_20); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_32; +} +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_array_get_size(x_1); +x_6 = lean_nat_dec_lt(x_3, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +return x_1; +} +else +{ +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_7 = lean_array_fget(x_1, x_3); +x_8 = lean_unbox(x_7); +lean_dec(x_7); +x_9 = lean_box(0); +x_10 = lean_array_fset(x_1, x_3, x_9); +x_11 = lean_unbox(x_4); +lean_dec(x_4); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_removeAssignment(x_11, x_8); +x_13 = lean_box(x_12); +x_14 = lean_array_fset(x_10, x_3, x_13); +lean_dec(x_3); +return x_14; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_7 = lean_array_uget(x_2, x_3); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___rarg(x_5, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +x_5 = x_8; +goto _start; +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 3); +x_6 = lean_array_get_size(x_4); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_6); +lean_dec(x_4); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +lean_ctor_set(x_2, 1, x_9); +return x_2; +} +else +{ +uint8_t x_10; +x_10 = lean_nat_dec_le(x_6, x_6); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_6); +lean_dec(x_4); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +lean_ctor_set(x_2, 1, x_11); +return x_2; +} +else +{ +size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_12 = 0; +x_13 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1(x_1, x_4, x_12, x_13, x_5); +lean_dec(x_4); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +lean_ctor_set(x_2, 3, x_14); +lean_ctor_set(x_2, 1, x_15); +return x_2; +} +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_16 = lean_ctor_get(x_2, 0); +x_17 = lean_ctor_get(x_2, 1); +x_18 = lean_ctor_get(x_2, 2); +x_19 = lean_ctor_get(x_2, 3); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_2); +x_20 = lean_array_get_size(x_17); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_lt(x_21, x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_20); +lean_dec(x_17); +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_24, 2, x_18); +lean_ctor_set(x_24, 3, x_19); +return x_24; +} +else +{ +uint8_t x_25; +x_25 = lean_nat_dec_le(x_20, x_20); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_20); +lean_dec(x_17); +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_27 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_18); +lean_ctor_set(x_27, 3, x_19); +return x_27; +} +else +{ +size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = 0; +x_29 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1(x_1, x_17, x_28, x_29, x_19); +lean_dec(x_17); +x_31 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_16); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_18); +lean_ctor_set(x_32, 3, x_30); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_7 = lean_array_uget(x_2, x_3); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___rarg(x_5, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +x_5 = x_8; +goto _start; +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_2, 2); +x_5 = lean_ctor_get(x_2, 3); +x_6 = lean_array_get_size(x_4); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_6); +lean_dec(x_4); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +lean_ctor_set(x_2, 2, x_9); +return x_2; +} +else +{ +uint8_t x_10; +x_10 = lean_nat_dec_le(x_6, x_6); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_6); +lean_dec(x_4); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +lean_ctor_set(x_2, 2, x_11); +return x_2; +} +else +{ +size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_12 = 0; +x_13 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1(x_1, x_4, x_12, x_13, x_5); +lean_dec(x_4); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +lean_ctor_set(x_2, 3, x_14); +lean_ctor_set(x_2, 2, x_15); +return x_2; +} +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_16 = lean_ctor_get(x_2, 0); +x_17 = lean_ctor_get(x_2, 1); +x_18 = lean_ctor_get(x_2, 2); +x_19 = lean_ctor_get(x_2, 3); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_2); +x_20 = lean_array_get_size(x_18); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_lt(x_21, x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_20); +lean_dec(x_18); +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_17); +lean_ctor_set(x_24, 2, x_23); +lean_ctor_set(x_24, 3, x_19); +return x_24; +} +else +{ +uint8_t x_25; +x_25 = lean_nat_dec_le(x_20, x_20); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_20); +lean_dec(x_18); +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_27 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_17); +lean_ctor_set(x_27, 2, x_26); +lean_ctor_set(x_27, 3, x_19); +return x_27; +} +else +{ +size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = 0; +x_29 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1(x_1, x_18, x_28, x_29, x_19); +lean_dec(x_18); +x_31 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_16); +lean_ctor_set(x_32, 1, x_17); +lean_ctor_set(x_32, 2, x_31); +lean_ctor_set(x_32, 3, x_30); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearUnit___rarg(x_2, x_4); +x_2 = x_6; +x_3 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = lean_box(x_1); +x_4 = lean_box(x_2); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 1; +x_2 = 0; +x_3 = lean_box(x_1); +x_4 = lean_box(x_2); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_box(x_1); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint(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; +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +x_8 = lean_unbox(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_dec(x_11); +x_12 = lean_unbox(x_10); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_10); +lean_dec(x_7); +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = !lean_is_exclusive(x_5); +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_5, 0); +x_16 = lean_ctor_get(x_5, 1); +lean_dec(x_16); +x_17 = lean_array_get_size(x_2); +x_18 = lean_nat_dec_lt(x_4, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +lean_ctor_set(x_6, 1, x_19); +lean_ctor_set(x_6, 0, x_15); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +else +{ +lean_object* x_20; +x_20 = lean_array_fget(x_2, x_4); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +lean_ctor_set(x_6, 1, x_21); +lean_ctor_set(x_6, 0, x_15); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(x_1, x_22, x_13); +switch (lean_obj_tag(x_23)) { +case 2: +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +x_28 = lean_array_get_size(x_13); +x_29 = lean_nat_dec_lt(x_26, x_28); +lean_dec(x_28); +if (x_29 == 0) +{ +uint8_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; +x_30 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_31 = lean_box(x_30); +x_32 = l_outOfBounds___rarg(x_31); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +x_34 = lean_unbox(x_27); +x_35 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_34, x_33); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_24); +lean_ctor_set(x_36, 1, x_15); +x_37 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_6, 1, x_37); +lean_ctor_set(x_6, 0, x_36); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +else +{ +lean_object* x_38; +lean_dec(x_27); +lean_dec(x_26); +lean_free_object(x_5); +x_38 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_24, 1, x_38); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_6, 1, x_24); +lean_ctor_set(x_6, 0, x_13); +return x_6; +} +} +else +{ +lean_object* x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; +x_39 = lean_array_fget(x_13, x_26); +x_40 = lean_unbox(x_39); +lean_dec(x_39); +x_41 = lean_unbox(x_27); +x_42 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_41, x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; +lean_inc(x_27); +lean_inc(x_26); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_24); +lean_ctor_set(x_43, 1, x_15); +x_44 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_6, 1, x_44); +lean_ctor_set(x_6, 0, x_43); +x_45 = lean_box(0); +x_46 = lean_array_fset(x_13, x_26, x_45); +x_47 = lean_unbox(x_27); +lean_dec(x_27); +x_48 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(x_47, x_40); +x_49 = lean_box(x_48); +x_50 = lean_array_fset(x_46, x_26, x_49); +lean_dec(x_26); +lean_ctor_set(x_5, 0, x_50); +return x_5; +} +else +{ +lean_object* x_51; +lean_dec(x_27); +lean_dec(x_26); +lean_free_object(x_5); +x_51 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_24, 1, x_51); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_6, 1, x_24); +lean_ctor_set(x_6, 0, x_13); +return x_6; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_24, 0); +x_53 = lean_ctor_get(x_24, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_24); +x_54 = lean_array_get_size(x_13); +x_55 = lean_nat_dec_lt(x_52, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +uint8_t x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; +x_56 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_57 = lean_box(x_56); +x_58 = l_outOfBounds___rarg(x_57); +x_59 = lean_unbox(x_58); +lean_dec(x_58); +x_60 = lean_unbox(x_53); +x_61 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_60, x_59); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_52); +lean_ctor_set(x_62, 1, x_53); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_15); +x_64 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_6, 1, x_64); +lean_ctor_set(x_6, 0, x_63); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_53); +lean_dec(x_52); +lean_free_object(x_5); +x_65 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_15); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_6, 1, x_66); +lean_ctor_set(x_6, 0, x_13); +return x_6; +} +} +else +{ +lean_object* x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; +x_67 = lean_array_fget(x_13, x_52); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +x_69 = lean_unbox(x_53); +x_70 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_69, x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; +lean_inc(x_53); +lean_inc(x_52); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_52); +lean_ctor_set(x_71, 1, x_53); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_15); +x_73 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_6, 1, x_73); +lean_ctor_set(x_6, 0, x_72); +x_74 = lean_box(0); +x_75 = lean_array_fset(x_13, x_52, x_74); +x_76 = lean_unbox(x_53); +lean_dec(x_53); +x_77 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(x_76, x_68); +x_78 = lean_box(x_77); +x_79 = lean_array_fset(x_75, x_52, x_78); +lean_dec(x_52); +lean_ctor_set(x_5, 0, x_79); +return x_5; +} +else +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_53); +lean_dec(x_52); +lean_free_object(x_5); +x_80 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_15); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_6, 1, x_81); +lean_ctor_set(x_6, 0, x_13); +return x_6; +} +} +} +} +case 3: +{ +lean_object* x_82; +x_82 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +lean_ctor_set(x_6, 1, x_82); +lean_ctor_set(x_6, 0, x_15); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +default: +{ +lean_object* x_83; +lean_dec(x_23); +x_83 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2; +lean_ctor_set(x_6, 1, x_83); +lean_ctor_set(x_6, 0, x_15); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +} +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_84 = lean_ctor_get(x_5, 0); +lean_inc(x_84); +lean_dec(x_5); +x_85 = lean_array_get_size(x_2); +x_86 = lean_nat_dec_lt(x_4, x_85); +lean_dec(x_85); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; +x_87 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +lean_ctor_set(x_6, 1, x_87); +lean_ctor_set(x_6, 0, x_84); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_13); +lean_ctor_set(x_88, 1, x_6); +return x_88; +} +else +{ +lean_object* x_89; +x_89 = lean_array_fget(x_2, x_4); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; +x_90 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +lean_ctor_set(x_6, 1, x_90); +lean_ctor_set(x_6, 0, x_84); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_13); +lean_ctor_set(x_91, 1, x_6); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; +x_92 = lean_ctor_get(x_89, 0); +lean_inc(x_92); +lean_dec(x_89); +x_93 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(x_1, x_92, x_13); +switch (lean_obj_tag(x_93)) { +case 2: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +lean_dec(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); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_97 = x_94; +} else { + lean_dec_ref(x_94); + x_97 = lean_box(0); +} +x_98 = lean_array_get_size(x_13); +x_99 = lean_nat_dec_lt(x_95, x_98); +lean_dec(x_98); +if (x_99 == 0) +{ +uint8_t x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; +x_100 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_101 = lean_box(x_100); +x_102 = l_outOfBounds___rarg(x_101); +x_103 = lean_unbox(x_102); +lean_dec(x_102); +x_104 = lean_unbox(x_96); +x_105 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_104, x_103); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +if (lean_is_scalar(x_97)) { + x_106 = lean_alloc_ctor(0, 2, 0); +} else { + x_106 = x_97; +} +lean_ctor_set(x_106, 0, x_95); +lean_ctor_set(x_106, 1, x_96); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_84); +x_108 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_6, 1, x_108); +lean_ctor_set(x_6, 0, x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_13); +lean_ctor_set(x_109, 1, x_6); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_96); +lean_dec(x_95); +x_110 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +if (lean_is_scalar(x_97)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_97; +} +lean_ctor_set(x_111, 0, x_84); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set(x_6, 1, x_111); +lean_ctor_set(x_6, 0, x_13); +return x_6; +} +} +else +{ +lean_object* x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; +x_112 = lean_array_fget(x_13, x_95); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +x_114 = lean_unbox(x_96); +x_115 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_114, x_113); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_inc(x_96); +lean_inc(x_95); +if (lean_is_scalar(x_97)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_97; +} +lean_ctor_set(x_116, 0, x_95); +lean_ctor_set(x_116, 1, x_96); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_84); +x_118 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +lean_ctor_set(x_6, 1, x_118); +lean_ctor_set(x_6, 0, x_117); +x_119 = lean_box(0); +x_120 = lean_array_fset(x_13, x_95, x_119); +x_121 = lean_unbox(x_96); +lean_dec(x_96); +x_122 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(x_121, x_113); +x_123 = lean_box(x_122); +x_124 = lean_array_fset(x_120, x_95, x_123); +lean_dec(x_95); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_6); +return x_125; +} +else +{ +lean_object* x_126; lean_object* x_127; +lean_dec(x_96); +lean_dec(x_95); +x_126 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +if (lean_is_scalar(x_97)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_97; +} +lean_ctor_set(x_127, 0, x_84); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_6, 1, x_127); +lean_ctor_set(x_6, 0, x_13); +return x_6; +} +} +} +case 3: +{ +lean_object* x_128; lean_object* x_129; +x_128 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +lean_ctor_set(x_6, 1, x_128); +lean_ctor_set(x_6, 0, x_84); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_13); +lean_ctor_set(x_129, 1, x_6); +return x_129; +} +default: +{ +lean_object* x_130; lean_object* x_131; +lean_dec(x_93); +x_130 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2; +lean_ctor_set(x_6, 1, x_130); +lean_ctor_set(x_6, 0, x_84); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_13); +lean_ctor_set(x_131, 1, x_6); +return x_131; +} +} +} +} +} +} +else +{ +uint8_t x_132; +x_132 = !lean_is_exclusive(x_3); +if (x_132 == 0) +{ +lean_object* x_133; uint8_t x_134; +x_133 = lean_ctor_get(x_3, 1); +lean_dec(x_133); +x_134 = !lean_is_exclusive(x_5); +if (x_134 == 0) +{ +lean_object* x_135; +x_135 = lean_ctor_get(x_5, 1); +lean_dec(x_135); +return x_3; +} +else +{ +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_5, 0); +lean_inc(x_136); +lean_dec(x_5); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_6); +lean_ctor_set(x_3, 1, x_137); +return x_3; +} +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_138 = lean_ctor_get(x_3, 0); +lean_inc(x_138); +lean_dec(x_3); +x_139 = lean_ctor_get(x_5, 0); +lean_inc(x_139); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_140 = x_5; +} else { + lean_dec_ref(x_5); + x_140 = lean_box(0); +} +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(0, 2, 0); +} else { + x_141 = x_140; +} +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_6); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_138); +lean_ctor_set(x_142, 1, x_141); +return x_142; +} +} +} +else +{ +lean_object* x_143; uint8_t x_144; +x_143 = lean_ctor_get(x_6, 0); +lean_inc(x_143); +lean_dec(x_6); +x_144 = lean_unbox(x_143); +if (x_144 == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +lean_dec(x_143); +lean_dec(x_7); +x_145 = lean_ctor_get(x_3, 0); +lean_inc(x_145); +lean_dec(x_3); +x_146 = lean_ctor_get(x_5, 0); +lean_inc(x_146); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_147 = x_5; +} else { + lean_dec_ref(x_5); + x_147 = lean_box(0); +} +x_148 = lean_array_get_size(x_2); +x_149 = lean_nat_dec_lt(x_4, x_148); +lean_dec(x_148); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_146); +lean_ctor_set(x_151, 1, x_150); +if (lean_is_scalar(x_147)) { + x_152 = lean_alloc_ctor(0, 2, 0); +} else { + x_152 = x_147; +} +lean_ctor_set(x_152, 0, x_145); +lean_ctor_set(x_152, 1, x_151); +return x_152; +} +else +{ +lean_object* x_153; +x_153 = lean_array_fget(x_2, x_4); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_146); +lean_ctor_set(x_155, 1, x_154); +if (lean_is_scalar(x_147)) { + x_156 = lean_alloc_ctor(0, 2, 0); +} else { + x_156 = x_147; +} +lean_ctor_set(x_156, 0, x_145); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_153, 0); +lean_inc(x_157); +lean_dec(x_153); +x_158 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce(x_1, x_157, x_145); +switch (lean_obj_tag(x_158)) { +case 2: +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_162 = x_159; +} else { + lean_dec_ref(x_159); + x_162 = lean_box(0); +} +x_163 = lean_array_get_size(x_145); +x_164 = lean_nat_dec_lt(x_160, x_163); +lean_dec(x_163); +if (x_164 == 0) +{ +uint8_t x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; uint8_t x_169; uint8_t x_170; +x_165 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedAssignment; +x_166 = lean_box(x_165); +x_167 = l_outOfBounds___rarg(x_166); +x_168 = lean_unbox(x_167); +lean_dec(x_167); +x_169 = lean_unbox(x_161); +x_170 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_169, x_168); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +if (lean_is_scalar(x_162)) { + x_171 = lean_alloc_ctor(0, 2, 0); +} else { + x_171 = x_162; +} +lean_ctor_set(x_171, 0, x_160); +lean_ctor_set(x_171, 1, x_161); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_146); +x_173 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +if (lean_is_scalar(x_147)) { + x_175 = lean_alloc_ctor(0, 2, 0); +} else { + x_175 = x_147; +} +lean_ctor_set(x_175, 0, x_145); +lean_ctor_set(x_175, 1, x_174); +return x_175; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_161); +lean_dec(x_160); +lean_dec(x_147); +x_176 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +if (lean_is_scalar(x_162)) { + x_177 = lean_alloc_ctor(0, 2, 0); +} else { + x_177 = x_162; +} +lean_ctor_set(x_177, 0, x_146); +lean_ctor_set(x_177, 1, x_176); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_145); +lean_ctor_set(x_178, 1, x_177); +return x_178; +} +} +else +{ +lean_object* x_179; uint8_t x_180; uint8_t x_181; uint8_t x_182; +x_179 = lean_array_fget(x_145, x_160); +x_180 = lean_unbox(x_179); +lean_dec(x_179); +x_181 = lean_unbox(x_161); +x_182 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_hasAssignment(x_181, x_180); +if (x_182 == 0) +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_inc(x_161); +lean_inc(x_160); +if (lean_is_scalar(x_162)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_162; +} +lean_ctor_set(x_183, 0, x_160); +lean_ctor_set(x_183, 1, x_161); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_146); +x_185 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_187 = lean_box(0); +x_188 = lean_array_fset(x_145, x_160, x_187); +x_189 = lean_unbox(x_161); +lean_dec(x_161); +x_190 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_addAssignment(x_189, x_180); +x_191 = lean_box(x_190); +x_192 = lean_array_fset(x_188, x_160, x_191); +lean_dec(x_160); +if (lean_is_scalar(x_147)) { + x_193 = lean_alloc_ctor(0, 2, 0); +} else { + x_193 = x_147; +} +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_186); +return x_193; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_161); +lean_dec(x_160); +lean_dec(x_147); +x_194 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +if (lean_is_scalar(x_162)) { + x_195 = lean_alloc_ctor(0, 2, 0); +} else { + x_195 = x_162; +} +lean_ctor_set(x_195, 0, x_146); +lean_ctor_set(x_195, 1, x_194); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_145); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +} +case 3: +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_146); +lean_ctor_set(x_198, 1, x_197); +if (lean_is_scalar(x_147)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_147; +} +lean_ctor_set(x_199, 0, x_145); +lean_ctor_set(x_199, 1, x_198); +return x_199; +} +default: +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_158); +x_200 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2; +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_146); +lean_ctor_set(x_201, 1, x_200); +if (lean_is_scalar(x_147)) { + x_202 = lean_alloc_ctor(0, 2, 0); +} else { + x_202 = x_147; +} +lean_ctor_set(x_202, 0, x_145); +lean_ctor_set(x_202, 1, x_201); +return x_202; +} +} +} +} +} +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; +x_203 = lean_ctor_get(x_3, 0); +lean_inc(x_203); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_204 = x_3; +} else { + lean_dec_ref(x_3); + x_204 = lean_box(0); +} +x_205 = lean_ctor_get(x_5, 0); +lean_inc(x_205); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_206 = x_5; +} else { + lean_dec_ref(x_5); + x_206 = lean_box(0); +} +x_207 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_207, 0, x_143); +lean_ctor_set(x_207, 1, x_7); +if (lean_is_scalar(x_206)) { + x_208 = lean_alloc_ctor(0, 2, 0); +} else { + x_208 = x_206; +} +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_207); +if (lean_is_scalar(x_204)) { + x_209 = lean_alloc_ctor(0, 2, 0); +} else { + x_209 = x_204; +} +lean_ctor_set(x_209, 0, x_203); +lean_ctor_set(x_209, 1, x_208); +return x_209; +} +} +} +else +{ +uint8_t x_210; +x_210 = !lean_is_exclusive(x_3); +if (x_210 == 0) +{ +lean_object* x_211; uint8_t x_212; +x_211 = lean_ctor_get(x_3, 1); +lean_dec(x_211); +x_212 = !lean_is_exclusive(x_5); +if (x_212 == 0) +{ +lean_object* x_213; uint8_t x_214; +x_213 = lean_ctor_get(x_5, 1); +lean_dec(x_213); +x_214 = !lean_is_exclusive(x_6); +if (x_214 == 0) +{ +lean_object* x_215; +x_215 = lean_ctor_get(x_6, 1); +lean_dec(x_215); +return x_3; +} +else +{ +lean_object* x_216; lean_object* x_217; +x_216 = lean_ctor_get(x_6, 0); +lean_inc(x_216); +lean_dec(x_6); +x_217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_7); +lean_ctor_set(x_5, 1, x_217); +return x_3; +} +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_218 = lean_ctor_get(x_5, 0); +lean_inc(x_218); +lean_dec(x_5); +x_219 = lean_ctor_get(x_6, 0); +lean_inc(x_219); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_220 = x_6; +} else { + lean_dec_ref(x_6); + x_220 = lean_box(0); +} +if (lean_is_scalar(x_220)) { + x_221 = lean_alloc_ctor(0, 2, 0); +} else { + x_221 = x_220; +} +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_7); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_218); +lean_ctor_set(x_222, 1, x_221); +lean_ctor_set(x_3, 1, x_222); +return x_3; +} +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_223 = lean_ctor_get(x_3, 0); +lean_inc(x_223); +lean_dec(x_3); +x_224 = lean_ctor_get(x_5, 0); +lean_inc(x_224); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_225 = x_5; +} else { + lean_dec_ref(x_5); + x_225 = lean_box(0); +} +x_226 = lean_ctor_get(x_6, 0); +lean_inc(x_226); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_227 = x_6; +} else { + lean_dec_ref(x_6); + x_227 = lean_box(0); +} +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_227; +} +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_7); +if (lean_is_scalar(x_225)) { + x_229 = lean_alloc_ctor(0, 2, 0); +} else { + x_229 = x_225; +} +lean_ctor_set(x_229, 0, x_224); +lean_ctor_set(x_229, 1, x_228); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_223); +lean_ctor_set(x_230, 1, x_229); +return x_230; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___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_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_eq(x_4, x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; +x_8 = lean_array_uget(x_3, x_4); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint(x_1, x_2, x_6, x_8); +lean_dec(x_8); +x_10 = 1; +x_11 = lean_usize_add(x_4, x_10); +x_4 = x_11; +x_6 = x_9; +goto _start; +} +else +{ +return x_6; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3; +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_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 3); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1; +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_array_get_size(x_3); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_lt(x_10, x_9); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_2); +lean_ctor_set(x_12, 1, x_7); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_le(x_9, x_9); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_9); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_7); +return x_14; +} +else +{ +size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_6); +x_15 = 0; +x_16 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1(x_1, x_5, x_3, x_15, x_16, x_8); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_17, 1); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_18, 1); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +lean_ctor_set(x_2, 3, x_21); +lean_ctor_set(x_17, 0, x_2); +return x_17; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +lean_ctor_set(x_2, 3, x_21); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_18, 1, x_28); +lean_ctor_set(x_17, 0, x_2); +return x_17; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_18, 0); +lean_inc(x_29); +lean_dec(x_18); +x_30 = lean_ctor_get(x_19, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_32 = x_19; +} else { + lean_dec_ref(x_19); + x_32 = lean_box(0); +} +lean_ctor_set(x_2, 3, x_21); +if (lean_is_scalar(x_32)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_32; +} +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_17, 1, x_34); +lean_ctor_set(x_17, 0, x_2); +return x_17; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_17, 0); +lean_inc(x_35); +lean_dec(x_17); +x_36 = lean_ctor_get(x_18, 0); +lean_inc(x_36); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_37 = x_18; +} else { + lean_dec_ref(x_18); + x_37 = lean_box(0); +} +x_38 = lean_ctor_get(x_19, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_19, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_40 = x_19; +} else { + lean_dec_ref(x_19); + x_40 = lean_box(0); +} +lean_ctor_set(x_2, 3, x_35); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +if (lean_is_scalar(x_37)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_37; +} +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_2); +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; lean_object* x_51; uint8_t x_52; +x_44 = lean_ctor_get(x_2, 0); +x_45 = lean_ctor_get(x_2, 1); +x_46 = lean_ctor_get(x_2, 2); +x_47 = lean_ctor_get(x_2, 3); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_2); +x_48 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1; +lean_inc(x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_array_get_size(x_3); +x_51 = lean_unsigned_to_nat(0u); +x_52 = lean_nat_dec_lt(x_51, x_50); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_50); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_44); +lean_ctor_set(x_53, 1, x_45); +lean_ctor_set(x_53, 2, x_46); +lean_ctor_set(x_53, 3, x_47); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_48); +return x_54; +} +else +{ +uint8_t x_55; +x_55 = lean_nat_dec_le(x_50, x_50); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_50); +lean_dec(x_49); +x_56 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_45); +lean_ctor_set(x_56, 2, x_46); +lean_ctor_set(x_56, 3, x_47); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_48); +return x_57; +} +else +{ +size_t x_58; size_t 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_dec(x_47); +x_58 = 0; +x_59 = lean_usize_of_nat(x_50); +lean_dec(x_50); +x_60 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1(x_1, x_44, x_3, x_58, x_59, x_49); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +x_63 = lean_ctor_get(x_60, 0); +lean_inc(x_63); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_64 = x_60; +} else { + lean_dec_ref(x_60); + x_64 = lean_box(0); +} +x_65 = lean_ctor_get(x_61, 0); +lean_inc(x_65); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_66 = x_61; +} else { + lean_dec_ref(x_61); + x_66 = lean_box(0); +} +x_67 = lean_ctor_get(x_62, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_69 = x_62; +} else { + lean_dec_ref(x_62); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_44); +lean_ctor_set(x_70, 1, x_45); +lean_ctor_set(x_70, 2, x_46); +lean_ctor_set(x_70, 3, x_63); +if (lean_is_scalar(x_69)) { + x_71 = lean_alloc_ctor(0, 2, 0); +} else { + x_71 = x_69; +} +lean_ctor_set(x_71, 0, x_67); +lean_ctor_set(x_71, 1, x_68); +if (lean_is_scalar(x_66)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_66; +} +lean_ctor_set(x_72, 0, x_65); +lean_ctor_set(x_72, 1, x_71); +if (lean_is_scalar(x_64)) { + x_73 = lean_alloc_ctor(0, 2, 0); +} else { + x_73 = x_64; +} +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___spec__1(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd(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; +lean_inc(x_3); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(x_1, x_3); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits(x_1, x_2, x_5); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +x_8 = lean_unbox(x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +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_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(x_1, x_9, x_4); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_dec(x_17); +x_18 = lean_unbox(x_16); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; +lean_dec(x_11); +lean_dec(x_3); +x_19 = lean_ctor_get(x_10, 0); +lean_inc(x_19); +lean_dec(x_10); +x_20 = 0; +x_21 = lean_box(x_20); +lean_ctor_set(x_12, 1, x_21); +lean_ctor_set(x_12, 0, x_19); +return x_12; +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +lean_dec(x_10); +x_23 = lean_ctor_get(x_11, 0); +lean_inc(x_23); +lean_dec(x_11); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_22, 3); +x_26 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_25, x_23); +lean_ctor_set(x_22, 3, x_26); +x_27 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_22); +x_28 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_27, x_3); +x_29 = 1; +x_30 = lean_box(x_29); +lean_ctor_set(x_12, 1, x_30); +lean_ctor_set(x_12, 0, x_28); +return x_12; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +x_33 = lean_ctor_get(x_22, 2); +x_34 = lean_ctor_get(x_22, 3); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_35 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_34, x_23); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 1, x_32); +lean_ctor_set(x_36, 2, x_33); +lean_ctor_set(x_36, 3, x_35); +x_37 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_36); +x_38 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_37, x_3); +x_39 = 1; +x_40 = lean_box(x_39); +lean_ctor_set(x_12, 1, x_40); +lean_ctor_set(x_12, 0, x_38); +return x_12; +} +} +} +else +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_12, 0); +lean_inc(x_41); +lean_dec(x_12); +x_42 = lean_unbox(x_41); +lean_dec(x_41); +if (x_42 == 0) +{ +lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_11); +lean_dec(x_3); +x_43 = lean_ctor_get(x_10, 0); +lean_inc(x_43); +lean_dec(x_10); +x_44 = 0; +x_45 = lean_box(x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +else +{ +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; uint8_t x_58; lean_object* x_59; lean_object* x_60; +x_47 = lean_ctor_get(x_10, 0); +lean_inc(x_47); +lean_dec(x_10); +x_48 = lean_ctor_get(x_11, 0); +lean_inc(x_48); +lean_dec(x_11); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_47, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_47, 3); +lean_inc(x_52); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + lean_ctor_release(x_47, 2); + lean_ctor_release(x_47, 3); + x_53 = x_47; +} else { + lean_dec_ref(x_47); + x_53 = lean_box(0); +} +x_54 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_52, x_48); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 4, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_49); +lean_ctor_set(x_55, 1, x_50); +lean_ctor_set(x_55, 2, x_51); +lean_ctor_set(x_55, 3, x_54); +x_56 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_55); +x_57 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_56, x_3); +x_58 = 1; +x_59 = lean_box(x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_11); +lean_dec(x_3); +x_61 = !lean_is_exclusive(x_12); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_62 = lean_ctor_get(x_12, 1); +lean_dec(x_62); +x_63 = lean_ctor_get(x_12, 0); +lean_dec(x_63); +x_64 = lean_ctor_get(x_10, 0); +lean_inc(x_64); +lean_dec(x_10); +x_65 = 0; +x_66 = lean_box(x_65); +lean_ctor_set(x_12, 1, x_66); +lean_ctor_set(x_12, 0, x_64); +return x_12; +} +else +{ +lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_12); +x_67 = lean_ctor_get(x_10, 0); +lean_inc(x_67); +lean_dec(x_10); +x_68 = 0; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +x_71 = !lean_is_exclusive(x_6); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; +x_72 = lean_ctor_get(x_6, 0); +x_73 = lean_ctor_get(x_6, 1); +lean_dec(x_73); +x_74 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_72); +x_75 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_74, x_3); +x_76 = 1; +x_77 = lean_box(x_76); +lean_ctor_set(x_6, 1, x_77); +lean_ctor_set(x_6, 0, x_75); +return x_6; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; +x_78 = lean_ctor_get(x_6, 0); +lean_inc(x_78); +lean_dec(x_6); +x_79 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_78); +x_80 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_79, x_3); +x_81 = 1; +x_82 = lean_box(x_81); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd___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_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_eq(x_6, x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; size_t x_13; size_t x_14; +x_10 = lean_array_uget(x_5, x_6); +x_11 = lean_box(0); +x_12 = lean_nat_dec_lt(x_10, x_4); +x_13 = 1; +x_14 = lean_usize_add(x_6, x_13); +if (x_12 == 0) +{ +lean_object* x_15; +x_15 = l_outOfBounds___rarg(x_11); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec(x_10); +x_6 = x_14; +goto _start; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(x_1, x_3, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_dec(x_10); +x_6 = x_14; +goto _start; +} +else +{ +lean_object* x_20; +x_20 = lean_array_push(x_8, x_10); +x_6 = x_14; +x_8 = x_20; +goto _start; +} +} +} +else +{ +lean_object* x_22; +x_22 = lean_array_fget(x_2, x_10); +if (lean_obj_tag(x_22) == 0) +{ +lean_dec(x_10); +x_6 = x_14; +goto _start; +} +else +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_List_elem___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_contains___spec__1(x_1, x_3, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_dec(x_10); +x_6 = x_14; +goto _start; +} +else +{ +lean_object* x_27; +x_27 = lean_array_push(x_8, x_10); +x_6 = x_14; +x_8 = x_27; +goto _start; +} +} +} +} +else +{ +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = l_Std_Sat_Literal_negate___rarg(x_3); +x_5 = lean_array_get_size(x_2); +lean_inc(x_5); +x_6 = l_Array_range(x_5); +x_7 = lean_array_get_size(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_lt(x_8, x_7); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = lean_nat_dec_le(x_7, x_7); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +return x_12; +} +else +{ +size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; +x_13 = 0; +x_14 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1; +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___spec__1(x_1, x_2, x_4, x_5, x_6, x_13, x_14, x_15); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___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) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___spec__1(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +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_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___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; size_t x_9; size_t x_10; lean_object* x_11; +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, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_instDecidableEqNat___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive(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; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_2, 0); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_getRatClauseIndices(x_1, x_5, x_3); +x_7 = lean_array_size(x_4); +x_8 = 0; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___spec__1(x_7, x_8, x_4); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___closed__1; +x_11 = l_Array_instDecidableEq___rarg(x_10, x_6, x_9); +lean_dec(x_9); +lean_dec(x_6); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___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_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___boxed(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 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck(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; uint8_t x_10; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 3); +lean_inc(x_8); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + x_9 = x_2; +} else { + lean_dec_ref(x_2); + x_9 = lean_box(0); +} +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_11 = lean_ctor_get(x_4, 0); +x_12 = lean_ctor_get(x_4, 1); +x_91 = lean_box(0); +x_92 = lean_array_get_size(x_5); +x_93 = lean_nat_dec_lt(x_11, x_92); +lean_dec(x_92); +if (x_93 == 0) +{ +lean_object* x_94; +lean_dec(x_11); +x_94 = l_outOfBounds___rarg(x_91); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; uint8_t x_96; lean_object* x_97; +lean_dec(x_12); +lean_dec(x_9); +x_95 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_95, 0, x_5); +lean_ctor_set(x_95, 1, x_6); +lean_ctor_set(x_95, 2, x_7); +lean_ctor_set(x_95, 3, x_8); +x_96 = 0; +x_97 = lean_box(x_96); +lean_ctor_set(x_4, 1, x_97); +lean_ctor_set(x_4, 0, x_95); +return x_4; +} +else +{ +lean_object* x_98; +lean_free_object(x_4); +x_98 = lean_ctor_get(x_94, 0); +lean_inc(x_98); +lean_dec(x_94); +x_13 = x_98; +goto block_90; +} +} +else +{ +lean_object* x_99; +x_99 = lean_array_fget(x_5, x_11); +lean_dec(x_11); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; lean_object* x_102; +lean_dec(x_12); +lean_dec(x_9); +x_100 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_100, 0, x_5); +lean_ctor_set(x_100, 1, x_6); +lean_ctor_set(x_100, 2, x_7); +lean_ctor_set(x_100, 3, x_8); +x_101 = 0; +x_102 = lean_box(x_101); +lean_ctor_set(x_4, 1, x_102); +lean_ctor_set(x_4, 0, x_100); +return x_4; +} +else +{ +lean_object* x_103; +lean_free_object(x_4); +x_103 = lean_ctor_get(x_99, 0); +lean_inc(x_103); +lean_dec(x_99); +x_13 = x_103; +goto block_90; +} +} +block_90: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete(x_1, x_13, x_3); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(x_1, x_14); +if (lean_is_scalar(x_9)) { + x_16 = lean_alloc_ctor(0, 4, 0); +} else { + x_16 = x_9; +} +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +lean_ctor_set(x_16, 2, x_7); +lean_ctor_set(x_16, 3, x_8); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits(x_1, x_16, x_15); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(x_1, x_20, x_12); +lean_dec(x_12); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +x_26 = !lean_is_exclusive(x_23); +if (x_26 == 0) +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_24); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +x_30 = lean_ctor_get(x_24, 3); +x_31 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_30, x_25); +lean_ctor_set(x_24, 3, x_31); +x_32 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_24); +x_33 = lean_unbox(x_29); +lean_dec(x_29); +if (x_33 == 0) +{ +uint8_t x_34; +x_34 = lean_unbox(x_28); +lean_dec(x_28); +if (x_34 == 0) +{ +uint8_t x_35; lean_object* x_36; +x_35 = 0; +x_36 = lean_box(x_35); +lean_ctor_set(x_23, 1, x_36); +lean_ctor_set(x_23, 0, x_32); +return x_23; +} +else +{ +uint8_t x_37; lean_object* x_38; +x_37 = 1; +x_38 = lean_box(x_37); +lean_ctor_set(x_23, 1, x_38); +lean_ctor_set(x_23, 0, x_32); +return x_23; +} +} +else +{ +uint8_t x_39; lean_object* x_40; +lean_dec(x_28); +x_39 = 0; +x_40 = lean_box(x_39); +lean_ctor_set(x_23, 1, x_40); +lean_ctor_set(x_23, 0, x_32); +return x_23; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_41 = lean_ctor_get(x_23, 0); +x_42 = lean_ctor_get(x_23, 1); +x_43 = lean_ctor_get(x_24, 0); +x_44 = lean_ctor_get(x_24, 1); +x_45 = lean_ctor_get(x_24, 2); +x_46 = lean_ctor_get(x_24, 3); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_24); +x_47 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_46, x_25); +x_48 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_44); +lean_ctor_set(x_48, 2, x_45); +lean_ctor_set(x_48, 3, x_47); +x_49 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_48); +x_50 = lean_unbox(x_42); +lean_dec(x_42); +if (x_50 == 0) +{ +uint8_t x_51; +x_51 = lean_unbox(x_41); +lean_dec(x_41); +if (x_51 == 0) +{ +uint8_t x_52; lean_object* x_53; +x_52 = 0; +x_53 = lean_box(x_52); +lean_ctor_set(x_23, 1, x_53); +lean_ctor_set(x_23, 0, x_49); +return x_23; +} +else +{ +uint8_t x_54; lean_object* x_55; +x_54 = 1; +x_55 = lean_box(x_54); +lean_ctor_set(x_23, 1, x_55); +lean_ctor_set(x_23, 0, x_49); +return x_23; +} +} +else +{ +uint8_t x_56; lean_object* x_57; +lean_dec(x_41); +x_56 = 0; +x_57 = lean_box(x_56); +lean_ctor_set(x_23, 1, x_57); +lean_ctor_set(x_23, 0, x_49); +return x_23; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_58 = lean_ctor_get(x_23, 0); +x_59 = lean_ctor_get(x_23, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_23); +x_60 = lean_ctor_get(x_24, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_24, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_24, 2); +lean_inc(x_62); +x_63 = lean_ctor_get(x_24, 3); +lean_inc(x_63); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + lean_ctor_release(x_24, 2); + lean_ctor_release(x_24, 3); + x_64 = x_24; +} else { + lean_dec_ref(x_24); + x_64 = lean_box(0); +} +x_65 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_63, x_25); +if (lean_is_scalar(x_64)) { + x_66 = lean_alloc_ctor(0, 4, 0); +} else { + x_66 = x_64; +} +lean_ctor_set(x_66, 0, x_60); +lean_ctor_set(x_66, 1, x_61); +lean_ctor_set(x_66, 2, x_62); +lean_ctor_set(x_66, 3, x_65); +x_67 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_66); +x_68 = lean_unbox(x_59); +lean_dec(x_59); +if (x_68 == 0) +{ +uint8_t x_69; +x_69 = lean_unbox(x_58); +lean_dec(x_58); +if (x_69 == 0) +{ +uint8_t x_70; lean_object* x_71; lean_object* x_72; +x_70 = 0; +x_71 = lean_box(x_70); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_67); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +else +{ +uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_67); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +else +{ +uint8_t x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_58); +x_76 = 0; +x_77 = lean_box(x_76); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_67); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_12); +x_79 = !lean_is_exclusive(x_17); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; +x_80 = lean_ctor_get(x_17, 0); +x_81 = lean_ctor_get(x_17, 1); +lean_dec(x_81); +x_82 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_80); +x_83 = 1; +x_84 = lean_box(x_83); +lean_ctor_set(x_17, 1, x_84); +lean_ctor_set(x_17, 0, x_82); +return x_17; +} +else +{ +lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; +x_85 = lean_ctor_get(x_17, 0); +lean_inc(x_85); +lean_dec(x_17); +x_86 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_85); +x_87 = 1; +x_88 = lean_box(x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_104 = lean_ctor_get(x_4, 0); +x_105 = lean_ctor_get(x_4, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_4); +x_148 = lean_box(0); +x_149 = lean_array_get_size(x_5); +x_150 = lean_nat_dec_lt(x_104, x_149); +lean_dec(x_149); +if (x_150 == 0) +{ +lean_object* x_151; +lean_dec(x_104); +x_151 = l_outOfBounds___rarg(x_148); +if (lean_obj_tag(x_151) == 0) +{ +lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_105); +lean_dec(x_9); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_5); +lean_ctor_set(x_152, 1, x_6); +lean_ctor_set(x_152, 2, x_7); +lean_ctor_set(x_152, 3, x_8); +x_153 = 0; +x_154 = lean_box(x_153); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_152); +lean_ctor_set(x_155, 1, x_154); +return x_155; +} +else +{ +lean_object* x_156; +x_156 = lean_ctor_get(x_151, 0); +lean_inc(x_156); +lean_dec(x_151); +x_106 = x_156; +goto block_147; +} +} +else +{ +lean_object* x_157; +x_157 = lean_array_fget(x_5, x_104); +lean_dec(x_104); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_105); +lean_dec(x_9); +x_158 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_158, 0, x_5); +lean_ctor_set(x_158, 1, x_6); +lean_ctor_set(x_158, 2, x_7); +lean_ctor_set(x_158, 3, x_8); +x_159 = 0; +x_160 = lean_box(x_159); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_160); +return x_161; +} +else +{ +lean_object* x_162; +x_162 = lean_ctor_get(x_157, 0); +lean_inc(x_162); +lean_dec(x_157); +x_106 = x_162; +goto block_147; +} +} +block_147: +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_107 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_delete(x_1, x_106, x_3); +x_108 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(x_1, x_107); +if (lean_is_scalar(x_9)) { + x_109 = lean_alloc_ctor(0, 4, 0); +} else { + x_109 = x_9; +} +lean_ctor_set(x_109, 0, x_5); +lean_ctor_set(x_109, 1, x_6); +lean_ctor_set(x_109, 2, x_7); +lean_ctor_set(x_109, 3, x_8); +x_110 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRatUnits(x_1, x_109, x_108); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +x_112 = lean_unbox(x_111); +lean_dec(x_111); +if (x_112 == 0) +{ +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; uint8_t x_130; +x_113 = lean_ctor_get(x_110, 0); +lean_inc(x_113); +lean_dec(x_110); +x_114 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(x_1, x_113, x_105); +lean_dec(x_105); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_114, 0); +lean_inc(x_117); +lean_dec(x_114); +x_118 = lean_ctor_get(x_115, 0); +lean_inc(x_118); +lean_dec(x_115); +x_119 = lean_ctor_get(x_116, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_116, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_121 = x_116; +} else { + lean_dec_ref(x_116); + x_121 = lean_box(0); +} +x_122 = lean_ctor_get(x_117, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_117, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_117, 2); +lean_inc(x_124); +x_125 = lean_ctor_get(x_117, 3); +lean_inc(x_125); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + lean_ctor_release(x_117, 2); + lean_ctor_release(x_117, 3); + x_126 = x_117; +} else { + lean_dec_ref(x_117); + x_126 = lean_box(0); +} +x_127 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_125, x_118); +if (lean_is_scalar(x_126)) { + x_128 = lean_alloc_ctor(0, 4, 0); +} else { + x_128 = x_126; +} +lean_ctor_set(x_128, 0, x_122); +lean_ctor_set(x_128, 1, x_123); +lean_ctor_set(x_128, 2, x_124); +lean_ctor_set(x_128, 3, x_127); +x_129 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_128); +x_130 = lean_unbox(x_120); +lean_dec(x_120); +if (x_130 == 0) +{ +uint8_t x_131; +x_131 = lean_unbox(x_119); +lean_dec(x_119); +if (x_131 == 0) +{ +uint8_t x_132; lean_object* x_133; lean_object* x_134; +x_132 = 0; +x_133 = lean_box(x_132); +if (lean_is_scalar(x_121)) { + x_134 = lean_alloc_ctor(0, 2, 0); +} else { + x_134 = x_121; +} +lean_ctor_set(x_134, 0, x_129); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +else +{ +uint8_t x_135; lean_object* x_136; lean_object* x_137; +x_135 = 1; +x_136 = lean_box(x_135); +if (lean_is_scalar(x_121)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_121; +} +lean_ctor_set(x_137, 0, x_129); +lean_ctor_set(x_137, 1, x_136); +return x_137; +} +} +else +{ +uint8_t x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_119); +x_138 = 0; +x_139 = lean_box(x_138); +if (lean_is_scalar(x_121)) { + x_140 = lean_alloc_ctor(0, 2, 0); +} else { + x_140 = x_121; +} +lean_ctor_set(x_140, 0, x_129); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_105); +x_141 = lean_ctor_get(x_110, 0); +lean_inc(x_141); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_142 = x_110; +} else { + lean_dec_ref(x_110); + x_142 = lean_box(0); +} +x_143 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRatUnits(x_1, x_141); +x_144 = 1; +x_145 = lean_box(x_144); +if (lean_is_scalar(x_142)) { + x_146 = lean_alloc_ctor(0, 2, 0); +} else { + x_146 = x_142; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck___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_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_eq(x_4, x_5); +if (x_7 == 0) +{ +lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_array_uget(x_3, x_4); +x_9 = 1; +x_10 = lean_usize_add(x_4, x_9); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_8); +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_6, 1); +lean_dec(x_14); +x_15 = 0; +x_16 = lean_box(x_15); +lean_ctor_set(x_6, 1, x_16); +x_4 = x_10; +goto _start; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +lean_inc(x_18); +lean_dec(x_6); +x_19 = 0; +x_20 = lean_box(x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +x_4 = x_10; +x_6 = x_21; +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_6, 0); +lean_inc(x_23); +lean_dec(x_6); +lean_inc(x_2); +x_24 = l_Std_Sat_Literal_negate___rarg(x_2); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck(x_1, x_23, x_24, x_8); +lean_dec(x_24); +x_4 = x_10; +x_6 = x_25; +goto _start; +} +} +else +{ +lean_dec(x_2); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +lean_inc(x_6); +lean_inc(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive(x_1, x_2, x_4, x_6); +if (x_7 == 0) +{ +uint8_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_8 = 0; +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_inc(x_3); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_negate(x_1, x_3); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insertRupUnits(x_1, x_2, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck(x_1, x_15, x_5); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_18, 1); +lean_dec(x_23); +x_24 = lean_unbox(x_22); +lean_dec(x_22); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_16, 0); +lean_inc(x_25); +lean_dec(x_16); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_dec(x_28); +x_29 = 1; +x_30 = lean_box(x_29); +lean_inc(x_25); +lean_ctor_set(x_18, 1, x_30); +lean_ctor_set(x_18, 0, x_25); +x_31 = lean_array_get_size(x_6); +x_32 = lean_unsigned_to_nat(0u); +x_33 = lean_nat_dec_lt(x_32, x_31); +if (x_33 == 0) +{ +uint8_t x_34; +lean_dec(x_31); +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_25); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_25, 3); +x_36 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_35, x_27); +lean_ctor_set(x_25, 3, x_36); +x_37 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_25); +x_38 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_37, x_3); +x_39 = lean_box(x_29); +lean_ctor_set(x_17, 1, x_39); +lean_ctor_set(x_17, 0, x_38); +return x_17; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_ctor_get(x_25, 0); +x_41 = lean_ctor_get(x_25, 1); +x_42 = lean_ctor_get(x_25, 2); +x_43 = lean_ctor_get(x_25, 3); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_25); +x_44 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_43, x_27); +x_45 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_41); +lean_ctor_set(x_45, 2, x_42); +lean_ctor_set(x_45, 3, x_44); +x_46 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_45); +x_47 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_46, x_3); +x_48 = lean_box(x_29); +lean_ctor_set(x_17, 1, x_48); +lean_ctor_set(x_17, 0, x_47); +return x_17; +} +} +else +{ +uint8_t x_49; +x_49 = lean_nat_dec_le(x_31, x_31); +if (x_49 == 0) +{ +uint8_t x_50; +lean_dec(x_31); +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_4); +x_50 = !lean_is_exclusive(x_25); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_25, 3); +x_52 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_51, x_27); +lean_ctor_set(x_25, 3, x_52); +x_53 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_25); +x_54 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_53, x_3); +x_55 = lean_box(x_29); +lean_ctor_set(x_17, 1, x_55); +lean_ctor_set(x_17, 0, x_54); +return x_17; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_56 = lean_ctor_get(x_25, 0); +x_57 = lean_ctor_get(x_25, 1); +x_58 = lean_ctor_get(x_25, 2); +x_59 = lean_ctor_get(x_25, 3); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_25); +x_60 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_59, x_27); +x_61 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_57); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set(x_61, 3, x_60); +x_62 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_61); +x_63 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_62, x_3); +x_64 = lean_box(x_29); +lean_ctor_set(x_17, 1, x_64); +lean_ctor_set(x_17, 0, x_63); +return x_17; +} +} +else +{ +size_t x_65; size_t x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +lean_free_object(x_17); +lean_dec(x_25); +x_65 = 0; +x_66 = lean_usize_of_nat(x_31); +lean_dec(x_31); +x_67 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1(x_1, x_4, x_6, x_65, x_66, x_18); +lean_dec(x_6); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +uint8_t x_70; +lean_dec(x_27); +lean_dec(x_3); +x_70 = !lean_is_exclusive(x_67); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_67, 1); +lean_dec(x_71); +x_72 = 0; +x_73 = lean_box(x_72); +lean_ctor_set(x_67, 1, x_73); +return x_67; +} +else +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_67, 0); +lean_inc(x_74); +lean_dec(x_67); +x_75 = 0; +x_76 = lean_box(x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +uint8_t x_78; +x_78 = !lean_is_exclusive(x_67); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_79 = lean_ctor_get(x_67, 0); +x_80 = lean_ctor_get(x_67, 1); +lean_dec(x_80); +x_81 = !lean_is_exclusive(x_79); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_82 = lean_ctor_get(x_79, 3); +x_83 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_82, x_27); +lean_ctor_set(x_79, 3, x_83); +x_84 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_79); +x_85 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_84, x_3); +x_86 = lean_box(x_29); +lean_ctor_set(x_67, 1, x_86); +lean_ctor_set(x_67, 0, x_85); +return x_67; +} +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; +x_87 = lean_ctor_get(x_79, 0); +x_88 = lean_ctor_get(x_79, 1); +x_89 = lean_ctor_get(x_79, 2); +x_90 = lean_ctor_get(x_79, 3); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_79); +x_91 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_90, x_27); +x_92 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_92, 0, x_87); +lean_ctor_set(x_92, 1, x_88); +lean_ctor_set(x_92, 2, x_89); +lean_ctor_set(x_92, 3, x_91); +x_93 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_92); +x_94 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_93, x_3); +x_95 = lean_box(x_29); +lean_ctor_set(x_67, 1, x_95); +lean_ctor_set(x_67, 0, x_94); +return x_67; +} +} +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; +x_96 = lean_ctor_get(x_67, 0); +lean_inc(x_96); +lean_dec(x_67); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_96, 2); +lean_inc(x_99); +x_100 = lean_ctor_get(x_96, 3); +lean_inc(x_100); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + lean_ctor_release(x_96, 2); + lean_ctor_release(x_96, 3); + x_101 = x_96; +} else { + lean_dec_ref(x_96); + x_101 = lean_box(0); +} +x_102 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_100, x_27); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 4, 0); +} else { + x_103 = x_101; +} +lean_ctor_set(x_103, 0, x_97); +lean_ctor_set(x_103, 1, x_98); +lean_ctor_set(x_103, 2, x_99); +lean_ctor_set(x_103, 3, x_102); +x_104 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_103); +x_105 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_104, x_3); +x_106 = lean_box(x_29); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +} +} +} +else +{ +lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_108 = lean_ctor_get(x_17, 0); +lean_inc(x_108); +lean_dec(x_17); +x_109 = 1; +x_110 = lean_box(x_109); +lean_inc(x_25); +lean_ctor_set(x_18, 1, x_110); +lean_ctor_set(x_18, 0, x_25); +x_111 = lean_array_get_size(x_6); +x_112 = lean_unsigned_to_nat(0u); +x_113 = lean_nat_dec_lt(x_112, x_111); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +lean_dec(x_111); +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_4); +x_114 = lean_ctor_get(x_25, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_25, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_25, 2); +lean_inc(x_116); +x_117 = lean_ctor_get(x_25, 3); +lean_inc(x_117); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + lean_ctor_release(x_25, 2); + lean_ctor_release(x_25, 3); + x_118 = x_25; +} else { + lean_dec_ref(x_25); + x_118 = lean_box(0); +} +x_119 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_117, x_108); +if (lean_is_scalar(x_118)) { + x_120 = lean_alloc_ctor(0, 4, 0); +} else { + x_120 = x_118; +} +lean_ctor_set(x_120, 0, x_114); +lean_ctor_set(x_120, 1, x_115); +lean_ctor_set(x_120, 2, x_116); +lean_ctor_set(x_120, 3, x_119); +x_121 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_120); +x_122 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_121, x_3); +x_123 = lean_box(x_109); +x_124 = lean_alloc_ctor(0, 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; +x_125 = lean_nat_dec_le(x_111, x_111); +if (x_125 == 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_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_111); +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_4); +x_126 = lean_ctor_get(x_25, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_25, 1); +lean_inc(x_127); +x_128 = lean_ctor_get(x_25, 2); +lean_inc(x_128); +x_129 = lean_ctor_get(x_25, 3); +lean_inc(x_129); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + lean_ctor_release(x_25, 2); + lean_ctor_release(x_25, 3); + x_130 = x_25; +} else { + lean_dec_ref(x_25); + x_130 = lean_box(0); +} +x_131 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_129, x_108); +if (lean_is_scalar(x_130)) { + x_132 = lean_alloc_ctor(0, 4, 0); +} else { + x_132 = x_130; +} +lean_ctor_set(x_132, 0, x_126); +lean_ctor_set(x_132, 1, x_127); +lean_ctor_set(x_132, 2, x_128); +lean_ctor_set(x_132, 3, x_131); +x_133 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_132); +x_134 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_133, x_3); +x_135 = lean_box(x_109); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +else +{ +size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_25); +x_137 = 0; +x_138 = lean_usize_of_nat(x_111); +lean_dec(x_111); +x_139 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1(x_1, x_4, x_6, x_137, x_138, x_18); +lean_dec(x_6); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +lean_dec(x_140); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_108); +lean_dec(x_3); +x_142 = lean_ctor_get(x_139, 0); +lean_inc(x_142); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_143 = x_139; +} else { + lean_dec_ref(x_139); + x_143 = lean_box(0); +} +x_144 = 0; +x_145 = lean_box(x_144); +if (lean_is_scalar(x_143)) { + x_146 = lean_alloc_ctor(0, 2, 0); +} else { + x_146 = x_143; +} +lean_ctor_set(x_146, 0, x_142); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; 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_147 = lean_ctor_get(x_139, 0); +lean_inc(x_147); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_148 = x_139; +} else { + lean_dec_ref(x_139); + x_148 = lean_box(0); +} +x_149 = lean_ctor_get(x_147, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_147, 1); +lean_inc(x_150); +x_151 = lean_ctor_get(x_147, 2); +lean_inc(x_151); +x_152 = lean_ctor_get(x_147, 3); +lean_inc(x_152); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + lean_ctor_release(x_147, 2); + lean_ctor_release(x_147, 3); + x_153 = x_147; +} else { + lean_dec_ref(x_147); + x_153 = lean_box(0); +} +x_154 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_152, x_108); +if (lean_is_scalar(x_153)) { + x_155 = lean_alloc_ctor(0, 4, 0); +} else { + x_155 = x_153; +} +lean_ctor_set(x_155, 0, x_149); +lean_ctor_set(x_155, 1, x_150); +lean_ctor_set(x_155, 2, x_151); +lean_ctor_set(x_155, 3, x_154); +x_156 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_155); +x_157 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_156, x_3); +x_158 = lean_box(x_109); +if (lean_is_scalar(x_148)) { + x_159 = lean_alloc_ctor(0, 2, 0); +} else { + x_159 = x_148; +} +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +} +} +} +else +{ +lean_object* x_160; uint8_t x_161; lean_object* x_162; +lean_dec(x_17); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_160 = lean_ctor_get(x_16, 0); +lean_inc(x_160); +lean_dec(x_16); +x_161 = 0; +x_162 = lean_box(x_161); +lean_ctor_set(x_18, 1, x_162); +lean_ctor_set(x_18, 0, x_160); +return x_18; +} +} +else +{ +lean_object* x_163; uint8_t x_164; +x_163 = lean_ctor_get(x_18, 0); +lean_inc(x_163); +lean_dec(x_18); +x_164 = lean_unbox(x_163); +lean_dec(x_163); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_165 = lean_ctor_get(x_16, 0); +lean_inc(x_165); +lean_dec(x_16); +x_166 = lean_ctor_get(x_17, 0); +lean_inc(x_166); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_167 = x_17; +} else { + lean_dec_ref(x_17); + x_167 = lean_box(0); +} +x_168 = 1; +x_169 = lean_box(x_168); +lean_inc(x_165); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_165); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_get_size(x_6); +x_172 = lean_unsigned_to_nat(0u); +x_173 = lean_nat_dec_lt(x_172, x_171); +if (x_173 == 0) +{ +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_dec(x_171); +lean_dec(x_170); +lean_dec(x_6); +lean_dec(x_4); +x_174 = lean_ctor_get(x_165, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_165, 1); +lean_inc(x_175); +x_176 = lean_ctor_get(x_165, 2); +lean_inc(x_176); +x_177 = lean_ctor_get(x_165, 3); +lean_inc(x_177); +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); + x_178 = x_165; +} else { + lean_dec_ref(x_165); + x_178 = lean_box(0); +} +x_179 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_177, x_166); +if (lean_is_scalar(x_178)) { + x_180 = lean_alloc_ctor(0, 4, 0); +} else { + x_180 = x_178; +} +lean_ctor_set(x_180, 0, x_174); +lean_ctor_set(x_180, 1, x_175); +lean_ctor_set(x_180, 2, x_176); +lean_ctor_set(x_180, 3, x_179); +x_181 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_180); +x_182 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_181, x_3); +x_183 = lean_box(x_168); +if (lean_is_scalar(x_167)) { + x_184 = lean_alloc_ctor(0, 2, 0); +} else { + x_184 = x_167; +} +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +else +{ +uint8_t x_185; +x_185 = lean_nat_dec_le(x_171, x_171); +if (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_dec(x_171); +lean_dec(x_170); +lean_dec(x_6); +lean_dec(x_4); +x_186 = lean_ctor_get(x_165, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_165, 1); +lean_inc(x_187); +x_188 = lean_ctor_get(x_165, 2); +lean_inc(x_188); +x_189 = lean_ctor_get(x_165, 3); +lean_inc(x_189); +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); + x_190 = x_165; +} else { + lean_dec_ref(x_165); + x_190 = lean_box(0); +} +x_191 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_189, x_166); +if (lean_is_scalar(x_190)) { + x_192 = lean_alloc_ctor(0, 4, 0); +} else { + x_192 = x_190; +} +lean_ctor_set(x_192, 0, x_186); +lean_ctor_set(x_192, 1, x_187); +lean_ctor_set(x_192, 2, x_188); +lean_ctor_set(x_192, 3, x_191); +x_193 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_192); +x_194 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_193, x_3); +x_195 = lean_box(x_168); +if (lean_is_scalar(x_167)) { + x_196 = lean_alloc_ctor(0, 2, 0); +} else { + x_196 = x_167; +} +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +else +{ +size_t x_197; size_t x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; +lean_dec(x_167); +lean_dec(x_165); +x_197 = 0; +x_198 = lean_usize_of_nat(x_171); +lean_dec(x_171); +x_199 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1(x_1, x_4, x_6, x_197, x_198, x_170); +lean_dec(x_6); +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +x_201 = lean_unbox(x_200); +lean_dec(x_200); +if (x_201 == 0) +{ +lean_object* x_202; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_206; +lean_dec(x_166); +lean_dec(x_3); +x_202 = lean_ctor_get(x_199, 0); +lean_inc(x_202); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_203 = x_199; +} else { + lean_dec_ref(x_199); + x_203 = lean_box(0); +} +x_204 = 0; +x_205 = lean_box(x_204); +if (lean_is_scalar(x_203)) { + x_206 = lean_alloc_ctor(0, 2, 0); +} else { + x_206 = x_203; +} +lean_ctor_set(x_206, 0, x_202); +lean_ctor_set(x_206, 1, x_205); +return x_206; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_207 = lean_ctor_get(x_199, 0); +lean_inc(x_207); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_208 = x_199; +} else { + lean_dec_ref(x_199); + x_208 = lean_box(0); +} +x_209 = lean_ctor_get(x_207, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_207, 1); +lean_inc(x_210); +x_211 = lean_ctor_get(x_207, 2); +lean_inc(x_211); +x_212 = lean_ctor_get(x_207, 3); +lean_inc(x_212); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_213 = x_207; +} else { + lean_dec_ref(x_207); + x_213 = lean_box(0); +} +x_214 = l_List_foldl___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_restoreAssignments___spec__1(x_1, x_212, x_166); +if (lean_is_scalar(x_213)) { + x_215 = lean_alloc_ctor(0, 4, 0); +} else { + x_215 = x_213; +} +lean_ctor_set(x_215, 0, x_209); +lean_ctor_set(x_215, 1, x_210); +lean_ctor_set(x_215, 2, x_211); +lean_ctor_set(x_215, 3, x_214); +x_216 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_clearRupUnits(x_1, x_215); +x_217 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert(x_1, x_216, x_3); +x_218 = lean_box(x_168); +if (lean_is_scalar(x_208)) { + x_219 = lean_alloc_ctor(0, 2, 0); +} else { + x_219 = x_208; +} +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +return x_219; +} +} +} +} +else +{ +lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; +lean_dec(x_17); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_220 = lean_ctor_get(x_16, 0); +lean_inc(x_220); +lean_dec(x_16); +x_221 = 0; +x_222 = lean_box(x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_220); +lean_ctor_set(x_223, 1, x_222); +return x_223; +} +} +} +else +{ +uint8_t x_224; +lean_dec(x_17); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_224 = !lean_is_exclusive(x_18); +if (x_224 == 0) +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; +x_225 = lean_ctor_get(x_18, 1); +lean_dec(x_225); +x_226 = lean_ctor_get(x_18, 0); +lean_dec(x_226); +x_227 = lean_ctor_get(x_16, 0); +lean_inc(x_227); +lean_dec(x_16); +x_228 = 0; +x_229 = lean_box(x_228); +lean_ctor_set(x_18, 1, x_229); +lean_ctor_set(x_18, 0, x_227); +return x_18; +} +else +{ +lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_18); +x_230 = lean_ctor_get(x_16, 0); +lean_inc(x_230); +lean_dec(x_16); +x_231 = 0; +x_232 = lean_box(x_231); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_230); +lean_ctor_set(x_233, 1, x_232); +return x_233; +} +} +} +else +{ +uint8_t x_234; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_234 = !lean_is_exclusive(x_12); +if (x_234 == 0) +{ +lean_object* x_235; uint8_t x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_12, 1); +lean_dec(x_235); +x_236 = 0; +x_237 = lean_box(x_236); +lean_ctor_set(x_12, 1, x_237); +return x_12; +} +else +{ +lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; +x_238 = lean_ctor_get(x_12, 0); +lean_inc(x_238); +lean_dec(x_12); +x_239 = 0; +x_240 = lean_box(x_239); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_238); +lean_ctor_set(x_241, 1, x_240); +return x_241; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___spec__1(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___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_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +else +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_3, 0); +x_9 = l_List_beq___at___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_beqDefaultClause____x40_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Clause___hyg_653____spec__1(x_1, x_7, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_uget(x_2, x_4); +x_8 = lean_box(0); +x_9 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__1(x_1, x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_5, x_10); +lean_dec(x_5); +x_12 = 1; +x_13 = lean_usize_add(x_4, x_12); +x_4 = x_13; +x_5 = x_11; +goto _start; +} +else +{ +size_t x_15; size_t x_16; +x_15 = 1; +x_16 = lean_usize_add(x_4, x_15); +x_4 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_size(x_3); +x_5 = 0; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__2(x_1, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___spec__2(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_numClausesInFormula(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Init_Data_Array(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Sat_CNF_Basic(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Implementation(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_Array(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Sat_CNF_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instInhabited___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupCheck___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ratHintsExhaustive___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Instance.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Instance.c new file mode 100644 index 000000000000..69556320ea66 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Instance.c @@ -0,0 +1,67 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Instance +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RatAddSound +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instFormulaPosFinDefaultClause(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_instFormulaPosFinDefaultClause(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_inc(x_1); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_toList___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); +lean_inc(x_1); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray), 2, 1); +lean_closure_set(x_3, 0, x_1); +lean_inc(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_insert___boxed), 3, 1); +lean_closure_set(x_4, 0, x_1); +lean_inc(x_1); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_delete___boxed), 3, 1); +lean_closure_set(x_5, 0, x_1); +lean_inc(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRupAdd___boxed), 4, 1); +lean_closure_set(x_6, 0, x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatAdd___boxed), 6, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_3); +lean_ctor_set(x_8, 2, x_4); +lean_ctor_set(x_8, 3, x_5); +lean_ctor_set(x_8, 4, x_6); +lean_ctor_set(x_8, 5, x_7); +return x_8; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Instance(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Lemmas.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Lemmas.c new file mode 100644 index 000000000000..92168bc68a11 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/Lemmas.c @@ -0,0 +1,274 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Lemmas +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Implementation Lean.Elab.Tactic.BVDecide.LRAT.Internal.CNF +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_apply_1(x_4, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_apply_1(x_3, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_apply_2(x_4, x_5, lean_box(0)); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_apply_3(x_3, x_8, lean_box(0), lean_box(0)); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_3); +x_10 = lean_apply_2(x_4, x_5, lean_box(0)); +return x_10; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_deleteOne_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (x_1 == 0) +{ +lean_inc(x_3); +return x_3; +} +else +{ +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas_0__cond_match__1_splitter___rarg(x_4, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Implementation(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Implementation(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RatAddResult.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RatAddResult.c new file mode 100644 index 000000000000..af9d43e943f5 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RatAddResult.c @@ -0,0 +1,79 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RatAddResult +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RupAddSound +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_2); +lean_inc(x_3); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_performRatCheck_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RatAddSound.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RatAddSound.c new file mode 100644 index 000000000000..bcba7eba873c --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RatAddSound.c @@ -0,0 +1,169 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RatAddSound +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RatAddResult +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (x_1 == 0) +{ +lean_inc(x_3); +return x_3; +} +else +{ +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__cond_match__1_splitter___rarg(x_4, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_inc(x_4); +return x_4; +} +default: +{ +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___boxed), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___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_1); +lean_dec(x_1); +x_7 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_ofArray__fold__fn_match__2_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddSound(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RatAddResult(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RupAddResult.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RupAddResult.c new file mode 100644 index 000000000000..ae974f429713 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RupAddResult.c @@ -0,0 +1,164 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RupAddResult +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Lemmas +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_2); +lean_inc(x_4); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_dec(x_2); +lean_inc(x_3); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_dec(x_4); +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_dec(x_4); +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +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_apply_2(x_4, x_7, x_8); +return x_9; +} +default: +{ +lean_dec(x_4); +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Lemmas(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RupAddSound.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RupAddSound.c new file mode 100644 index 000000000000..b6fb409fadf3 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/Formula/RupAddSound.c @@ -0,0 +1,334 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RupAddSound +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.RupAddResult +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_inc(x_4); +return x_4; +} +default: +{ +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___boxed), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg___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_1); +lean_dec(x_1); +x_7 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_Assignment_instToString_match__1_splitter___rarg(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_dec(x_4); +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_dec(x_4); +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_4, x_6); +return x_7; +} +default: +{ +lean_dec(x_4); +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__2_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_inc(x_4); +return x_4; +} +default: +{ +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter___rarg___boxed), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter___rarg___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_1); +lean_dec(x_1); +x_7 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultClause_reduce__fold__fn_match__1_splitter___rarg(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_2); +lean_inc(x_4); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_dec(x_2); +lean_inc(x_3); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__2_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_dec(x_4); +lean_inc(x_2); +return x_2; +} +case 1: +{ +lean_dec(x_4); +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +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_apply_2(x_4, x_7, x_8); +return x_9; +} +default: +{ +lean_dec(x_4); +lean_inc(x_5); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_DefaultFormula_confirmRupHint_match__1_splitter(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddSound(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_RupAddResult(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/LRATChecker.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/LRATChecker.c new file mode 100644 index 000000000000..82c5f5d10b98 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/LRATChecker.c @@ -0,0 +1,457 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATChecker +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Actions Lean.Elab.Tactic.BVDecide.LRAT.Internal.Formula.Class +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__3; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx(uint8_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__1; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedResult; +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_ofNat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult(uint8_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__2; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +default: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___closed__1; +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg(x_4, x_5, x_3); +return x_6; +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedResult() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_ofNat(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_nat_dec_le(x_2, x_1); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = lean_nat_dec_eq(x_1, x_2); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 2; +return x_6; +} +else +{ +uint8_t x_7; +x_7 = 1; +return x_7; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_ofNat___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_ofNat(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx(x_1); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_toCtorIdx(x_2); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqResult(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("success", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("out of proof", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("rup failure", 11, 11); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__1; +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__2; +return x_3; +} +default: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__3; +return x_4; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___rarg(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_6) == 0) +{ +uint8_t x_7; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_7 = 1; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +switch (lean_obj_tag(x_8)) { +case 0: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_dec(x_6); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_ctor_get(x_4, 4); +lean_inc(x_10); +lean_dec(x_4); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_apply_3(x_10, x_5, x_11, x_9); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = 2; +return x_15; +} +else +{ +uint8_t x_16; +x_16 = 0; +return x_16; +} +} +case 1: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_17 = lean_ctor_get(x_6, 1); +lean_inc(x_17); +lean_dec(x_6); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +lean_dec(x_8); +x_20 = lean_ctor_get(x_4, 4); +lean_inc(x_20); +x_21 = lean_apply_3(x_20, x_5, x_18, x_19); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +uint8_t x_24; +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_4); +lean_dec(x_2); +x_24 = 2; +return x_24; +} +else +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_5 = x_25; +x_6 = x_17; +goto _start; +} +} +case 2: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_27 = lean_ctor_get(x_6, 1); +lean_inc(x_27); +lean_dec(x_6); +x_28 = lean_ctor_get(x_8, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_8, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_8, 3); +lean_inc(x_30); +x_31 = lean_ctor_get(x_8, 4); +lean_inc(x_31); +lean_dec(x_8); +x_32 = lean_ctor_get(x_4, 5); +lean_inc(x_32); +x_33 = lean_apply_5(x_32, x_5, x_28, x_29, x_30, x_31); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +x_35 = lean_unbox(x_34); +lean_dec(x_34); +if (x_35 == 0) +{ +uint8_t x_36; +lean_dec(x_33); +lean_dec(x_27); +lean_dec(x_4); +lean_dec(x_2); +x_36 = 2; +return x_36; +} +else +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_33, 0); +lean_inc(x_37); +lean_dec(x_33); +x_5 = x_37; +x_6 = x_27; +goto _start; +} +} +default: +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_6, 1); +lean_inc(x_39); +lean_dec(x_6); +x_40 = lean_ctor_get(x_8, 0); +lean_inc(x_40); +lean_dec(x_8); +x_41 = lean_ctor_get(x_4, 3); +lean_inc(x_41); +x_42 = lean_apply_2(x_41, x_5, x_40); +x_5 = x_42; +x_6 = x_39; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___rarg___boxed), 6, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Formula_Class(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Result_noConfusion___rarg___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedResult = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instInhabitedResult(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringResult___closed__3); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/LRATCheckerSound.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/LRATCheckerSound.c new file mode 100644 index 000000000000..280a33917f68 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/LRATCheckerSound.c @@ -0,0 +1,176 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATCheckerSound +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Internal.LRATChecker Lean.Elab.Tactic.BVDecide.LRAT.Internal.CNF Lean.Elab.Tactic.BVDecide.LRAT.Internal.Actions +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__1_splitter___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter___rarg(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) == 0) +{ +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +switch (lean_obj_tag(x_7)) { +case 0: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_apply_3(x_3, x_9, x_10, x_8); +return x_11; +} +case 1: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_7, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 2); +lean_inc(x_15); +lean_dec(x_7); +x_16 = lean_apply_4(x_4, x_13, x_14, x_15, x_12); +return x_16; +} +case 2: +{ +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_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_7, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_7, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_7, 3); +lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 4); +lean_inc(x_22); +lean_dec(x_7); +x_23 = lean_apply_6(x_5, x_18, x_19, x_20, x_21, x_22, x_17); +return x_23; +} +default: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +lean_dec(x_1); +x_25 = lean_ctor_get(x_7, 0); +lean_inc(x_25); +lean_dec(x_7); +x_26 = lean_apply_2(x_6, x_25, x_24); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter___rarg___boxed), 6, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter___rarg___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___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__2_splitter___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound_0__Lean_Elab_Tactic_BVDecide_LRAT_Internal_lratChecker_match__1_splitter___rarg), 2, 0); +return x_3; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Actions(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_LRATChecker(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_CNF(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/PosFin.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/PosFin.c new file mode 100644 index 000000000000..5f1927ce5a1f --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Internal/PosFin.c @@ -0,0 +1,136 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Internal.PosFin +// Imports: Init.NotationExtra +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg___boxed(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___boxed(lean_object*); +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_nat_dec_eq(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instDecidableEqPosFin(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instCoeOutPosFinNat(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin___rarg), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Internal_instToStringPosFin(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Internal_PosFin(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_NotationExtra(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Parser.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Parser.c new file mode 100644 index 000000000000..c5854ebf5af2 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Parser.c @@ -0,0 +1,10022 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Parser +// Imports: Init.System.IO Lean.Elab.Tactic.BVDecide.LRAT.Actions Lean.Data.Parsec +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__4; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_ByteArray_Parser_run___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1(lean_object*, lean_object*); +uint8_t lean_uint32_to_uint8(uint32_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__1; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go(lean_object*, lean_object*); +uint8_t lean_uint8_lor(uint8_t, uint8_t); +uint8_t lean_byte_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseId(lean_object*); +extern lean_object* l_Int_instInhabited; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1(uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2; +static lean_object* l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1___closed__1; +uint64_t lean_uint64_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseLit(lean_object*); +uint64_t lean_uint64_lor(uint64_t, uint64_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__6; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__3; +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__5; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint64_dec_lt(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(lean_object*, size_t, size_t, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRes(lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_ByteArray_digits(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause(lean_object*); +uint8_t lean_uint8_land(uint8_t, uint8_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__1; +extern lean_object* l_Lean_Parsec_unexpectedEndOfInput; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRes(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(lean_object*); +lean_object* lean_byte_array_push(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__2(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos(lean_object*); +uint64_t lean_uint64_land(uint64_t, uint64_t); +static lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_parseLRATProof(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__5; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__3; +lean_object* l_IO_FS_writeBinFile(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +static uint8_t l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause_litWs(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go(lean_object*); +uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +lean_object* lean_nat_to_int(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1(lean_object*, size_t, size_t, lean_object*); +uint64_t lean_uint8_to_uint64(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__1; +lean_object* lean_uint64_to_nat(uint64_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addNat(lean_object*, lean_object*); +lean_object* l_outOfBounds___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1; +uint64_t lean_uint64_add(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_startDelete(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___boxed(lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +uint8_t lean_uint64_to_uint8(uint64_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseDelete(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__2(lean_object*, lean_object*); +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_Parsec_expectedEndOfInput; +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__7; +static lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +uint8_t lean_uint8_complement(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_zeroByte(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg(lean_object*); +lean_object* lean_nat_abs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_dumpLRATProof(lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* lean_mk_empty_byte_array(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___boxed(lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3(lean_object*, size_t, size_t, lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero(lean_object*); +extern lean_object* l_ByteArray_instInhabited; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_parseActions(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseId(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +lean_object* lean_string_to_utf8(lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause(lean_object*); +uint8_t lean_int_dec_lt(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +lean_object* lean_nat_mul(lean_object*, lean_object*); +uint64_t lean_uint64_shift_left(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseAction(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__3; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__5; +lean_object* lean_uint8_to_nat(uint8_t); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__3; +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseAdd(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___boxed(lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat(lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode(lean_object*, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_startAdd(lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___spec__1(lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +lean_object* lean_int_neg(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_dumpLRATProof___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__4; +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___boxed(lean_object*, lean_object*); +lean_object* l_IO_FS_readBinFile(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go(uint64_t, uint64_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__4; +lean_object* lean_byte_array_size(lean_object*); +uint8_t lean_uint8_dec_eq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints(lean_object*); +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___rarg(lean_object*, lean_object*, lean_object*); +static uint8_t l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(lean_object*); +static lean_object* _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +lean_dec(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = l_Int_instInhabited; +x_6 = l_outOfBounds___rarg(x_5); +x_7 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_8 = lean_int_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_nat_abs(x_6); +lean_dec(x_6); +x_10 = 0; +x_11 = lean_box(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +else +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_nat_abs(x_6); +lean_dec(x_6); +x_14 = 1; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_array_fget(x_1, x_3); +x_18 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_19 = lean_int_dec_lt(x_18, x_17); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_nat_abs(x_17); +lean_dec(x_17); +x_21 = 0; +x_22 = lean_box(x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +else +{ +lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_nat_abs(x_17); +lean_dec(x_17); +x_25 = 1; +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("id was 0", 8, 8); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parsec_ByteArray_digits(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +return x_2; +} +else +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_7); +return x_2; +} +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_2, 0); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_9); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_2); +if (x_15 == 0) +{ +return x_2; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_2, 0); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_2); +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; +} +} +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 45; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("expected: '", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("'", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__5; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_inc(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1; +x_13 = lean_uint8_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__7; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos(x_10); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 1); +x_19 = lean_nat_to_int(x_18); +x_20 = lean_int_neg(x_19); +lean_dec(x_19); +lean_ctor_set(x_16, 1, x_20); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +x_23 = lean_nat_to_int(x_22); +x_24 = lean_int_neg(x_23); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_16); +if (x_26 == 0) +{ +return x_16; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_16, 0); +x_28 = lean_ctor_get(x_16, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_16); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseId(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos(x_1); +return x_2; +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 48; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_inc(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_13 = lean_uint8_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_1); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_1, 1); +lean_dec(x_17); +x_18 = lean_ctor_get(x_1, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_1, 1, x_19); +lean_ctor_set(x_1, 0, x_10); +return x_1; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_10); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 32; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +lean_inc(x_1); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseId(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +lean_dec(x_1); +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +x_8 = lean_byte_array_size(x_6); +x_9 = lean_nat_dec_lt(x_7, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_10 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_10); +return x_2; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_7, x_11); +lean_inc(x_6); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_byte_array_fget(x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_16 = lean_uint8_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_5); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_17); +return x_2; +} +else +{ +lean_dec(x_4); +lean_ctor_set(x_2, 0, x_13); +return x_2; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_2, 0); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_2); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +x_22 = lean_byte_array_size(x_20); +x_23 = lean_nat_dec_lt(x_21, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +x_24 = l_Lean_Parsec_unexpectedEndOfInput; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_21, x_26); +lean_inc(x_20); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_byte_array_fget(x_20, x_21); +lean_dec(x_21); +lean_dec(x_20); +x_30 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_31 = lean_uint8_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_28); +lean_dec(x_19); +x_32 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_18); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +else +{ +lean_object* x_34; +lean_dec(x_18); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_19); +return x_34; +} +} +} +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_2); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_2, 0); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_2, 1); +lean_inc(x_37); +lean_dec(x_2); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_1); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_push(x_1, x_5); +x_1 = x_6; +x_2 = x_4; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_dec(x_1); +return x_3; +} +else +{ +lean_dec(x_10); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_3); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +x_18 = lean_nat_dec_eq(x_16, x_17); +lean_dec(x_17); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_15); +return x_19; +} +else +{ +lean_object* x_20; +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_1); +return x_20; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___spec__1(x_2, x_1); +return x_3; +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 100; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_13 = lean_uint8_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__5; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_1); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_1, 1); +lean_dec(x_17); +x_18 = lean_ctor_get(x_1, 0); +lean_dec(x_18); +x_19 = lean_nat_dec_lt(x_9, x_4); +lean_dec(x_4); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_free_object(x_1); +lean_dec(x_9); +lean_dec(x_2); +x_20 = l_Lean_Parsec_unexpectedEndOfInput; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_10); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; +x_22 = lean_nat_add(x_9, x_8); +lean_inc(x_2); +lean_ctor_set(x_1, 1, x_22); +x_23 = lean_byte_array_fget(x_2, x_9); +lean_dec(x_9); +lean_dec(x_2); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_25 = lean_uint8_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_1); +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_10); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_10); +x_28 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_1); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +x_34 = lean_byte_array_size(x_32); +x_35 = lean_nat_dec_lt(x_33, x_34); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_31); +x_36 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_28, 1); +lean_ctor_set(x_28, 1, x_36); +return x_28; +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; +x_37 = lean_nat_add(x_33, x_8); +lean_inc(x_32); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_32); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_byte_array_fget(x_32, x_33); +lean_dec(x_33); +lean_dec(x_32); +x_40 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_41 = lean_uint8_dec_eq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_38); +lean_dec(x_31); +x_42 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +lean_ctor_set_tag(x_28, 1); +lean_ctor_set(x_28, 1, x_42); +return x_28; +} +else +{ +lean_object* x_43; +lean_dec(x_30); +x_43 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_43, 0, x_31); +lean_ctor_set(x_28, 1, x_43); +lean_ctor_set(x_28, 0, x_38); +return x_28; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_44 = lean_ctor_get(x_28, 0); +x_45 = lean_ctor_get(x_28, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_28); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +x_48 = lean_byte_array_size(x_46); +x_49 = lean_nat_dec_lt(x_47, x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_47); +lean_dec(x_46); +lean_dec(x_45); +x_50 = l_Lean_Parsec_unexpectedEndOfInput; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t x_55; uint8_t x_56; +x_52 = lean_nat_add(x_47, x_8); +lean_inc(x_46); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_46); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_byte_array_fget(x_46, x_47); +lean_dec(x_47); +lean_dec(x_46); +x_55 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_56 = lean_uint8_dec_eq(x_54, x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_53); +lean_dec(x_45); +x_57 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_44); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; +lean_dec(x_44); +x_59 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_59, 0, x_45); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_53); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +else +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_28); +if (x_61 == 0) +{ +return x_28; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_28, 0); +x_63 = lean_ctor_get(x_28, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_28); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_1); +x_65 = lean_nat_dec_lt(x_9, x_4); +lean_dec(x_4); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_9); +lean_dec(x_2); +x_66 = l_Lean_Parsec_unexpectedEndOfInput; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_10); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; uint8_t x_70; uint8_t x_71; uint8_t x_72; +x_68 = lean_nat_add(x_9, x_8); +lean_inc(x_2); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_2); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_byte_array_fget(x_2, x_9); +lean_dec(x_9); +lean_dec(x_2); +x_71 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_72 = lean_uint8_dec_eq(x_70, x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_69); +x_73 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_10); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +else +{ +lean_object* x_75; +lean_dec(x_10); +x_75 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_69); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_79 = lean_ctor_get(x_76, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 1); +lean_inc(x_80); +x_81 = lean_byte_array_size(x_79); +x_82 = lean_nat_dec_lt(x_80, x_81); +lean_dec(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_77); +x_83 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_78)) { + x_84 = lean_alloc_ctor(1, 2, 0); +} else { + x_84 = x_78; + lean_ctor_set_tag(x_84, 1); +} +lean_ctor_set(x_84, 0, x_76); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; +x_85 = lean_nat_add(x_80, x_8); +lean_inc(x_79); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_79); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_byte_array_fget(x_79, x_80); +lean_dec(x_80); +lean_dec(x_79); +x_88 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_89 = lean_uint8_dec_eq(x_87, x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_86); +lean_dec(x_77); +x_90 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +if (lean_is_scalar(x_78)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_78; + lean_ctor_set_tag(x_91, 1); +} +lean_ctor_set(x_91, 0, x_76); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_76); +x_92 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_92, 0, x_77); +if (lean_is_scalar(x_78)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_78; +} +lean_ctor_set(x_93, 0, x_86); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_75, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_75, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_96 = x_75; +} else { + lean_dec_ref(x_75); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +uint8_t x_8; uint8_t x_9; uint8_t x_10; +x_8 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1; +x_10 = lean_uint8_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos(x_1); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 1); +x_14 = lean_nat_to_int(x_13); +lean_ctor_set(x_11, 1, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_nat_to_int(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg(x_1); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause_litWs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +lean_inc(x_1); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseLit(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +lean_dec(x_1); +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +x_8 = lean_byte_array_size(x_6); +x_9 = lean_nat_dec_lt(x_7, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_10 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_10); +return x_2; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_7, x_11); +lean_inc(x_6); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_byte_array_fget(x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_16 = lean_uint8_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_5); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_17); +return x_2; +} +else +{ +lean_dec(x_4); +lean_ctor_set(x_2, 0, x_13); +return x_2; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_2, 0); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_2); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +x_22 = lean_byte_array_size(x_20); +x_23 = lean_nat_dec_lt(x_21, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +x_24 = l_Lean_Parsec_unexpectedEndOfInput; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_21, x_26); +lean_inc(x_20); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_byte_array_fget(x_20, x_21); +lean_dec(x_21); +lean_dec(x_20); +x_30 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_31 = lean_uint8_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_28); +lean_dec(x_19); +x_32 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_18); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +else +{ +lean_object* x_34; +lean_dec(x_18); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_19); +return x_34; +} +} +} +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_2); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_2, 0); +lean_dec(x_36); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_2, 1); +lean_inc(x_37); +lean_dec(x_2); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_1); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause_litWs(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_push(x_1, x_5); +x_1 = x_6; +x_2 = x_4; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_dec(x_1); +return x_3; +} +else +{ +lean_dec(x_10); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_3); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +x_18 = lean_nat_dec_eq(x_16, x_17); +lean_dec(x_17); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_15); +return x_19; +} +else +{ +lean_object* x_20; +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_1); +return x_20; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause___spec__1(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +x_9 = lean_byte_array_size(x_7); +x_10 = lean_nat_dec_lt(x_8, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_11 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_11); +return x_3; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_8, x_12); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_byte_array_fget(x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_17 = lean_uint8_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_14); +lean_dec(x_6); +x_18 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_18); +return x_3; +} +else +{ +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_14); +return x_3; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_3, 0); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_3); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +x_23 = lean_byte_array_size(x_21); +x_24 = lean_nat_dec_lt(x_22, x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +x_25 = l_Lean_Parsec_unexpectedEndOfInput; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_22, x_27); +lean_inc(x_21); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_21); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_byte_array_fget(x_21, x_22); +lean_dec(x_22); +lean_dec(x_21); +x_31 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_32 = lean_uint8_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_29); +lean_dec(x_20); +x_33 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +else +{ +lean_object* x_35; +lean_dec(x_19); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 1, x_20); +return x_35; +} +} +} +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_3); +if (x_36 == 0) +{ +return x_3; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_3, 0); +x_38 = lean_ctor_get(x_3, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_3); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRes(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +x_8 = lean_byte_array_size(x_6); +x_9 = lean_nat_dec_lt(x_7, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_10 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_10); +return x_2; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_7, x_11); +lean_inc(x_6); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_byte_array_fget(x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_16 = lean_uint8_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_5); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_17); +return x_2; +} +else +{ +uint8_t x_18; +lean_free_object(x_2); +x_18 = !lean_is_exclusive(x_4); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_4, 1); +lean_dec(x_19); +x_20 = lean_ctor_get(x_4, 0); +lean_dec(x_20); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_13); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +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, 1); +x_24 = lean_nat_abs(x_5); +lean_dec(x_5); +lean_ctor_set(x_4, 1, x_23); +lean_ctor_set(x_4, 0, x_24); +lean_ctor_set(x_21, 1, x_4); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_21); +x_27 = lean_nat_abs(x_5); +lean_dec(x_5); +lean_ctor_set(x_4, 1, x_26); +lean_ctor_set(x_4, 0, x_27); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_4); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_free_object(x_4); +lean_dec(x_5); +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) +{ +return x_21; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_21); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; +lean_dec(x_4); +x_33 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_13); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_36 = x_33; +} else { + lean_dec_ref(x_33); + x_36 = lean_box(0); +} +x_37 = lean_nat_abs(x_5); +lean_dec(x_5); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +if (lean_is_scalar(x_36)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_36; +} +lean_ctor_set(x_39, 0, x_34); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_5); +x_40 = lean_ctor_get(x_33, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_42 = x_33; +} else { + lean_dec_ref(x_33); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(1, 2, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_41); +return x_43; +} +} +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_44 = lean_ctor_get(x_2, 0); +x_45 = lean_ctor_get(x_2, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_2); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +x_48 = lean_byte_array_size(x_46); +x_49 = lean_nat_dec_lt(x_47, x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_47); +lean_dec(x_46); +lean_dec(x_45); +x_50 = l_Lean_Parsec_unexpectedEndOfInput; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; +x_52 = lean_unsigned_to_nat(1u); +x_53 = lean_nat_add(x_47, x_52); +lean_inc(x_46); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_46); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_byte_array_fget(x_46, x_47); +lean_dec(x_47); +lean_dec(x_46); +x_56 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_57 = lean_uint8_dec_eq(x_55, x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_54); +lean_dec(x_45); +x_58 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_44); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_60 = x_44; +} else { + lean_dec_ref(x_44); + x_60 = lean_box(0); +} +x_61 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_54); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; +} else { + lean_dec_ref(x_61); + x_64 = lean_box(0); +} +x_65 = lean_nat_abs(x_45); +lean_dec(x_45); +if (lean_is_scalar(x_60)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_60; +} +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_63); +if (lean_is_scalar(x_64)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_64; +} +lean_ctor_set(x_67, 0, x_62); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_60); +lean_dec(x_45); +x_68 = lean_ctor_get(x_61, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_61, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_70 = x_61; +} else { + lean_dec_ref(x_61); + 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 +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_2); +if (x_72 == 0) +{ +return x_2; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_2, 0); +x_74 = lean_ctor_get(x_2, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_2); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRes(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_push(x_1, x_5); +x_1 = x_6; +x_2 = x_4; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_3, 0); +lean_dec(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = lean_nat_dec_eq(x_11, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_dec(x_1); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_dec(x_9); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +x_15 = lean_nat_dec_eq(x_14, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +return x_17; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("There cannot be any ratHints for adding the empty clause", 56, 56); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseClause(x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +x_9 = lean_byte_array_size(x_7); +x_10 = lean_nat_dec_lt(x_8, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_11 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_11); +return x_3; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_8, x_12); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_byte_array_fget(x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_17 = lean_uint8_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_14); +lean_dec(x_6); +lean_dec(x_1); +x_18 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_18); +return x_3; +} +else +{ +uint8_t x_19; +lean_free_object(x_3); +x_19 = !lean_is_exclusive(x_5); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_5, 1); +lean_dec(x_20); +x_21 = lean_ctor_get(x_5, 0); +lean_dec(x_21); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_14); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_26 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___spec__1(x_25, x_23); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +x_32 = lean_byte_array_size(x_30); +x_33 = lean_nat_dec_lt(x_31, x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_24); +lean_free_object(x_5); +lean_dec(x_6); +lean_dec(x_1); +x_34 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_26, 1); +lean_ctor_set(x_26, 1, x_34); +return x_26; +} +else +{ +lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; +x_35 = lean_nat_add(x_31, x_12); +lean_inc(x_30); +lean_ctor_set(x_5, 1, x_35); +lean_ctor_set(x_5, 0, x_30); +x_36 = lean_byte_array_fget(x_30, x_31); +lean_dec(x_31); +lean_dec(x_30); +x_37 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_38 = lean_uint8_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_5); +lean_dec(x_29); +lean_dec(x_24); +lean_dec(x_6); +lean_dec(x_1); +x_39 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +lean_ctor_set_tag(x_26, 1); +lean_ctor_set(x_26, 1, x_39); +return x_26; +} +else +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_28); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_ctor_get(x_28, 1); +lean_dec(x_41); +x_42 = lean_ctor_get(x_28, 0); +lean_dec(x_42); +x_43 = lean_array_get_size(x_6); +x_44 = lean_array_get_size(x_29); +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_nat_dec_eq(x_43, x_45); +lean_dec(x_43); +if (x_46 == 0) +{ +uint8_t x_47; +lean_free_object(x_28); +x_47 = lean_nat_dec_eq(x_44, x_45); +lean_dec(x_44); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_6); +x_49 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_49, 0, x_1); +lean_ctor_set(x_49, 1, x_6); +lean_ctor_set(x_49, 2, x_48); +lean_ctor_set(x_49, 3, x_24); +lean_ctor_set(x_49, 4, x_29); +lean_ctor_set(x_26, 1, x_49); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +else +{ +lean_object* x_50; +lean_dec(x_29); +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_6); +lean_ctor_set(x_50, 2, x_24); +lean_ctor_set(x_26, 1, x_50); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +} +else +{ +uint8_t x_51; +lean_dec(x_29); +lean_dec(x_6); +x_51 = lean_nat_dec_eq(x_44, x_45); +lean_dec(x_44); +if (x_51 == 0) +{ +lean_object* x_52; +lean_free_object(x_28); +lean_dec(x_24); +lean_dec(x_1); +x_52 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +lean_ctor_set_tag(x_26, 1); +lean_ctor_set(x_26, 1, x_52); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +else +{ +lean_ctor_set(x_28, 1, x_24); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_26, 1, x_28); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_28); +x_53 = lean_array_get_size(x_6); +x_54 = lean_array_get_size(x_29); +x_55 = lean_unsigned_to_nat(0u); +x_56 = lean_nat_dec_eq(x_53, x_55); +lean_dec(x_53); +if (x_56 == 0) +{ +uint8_t x_57; +x_57 = lean_nat_dec_eq(x_54, x_55); +lean_dec(x_54); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_6); +x_59 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_59, 0, x_1); +lean_ctor_set(x_59, 1, x_6); +lean_ctor_set(x_59, 2, x_58); +lean_ctor_set(x_59, 3, x_24); +lean_ctor_set(x_59, 4, x_29); +lean_ctor_set(x_26, 1, x_59); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +else +{ +lean_object* x_60; +lean_dec(x_29); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_1); +lean_ctor_set(x_60, 1, x_6); +lean_ctor_set(x_60, 2, x_24); +lean_ctor_set(x_26, 1, x_60); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +} +else +{ +uint8_t x_61; +lean_dec(x_29); +lean_dec(x_6); +x_61 = lean_nat_dec_eq(x_54, x_55); +lean_dec(x_54); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_24); +lean_dec(x_1); +x_62 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +lean_ctor_set_tag(x_26, 1); +lean_ctor_set(x_26, 1, x_62); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +else +{ +lean_object* x_63; +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_1); +lean_ctor_set(x_63, 1, x_24); +lean_ctor_set(x_26, 1, x_63); +lean_ctor_set(x_26, 0, x_5); +return x_26; +} +} +} +} +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_64 = lean_ctor_get(x_26, 0); +x_65 = lean_ctor_get(x_26, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_26); +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +x_68 = lean_byte_array_size(x_66); +x_69 = lean_nat_dec_lt(x_67, x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_24); +lean_free_object(x_5); +lean_dec(x_6); +lean_dec(x_1); +x_70 = l_Lean_Parsec_unexpectedEndOfInput; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +else +{ +lean_object* x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; +x_72 = lean_nat_add(x_67, x_12); +lean_inc(x_66); +lean_ctor_set(x_5, 1, x_72); +lean_ctor_set(x_5, 0, x_66); +x_73 = lean_byte_array_fget(x_66, x_67); +lean_dec(x_67); +lean_dec(x_66); +x_74 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_75 = lean_uint8_dec_eq(x_73, x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_5); +lean_dec(x_65); +lean_dec(x_24); +lean_dec(x_6); +lean_dec(x_1); +x_76 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_64); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_78 = x_64; +} else { + lean_dec_ref(x_64); + x_78 = lean_box(0); +} +x_79 = lean_array_get_size(x_6); +x_80 = lean_array_get_size(x_65); +x_81 = lean_unsigned_to_nat(0u); +x_82 = lean_nat_dec_eq(x_79, x_81); +lean_dec(x_79); +if (x_82 == 0) +{ +uint8_t x_83; +lean_dec(x_78); +x_83 = lean_nat_dec_eq(x_80, x_81); +lean_dec(x_80); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_6); +x_85 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_85, 0, x_1); +lean_ctor_set(x_85, 1, x_6); +lean_ctor_set(x_85, 2, x_84); +lean_ctor_set(x_85, 3, x_24); +lean_ctor_set(x_85, 4, x_65); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_5); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +else +{ +lean_object* x_87; lean_object* x_88; +lean_dec(x_65); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_1); +lean_ctor_set(x_87, 1, x_6); +lean_ctor_set(x_87, 2, x_24); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_5); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +else +{ +uint8_t x_89; +lean_dec(x_65); +lean_dec(x_6); +x_89 = lean_nat_dec_eq(x_80, x_81); +lean_dec(x_80); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_78); +lean_dec(x_24); +lean_dec(x_1); +x_90 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_5); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; +if (lean_is_scalar(x_78)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_78; +} +lean_ctor_set(x_92, 0, x_1); +lean_ctor_set(x_92, 1, x_24); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_5); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +} +} +} +else +{ +uint8_t x_94; +lean_dec(x_24); +lean_free_object(x_5); +lean_dec(x_6); +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_26); +if (x_94 == 0) +{ +return x_26; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_26, 0); +x_96 = lean_ctor_get(x_26, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_26); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +else +{ +uint8_t x_98; +lean_free_object(x_5); +lean_dec(x_6); +lean_dec(x_1); +x_98 = !lean_is_exclusive(x_22); +if (x_98 == 0) +{ +return x_22; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_22, 0); +x_100 = lean_ctor_get(x_22, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_22); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +else +{ +lean_object* x_102; +lean_dec(x_5); +x_102 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_14); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +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); +x_105 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_106 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___spec__1(x_105, x_103); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_109 = x_106; +} else { + lean_dec_ref(x_106); + x_109 = lean_box(0); +} +x_110 = lean_ctor_get(x_107, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_107, 1); +lean_inc(x_111); +x_112 = lean_byte_array_size(x_110); +x_113 = lean_nat_dec_lt(x_111, x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_108); +lean_dec(x_104); +lean_dec(x_6); +lean_dec(x_1); +x_114 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_109)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_109; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_107); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +else +{ +lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; uint8_t x_120; +x_116 = lean_nat_add(x_111, x_12); +lean_inc(x_110); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_110); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_byte_array_fget(x_110, x_111); +lean_dec(x_111); +lean_dec(x_110); +x_119 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_120 = lean_uint8_dec_eq(x_118, x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; +lean_dec(x_117); +lean_dec(x_108); +lean_dec(x_104); +lean_dec(x_6); +lean_dec(x_1); +x_121 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +if (lean_is_scalar(x_109)) { + x_122 = lean_alloc_ctor(1, 2, 0); +} else { + x_122 = x_109; + lean_ctor_set_tag(x_122, 1); +} +lean_ctor_set(x_122, 0, x_107); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + x_123 = x_107; +} else { + lean_dec_ref(x_107); + x_123 = lean_box(0); +} +x_124 = lean_array_get_size(x_6); +x_125 = lean_array_get_size(x_108); +x_126 = lean_unsigned_to_nat(0u); +x_127 = lean_nat_dec_eq(x_124, x_126); +lean_dec(x_124); +if (x_127 == 0) +{ +uint8_t x_128; +lean_dec(x_123); +x_128 = lean_nat_dec_eq(x_125, x_126); +lean_dec(x_125); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_6); +x_130 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_130, 0, x_1); +lean_ctor_set(x_130, 1, x_6); +lean_ctor_set(x_130, 2, x_129); +lean_ctor_set(x_130, 3, x_104); +lean_ctor_set(x_130, 4, x_108); +if (lean_is_scalar(x_109)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_109; +} +lean_ctor_set(x_131, 0, x_117); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +else +{ +lean_object* x_132; lean_object* x_133; +lean_dec(x_108); +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_1); +lean_ctor_set(x_132, 1, x_6); +lean_ctor_set(x_132, 2, x_104); +if (lean_is_scalar(x_109)) { + x_133 = lean_alloc_ctor(0, 2, 0); +} else { + x_133 = x_109; +} +lean_ctor_set(x_133, 0, x_117); +lean_ctor_set(x_133, 1, x_132); +return x_133; +} +} +else +{ +uint8_t x_134; +lean_dec(x_108); +lean_dec(x_6); +x_134 = lean_nat_dec_eq(x_125, x_126); +lean_dec(x_125); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; +lean_dec(x_123); +lean_dec(x_104); +lean_dec(x_1); +x_135 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +if (lean_is_scalar(x_109)) { + x_136 = lean_alloc_ctor(1, 2, 0); +} else { + x_136 = x_109; + lean_ctor_set_tag(x_136, 1); +} +lean_ctor_set(x_136, 0, x_117); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +else +{ +lean_object* x_137; lean_object* x_138; +if (lean_is_scalar(x_123)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_123; +} +lean_ctor_set(x_137, 0, x_1); +lean_ctor_set(x_137, 1, x_104); +if (lean_is_scalar(x_109)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_109; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_104); +lean_dec(x_6); +lean_dec(x_1); +x_139 = lean_ctor_get(x_106, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_106, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_141 = x_106; +} else { + lean_dec_ref(x_106); + x_141 = lean_box(0); +} +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); +} else { + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_139); +lean_ctor_set(x_142, 1, x_140); +return x_142; +} +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_6); +lean_dec(x_1); +x_143 = lean_ctor_get(x_102, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_102, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_145 = x_102; +} else { + lean_dec_ref(x_102); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(1, 2, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +return x_146; +} +} +} +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_147 = lean_ctor_get(x_3, 0); +x_148 = lean_ctor_get(x_3, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_3); +x_149 = lean_ctor_get(x_147, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_147, 1); +lean_inc(x_150); +x_151 = lean_byte_array_size(x_149); +x_152 = lean_nat_dec_lt(x_150, x_151); +lean_dec(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; +lean_dec(x_150); +lean_dec(x_149); +lean_dec(x_148); +lean_dec(x_1); +x_153 = l_Lean_Parsec_unexpectedEndOfInput; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_147); +lean_ctor_set(x_154, 1, x_153); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; +x_155 = lean_unsigned_to_nat(1u); +x_156 = lean_nat_add(x_150, x_155); +lean_inc(x_149); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_149); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_byte_array_fget(x_149, x_150); +lean_dec(x_150); +lean_dec(x_149); +x_159 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_160 = lean_uint8_dec_eq(x_158, x_159); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; +lean_dec(x_157); +lean_dec(x_148); +lean_dec(x_1); +x_161 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_147); +lean_ctor_set(x_162, 1, x_161); +return x_162; +} +else +{ +lean_object* x_163; lean_object* x_164; +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_163 = x_147; +} else { + lean_dec_ref(x_147); + x_163 = lean_box(0); +} +x_164 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList(x_157); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +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 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_168 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___spec__1(x_167, x_165); +if (lean_obj_tag(x_168) == 0) +{ +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; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_171 = x_168; +} else { + lean_dec_ref(x_168); + x_171 = lean_box(0); +} +x_172 = lean_ctor_get(x_169, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_169, 1); +lean_inc(x_173); +x_174 = lean_byte_array_size(x_172); +x_175 = lean_nat_dec_lt(x_173, x_174); +lean_dec(x_174); +if (x_175 == 0) +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_173); +lean_dec(x_172); +lean_dec(x_170); +lean_dec(x_166); +lean_dec(x_163); +lean_dec(x_148); +lean_dec(x_1); +x_176 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_171)) { + x_177 = lean_alloc_ctor(1, 2, 0); +} else { + x_177 = x_171; + lean_ctor_set_tag(x_177, 1); +} +lean_ctor_set(x_177, 0, x_169); +lean_ctor_set(x_177, 1, x_176); +return x_177; +} +else +{ +lean_object* x_178; lean_object* x_179; uint8_t x_180; uint8_t x_181; uint8_t x_182; +x_178 = lean_nat_add(x_173, x_155); +lean_inc(x_172); +if (lean_is_scalar(x_163)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_163; +} +lean_ctor_set(x_179, 0, x_172); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_byte_array_fget(x_172, x_173); +lean_dec(x_173); +lean_dec(x_172); +x_181 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1; +x_182 = lean_uint8_dec_eq(x_180, x_181); +if (x_182 == 0) +{ +lean_object* x_183; lean_object* x_184; +lean_dec(x_179); +lean_dec(x_170); +lean_dec(x_166); +lean_dec(x_148); +lean_dec(x_1); +x_183 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5; +if (lean_is_scalar(x_171)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_171; + lean_ctor_set_tag(x_184, 1); +} +lean_ctor_set(x_184, 0, x_169); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_185 = x_169; +} else { + lean_dec_ref(x_169); + x_185 = lean_box(0); +} +x_186 = lean_array_get_size(x_148); +x_187 = lean_array_get_size(x_170); +x_188 = lean_unsigned_to_nat(0u); +x_189 = lean_nat_dec_eq(x_186, x_188); +lean_dec(x_186); +if (x_189 == 0) +{ +uint8_t x_190; +lean_dec(x_185); +x_190 = lean_nat_dec_eq(x_187, x_188); +lean_dec(x_187); +if (x_190 == 0) +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_148); +x_192 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_192, 0, x_1); +lean_ctor_set(x_192, 1, x_148); +lean_ctor_set(x_192, 2, x_191); +lean_ctor_set(x_192, 3, x_166); +lean_ctor_set(x_192, 4, x_170); +if (lean_is_scalar(x_171)) { + x_193 = lean_alloc_ctor(0, 2, 0); +} else { + x_193 = x_171; +} +lean_ctor_set(x_193, 0, x_179); +lean_ctor_set(x_193, 1, x_192); +return x_193; +} +else +{ +lean_object* x_194; lean_object* x_195; +lean_dec(x_170); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_1); +lean_ctor_set(x_194, 1, x_148); +lean_ctor_set(x_194, 2, x_166); +if (lean_is_scalar(x_171)) { + x_195 = lean_alloc_ctor(0, 2, 0); +} else { + x_195 = x_171; +} +lean_ctor_set(x_195, 0, x_179); +lean_ctor_set(x_195, 1, x_194); +return x_195; +} +} +else +{ +uint8_t x_196; +lean_dec(x_170); +lean_dec(x_148); +x_196 = lean_nat_dec_eq(x_187, x_188); +lean_dec(x_187); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_185); +lean_dec(x_166); +lean_dec(x_1); +x_197 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +if (lean_is_scalar(x_171)) { + x_198 = lean_alloc_ctor(1, 2, 0); +} else { + x_198 = x_171; + lean_ctor_set_tag(x_198, 1); +} +lean_ctor_set(x_198, 0, x_179); +lean_ctor_set(x_198, 1, x_197); +return x_198; +} +else +{ +lean_object* x_199; lean_object* x_200; +if (lean_is_scalar(x_185)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_185; +} +lean_ctor_set(x_199, 0, x_1); +lean_ctor_set(x_199, 1, x_166); +if (lean_is_scalar(x_171)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_171; +} +lean_ctor_set(x_200, 0, x_179); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_dec(x_166); +lean_dec(x_163); +lean_dec(x_148); +lean_dec(x_1); +x_201 = lean_ctor_get(x_168, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_168, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_203 = x_168; +} else { + lean_dec_ref(x_168); + x_203 = lean_box(0); +} +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(1, 2, 0); +} else { + x_204 = x_203; +} +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +return x_204; +} +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_163); +lean_dec(x_148); +lean_dec(x_1); +x_205 = lean_ctor_get(x_164, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_164, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_207 = x_164; +} else { + lean_dec_ref(x_164); + x_207 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_208 = lean_alloc_ctor(1, 2, 0); +} else { + x_208 = x_207; +} +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_206); +return x_208; +} +} +} +} +} +else +{ +uint8_t x_209; +lean_dec(x_1); +x_209 = !lean_is_exclusive(x_3); +if (x_209 == 0) +{ +return x_3; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_3, 0); +x_211 = lean_ctor_get(x_3, 1); +lean_inc(x_211); +lean_inc(x_210); +lean_dec(x_3); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +return x_212; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseAction(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseId(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +x_8 = lean_byte_array_size(x_6); +x_9 = lean_nat_dec_lt(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_10 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_10); +return x_2; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_7, x_11); +lean_inc(x_12); +lean_inc(x_6); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_byte_array_fget(x_6, x_7); +lean_dec(x_7); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_16 = lean_uint8_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_17); +return x_2; +} +else +{ +uint8_t x_18; +lean_dec(x_4); +x_18 = lean_nat_dec_lt(x_12, x_8); +lean_dec(x_8); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +x_19 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_19); +lean_ctor_set(x_2, 0, x_13); +return x_2; +} +else +{ +uint8_t x_20; uint8_t x_21; uint8_t x_22; +lean_free_object(x_2); +x_20 = lean_byte_array_fget(x_6, x_12); +lean_dec(x_12); +lean_dec(x_6); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_22 = lean_uint8_dec_eq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat(x_5, x_13); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_5); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete(x_13); +return x_24; +} +} +} +} +} +else +{ +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_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +x_29 = lean_byte_array_size(x_27); +x_30 = lean_nat_dec_lt(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +x_31 = l_Lean_Parsec_unexpectedEndOfInput; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_25); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_add(x_28, x_33); +lean_inc(x_34); +lean_inc(x_27); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_27); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_byte_array_fget(x_27, x_28); +lean_dec(x_28); +x_37 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1; +x_38 = lean_uint8_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_26); +x_39 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_25); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +else +{ +uint8_t x_41; +lean_dec(x_25); +x_41 = lean_nat_dec_lt(x_34, x_29); +lean_dec(x_29); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_34); +lean_dec(x_27); +lean_dec(x_26); +x_42 = l_Lean_Parsec_unexpectedEndOfInput; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +else +{ +uint8_t x_44; uint8_t x_45; uint8_t x_46; +x_44 = lean_byte_array_fget(x_27, x_34); +lean_dec(x_34); +lean_dec(x_27); +x_45 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_46 = lean_uint8_dec_eq(x_44, x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat(x_26, x_35); +return x_47; +} +else +{ +lean_object* x_48; +lean_dec(x_26); +x_48 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete(x_35); +return x_48; +} +} +} +} +} +} +else +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_2); +if (x_49 == 0) +{ +return x_2; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_2, 0); +x_51 = lean_ctor_get(x_2, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_2); +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; +} +} +} +} +static lean_object* _init_l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("condition not satisfied", 23, 23); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = l_Lean_Parsec_unexpectedEndOfInput; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_4, x_9); +lean_inc(x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_3); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_byte_array_fget(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_13 = lean_box(x_12); +x_14 = lean_apply_1(x_1, x_13); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +x_16 = l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1___closed__1; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_2); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_2, 1); +lean_dec(x_19); +x_20 = lean_ctor_get(x_2, 0); +lean_dec(x_20); +x_21 = lean_box(x_12); +lean_ctor_set(x_2, 1, x_21); +lean_ctor_set(x_2, 0, x_11); +return x_2; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_2); +x_22 = lean_box(x_12); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_11); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +} +static uint8_t _init_l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 10; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1(uint8_t x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; +x_2 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_3 = lean_uint8_dec_eq(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +} +static lean_object* _init_l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___closed__1; +lean_inc(x_2); +x_4 = l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1(x_3, x_2); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_array_push(x_1, x_6); +x_1 = x_7; +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_4); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_ctor_get(x_4, 0); +x_11 = lean_ctor_get(x_4, 1); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_dec(x_11); +lean_ctor_set_tag(x_4, 0); +lean_ctor_set(x_4, 1, x_1); +return x_4; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_4, 0); +x_16 = lean_ctor_get(x_4, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_4); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +lean_dec(x_2); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +x_19 = lean_nat_dec_eq(x_17, x_18); +lean_dec(x_18); +lean_dec(x_17); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec(x_16); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_1); +return x_21; +} +} +} +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 99; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_2 = lean_uint8_to_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__2; +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__3; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = l_Lean_Parsec_unexpectedEndOfInput; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +uint8_t x_9; uint8_t x_10; uint8_t x_11; +x_9 = lean_byte_array_fget(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__1; +x_11 = lean_uint8_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +lean_inc(x_2); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseAction(x_2); +x_13 = !lean_is_exclusive(x_2); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_2, 1); +lean_dec(x_14); +x_15 = lean_ctor_get(x_2, 0); +lean_dec(x_15); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +x_21 = lean_byte_array_size(x_19); +x_22 = lean_nat_dec_lt(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_free_object(x_2); +lean_dec(x_1); +x_23 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 1, x_23); +return x_12; +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_20, x_24); +lean_inc(x_25); +lean_inc(x_19); +lean_ctor_set(x_2, 1, x_25); +lean_ctor_set(x_2, 0, x_19); +x_26 = lean_byte_array_fget(x_19, x_20); +lean_dec(x_20); +lean_dec(x_19); +x_27 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_28 = lean_uint8_dec_eq(x_26, x_27); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_2); +lean_dec(x_25); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_1); +x_29 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 1, x_29); +return x_12; +} +else +{ +lean_object* x_30; uint8_t x_31; +lean_dec(x_17); +x_30 = lean_array_push(x_1, x_18); +x_31 = lean_nat_dec_lt(x_25, x_21); +lean_dec(x_21); +lean_dec(x_25); +if (x_31 == 0) +{ +lean_ctor_set(x_12, 1, x_30); +lean_ctor_set(x_12, 0, x_2); +return x_12; +} +else +{ +lean_free_object(x_12); +x_1 = x_30; +goto _start; +} +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_33 = lean_ctor_get(x_12, 0); +x_34 = lean_ctor_get(x_12, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_12); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +x_37 = lean_byte_array_size(x_35); +x_38 = lean_nat_dec_lt(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_free_object(x_2); +lean_dec(x_1); +x_39 = l_Lean_Parsec_unexpectedEndOfInput; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_36, x_41); +lean_inc(x_42); +lean_inc(x_35); +lean_ctor_set(x_2, 1, x_42); +lean_ctor_set(x_2, 0, x_35); +x_43 = lean_byte_array_fget(x_35, x_36); +lean_dec(x_36); +lean_dec(x_35); +x_44 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_45 = lean_uint8_dec_eq(x_43, x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_2); +lean_dec(x_42); +lean_dec(x_37); +lean_dec(x_34); +lean_dec(x_1); +x_46 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_33); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +else +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_33); +x_48 = lean_array_push(x_1, x_34); +x_49 = lean_nat_dec_lt(x_42, x_37); +lean_dec(x_37); +lean_dec(x_42); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_2); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +else +{ +x_1 = x_48; +goto _start; +} +} +} +} +} +else +{ +uint8_t x_52; +lean_free_object(x_2); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_12); +if (x_52 == 0) +{ +return x_12; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_12, 0); +x_54 = lean_ctor_get(x_12, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_12); +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 +{ +lean_dec(x_2); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_56 = lean_ctor_get(x_12, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_12, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_58 = x_12; +} else { + lean_dec_ref(x_12); + x_58 = lean_box(0); +} +x_59 = lean_ctor_get(x_56, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +x_61 = lean_byte_array_size(x_59); +x_62 = lean_nat_dec_lt(x_60, x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_1); +x_63 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_58)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_58; + lean_ctor_set_tag(x_64, 1); +} +lean_ctor_set(x_64, 0, x_56); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_add(x_60, x_65); +lean_inc(x_66); +lean_inc(x_59); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_59); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_byte_array_fget(x_59, x_60); +lean_dec(x_60); +lean_dec(x_59); +x_69 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_70 = lean_uint8_dec_eq(x_68, x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_61); +lean_dec(x_57); +lean_dec(x_1); +x_71 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +if (lean_is_scalar(x_58)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_58; + lean_ctor_set_tag(x_72, 1); +} +lean_ctor_set(x_72, 0, x_56); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +else +{ +lean_object* x_73; uint8_t x_74; +lean_dec(x_56); +x_73 = lean_array_push(x_1, x_57); +x_74 = lean_nat_dec_lt(x_66, x_61); +lean_dec(x_61); +lean_dec(x_66); +if (x_74 == 0) +{ +lean_object* x_75; +if (lean_is_scalar(x_58)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_58; +} +lean_ctor_set(x_75, 0, x_67); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +else +{ +lean_dec(x_58); +x_1 = x_73; +x_2 = x_67; +goto _start; +} +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_1); +x_77 = lean_ctor_get(x_12, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_12, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_79 = x_12; +} else { + lean_dec_ref(x_12); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_81 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +lean_inc(x_2); +x_82 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2(x_81, x_2); +x_83 = !lean_is_exclusive(x_2); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_2, 1); +lean_dec(x_84); +x_85 = lean_ctor_get(x_2, 0); +lean_dec(x_85); +if (lean_obj_tag(x_82) == 0) +{ +uint8_t x_86; +x_86 = !lean_is_exclusive(x_82); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_82, 0); +x_88 = lean_ctor_get(x_82, 1); +lean_dec(x_88); +x_89 = lean_ctor_get(x_87, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +x_91 = lean_byte_array_size(x_89); +x_92 = lean_nat_dec_lt(x_90, x_91); +if (x_92 == 0) +{ +lean_object* x_93; +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_89); +lean_free_object(x_2); +lean_dec(x_1); +x_93 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_82, 1); +lean_ctor_set(x_82, 1, x_93); +return x_82; +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; +x_94 = lean_unsigned_to_nat(1u); +x_95 = lean_nat_add(x_90, x_94); +lean_inc(x_95); +lean_inc(x_89); +lean_ctor_set(x_2, 1, x_95); +lean_ctor_set(x_2, 0, x_89); +x_96 = lean_byte_array_fget(x_89, x_90); +lean_dec(x_90); +lean_dec(x_89); +x_97 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_98 = lean_uint8_dec_eq(x_96, x_97); +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec(x_2); +lean_dec(x_95); +lean_dec(x_91); +lean_dec(x_1); +x_99 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +lean_ctor_set_tag(x_82, 1); +lean_ctor_set(x_82, 1, x_99); +return x_82; +} +else +{ +uint8_t x_100; +lean_dec(x_87); +x_100 = lean_nat_dec_lt(x_95, x_91); +lean_dec(x_91); +lean_dec(x_95); +if (x_100 == 0) +{ +lean_ctor_set(x_82, 1, x_1); +lean_ctor_set(x_82, 0, x_2); +return x_82; +} +else +{ +lean_free_object(x_82); +goto _start; +} +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_102 = lean_ctor_get(x_82, 0); +lean_inc(x_102); +lean_dec(x_82); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +x_105 = lean_byte_array_size(x_103); +x_106 = lean_nat_dec_lt(x_104, x_105); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_free_object(x_2); +lean_dec(x_1); +x_107 = l_Lean_Parsec_unexpectedEndOfInput; +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_102); +lean_ctor_set(x_108, 1, x_107); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; +x_109 = lean_unsigned_to_nat(1u); +x_110 = lean_nat_add(x_104, x_109); +lean_inc(x_110); +lean_inc(x_103); +lean_ctor_set(x_2, 1, x_110); +lean_ctor_set(x_2, 0, x_103); +x_111 = lean_byte_array_fget(x_103, x_104); +lean_dec(x_104); +lean_dec(x_103); +x_112 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_113 = lean_uint8_dec_eq(x_111, x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_2); +lean_dec(x_110); +lean_dec(x_105); +lean_dec(x_1); +x_114 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_102); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +else +{ +uint8_t x_116; +lean_dec(x_102); +x_116 = lean_nat_dec_lt(x_110, x_105); +lean_dec(x_105); +lean_dec(x_110); +if (x_116 == 0) +{ +lean_object* x_117; +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_2); +lean_ctor_set(x_117, 1, x_1); +return x_117; +} +else +{ +goto _start; +} +} +} +} +} +else +{ +uint8_t x_119; +lean_free_object(x_2); +lean_dec(x_1); +x_119 = !lean_is_exclusive(x_82); +if (x_119 == 0) +{ +return x_82; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_82, 0); +x_121 = lean_ctor_get(x_82, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_82); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +} +else +{ +lean_dec(x_2); +if (lean_obj_tag(x_82) == 0) +{ +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_82, 0); +lean_inc(x_123); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_124 = x_82; +} else { + lean_dec_ref(x_82); + x_124 = lean_box(0); +} +x_125 = lean_ctor_get(x_123, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +x_127 = lean_byte_array_size(x_125); +x_128 = lean_nat_dec_lt(x_126, x_127); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_1); +x_129 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_124)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_124; + lean_ctor_set_tag(x_130, 1); +} +lean_ctor_set(x_130, 0, x_123); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; uint8_t x_135; uint8_t x_136; +x_131 = lean_unsigned_to_nat(1u); +x_132 = lean_nat_add(x_126, x_131); +lean_inc(x_132); +lean_inc(x_125); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_125); +lean_ctor_set(x_133, 1, x_132); +x_134 = lean_byte_array_fget(x_125, x_126); +lean_dec(x_126); +lean_dec(x_125); +x_135 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1; +x_136 = lean_uint8_dec_eq(x_134, x_135); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_127); +lean_dec(x_1); +x_137 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5; +if (lean_is_scalar(x_124)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_124; + lean_ctor_set_tag(x_138, 1); +} +lean_ctor_set(x_138, 0, x_123); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +else +{ +uint8_t x_139; +lean_dec(x_123); +x_139 = lean_nat_dec_lt(x_132, x_127); +lean_dec(x_127); +lean_dec(x_132); +if (x_139 == 0) +{ +lean_object* x_140; +if (lean_is_scalar(x_124)) { + x_140 = lean_alloc_ctor(0, 2, 0); +} else { + x_140 = x_124; +} +lean_ctor_set(x_140, 0, x_133); +lean_ctor_set(x_140, 1, x_1); +return x_140; +} +else +{ +lean_dec(x_124); +x_2 = x_133; +goto _start; +} +} +} +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_1); +x_142 = lean_ctor_get(x_82, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_82, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_144 = x_82; +} else { + lean_dec_ref(x_82); + x_144 = lean_box(0); +} +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l___private_Init_Data_Repr_0__Nat_reprFast(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_2 = 0; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +x_7 = l_Lean_Parsec_unexpectedEndOfInput; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_4, x_9); +lean_inc(x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_3); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_byte_array_fget(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_13 = lean_uint8_dec_eq(x_12, x_2); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_1); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_1, 1); +lean_dec(x_17); +x_18 = lean_ctor_get(x_1, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_1, 1, x_19); +lean_ctor_set(x_1, 0, x_11); +return x_1; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Invalid zero byte in literal", 28, 28); +return x_1; +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; +x_1 = 15; +x_2 = lean_uint8_complement(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Excessive literal", 17, 17); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go(uint64_t x_1, uint64_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +x_6 = lean_byte_array_size(x_4); +x_7 = lean_nat_dec_lt(x_5, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); +x_8 = l_Lean_Parsec_unexpectedEndOfInput; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint64_t x_45; uint8_t x_46; +x_11 = lean_ctor_get(x_3, 1); +lean_dec(x_11); +x_12 = lean_ctor_get(x_3, 0); +lean_dec(x_12); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_inc(x_4); +lean_ctor_set(x_3, 1, x_14); +x_15 = lean_byte_array_fget(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_45 = 28; +x_46 = lean_uint64_dec_eq(x_2, x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_box(0); +x_16 = x_47; +goto block_44; +} +else +{ +uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; +x_48 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__2; +x_49 = lean_uint8_land(x_15, x_48); +x_50 = 0; +x_51 = lean_uint8_dec_eq(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +x_52 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_3); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +else +{ +lean_object* x_54; +x_54 = lean_box(0); +x_16 = x_54; +goto block_44; +} +} +block_44: +{ +uint8_t x_17; uint8_t x_18; +lean_dec(x_16); +x_17 = 0; +x_18 = lean_uint8_dec_eq(x_15, x_17); +if (x_18 == 0) +{ +uint8_t x_19; uint8_t x_20; uint64_t x_21; uint64_t x_22; uint64_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; +x_19 = 127; +x_20 = lean_uint8_land(x_15, x_19); +x_21 = lean_uint8_to_uint64(x_20); +x_22 = lean_uint64_shift_left(x_21, x_2); +x_23 = lean_uint64_lor(x_1, x_22); +x_24 = 128; +x_25 = lean_uint8_land(x_15, x_24); +x_26 = lean_uint8_dec_eq(x_25, x_17); +if (x_26 == 0) +{ +uint64_t x_27; uint64_t x_28; +x_27 = 7; +x_28 = lean_uint64_add(x_2, x_27); +x_1 = x_23; +x_2 = x_28; +goto _start; +} +else +{ +uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint8_t x_34; +x_30 = 1; +x_31 = lean_uint64_shift_right(x_23, x_30); +x_32 = lean_uint64_land(x_30, x_23); +x_33 = 0; +x_34 = lean_uint64_dec_eq(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_uint64_to_nat(x_31); +x_36 = lean_nat_to_int(x_35); +x_37 = lean_int_neg(x_36); +lean_dec(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_3); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_uint64_to_nat(x_31); +x_40 = lean_nat_to_int(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_3); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_3); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; uint64_t x_88; uint8_t x_89; +lean_dec(x_3); +x_55 = lean_unsigned_to_nat(1u); +x_56 = lean_nat_add(x_5, x_55); +lean_inc(x_4); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_4); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_byte_array_fget(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_88 = 28; +x_89 = lean_uint64_dec_eq(x_2, x_88); +if (x_89 == 0) +{ +lean_object* x_90; +x_90 = lean_box(0); +x_59 = x_90; +goto block_87; +} +else +{ +uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; +x_91 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__2; +x_92 = lean_uint8_land(x_58, x_91); +x_93 = 0; +x_94 = lean_uint8_dec_eq(x_92, x_93); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; +x_95 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_57); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +else +{ +lean_object* x_97; +x_97 = lean_box(0); +x_59 = x_97; +goto block_87; +} +} +block_87: +{ +uint8_t x_60; uint8_t x_61; +lean_dec(x_59); +x_60 = 0; +x_61 = lean_uint8_dec_eq(x_58, x_60); +if (x_61 == 0) +{ +uint8_t x_62; uint8_t x_63; uint64_t x_64; uint64_t x_65; uint64_t x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; +x_62 = 127; +x_63 = lean_uint8_land(x_58, x_62); +x_64 = lean_uint8_to_uint64(x_63); +x_65 = lean_uint64_shift_left(x_64, x_2); +x_66 = lean_uint64_lor(x_1, x_65); +x_67 = 128; +x_68 = lean_uint8_land(x_58, x_67); +x_69 = lean_uint8_dec_eq(x_68, x_60); +if (x_69 == 0) +{ +uint64_t x_70; uint64_t x_71; +x_70 = 7; +x_71 = lean_uint64_add(x_2, x_70); +x_1 = x_66; +x_2 = x_71; +x_3 = x_57; +goto _start; +} +else +{ +uint64_t x_73; uint64_t x_74; uint64_t x_75; uint64_t x_76; uint8_t x_77; +x_73 = 1; +x_74 = lean_uint64_shift_right(x_66, x_73); +x_75 = lean_uint64_land(x_73, x_66); +x_76 = 0; +x_77 = lean_uint64_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_uint64_to_nat(x_74); +x_79 = lean_nat_to_int(x_78); +x_80 = lean_int_neg(x_79); +lean_dec(x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_57); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_uint64_to_nat(x_74); +x_83 = lean_nat_to_int(x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_57); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_57); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint64_t x_4; uint64_t x_5; lean_object* x_6; +x_4 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_5 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = 0; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go(x_2, x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("parsed non negative lit where negative was expected", 51, 51); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 1); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_6 = lean_int_dec_lt(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_7); +return x_2; +} +else +{ +lean_object* x_8; +x_8 = lean_nat_abs(x_4); +lean_dec(x_4); +lean_ctor_set(x_2, 1, x_8); +return x_2; +} +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_2); +x_11 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_12 = lean_int_dec_lt(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_nat_abs(x_10); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_2); +if (x_17 == 0) +{ +return x_2; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_2, 0); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_2); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("parsed non positive lit where positive was expected", 51, 51); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 1); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_6 = lean_int_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_7); +return x_2; +} +else +{ +lean_object* x_8; +x_8 = lean_nat_abs(x_4); +lean_dec(x_4); +lean_ctor_set(x_2, 1, x_8); +return x_2; +} +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_2); +x_11 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_12 = lean_int_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_nat_abs(x_10); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_2); +if (x_17 == 0) +{ +return x_2; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_2, 0); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_2); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseId(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 1); +x_5 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_6 = lean_int_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_7); +return x_2; +} +else +{ +lean_object* x_8; +x_8 = lean_nat_abs(x_4); +lean_dec(x_4); +lean_ctor_set(x_2, 1, x_8); +return x_2; +} +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_2); +x_11 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_12 = lean_int_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_nat_abs(x_10); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_2); +if (x_17 == 0) +{ +return x_2; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_2, 0); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_2); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +x_6 = lean_byte_array_size(x_4); +x_7 = lean_nat_dec_lt(x_5, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = l_Lean_Parsec_unexpectedEndOfInput; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +uint8_t x_10; uint8_t x_11; uint8_t x_12; +x_10 = lean_byte_array_fget(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_11 = 0; +x_12 = lean_uint8_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_inc(x_1); +x_13 = lean_apply_1(x_1, x_3); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_array_push(x_2, x_15); +x_2 = x_16; +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_18; +lean_dec(x_2); +lean_dec(x_1); +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; +} +} +} +else +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_3); +lean_ctor_set(x_22, 1, x_2); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___rarg(x_1, x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +x_6 = lean_byte_array_size(x_4); +x_7 = lean_nat_dec_lt(x_5, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = l_Lean_Parsec_unexpectedEndOfInput; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; +x_10 = lean_byte_array_fget(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_11 = 1; +x_12 = lean_uint8_land(x_11, x_10); +x_13 = 0; +x_14 = lean_uint8_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_2); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = lean_uint8_dec_eq(x_10, x_13); +if (x_16 == 0) +{ +lean_object* x_17; +lean_inc(x_1); +x_17 = lean_apply_1(x_1, x_3); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_array_push(x_2, x_19); +x_2 = x_20; +x_3 = x_18; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +return x_17; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_17, 0); +x_24 = lean_ctor_get(x_17, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_17); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +else +{ +lean_object* x_26; +lean_dec(x_1); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_3); +lean_ctor_set(x_26, 1, x_2); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___rarg(x_1, x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = l_Lean_Parsec_unexpectedEndOfInput; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; +x_9 = lean_byte_array_fget(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_10 = 1; +x_11 = lean_uint8_land(x_10, x_9); +x_12 = 0; +x_13 = lean_uint8_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_1); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = lean_uint8_dec_eq(x_9, x_12); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_2); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_21 = lean_int_dec_lt(x_20, x_19); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_19); +lean_dec(x_1); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +lean_ctor_set_tag(x_16, 1); +lean_ctor_set(x_16, 1, x_22); +return x_16; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_free_object(x_16); +x_23 = lean_nat_abs(x_19); +lean_dec(x_19); +x_24 = lean_array_push(x_1, x_23); +x_1 = x_24; +x_2 = x_18; +goto _start; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_16, 0); +x_27 = lean_ctor_get(x_16, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_16); +x_28 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_29 = lean_int_dec_lt(x_28, x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_27); +lean_dec(x_1); +x_30 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_nat_abs(x_27); +lean_dec(x_27); +x_33 = lean_array_push(x_1, x_32); +x_1 = x_33; +x_2 = x_26; +goto _start; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_16); +if (x_35 == 0) +{ +return x_16; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_16, 0); +x_37 = lean_ctor_get(x_16, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_16); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +lean_object* x_39; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_2); +lean_ctor_set(x_39, 1, x_1); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__2(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = l_Lean_Parsec_unexpectedEndOfInput; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +uint8_t x_9; uint8_t x_10; uint8_t x_11; +x_9 = lean_byte_array_fget(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_10 = 0; +x_11 = lean_uint8_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_2); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_array_push(x_1, x_14); +x_1 = x_15; +x_2 = x_13; +goto _start; +} +else +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +lean_object* x_21; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_2); +lean_ctor_set(x_21, 1, x_1); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__2(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRes(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_7 = lean_int_dec_lt(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_5); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_8); +return x_2; +} +else +{ +lean_object* x_9; lean_object* x_10; +lean_free_object(x_2); +x_9 = lean_nat_abs(x_5); +lean_dec(x_5); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_4); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_10, 1, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +lean_dec(x_9); +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +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; +} +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_2, 0); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_2); +x_24 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_25 = lean_int_dec_lt(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_23); +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_nat_abs(x_23); +lean_dec(x_23); +x_29 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_22); +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; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_31); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_32; +} +lean_ctor_set(x_34, 0, x_30); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_28); +x_35 = lean_ctor_get(x_29, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_37 = x_29; +} else { + lean_dec_ref(x_29); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(1, 2, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +} +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_2); +if (x_39 == 0) +{ +return x_2; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_2, 0); +x_41 = lean_ctor_get(x_2, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_2); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_byte_array_size(x_3); +x_6 = lean_nat_dec_lt(x_4, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = l_Lean_Parsec_unexpectedEndOfInput; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +uint8_t x_9; uint8_t x_10; uint8_t x_11; +x_9 = lean_byte_array_fget(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_10 = 0; +x_11 = lean_uint8_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRes(x_2); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_array_push(x_1, x_14); +x_1 = x_15; +x_2 = x_13; +goto _start; +} +else +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +lean_object* x_21; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_2); +lean_ctor_set(x_21, 1, x_1); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero_go___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__2(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseAdd(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_7 = lean_int_dec_lt(x_6, x_5); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_5); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_8); +return x_2; +} +else +{ +lean_object* x_9; lean_object* x_10; +lean_free_object(x_2); +x_9 = lean_nat_abs(x_5); +lean_dec(x_5); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__1(x_4); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = 0; +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +x_17 = lean_byte_array_size(x_15); +x_18 = lean_nat_dec_lt(x_16, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_9); +x_19 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 1, x_19); +return x_10; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_16, x_20); +lean_inc(x_15); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_byte_array_fget(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +x_24 = lean_uint8_dec_eq(x_23, x_14); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_22); +lean_dec(x_13); +lean_dec(x_9); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 1, x_25); +return x_10; +} +else +{ +uint8_t x_26; +lean_free_object(x_10); +x_26 = !lean_is_exclusive(x_12); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_12, 1); +lean_dec(x_27); +x_28 = lean_ctor_get(x_12, 0); +lean_dec(x_28); +x_29 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_22); +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); +x_32 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(x_30); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_ctor_get(x_32, 1); +x_36 = lean_ctor_get(x_34, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +x_38 = lean_byte_array_size(x_36); +x_39 = lean_nat_dec_lt(x_37, x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_31); +lean_free_object(x_12); +lean_dec(x_13); +lean_dec(x_9); +x_40 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 1, x_40); +return x_32; +} +else +{ +lean_object* x_41; uint8_t x_42; uint8_t x_43; +x_41 = lean_nat_add(x_37, x_20); +lean_inc(x_36); +lean_ctor_set(x_12, 1, x_41); +lean_ctor_set(x_12, 0, x_36); +x_42 = lean_byte_array_fget(x_36, x_37); +lean_dec(x_37); +lean_dec(x_36); +x_43 = lean_uint8_dec_eq(x_42, x_14); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_12); +lean_dec(x_35); +lean_dec(x_31); +lean_dec(x_13); +lean_dec(x_9); +x_44 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 1, x_44); +return x_32; +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_34); +if (x_45 == 0) +{ +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_46 = lean_ctor_get(x_34, 1); +lean_dec(x_46); +x_47 = lean_ctor_get(x_34, 0); +lean_dec(x_47); +x_48 = lean_array_get_size(x_13); +x_49 = lean_array_get_size(x_35); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_nat_dec_eq(x_48, x_50); +lean_dec(x_48); +if (x_51 == 0) +{ +uint8_t x_52; +lean_free_object(x_34); +x_52 = lean_nat_dec_eq(x_49, x_50); +lean_dec(x_49); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +x_53 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_13); +x_54 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_54, 0, x_9); +lean_ctor_set(x_54, 1, x_13); +lean_ctor_set(x_54, 2, x_53); +lean_ctor_set(x_54, 3, x_31); +lean_ctor_set(x_54, 4, x_35); +lean_ctor_set(x_32, 1, x_54); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +else +{ +lean_object* x_55; +lean_dec(x_35); +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_9); +lean_ctor_set(x_55, 1, x_13); +lean_ctor_set(x_55, 2, x_31); +lean_ctor_set(x_32, 1, x_55); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +} +else +{ +uint8_t x_56; +lean_dec(x_35); +lean_dec(x_13); +x_56 = lean_nat_dec_eq(x_49, x_50); +lean_dec(x_49); +if (x_56 == 0) +{ +lean_object* x_57; +lean_free_object(x_34); +lean_dec(x_31); +lean_dec(x_9); +x_57 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 1, x_57); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +else +{ +lean_ctor_set(x_34, 1, x_31); +lean_ctor_set(x_34, 0, x_9); +lean_ctor_set(x_32, 1, x_34); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +lean_dec(x_34); +x_58 = lean_array_get_size(x_13); +x_59 = lean_array_get_size(x_35); +x_60 = lean_unsigned_to_nat(0u); +x_61 = lean_nat_dec_eq(x_58, x_60); +lean_dec(x_58); +if (x_61 == 0) +{ +uint8_t x_62; +x_62 = lean_nat_dec_eq(x_59, x_60); +lean_dec(x_59); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_13); +x_64 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_64, 0, x_9); +lean_ctor_set(x_64, 1, x_13); +lean_ctor_set(x_64, 2, x_63); +lean_ctor_set(x_64, 3, x_31); +lean_ctor_set(x_64, 4, x_35); +lean_ctor_set(x_32, 1, x_64); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +else +{ +lean_object* x_65; +lean_dec(x_35); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_9); +lean_ctor_set(x_65, 1, x_13); +lean_ctor_set(x_65, 2, x_31); +lean_ctor_set(x_32, 1, x_65); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +} +else +{ +uint8_t x_66; +lean_dec(x_35); +lean_dec(x_13); +x_66 = lean_nat_dec_eq(x_59, x_60); +lean_dec(x_59); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_31); +lean_dec(x_9); +x_67 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 1, x_67); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +else +{ +lean_object* x_68; +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_9); +lean_ctor_set(x_68, 1, x_31); +lean_ctor_set(x_32, 1, x_68); +lean_ctor_set(x_32, 0, x_12); +return x_32; +} +} +} +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_69 = lean_ctor_get(x_32, 0); +x_70 = lean_ctor_get(x_32, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_32); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_69, 1); +lean_inc(x_72); +x_73 = lean_byte_array_size(x_71); +x_74 = lean_nat_dec_lt(x_72, x_73); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_70); +lean_dec(x_31); +lean_free_object(x_12); +lean_dec(x_13); +lean_dec(x_9); +x_75 = l_Lean_Parsec_unexpectedEndOfInput; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_69); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +else +{ +lean_object* x_77; uint8_t x_78; uint8_t x_79; +x_77 = lean_nat_add(x_72, x_20); +lean_inc(x_71); +lean_ctor_set(x_12, 1, x_77); +lean_ctor_set(x_12, 0, x_71); +x_78 = lean_byte_array_fget(x_71, x_72); +lean_dec(x_72); +lean_dec(x_71); +x_79 = lean_uint8_dec_eq(x_78, x_14); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_12); +lean_dec(x_70); +lean_dec(x_31); +lean_dec(x_13); +lean_dec(x_9); +x_80 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_69); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_82 = x_69; +} else { + lean_dec_ref(x_69); + x_82 = lean_box(0); +} +x_83 = lean_array_get_size(x_13); +x_84 = lean_array_get_size(x_70); +x_85 = lean_unsigned_to_nat(0u); +x_86 = lean_nat_dec_eq(x_83, x_85); +lean_dec(x_83); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_82); +x_87 = lean_nat_dec_eq(x_84, x_85); +lean_dec(x_84); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_13); +x_89 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_89, 0, x_9); +lean_ctor_set(x_89, 1, x_13); +lean_ctor_set(x_89, 2, x_88); +lean_ctor_set(x_89, 3, x_31); +lean_ctor_set(x_89, 4, x_70); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_12); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; +lean_dec(x_70); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_9); +lean_ctor_set(x_91, 1, x_13); +lean_ctor_set(x_91, 2, x_31); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_12); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +else +{ +uint8_t x_93; +lean_dec(x_70); +lean_dec(x_13); +x_93 = lean_nat_dec_eq(x_84, x_85); +lean_dec(x_84); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_82); +lean_dec(x_31); +lean_dec(x_9); +x_94 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_12); +lean_ctor_set(x_95, 1, x_94); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; +if (lean_is_scalar(x_82)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_82; +} +lean_ctor_set(x_96, 0, x_9); +lean_ctor_set(x_96, 1, x_31); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_12); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +} +} +else +{ +uint8_t x_98; +lean_dec(x_31); +lean_free_object(x_12); +lean_dec(x_13); +lean_dec(x_9); +x_98 = !lean_is_exclusive(x_32); +if (x_98 == 0) +{ +return x_32; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_32, 0); +x_100 = lean_ctor_get(x_32, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_32); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +else +{ +uint8_t x_102; +lean_free_object(x_12); +lean_dec(x_13); +lean_dec(x_9); +x_102 = !lean_is_exclusive(x_29); +if (x_102 == 0) +{ +return x_29; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_29, 0); +x_104 = lean_ctor_get(x_29, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_29); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +} +else +{ +lean_object* x_106; +lean_dec(x_12); +x_106 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_22); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +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_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(x_107); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_112 = x_109; +} else { + lean_dec_ref(x_109); + x_112 = lean_box(0); +} +x_113 = lean_ctor_get(x_110, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_110, 1); +lean_inc(x_114); +x_115 = lean_byte_array_size(x_113); +x_116 = lean_nat_dec_lt(x_114, x_115); +lean_dec(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_114); +lean_dec(x_113); +lean_dec(x_111); +lean_dec(x_108); +lean_dec(x_13); +lean_dec(x_9); +x_117 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_112)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_112; + lean_ctor_set_tag(x_118, 1); +} +lean_ctor_set(x_118, 0, x_110); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; uint8_t x_121; uint8_t x_122; +x_119 = lean_nat_add(x_114, x_20); +lean_inc(x_113); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_113); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_byte_array_fget(x_113, x_114); +lean_dec(x_114); +lean_dec(x_113); +x_122 = lean_uint8_dec_eq(x_121, x_14); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_120); +lean_dec(x_111); +lean_dec(x_108); +lean_dec(x_13); +lean_dec(x_9); +x_123 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +if (lean_is_scalar(x_112)) { + x_124 = lean_alloc_ctor(1, 2, 0); +} else { + x_124 = x_112; + lean_ctor_set_tag(x_124, 1); +} +lean_ctor_set(x_124, 0, x_110); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_125 = x_110; +} else { + lean_dec_ref(x_110); + x_125 = lean_box(0); +} +x_126 = lean_array_get_size(x_13); +x_127 = lean_array_get_size(x_111); +x_128 = lean_unsigned_to_nat(0u); +x_129 = lean_nat_dec_eq(x_126, x_128); +lean_dec(x_126); +if (x_129 == 0) +{ +uint8_t x_130; +lean_dec(x_125); +x_130 = lean_nat_dec_eq(x_127, x_128); +lean_dec(x_127); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_13); +x_132 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_132, 0, x_9); +lean_ctor_set(x_132, 1, x_13); +lean_ctor_set(x_132, 2, x_131); +lean_ctor_set(x_132, 3, x_108); +lean_ctor_set(x_132, 4, x_111); +if (lean_is_scalar(x_112)) { + x_133 = lean_alloc_ctor(0, 2, 0); +} else { + x_133 = x_112; +} +lean_ctor_set(x_133, 0, x_120); +lean_ctor_set(x_133, 1, x_132); +return x_133; +} +else +{ +lean_object* x_134; lean_object* x_135; +lean_dec(x_111); +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_9); +lean_ctor_set(x_134, 1, x_13); +lean_ctor_set(x_134, 2, x_108); +if (lean_is_scalar(x_112)) { + x_135 = lean_alloc_ctor(0, 2, 0); +} else { + x_135 = x_112; +} +lean_ctor_set(x_135, 0, x_120); +lean_ctor_set(x_135, 1, x_134); +return x_135; +} +} +else +{ +uint8_t x_136; +lean_dec(x_111); +lean_dec(x_13); +x_136 = lean_nat_dec_eq(x_127, x_128); +lean_dec(x_127); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_125); +lean_dec(x_108); +lean_dec(x_9); +x_137 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +if (lean_is_scalar(x_112)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_112; + lean_ctor_set_tag(x_138, 1); +} +lean_ctor_set(x_138, 0, x_120); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +else +{ +lean_object* x_139; lean_object* x_140; +if (lean_is_scalar(x_125)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_125; +} +lean_ctor_set(x_139, 0, x_9); +lean_ctor_set(x_139, 1, x_108); +if (lean_is_scalar(x_112)) { + x_140 = lean_alloc_ctor(0, 2, 0); +} else { + x_140 = x_112; +} +lean_ctor_set(x_140, 0, x_120); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +} +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_108); +lean_dec(x_13); +lean_dec(x_9); +x_141 = lean_ctor_get(x_109, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_109, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_143 = x_109; +} else { + lean_dec_ref(x_109); + x_143 = lean_box(0); +} +if (lean_is_scalar(x_143)) { + x_144 = lean_alloc_ctor(1, 2, 0); +} else { + x_144 = x_143; +} +lean_ctor_set(x_144, 0, x_141); +lean_ctor_set(x_144, 1, x_142); +return x_144; +} +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_13); +lean_dec(x_9); +x_145 = lean_ctor_get(x_106, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_106, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_147 = x_106; +} else { + lean_dec_ref(x_106); + 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; uint8_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +x_149 = lean_ctor_get(x_10, 0); +x_150 = lean_ctor_get(x_10, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_10); +x_151 = 0; +x_152 = lean_ctor_get(x_149, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_149, 1); +lean_inc(x_153); +x_154 = lean_byte_array_size(x_152); +x_155 = lean_nat_dec_lt(x_153, x_154); +lean_dec(x_154); +if (x_155 == 0) +{ +lean_object* x_156; lean_object* x_157; +lean_dec(x_153); +lean_dec(x_152); +lean_dec(x_150); +lean_dec(x_9); +x_156 = l_Lean_Parsec_unexpectedEndOfInput; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_149); +lean_ctor_set(x_157, 1, x_156); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; uint8_t x_162; +x_158 = lean_unsigned_to_nat(1u); +x_159 = lean_nat_add(x_153, x_158); +lean_inc(x_152); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_152); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_byte_array_fget(x_152, x_153); +lean_dec(x_153); +lean_dec(x_152); +x_162 = lean_uint8_dec_eq(x_161, x_151); +if (x_162 == 0) +{ +lean_object* x_163; lean_object* x_164; +lean_dec(x_160); +lean_dec(x_150); +lean_dec(x_9); +x_163 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_149); +lean_ctor_set(x_164, 1, x_163); +return x_164; +} +else +{ +lean_object* x_165; lean_object* x_166; +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_165 = x_149; +} else { + lean_dec_ref(x_149); + x_165 = lean_box(0); +} +x_166 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_160); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); +lean_inc(x_168); +lean_dec(x_166); +x_169 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(x_167); +if (lean_obj_tag(x_169) == 0) +{ +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; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_172 = x_169; +} else { + lean_dec_ref(x_169); + x_172 = lean_box(0); +} +x_173 = lean_ctor_get(x_170, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_170, 1); +lean_inc(x_174); +x_175 = lean_byte_array_size(x_173); +x_176 = lean_nat_dec_lt(x_174, x_175); +lean_dec(x_175); +if (x_176 == 0) +{ +lean_object* x_177; lean_object* x_178; +lean_dec(x_174); +lean_dec(x_173); +lean_dec(x_171); +lean_dec(x_168); +lean_dec(x_165); +lean_dec(x_150); +lean_dec(x_9); +x_177 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_172)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_172; + lean_ctor_set_tag(x_178, 1); +} +lean_ctor_set(x_178, 0, x_170); +lean_ctor_set(x_178, 1, x_177); +return x_178; +} +else +{ +lean_object* x_179; lean_object* x_180; uint8_t x_181; uint8_t x_182; +x_179 = lean_nat_add(x_174, x_158); +lean_inc(x_173); +if (lean_is_scalar(x_165)) { + x_180 = lean_alloc_ctor(0, 2, 0); +} else { + x_180 = x_165; +} +lean_ctor_set(x_180, 0, x_173); +lean_ctor_set(x_180, 1, x_179); +x_181 = lean_byte_array_fget(x_173, x_174); +lean_dec(x_174); +lean_dec(x_173); +x_182 = lean_uint8_dec_eq(x_181, x_151); +if (x_182 == 0) +{ +lean_object* x_183; lean_object* x_184; +lean_dec(x_180); +lean_dec(x_171); +lean_dec(x_168); +lean_dec(x_150); +lean_dec(x_9); +x_183 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +if (lean_is_scalar(x_172)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_172; + lean_ctor_set_tag(x_184, 1); +} +lean_ctor_set(x_184, 0, x_170); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_185 = x_170; +} else { + lean_dec_ref(x_170); + x_185 = lean_box(0); +} +x_186 = lean_array_get_size(x_150); +x_187 = lean_array_get_size(x_171); +x_188 = lean_unsigned_to_nat(0u); +x_189 = lean_nat_dec_eq(x_186, x_188); +lean_dec(x_186); +if (x_189 == 0) +{ +uint8_t x_190; +lean_dec(x_185); +x_190 = lean_nat_dec_eq(x_187, x_188); +lean_dec(x_187); +if (x_190 == 0) +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_150); +x_192 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_192, 0, x_9); +lean_ctor_set(x_192, 1, x_150); +lean_ctor_set(x_192, 2, x_191); +lean_ctor_set(x_192, 3, x_168); +lean_ctor_set(x_192, 4, x_171); +if (lean_is_scalar(x_172)) { + x_193 = lean_alloc_ctor(0, 2, 0); +} else { + x_193 = x_172; +} +lean_ctor_set(x_193, 0, x_180); +lean_ctor_set(x_193, 1, x_192); +return x_193; +} +else +{ +lean_object* x_194; lean_object* x_195; +lean_dec(x_171); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_9); +lean_ctor_set(x_194, 1, x_150); +lean_ctor_set(x_194, 2, x_168); +if (lean_is_scalar(x_172)) { + x_195 = lean_alloc_ctor(0, 2, 0); +} else { + x_195 = x_172; +} +lean_ctor_set(x_195, 0, x_180); +lean_ctor_set(x_195, 1, x_194); +return x_195; +} +} +else +{ +uint8_t x_196; +lean_dec(x_171); +lean_dec(x_150); +x_196 = lean_nat_dec_eq(x_187, x_188); +lean_dec(x_187); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_185); +lean_dec(x_168); +lean_dec(x_9); +x_197 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +if (lean_is_scalar(x_172)) { + x_198 = lean_alloc_ctor(1, 2, 0); +} else { + x_198 = x_172; + lean_ctor_set_tag(x_198, 1); +} +lean_ctor_set(x_198, 0, x_180); +lean_ctor_set(x_198, 1, x_197); +return x_198; +} +else +{ +lean_object* x_199; lean_object* x_200; +if (lean_is_scalar(x_185)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_185; +} +lean_ctor_set(x_199, 0, x_9); +lean_ctor_set(x_199, 1, x_168); +if (lean_is_scalar(x_172)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_172; +} +lean_ctor_set(x_200, 0, x_180); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_dec(x_168); +lean_dec(x_165); +lean_dec(x_150); +lean_dec(x_9); +x_201 = lean_ctor_get(x_169, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_169, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_203 = x_169; +} else { + lean_dec_ref(x_169); + x_203 = lean_box(0); +} +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(1, 2, 0); +} else { + x_204 = x_203; +} +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +return x_204; +} +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_165); +lean_dec(x_150); +lean_dec(x_9); +x_205 = lean_ctor_get(x_166, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_166, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_207 = x_166; +} else { + lean_dec_ref(x_166); + x_207 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_208 = lean_alloc_ctor(1, 2, 0); +} else { + x_208 = x_207; +} +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_206); +return x_208; +} +} +} +} +} +else +{ +uint8_t x_209; +lean_dec(x_9); +x_209 = !lean_is_exclusive(x_10); +if (x_209 == 0) +{ +return x_10; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_10, 0); +x_211 = lean_ctor_get(x_10, 1); +lean_inc(x_211); +lean_inc(x_210); +lean_dec(x_10); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +return x_212; +} +} +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; +x_213 = lean_ctor_get(x_2, 0); +x_214 = lean_ctor_get(x_2, 1); +lean_inc(x_214); +lean_inc(x_213); +lean_dec(x_2); +x_215 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_216 = lean_int_dec_lt(x_215, x_214); +if (x_216 == 0) +{ +lean_object* x_217; lean_object* x_218; +lean_dec(x_214); +x_217 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1; +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_213); +lean_ctor_set(x_218, 1, x_217); +return x_218; +} +else +{ +lean_object* x_219; lean_object* x_220; +x_219 = lean_nat_abs(x_214); +lean_dec(x_214); +x_220 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseClause___spec__1(x_213); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_223 = x_220; +} else { + lean_dec_ref(x_220); + x_223 = lean_box(0); +} +x_224 = 0; +x_225 = lean_ctor_get(x_221, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_221, 1); +lean_inc(x_226); +x_227 = lean_byte_array_size(x_225); +x_228 = lean_nat_dec_lt(x_226, x_227); +lean_dec(x_227); +if (x_228 == 0) +{ +lean_object* x_229; lean_object* x_230; +lean_dec(x_226); +lean_dec(x_225); +lean_dec(x_222); +lean_dec(x_219); +x_229 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_223)) { + x_230 = lean_alloc_ctor(1, 2, 0); +} else { + x_230 = x_223; + lean_ctor_set_tag(x_230, 1); +} +lean_ctor_set(x_230, 0, x_221); +lean_ctor_set(x_230, 1, x_229); +return x_230; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; uint8_t x_235; +x_231 = lean_unsigned_to_nat(1u); +x_232 = lean_nat_add(x_226, x_231); +lean_inc(x_225); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_225); +lean_ctor_set(x_233, 1, x_232); +x_234 = lean_byte_array_fget(x_225, x_226); +lean_dec(x_226); +lean_dec(x_225); +x_235 = lean_uint8_dec_eq(x_234, x_224); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; +lean_dec(x_233); +lean_dec(x_222); +lean_dec(x_219); +x_236 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +if (lean_is_scalar(x_223)) { + x_237 = lean_alloc_ctor(1, 2, 0); +} else { + x_237 = x_223; + lean_ctor_set_tag(x_237, 1); +} +lean_ctor_set(x_237, 0, x_221); +lean_ctor_set(x_237, 1, x_236); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; +lean_dec(x_223); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_238 = x_221; +} else { + lean_dec_ref(x_221); + x_238 = lean_box(0); +} +x_239 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_233); +if (lean_obj_tag(x_239) == 0) +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_239, 1); +lean_inc(x_241); +lean_dec(x_239); +x_242 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseRatHints___spec__1(x_240); +if (lean_obj_tag(x_242) == 0) +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; +x_243 = lean_ctor_get(x_242, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_242, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_242)) { + lean_ctor_release(x_242, 0); + lean_ctor_release(x_242, 1); + x_245 = x_242; +} else { + lean_dec_ref(x_242); + x_245 = lean_box(0); +} +x_246 = lean_ctor_get(x_243, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_243, 1); +lean_inc(x_247); +x_248 = lean_byte_array_size(x_246); +x_249 = lean_nat_dec_lt(x_247, x_248); +lean_dec(x_248); +if (x_249 == 0) +{ +lean_object* x_250; lean_object* x_251; +lean_dec(x_247); +lean_dec(x_246); +lean_dec(x_244); +lean_dec(x_241); +lean_dec(x_238); +lean_dec(x_222); +lean_dec(x_219); +x_250 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_245)) { + x_251 = lean_alloc_ctor(1, 2, 0); +} else { + x_251 = x_245; + lean_ctor_set_tag(x_251, 1); +} +lean_ctor_set(x_251, 0, x_243); +lean_ctor_set(x_251, 1, x_250); +return x_251; +} +else +{ +lean_object* x_252; lean_object* x_253; uint8_t x_254; uint8_t x_255; +x_252 = lean_nat_add(x_247, x_231); +lean_inc(x_246); +if (lean_is_scalar(x_238)) { + x_253 = lean_alloc_ctor(0, 2, 0); +} else { + x_253 = x_238; +} +lean_ctor_set(x_253, 0, x_246); +lean_ctor_set(x_253, 1, x_252); +x_254 = lean_byte_array_fget(x_246, x_247); +lean_dec(x_247); +lean_dec(x_246); +x_255 = lean_uint8_dec_eq(x_254, x_224); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; +lean_dec(x_253); +lean_dec(x_244); +lean_dec(x_241); +lean_dec(x_222); +lean_dec(x_219); +x_256 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +if (lean_is_scalar(x_245)) { + x_257 = lean_alloc_ctor(1, 2, 0); +} else { + x_257 = x_245; + lean_ctor_set_tag(x_257, 1); +} +lean_ctor_set(x_257, 0, x_243); +lean_ctor_set(x_257, 1, x_256); +return x_257; +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; +if (lean_is_exclusive(x_243)) { + lean_ctor_release(x_243, 0); + lean_ctor_release(x_243, 1); + x_258 = x_243; +} else { + lean_dec_ref(x_243); + x_258 = lean_box(0); +} +x_259 = lean_array_get_size(x_222); +x_260 = lean_array_get_size(x_244); +x_261 = lean_unsigned_to_nat(0u); +x_262 = lean_nat_dec_eq(x_259, x_261); +lean_dec(x_259); +if (x_262 == 0) +{ +uint8_t x_263; +lean_dec(x_258); +x_263 = lean_nat_dec_eq(x_260, x_261); +lean_dec(x_260); +if (x_263 == 0) +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_264 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot(x_222); +x_265 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_265, 0, x_219); +lean_ctor_set(x_265, 1, x_222); +lean_ctor_set(x_265, 2, x_264); +lean_ctor_set(x_265, 3, x_241); +lean_ctor_set(x_265, 4, x_244); +if (lean_is_scalar(x_245)) { + x_266 = lean_alloc_ctor(0, 2, 0); +} else { + x_266 = x_245; +} +lean_ctor_set(x_266, 0, x_253); +lean_ctor_set(x_266, 1, x_265); +return x_266; +} +else +{ +lean_object* x_267; lean_object* x_268; +lean_dec(x_244); +x_267 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_267, 0, x_219); +lean_ctor_set(x_267, 1, x_222); +lean_ctor_set(x_267, 2, x_241); +if (lean_is_scalar(x_245)) { + x_268 = lean_alloc_ctor(0, 2, 0); +} else { + x_268 = x_245; +} +lean_ctor_set(x_268, 0, x_253); +lean_ctor_set(x_268, 1, x_267); +return x_268; +} +} +else +{ +uint8_t x_269; +lean_dec(x_244); +lean_dec(x_222); +x_269 = lean_nat_dec_eq(x_260, x_261); +lean_dec(x_260); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; +lean_dec(x_258); +lean_dec(x_241); +lean_dec(x_219); +x_270 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1; +if (lean_is_scalar(x_245)) { + x_271 = lean_alloc_ctor(1, 2, 0); +} else { + x_271 = x_245; + lean_ctor_set_tag(x_271, 1); +} +lean_ctor_set(x_271, 0, x_253); +lean_ctor_set(x_271, 1, x_270); +return x_271; +} +else +{ +lean_object* x_272; lean_object* x_273; +if (lean_is_scalar(x_258)) { + x_272 = lean_alloc_ctor(0, 2, 0); +} else { + x_272 = x_258; +} +lean_ctor_set(x_272, 0, x_219); +lean_ctor_set(x_272, 1, x_241); +if (lean_is_scalar(x_245)) { + x_273 = lean_alloc_ctor(0, 2, 0); +} else { + x_273 = x_245; +} +lean_ctor_set(x_273, 0, x_253); +lean_ctor_set(x_273, 1, x_272); +return x_273; +} +} +} +} +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +lean_dec(x_241); +lean_dec(x_238); +lean_dec(x_222); +lean_dec(x_219); +x_274 = lean_ctor_get(x_242, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_242, 1); +lean_inc(x_275); +if (lean_is_exclusive(x_242)) { + lean_ctor_release(x_242, 0); + lean_ctor_release(x_242, 1); + x_276 = x_242; +} else { + lean_dec_ref(x_242); + x_276 = lean_box(0); +} +if (lean_is_scalar(x_276)) { + x_277 = lean_alloc_ctor(1, 2, 0); +} else { + x_277 = x_276; +} +lean_ctor_set(x_277, 0, x_274); +lean_ctor_set(x_277, 1, x_275); +return x_277; +} +} +else +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; +lean_dec(x_238); +lean_dec(x_222); +lean_dec(x_219); +x_278 = lean_ctor_get(x_239, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_239, 1); +lean_inc(x_279); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_280 = x_239; +} else { + lean_dec_ref(x_239); + x_280 = lean_box(0); +} +if (lean_is_scalar(x_280)) { + x_281 = lean_alloc_ctor(1, 2, 0); +} else { + x_281 = x_280; +} +lean_ctor_set(x_281, 0, x_278); +lean_ctor_set(x_281, 1, x_279); +return x_281; +} +} +} +} +else +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_219); +x_282 = lean_ctor_get(x_220, 0); +lean_inc(x_282); +x_283 = lean_ctor_get(x_220, 1); +lean_inc(x_283); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_284 = x_220; +} else { + lean_dec_ref(x_220); + x_284 = lean_box(0); +} +if (lean_is_scalar(x_284)) { + x_285 = lean_alloc_ctor(1, 2, 0); +} else { + x_285 = x_284; +} +lean_ctor_set(x_285, 0, x_282); +lean_ctor_set(x_285, 1, x_283); +return x_285; +} +} +} +} +else +{ +uint8_t x_286; +x_286 = !lean_is_exclusive(x_2); +if (x_286 == 0) +{ +return x_2; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_2, 0); +x_288 = lean_ctor_get(x_2, 1); +lean_inc(x_288); +lean_inc(x_287); +lean_dec(x_2); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_287); +lean_ctor_set(x_289, 1, x_288); +return x_289; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseDelete(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_manyTillNegOrZero___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseIdList___spec__1(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = 0; +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +x_9 = lean_byte_array_size(x_7); +x_10 = lean_nat_dec_lt(x_8, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_11 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_11); +return x_2; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_8, x_12); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_byte_array_fget(x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +x_16 = lean_uint8_dec_eq(x_15, x_6); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_5); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +lean_ctor_set_tag(x_2, 1); +lean_ctor_set(x_2, 1, x_17); +return x_2; +} +else +{ +lean_object* x_18; +lean_dec(x_4); +x_18 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_18, 0, x_5); +lean_ctor_set(x_2, 1, x_18); +lean_ctor_set(x_2, 0, x_14); +return x_2; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_2); +x_21 = 0; +x_22 = lean_ctor_get(x_19, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +x_24 = lean_byte_array_size(x_22); +x_25 = lean_nat_dec_lt(x_23, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_20); +x_26 = l_Lean_Parsec_unexpectedEndOfInput; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_23, x_28); +lean_inc(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_byte_array_fget(x_22, x_23); +lean_dec(x_23); +lean_dec(x_22); +x_32 = lean_uint8_dec_eq(x_31, x_21); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_30); +lean_dec(x_20); +x_33 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_19); +x_35 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_35, 0, x_20); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_2); +if (x_37 == 0) +{ +return x_2; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_2, 0); +x_39 = lean_ctor_get(x_2, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_2); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +static uint8_t _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1() { +_start: +{ +uint32_t x_1; uint8_t x_2; +x_1 = 97; +x_2 = lean_uint32_to_uint8(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Expected a or d got: ", 21, 21); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; +x_9 = lean_ctor_get(x_1, 1); +lean_dec(x_9); +x_10 = lean_ctor_get(x_1, 0); +lean_dec(x_10); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_3, x_11); +lean_inc(x_2); +lean_ctor_set(x_1, 1, x_12); +x_13 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_15 = lean_uint8_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +uint8_t x_16; uint8_t x_17; +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_17 = lean_uint8_dec_eq(x_13, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_uint8_to_nat(x_13); +x_19 = l___private_Init_Data_Repr_0__Nat_reprFast(x_18); +x_20 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +lean_object* x_25; +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseDelete(x_1); +return x_25; +} +} +else +{ +lean_object* x_26; +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseAdd(x_1); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; +lean_dec(x_1); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_3, x_27); +lean_inc(x_2); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_31 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_32 = lean_uint8_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +uint8_t x_33; uint8_t x_34; +x_33 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_34 = lean_uint8_dec_eq(x_30, x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_35 = lean_uint8_to_nat(x_30); +x_36 = l___private_Init_Data_Repr_0__Nat_reprFast(x_35); +x_37 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2; +x_38 = lean_string_append(x_37, x_36); +lean_dec(x_36); +x_39 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_40 = lean_string_append(x_38, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_29); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +else +{ +lean_object* x_42; +x_42 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseDelete(x_29); +return x_42; +} +} +else +{ +lean_object* x_43; +x_43 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction_parseAdd(x_29); +return x_43; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_push(x_1, x_5); +x_1 = x_6; +x_2 = x_4; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_dec(x_1); +return x_3; +} +else +{ +lean_dec(x_10); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_3); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +x_18 = lean_nat_dec_eq(x_16, x_17); +lean_dec(x_17); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_15); +return x_19; +} +else +{ +lean_object* x_20; +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_1); +return x_20; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1; +x_3 = l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions___spec__1(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +x_9 = lean_byte_array_size(x_7); +lean_dec(x_7); +x_10 = lean_nat_dec_lt(x_8, x_9); +lean_dec(x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +return x_3; +} +else +{ +lean_object* x_11; +lean_dec(x_6); +x_11 = l_Lean_Parsec_expectedEndOfInput; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_11); +return x_3; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_3); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +x_16 = lean_byte_array_size(x_14); +lean_dec(x_14); +x_17 = lean_nat_dec_lt(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_13); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_13); +x_19 = l_Lean_Parsec_expectedEndOfInput; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +return x_3; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_3, 0); +x_23 = lean_ctor_get(x_3, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_3); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_parseActions(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_byte_array_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Parsec_unexpectedEndOfInput; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +uint8_t x_8; uint8_t x_9; uint8_t x_10; +x_8 = lean_byte_array_fget(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_10 = lean_uint8_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +uint8_t x_11; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_12 = lean_uint8_dec_eq(x_8, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions(x_1); +return x_13; +} +else +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions(x_1); +return x_14; +} +} +else +{ +lean_object* x_15; +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseActions(x_1); +return x_15; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_parseActions), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_IO_FS_readBinFile(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1; +x_7 = l_Lean_Parsec_ByteArray_Parser_run___rarg(x_6, x_5); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_ctor_set_tag(x_7, 18); +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 0, x_10); +return x_3; +} +} +else +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +lean_ctor_set(x_3, 0, x_11); +return x_3; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_3); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1; +x_15 = l_Lean_Parsec_ByteArray_Parser_run___rarg(x_14, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + x_17 = x_15; +} else { + lean_dec_ref(x_15); + x_17 = lean_box(0); +} +if (lean_is_scalar(x_17)) { + x_18 = lean_alloc_ctor(18, 1, 0); +} else { + x_18 = x_17; + lean_ctor_set_tag(x_18, 18); +} +lean_ctor_set(x_18, 0, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_13); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +lean_inc(x_20); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_13); +return x_21; +} +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_3); +if (x_22 == 0) +{ +return x_3; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_parseLRATProof(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1; +x_3 = l_Lean_Parsec_ByteArray_Parser_run___rarg(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_3); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l___private_Init_Data_Repr_0__Nat_reprFast(x_6); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_4, x_11); +lean_dec(x_11); +x_13 = 1; +x_14 = lean_usize_add(x_2, x_13); +x_2 = x_14; +x_4 = x_12; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_5; +} +else +{ +uint8_t x_6; +x_6 = lean_nat_dec_le(x_2, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_7; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = 0; +x_9 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1(x_1, x_8, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___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_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("-", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Init_Data_Repr_0__Nat_reprFast(x_2); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1; +x_5 = lean_string_append(x_4, x_3); +lean_dec(x_3); +x_6 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +x_7 = lean_string_append(x_5, x_6); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(x_8); +lean_dec(x_8); +x_10 = lean_string_append(x_7, x_9); +lean_dec(x_9); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_12 = lean_string_append(x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint(x_6); +x_8 = lean_string_append(x_4, x_7); +lean_dec(x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_2 = x_10; +x_4 = x_8; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_5; +} +else +{ +uint8_t x_6; +x_6 = lean_nat_dec_le(x_2, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_7; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = 0; +x_9 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___spec__1(x_1, x_8, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___spec__1___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_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___spec__1(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; size_t x_7; size_t x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_array_uget(x_1, x_2); +x_7 = 1; +x_8 = lean_usize_add(x_2, x_7); +x_9 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_10 = lean_int_dec_lt(x_6, x_9); +if (x_10 == 0) +{ +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; +x_11 = lean_nat_abs(x_6); +lean_dec(x_6); +x_12 = l___private_Init_Data_Repr_0__Nat_reprFast(x_11); +x_13 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_14 = lean_string_append(x_13, x_12); +lean_dec(x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +x_16 = lean_string_append(x_14, x_15); +x_17 = lean_string_append(x_4, x_16); +lean_dec(x_16); +x_2 = x_8; +x_4 = x_17; +goto _start; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_19 = lean_nat_abs(x_6); +lean_dec(x_6); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_19, x_20); +lean_dec(x_19); +x_22 = lean_nat_add(x_21, x_20); +lean_dec(x_21); +x_23 = l___private_Init_Data_Repr_0__Nat_reprFast(x_22); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1; +x_25 = lean_string_append(x_24, x_23); +lean_dec(x_23); +x_26 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_27 = lean_string_append(x_26, x_25); +lean_dec(x_25); +x_28 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +x_29 = lean_string_append(x_27, x_28); +x_30 = lean_string_append(x_4, x_29); +lean_dec(x_29); +x_2 = x_8; +x_4 = x_30; +goto _start; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_5; +} +else +{ +uint8_t x_6; +x_6 = lean_nat_dec_le(x_2, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_7; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = 0; +x_9 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___spec__1(x_1, x_8, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___spec__1___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_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" 0 ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("0", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("0 ", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("1 d ", 4, 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l___private_Init_Data_Repr_0__Nat_reprFast(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_6 = lean_string_append(x_5, x_4); +lean_dec(x_4); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__1; +x_8 = lean_string_append(x_6, x_7); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(x_3); +lean_dec(x_3); +x_10 = lean_string_append(x_8, x_9); +lean_dec(x_9); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2; +x_12 = lean_string_append(x_10, x_11); +return x_12; +} +case 1: +{ +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; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +lean_dec(x_1); +x_16 = l___private_Init_Data_Repr_0__Nat_reprFast(x_13); +x_17 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +x_20 = lean_string_append(x_18, x_19); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause(x_14); +lean_dec(x_14); +x_22 = lean_string_append(x_20, x_21); +lean_dec(x_21); +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3; +x_24 = lean_string_append(x_22, x_23); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(x_15); +lean_dec(x_15); +x_26 = lean_string_append(x_24, x_25); +lean_dec(x_25); +x_27 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2; +x_28 = lean_string_append(x_26, x_27); +return x_28; +} +case 2: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_29 = lean_ctor_get(x_1, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_1, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_1, 3); +lean_inc(x_31); +x_32 = lean_ctor_get(x_1, 4); +lean_inc(x_32); +lean_dec(x_1); +x_33 = l___private_Init_Data_Repr_0__Nat_reprFast(x_29); +x_34 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_35 = lean_string_append(x_34, x_33); +lean_dec(x_33); +x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1; +x_37 = lean_string_append(x_35, x_36); +x_38 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeClause(x_30); +lean_dec(x_30); +x_39 = lean_string_append(x_37, x_38); +lean_dec(x_38); +x_40 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3; +x_41 = lean_string_append(x_39, x_40); +x_42 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(x_31); +lean_dec(x_31); +x_43 = lean_string_append(x_41, x_42); +lean_dec(x_42); +x_44 = lean_string_append(x_43, x_34); +x_45 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHints(x_32); +lean_dec(x_32); +x_46 = lean_string_append(x_44, x_45); +lean_dec(x_45); +x_47 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2; +x_48 = lean_string_append(x_46, x_47); +return x_48; +} +default: +{ +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_49 = lean_ctor_get(x_1, 0); +lean_inc(x_49); +lean_dec(x_1); +x_50 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList(x_49); +lean_dec(x_49); +x_51 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__4; +x_52 = lean_string_append(x_51, x_50); +lean_dec(x_50); +x_53 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2; +x_54 = lean_string_append(x_52, x_53); +return x_54; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize(x_6); +x_8 = lean_string_append(x_4, x_7); +lean_dec(x_7); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___closed__1; +x_10 = lean_string_append(x_8, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_2 = x_12; +x_4 = x_10; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_5; +} +else +{ +uint8_t x_6; +x_6 = lean_nat_dec_le(x_2, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +return x_7; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = 0; +x_9 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3; +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1(x_1, x_8, x_9, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___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_Tactic_BVDecide_LRAT_lratProofToString___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_startDelete(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_3 = lean_byte_array_push(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode(lean_object* x_1, uint64_t x_2) { +_start: +{ +uint64_t x_3; uint8_t x_4; +x_3 = 0; +x_4 = lean_uint64_dec_eq(x_2, x_3); +if (x_4 == 0) +{ +uint64_t x_5; uint8_t x_6; uint64_t x_7; uint64_t x_8; +x_5 = 127; +x_6 = lean_uint64_dec_lt(x_5, x_2); +x_7 = 7; +x_8 = lean_uint64_shift_right(x_2, x_7); +if (x_6 == 0) +{ +uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_9 = lean_uint64_to_uint8(x_2); +x_10 = 127; +x_11 = lean_uint8_land(x_9, x_10); +x_12 = lean_byte_array_push(x_1, x_11); +x_1 = x_12; +x_2 = x_8; +goto _start; +} +else +{ +uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_14 = lean_uint64_to_uint8(x_2); +x_15 = 127; +x_16 = lean_uint8_land(x_14, x_15); +x_17 = 128; +x_18 = lean_uint8_lor(x_16, x_17); +x_19 = lean_byte_array_push(x_1, x_18); +x_1 = x_19; +x_2 = x_8; +goto _start; +} +} +else +{ +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint64_t x_3; lean_object* x_4; +x_3 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode(x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_ByteArray_instInhabited; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_cstr_to_nat("18446744073709551616"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__1; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_nat_sub(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("mapped ≤ (2^64 - 1) -- our parser \"only\" supports 64 bit literals\n ", 72, 70); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__4; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.Tactic.BVDecide.LRAT.Parser", 37, 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Elab.Tactic.BVDecide.LRAT.lratProofToBinary.addInt", 55, 55); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8() { +_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_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__6; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__7; +x_3 = lean_unsigned_to_nat(382u); +x_4 = lean_unsigned_to_nat(4u); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__5; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1; +x_4 = lean_int_dec_lt(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_nat_abs(x_2); +x_6 = lean_unsigned_to_nat(2u); +x_7 = lean_nat_mul(x_6, x_5); +lean_dec(x_5); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_7, x_8); +lean_dec(x_7); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2; +x_11 = lean_nat_dec_le(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_1); +x_12 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8; +x_13 = l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___spec__1(x_12); +return x_13; +} +else +{ +uint64_t x_14; lean_object* x_15; +x_14 = lean_uint64_of_nat(x_9); +lean_dec(x_9); +x_15 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode(x_1, x_14); +return x_15; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_nat_abs(x_2); +x_17 = lean_unsigned_to_nat(2u); +x_18 = lean_nat_mul(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2; +x_20 = lean_nat_dec_le(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_18); +lean_dec(x_1); +x_21 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8; +x_22 = l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___spec__1(x_21); +return x_22; +} +else +{ +uint64_t x_23; lean_object* x_24; +x_23 = lean_uint64_of_nat(x_18); +lean_dec(x_18); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_variableLengthEncode(x_1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_zeroByte(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = 0; +x_3 = lean_byte_array_push(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addNat(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_nat_to_int(x_2); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_1, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_startAdd(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_3 = lean_byte_array_push(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_6 = lean_array_uget(x_1, x_2); +x_7 = lean_nat_to_int(x_6); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_4, x_7); +lean_dec(x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_2 = x_10; +x_4 = x_8; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___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_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_4, x_6); +lean_dec(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_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; size_t x_15; size_t x_16; +x_6 = lean_array_uget(x_1, x_2); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_nat_to_int(x_7); +x_9 = lean_int_neg(x_8); +lean_dec(x_8); +x_10 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_4, x_9); +lean_dec(x_9); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_dec(x_6); +x_12 = lean_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +x_15 = 1; +x_16 = lean_usize_add(x_2, x_15); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_11); +x_2 = x_16; +x_4 = x_10; +goto _start; +} +else +{ +uint8_t x_18; +x_18 = lean_nat_dec_le(x_12, x_12); +if (x_18 == 0) +{ +lean_dec(x_12); +lean_dec(x_11); +x_2 = x_16; +x_4 = x_10; +goto _start; +} +else +{ +size_t x_20; size_t x_21; lean_object* x_22; +x_20 = 0; +x_21 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_22 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(x_11, x_20, x_21, x_10); +lean_dec(x_11); +x_2 = x_16; +x_4 = x_22; +goto _start; +} +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_array_fget(x_1, x_2); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_add(x_2, x_7); +lean_dec(x_2); +switch (lean_obj_tag(x_6)) { +case 0: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_12 = lean_byte_array_push(x_3, x_11); +x_13 = lean_nat_to_int(x_9); +x_14 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_12, x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = lean_byte_array_push(x_14, x_15); +x_17 = lean_array_get_size(x_10); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_nat_dec_lt(x_18, x_17); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec(x_10); +x_20 = lean_byte_array_push(x_16, x_15); +x_2 = x_8; +x_3 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = lean_nat_dec_le(x_17, x_17); +if (x_22 == 0) +{ +lean_object* x_23; +lean_dec(x_17); +lean_dec(x_10); +x_23 = lean_byte_array_push(x_16, x_15); +x_2 = x_8; +x_3 = x_23; +goto _start; +} +else +{ +size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; +x_25 = 0; +x_26 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(x_10, x_25, x_26, x_16); +lean_dec(x_10); +x_28 = lean_byte_array_push(x_27, x_15); +x_2 = x_8; +x_3 = x_28; +goto _start; +} +} +} +case 1: +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_30 = lean_ctor_get(x_6, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_6, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_6, 2); +lean_inc(x_32); +lean_dec(x_6); +x_33 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_34 = lean_byte_array_push(x_3, x_33); +x_35 = lean_nat_to_int(x_30); +x_36 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_34, x_35); +lean_dec(x_35); +x_37 = lean_array_get_size(x_31); +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_nat_dec_lt(x_38, x_37); +x_40 = 0; +x_41 = lean_array_get_size(x_32); +x_42 = lean_nat_dec_lt(x_38, x_41); +if (x_39 == 0) +{ +lean_dec(x_37); +lean_dec(x_31); +x_43 = x_36; +goto block_55; +} +else +{ +uint8_t x_56; +x_56 = lean_nat_dec_le(x_37, x_37); +if (x_56 == 0) +{ +lean_dec(x_37); +lean_dec(x_31); +x_43 = x_36; +goto block_55; +} +else +{ +size_t x_57; size_t x_58; lean_object* x_59; +x_57 = 0; +x_58 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__2(x_31, x_57, x_58, x_36); +lean_dec(x_31); +x_43 = x_59; +goto block_55; +} +} +block_55: +{ +lean_object* x_44; +x_44 = lean_byte_array_push(x_43, x_40); +if (x_42 == 0) +{ +lean_object* x_45; +lean_dec(x_41); +lean_dec(x_32); +x_45 = lean_byte_array_push(x_44, x_40); +x_2 = x_8; +x_3 = x_45; +goto _start; +} +else +{ +uint8_t x_47; +x_47 = lean_nat_dec_le(x_41, x_41); +if (x_47 == 0) +{ +lean_object* x_48; +lean_dec(x_41); +lean_dec(x_32); +x_48 = lean_byte_array_push(x_44, x_40); +x_2 = x_8; +x_3 = x_48; +goto _start; +} +else +{ +size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; +x_50 = 0; +x_51 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_52 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(x_32, x_50, x_51, x_44); +lean_dec(x_32); +x_53 = lean_byte_array_push(x_52, x_40); +x_2 = x_8; +x_3 = x_53; +goto _start; +} +} +} +} +case 2: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; uint8_t x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_60 = lean_ctor_get(x_6, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_6, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_6, 3); +lean_inc(x_62); +x_63 = lean_ctor_get(x_6, 4); +lean_inc(x_63); +lean_dec(x_6); +x_64 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1; +x_65 = lean_byte_array_push(x_3, x_64); +x_66 = lean_nat_to_int(x_60); +x_67 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt(x_65, x_66); +lean_dec(x_66); +x_68 = lean_array_get_size(x_61); +x_69 = lean_unsigned_to_nat(0u); +x_70 = lean_nat_dec_lt(x_69, x_68); +x_71 = 0; +x_72 = lean_array_get_size(x_62); +x_73 = lean_nat_dec_lt(x_69, x_72); +x_74 = lean_array_get_size(x_63); +x_75 = lean_nat_dec_lt(x_69, x_74); +if (x_70 == 0) +{ +lean_dec(x_68); +lean_dec(x_61); +x_76 = x_67; +goto block_111; +} +else +{ +uint8_t x_112; +x_112 = lean_nat_dec_le(x_68, x_68); +if (x_112 == 0) +{ +lean_dec(x_68); +lean_dec(x_61); +x_76 = x_67; +goto block_111; +} +else +{ +size_t x_113; size_t x_114; lean_object* x_115; +x_113 = 0; +x_114 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_115 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__2(x_61, x_113, x_114, x_67); +lean_dec(x_61); +x_76 = x_115; +goto block_111; +} +} +block_111: +{ +lean_object* x_77; +x_77 = lean_byte_array_push(x_76, x_71); +if (x_73 == 0) +{ +lean_dec(x_72); +lean_dec(x_62); +if (x_75 == 0) +{ +lean_object* x_78; +lean_dec(x_74); +lean_dec(x_63); +x_78 = lean_byte_array_push(x_77, x_71); +x_2 = x_8; +x_3 = x_78; +goto _start; +} +else +{ +uint8_t x_80; +x_80 = lean_nat_dec_le(x_74, x_74); +if (x_80 == 0) +{ +lean_object* x_81; +lean_dec(x_74); +lean_dec(x_63); +x_81 = lean_byte_array_push(x_77, x_71); +x_2 = x_8; +x_3 = x_81; +goto _start; +} +else +{ +size_t x_83; size_t x_84; lean_object* x_85; lean_object* x_86; +x_83 = 0; +x_84 = lean_usize_of_nat(x_74); +lean_dec(x_74); +x_85 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3(x_63, x_83, x_84, x_77); +lean_dec(x_63); +x_86 = lean_byte_array_push(x_85, x_71); +x_2 = x_8; +x_3 = x_86; +goto _start; +} +} +} +else +{ +uint8_t x_88; +x_88 = lean_nat_dec_le(x_72, x_72); +if (x_88 == 0) +{ +lean_dec(x_72); +lean_dec(x_62); +if (x_75 == 0) +{ +lean_object* x_89; +lean_dec(x_74); +lean_dec(x_63); +x_89 = lean_byte_array_push(x_77, x_71); +x_2 = x_8; +x_3 = x_89; +goto _start; +} +else +{ +uint8_t x_91; +x_91 = lean_nat_dec_le(x_74, x_74); +if (x_91 == 0) +{ +lean_object* x_92; +lean_dec(x_74); +lean_dec(x_63); +x_92 = lean_byte_array_push(x_77, x_71); +x_2 = x_8; +x_3 = x_92; +goto _start; +} +else +{ +size_t x_94; size_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = 0; +x_95 = lean_usize_of_nat(x_74); +lean_dec(x_74); +x_96 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3(x_63, x_94, x_95, x_77); +lean_dec(x_63); +x_97 = lean_byte_array_push(x_96, x_71); +x_2 = x_8; +x_3 = x_97; +goto _start; +} +} +} +else +{ +size_t x_99; size_t x_100; lean_object* x_101; +x_99 = 0; +x_100 = lean_usize_of_nat(x_72); +lean_dec(x_72); +x_101 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(x_62, x_99, x_100, x_77); +lean_dec(x_62); +if (x_75 == 0) +{ +lean_object* x_102; +lean_dec(x_74); +lean_dec(x_63); +x_102 = lean_byte_array_push(x_101, x_71); +x_2 = x_8; +x_3 = x_102; +goto _start; +} +else +{ +uint8_t x_104; +x_104 = lean_nat_dec_le(x_74, x_74); +if (x_104 == 0) +{ +lean_object* x_105; +lean_dec(x_74); +lean_dec(x_63); +x_105 = lean_byte_array_push(x_101, x_71); +x_2 = x_8; +x_3 = x_105; +goto _start; +} +else +{ +size_t x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_usize_of_nat(x_74); +lean_dec(x_74); +x_108 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3(x_63, x_99, x_107, x_101); +lean_dec(x_63); +x_109 = lean_byte_array_push(x_108, x_71); +x_2 = x_8; +x_3 = x_109; +goto _start; +} +} +} +} +} +} +default: +{ +lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; uint8_t x_122; +x_116 = lean_ctor_get(x_6, 0); +lean_inc(x_116); +lean_dec(x_6); +x_117 = l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1; +x_118 = lean_byte_array_push(x_3, x_117); +x_119 = lean_array_get_size(x_116); +x_120 = lean_unsigned_to_nat(0u); +x_121 = lean_nat_dec_lt(x_120, x_119); +x_122 = 0; +if (x_121 == 0) +{ +lean_object* x_123; +lean_dec(x_119); +lean_dec(x_116); +x_123 = lean_byte_array_push(x_118, x_122); +x_2 = x_8; +x_3 = x_123; +goto _start; +} +else +{ +uint8_t x_125; +x_125 = lean_nat_dec_le(x_119, x_119); +if (x_125 == 0) +{ +lean_object* x_126; +lean_dec(x_119); +lean_dec(x_116); +x_126 = lean_byte_array_push(x_118, x_122); +x_2 = x_8; +x_3 = x_126; +goto _start; +} +else +{ +size_t x_128; size_t x_129; lean_object* x_130; lean_object* x_131; +x_128 = 0; +x_129 = lean_usize_of_nat(x_119); +lean_dec(x_119); +x_130 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(x_116, x_128, x_129, x_118); +lean_dec(x_116); +x_131 = lean_byte_array_push(x_130, x_122); +x_2 = x_8; +x_3 = x_131; +goto _start; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1___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_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___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_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__2(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_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; +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_Tactic_BVDecide_LRAT_lratProofToBinary_go___spec__3(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(4u); +x_4 = lean_nat_mul(x_3, x_2); +lean_dec(x_2); +x_5 = lean_mk_empty_byte_array(x_4); +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_go(x_1, x_6, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_dumpLRATProof(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +if (x_3 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString(x_2); +x_6 = lean_string_to_utf8(x_5); +lean_dec(x_5); +x_7 = l_IO_FS_writeBinFile(x_1, x_6, x_4); +lean_dec(x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary(x_2); +x_9 = l_IO_FS_writeBinFile(x_1, x_8, x_4); +lean_dec(x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_dumpLRATProof___boxed(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 = lean_unbox(x_3); +lean_dec(x_3); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_dumpLRATProof(x_1, x_2, x_5, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Parsec(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Parser(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_System_IO(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Parsec(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1 = _init_l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_BVDecide_LRAT_Parser_0__Lean_Elab_Tactic_BVDecide_LRAT_Parser_getPivot___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parsePos___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__1(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseNeg___closed__7); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__1(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseZero___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__1(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList_idWs___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseIdList___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__1(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseDelete___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseRat___closed__1); +l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1___closed__1 = _init_l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Parsec_satisfy___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__1___closed__1); +l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1 = _init_l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___lambda__1___closed__1(); +l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___closed__1 = _init_l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___closed__1(); +lean_mark_persistent(l_Lean_Parsec_manyCore___at_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___spec__2___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__1(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Text_parseActions_go___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseZero___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__2(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseLit_go___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseNeg___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parsePos___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__1(); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_Parser_Binary_parseAction___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_loadLRATProof___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeIdList___spec__1___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serializeRatHint___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString_serialize___closed__4); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToString___spec__1___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__5); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__6); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__7); +l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_lratProofToBinary_addInt___closed__8); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Trim.c b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Trim.c new file mode 100644 index 000000000000..c03fd0c52652 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BVDecide/LRAT/Trim.c @@ -0,0 +1,6919 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BVDecide.LRAT.Trim +// Imports: Lean.Elab.Tactic.BVDecide.LRAT.Actions Lean.Data.RBMap Std.Data.HashMap +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId(lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__2(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__1; +uint64_t lean_uint64_of_nat(lean_object*); +size_t lean_uint64_to_usize(uint64_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getEmptyId___boxed(lean_object*, lean_object*); +uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_size___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1___boxed(lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1; +static lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4; +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_used___default; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__2; +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getInitialId___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1(lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__1; +uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis(lean_object*, lean_object*); +lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); +lean_object* lean_nat_div(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_go(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__2; +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__7(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__2; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim___boxed(lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet___boxed(lean_object*); +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getInitialId(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_go___boxed(lean_object*, lean_object*); +uint64_t lean_uint64_xor(uint64_t, uint64_t); +lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim___closed__1; +lean_object* lean_nat_mul(lean_object*, lean_object*); +static lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__4___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__5(lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___boxed(lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___boxed(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getEmptyId(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__4; +lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__4___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__5(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(lean_object*, lean_object*, lean_object*); +size_t lean_usize_land(size_t, size_t); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_used___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(10u); +x_2 = lean_unsigned_to_nat(1u); +x_3 = l_Nat_nextPowerOfTwo_go(x_1, x_2, lean_box(0)); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___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_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__1; +x_3 = lean_mk_array(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___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_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___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; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("LRAT proof doesn't contain a proper first proof step.", 53, 53); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__1; +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_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_array_get_size(x_1); +x_4 = lean_nat_dec_lt(x_2, x_3); +lean_dec(x_3); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__2; +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_array_fget(x_1, x_2); +if (lean_obj_tag(x_6) == 3) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_6); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_add(x_2, x_7); +lean_dec(x_2); +x_2 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("The LRAT proof contains no steps.", 33, 33); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___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_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Last proof step is not the empty clause", 39, 39); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__2; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_2, x_6); +lean_dec(x_2); +x_8 = lean_array_fget(x_1, x_7); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_8); +x_11 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__4; +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_nat_dec_eq(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 2); +x_7 = lean_array_get_size(x_2); +lean_inc(x_1); +lean_inc(x_5); +x_8 = lean_apply_1(x_1, x_5); +x_9 = lean_unbox_uint64(x_8); +lean_dec(x_8); +x_10 = 32; +x_11 = lean_uint64_shift_right(x_9, x_10); +x_12 = lean_uint64_xor(x_9, x_11); +x_13 = 16; +x_14 = lean_uint64_shift_right(x_12, x_13); +x_15 = lean_uint64_xor(x_12, x_14); +x_16 = lean_uint64_to_usize(x_15); +x_17 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_18 = 1; +x_19 = lean_usize_sub(x_17, x_18); +x_20 = lean_usize_land(x_16, x_19); +x_21 = lean_array_uget(x_2, x_20); +lean_ctor_set(x_3, 2, x_21); +x_22 = lean_array_uset(x_2, x_20, x_3); +x_2 = x_22; +x_3 = x_6; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; size_t x_36; size_t x_37; size_t x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_24 = lean_ctor_get(x_3, 0); +x_25 = lean_ctor_get(x_3, 1); +x_26 = lean_ctor_get(x_3, 2); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_3); +x_27 = lean_array_get_size(x_2); +lean_inc(x_1); +lean_inc(x_24); +x_28 = lean_apply_1(x_1, x_24); +x_29 = lean_unbox_uint64(x_28); +lean_dec(x_28); +x_30 = 32; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = 16; +x_34 = lean_uint64_shift_right(x_32, x_33); +x_35 = lean_uint64_xor(x_32, x_34); +x_36 = lean_uint64_to_usize(x_35); +x_37 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_38 = 1; +x_39 = lean_usize_sub(x_37, x_38); +x_40 = lean_usize_land(x_36, x_39); +x_41 = lean_array_uget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_24); +lean_ctor_set(x_42, 1, x_25); +lean_ctor_set(x_42, 2, x_41); +x_43 = lean_array_uset(x_2, x_40, x_42); +x_2 = x_43; +x_3 = x_26; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__4___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = lean_uint64_of_nat(x_4); +x_8 = 32; +x_9 = lean_uint64_shift_right(x_7, x_8); +x_10 = lean_uint64_xor(x_7, x_9); +x_11 = 16; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = lean_uint64_to_usize(x_13); +x_15 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_16 = 1; +x_17 = lean_usize_sub(x_15, x_16); +x_18 = lean_usize_land(x_14, x_17); +x_19 = lean_array_uget(x_1, x_18); +lean_ctor_set(x_2, 2, x_19); +x_20 = lean_array_uset(x_1, x_18, x_2); +x_1 = x_20; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_22 = lean_ctor_get(x_2, 0); +x_23 = lean_ctor_get(x_2, 1); +x_24 = lean_ctor_get(x_2, 2); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_2); +x_25 = lean_array_get_size(x_1); +x_26 = lean_uint64_of_nat(x_22); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_1, x_37); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_23); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_array_uset(x_1, x_37, x_39); +x_1 = x_40; +x_2 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__4___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__5(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_mul(x_2, x_3); +lean_dec(x_2); +x_5 = lean_box(0); +x_6 = lean_mk_array(x_4, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__3(x_7, x_1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_nat_dec_eq(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__6(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_10); +return x_3; +} +else +{ +lean_dec(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_14 = lean_nat_dec_eq(x_11, x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__6(x_1, x_2, x_13); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_13); +return x_17; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__7(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; size_t x_7; size_t x_8; +x_6 = lean_array_uget(x_1, x_2); +x_7 = 1; +x_8 = lean_usize_add(x_2, x_7); +if (lean_obj_tag(x_6) == 3) +{ +lean_dec(x_6); +x_2 = x_8; +goto _start; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; uint64_t x_20; uint64_t x_21; size_t x_22; size_t x_23; size_t x_24; size_t x_25; lean_object* x_26; uint8_t x_27; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_ctor_get(x_4, 1); +x_14 = lean_array_get_size(x_13); +x_15 = lean_uint64_of_nat(x_10); +x_16 = 32; +x_17 = lean_uint64_shift_right(x_15, x_16); +x_18 = lean_uint64_xor(x_15, x_17); +x_19 = 16; +x_20 = lean_uint64_shift_right(x_18, x_19); +x_21 = lean_uint64_xor(x_18, x_20); +x_22 = lean_uint64_to_usize(x_21); +x_23 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_24 = lean_usize_sub(x_23, x_7); +x_25 = lean_usize_land(x_22, x_24); +x_26 = lean_array_uget(x_13, x_25); +x_27 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1(x_10, x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_12, x_28); +lean_dec(x_12); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_10); +lean_ctor_set(x_30, 1, x_6); +lean_ctor_set(x_30, 2, x_26); +x_31 = lean_array_uset(x_13, x_25, x_30); +x_32 = lean_unsigned_to_nat(4u); +x_33 = lean_nat_mul(x_29, x_32); +x_34 = lean_unsigned_to_nat(3u); +x_35 = lean_nat_div(x_33, x_34); +lean_dec(x_33); +x_36 = lean_array_get_size(x_31); +x_37 = lean_nat_dec_le(x_35, x_36); +lean_dec(x_36); +lean_dec(x_35); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__2(x_31); +lean_ctor_set(x_4, 1, x_38); +lean_ctor_set(x_4, 0, x_29); +x_2 = x_8; +goto _start; +} +else +{ +lean_ctor_set(x_4, 1, x_31); +lean_ctor_set(x_4, 0, x_29); +x_2 = x_8; +goto _start; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_box(0); +x_42 = lean_array_uset(x_13, x_25, x_41); +x_43 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__6(x_10, x_6, x_26); +x_44 = lean_array_uset(x_42, x_25, x_43); +lean_ctor_set(x_4, 1, x_44); +x_2 = x_8; +goto _start; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; uint64_t x_50; uint64_t x_51; uint64_t x_52; uint64_t x_53; uint64_t x_54; uint64_t x_55; size_t x_56; size_t x_57; size_t x_58; size_t x_59; lean_object* x_60; uint8_t x_61; +x_46 = lean_ctor_get(x_4, 0); +x_47 = lean_ctor_get(x_4, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_4); +x_48 = lean_array_get_size(x_47); +x_49 = lean_uint64_of_nat(x_10); +x_50 = 32; +x_51 = lean_uint64_shift_right(x_49, x_50); +x_52 = lean_uint64_xor(x_49, x_51); +x_53 = 16; +x_54 = lean_uint64_shift_right(x_52, x_53); +x_55 = lean_uint64_xor(x_52, x_54); +x_56 = lean_uint64_to_usize(x_55); +x_57 = lean_usize_of_nat(x_48); +lean_dec(x_48); +x_58 = lean_usize_sub(x_57, x_7); +x_59 = lean_usize_land(x_56, x_58); +x_60 = lean_array_uget(x_47, x_59); +x_61 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1(x_10, x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_62 = lean_unsigned_to_nat(1u); +x_63 = lean_nat_add(x_46, x_62); +lean_dec(x_46); +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_10); +lean_ctor_set(x_64, 1, x_6); +lean_ctor_set(x_64, 2, x_60); +x_65 = lean_array_uset(x_47, x_59, x_64); +x_66 = lean_unsigned_to_nat(4u); +x_67 = lean_nat_mul(x_63, x_66); +x_68 = lean_unsigned_to_nat(3u); +x_69 = lean_nat_div(x_67, x_68); +lean_dec(x_67); +x_70 = lean_array_get_size(x_65); +x_71 = lean_nat_dec_le(x_69, x_70); +lean_dec(x_70); +lean_dec(x_69); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__2(x_65); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_63); +lean_ctor_set(x_73, 1, x_72); +x_2 = x_8; +x_4 = x_73; +goto _start; +} +else +{ +lean_object* x_75; +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_63); +lean_ctor_set(x_75, 1, x_65); +x_2 = x_8; +x_4 = x_75; +goto _start; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_box(0); +x_78 = lean_array_uset(x_47, x_59, x_77); +x_79 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__6(x_10, x_6, x_60); +x_80 = lean_array_uset(x_78, x_59, x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_46); +lean_ctor_set(x_81, 1, x_80); +x_2 = x_8; +x_4 = x_81; +goto _start; +} +} +} +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3; +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_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +x_9 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId(x_1); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +lean_dec(x_2); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = lean_array_get_size(x_1); +x_15 = lean_nat_dec_lt(x_3, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +x_16 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3; +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_8); +lean_ctor_set(x_17, 2, x_13); +x_18 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1; +x_19 = lean_apply_2(x_2, x_17, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec(x_19); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = lean_nat_dec_le(x_14, x_14); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_14); +x_22 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3; +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_8); +lean_ctor_set(x_23, 2, x_13); +x_24 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1; +x_25 = lean_apply_2(x_2, x_23, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +return x_26; +} +else +{ +size_t x_27; size_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; +x_27 = 0; +x_28 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_29 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3; +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__7(x_1, x_27, x_28, x_29); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_8); +lean_ctor_set(x_31, 2, x_13); +x_32 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1; +x_33 = lean_apply_2(x_2, x_31, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +lean_dec(x_33); +return x_34; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___spec__7___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_Tactic_BVDecide_LRAT_trim_M_run___spec__7(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getInitialId(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getInitialId___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getInitialId(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getEmptyId(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 2); +lean_inc(x_3); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getEmptyId___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getEmptyId(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_nat_dec_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_6 = lean_ctor_get(x_4, 1); +x_7 = lean_ctor_get(x_4, 0); +lean_dec(x_7); +x_8 = lean_array_get_size(x_6); +x_9 = lean_uint64_of_nat(x_1); +x_10 = 32; +x_11 = lean_uint64_shift_right(x_9, x_10); +x_12 = lean_uint64_xor(x_9, x_11); +x_13 = 16; +x_14 = lean_uint64_shift_right(x_12, x_13); +x_15 = lean_uint64_xor(x_12, x_14); +x_16 = lean_uint64_to_usize(x_15); +x_17 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_18 = 1; +x_19 = lean_usize_sub(x_17, x_18); +x_20 = lean_usize_land(x_16, x_19); +x_21 = lean_array_uget(x_6, x_20); +lean_dec(x_6); +x_22 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_1, x_21); +lean_dec(x_21); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 0, x_23); +return x_4; +} +else +{ +lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +lean_dec(x_4); +x_25 = lean_array_get_size(x_24); +x_26 = lean_uint64_of_nat(x_1); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_24, x_37); +lean_dec(x_24); +x_39 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_1, x_38); +lean_dec(x_38); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 2); +x_7 = lean_ctor_get(x_1, 3); +x_8 = lean_nat_dec_lt(x_2, x_5); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = lean_nat_dec_eq(x_2, x_5); +if (x_9 == 0) +{ +x_1 = x_7; +goto _start; +} +else +{ +lean_object* x_11; +lean_inc(x_6); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_6); +return x_11; +} +} +else +{ +x_1 = x_4; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1(x_4, x_1); +lean_dec(x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +x_8 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = lean_nat_dec_lt(x_2, x_10); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_nat_dec_eq(x_2, x_10); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_12, x_2, x_3); +x_16 = 0; +lean_ctor_set(x_1, 3, x_15); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +return x_1; +} +else +{ +uint8_t x_17; +lean_dec(x_11); +lean_dec(x_10); +x_17 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_17); +return x_1; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_9, x_2, x_3); +x_19 = 0; +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_ctor_get(x_1, 2); +x_23 = lean_ctor_get(x_1, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_24 = lean_nat_dec_lt(x_2, x_21); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_nat_dec_eq(x_2, x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_26 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_23, x_2, x_3); +x_27 = 0; +x_28 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 2, x_22); +lean_ctor_set(x_28, 3, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +return x_28; +} +else +{ +uint8_t x_29; lean_object* x_30; +lean_dec(x_22); +lean_dec(x_21); +x_29 = 0; +x_30 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_2); +lean_ctor_set(x_30, 2, x_3); +lean_ctor_set(x_30, 3, x_23); +lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_31 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_20, x_2, x_3); +x_32 = 0; +x_33 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_22); +lean_ctor_set(x_33, 3, x_23); +lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_1); +if (x_34 == 0) +{ +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_1, 0); +x_36 = lean_ctor_get(x_1, 1); +x_37 = lean_ctor_get(x_1, 2); +x_38 = lean_ctor_get(x_1, 3); +x_39 = lean_nat_dec_lt(x_2, x_36); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = lean_nat_dec_eq(x_2, x_36); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_38, x_2, x_3); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_41, 3); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_46 = lean_ctor_get(x_41, 3); +lean_dec(x_46); +x_47 = lean_ctor_get(x_41, 0); +lean_dec(x_47); +lean_ctor_set(x_41, 0, x_44); +x_48 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_48); +return x_1; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_41, 1); +x_50 = lean_ctor_get(x_41, 2); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_41); +x_51 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +lean_ctor_set(x_51, 3, x_44); +lean_ctor_set_uint8(x_51, sizeof(void*)*4, x_42); +x_52 = 1; +lean_ctor_set(x_1, 3, x_51); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_52); +return x_1; +} +} +else +{ +uint8_t x_53; +x_53 = lean_ctor_get_uint8(x_44, sizeof(void*)*4); +if (x_53 == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_41); +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_41, 1); +x_56 = lean_ctor_get(x_41, 2); +x_57 = lean_ctor_get(x_41, 3); +lean_dec(x_57); +x_58 = lean_ctor_get(x_41, 0); +lean_dec(x_58); +x_59 = !lean_is_exclusive(x_44); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +x_62 = lean_ctor_get(x_44, 2); +x_63 = lean_ctor_get(x_44, 3); +x_64 = 1; +lean_ctor_set(x_44, 3, x_43); +lean_ctor_set(x_44, 2, x_37); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set_uint8(x_44, sizeof(void*)*4, x_64); +lean_ctor_set(x_41, 3, x_63); +lean_ctor_set(x_41, 2, x_62); +lean_ctor_set(x_41, 1, x_61); +lean_ctor_set(x_41, 0, x_60); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_64); +x_65 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_56); +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_44); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_65); +return x_1; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; uint8_t x_72; +x_66 = lean_ctor_get(x_44, 0); +x_67 = lean_ctor_get(x_44, 1); +x_68 = lean_ctor_get(x_44, 2); +x_69 = lean_ctor_get(x_44, 3); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_44); +x_70 = 1; +x_71 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_71, 0, x_35); +lean_ctor_set(x_71, 1, x_36); +lean_ctor_set(x_71, 2, x_37); +lean_ctor_set(x_71, 3, x_43); +lean_ctor_set_uint8(x_71, sizeof(void*)*4, x_70); +lean_ctor_set(x_41, 3, x_69); +lean_ctor_set(x_41, 2, x_68); +lean_ctor_set(x_41, 1, x_67); +lean_ctor_set(x_41, 0, x_66); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_70); +x_72 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_56); +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_71); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_72); +return x_1; +} +} +else +{ +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; uint8_t x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_73 = lean_ctor_get(x_41, 1); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_41); +x_75 = lean_ctor_get(x_44, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_44, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_44, 2); +lean_inc(x_77); +x_78 = lean_ctor_get(x_44, 3); +lean_inc(x_78); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + lean_ctor_release(x_44, 3); + x_79 = x_44; +} else { + lean_dec_ref(x_44); + x_79 = lean_box(0); +} +x_80 = 1; +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(1, 4, 1); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_35); +lean_ctor_set(x_81, 1, x_36); +lean_ctor_set(x_81, 2, x_37); +lean_ctor_set(x_81, 3, x_43); +lean_ctor_set_uint8(x_81, sizeof(void*)*4, x_80); +x_82 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_82, 0, x_75); +lean_ctor_set(x_82, 1, x_76); +lean_ctor_set(x_82, 2, x_77); +lean_ctor_set(x_82, 3, x_78); +lean_ctor_set_uint8(x_82, sizeof(void*)*4, x_80); +x_83 = 0; +lean_ctor_set(x_1, 3, x_82); +lean_ctor_set(x_1, 2, x_74); +lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_81); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_83); +return x_1; +} +} +else +{ +uint8_t x_84; +lean_free_object(x_1); +x_84 = !lean_is_exclusive(x_44); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_85 = lean_ctor_get(x_44, 3); +lean_dec(x_85); +x_86 = lean_ctor_get(x_44, 2); +lean_dec(x_86); +x_87 = lean_ctor_get(x_44, 1); +lean_dec(x_87); +x_88 = lean_ctor_get(x_44, 0); +lean_dec(x_88); +x_89 = 1; +lean_ctor_set(x_44, 3, x_41); +lean_ctor_set(x_44, 2, x_37); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set_uint8(x_44, sizeof(void*)*4, x_89); +return x_44; +} +else +{ +uint8_t x_90; lean_object* x_91; +lean_dec(x_44); +x_90 = 1; +x_91 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_91, 0, x_35); +lean_ctor_set(x_91, 1, x_36); +lean_ctor_set(x_91, 2, x_37); +lean_ctor_set(x_91, 3, x_41); +lean_ctor_set_uint8(x_91, sizeof(void*)*4, x_90); +return x_91; +} +} +} +} +else +{ +uint8_t x_92; +x_92 = lean_ctor_get_uint8(x_43, sizeof(void*)*4); +if (x_92 == 0) +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_41); +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_41, 0); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_43); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; +x_96 = lean_ctor_get(x_43, 0); +x_97 = lean_ctor_get(x_43, 1); +x_98 = lean_ctor_get(x_43, 2); +x_99 = lean_ctor_get(x_43, 3); +x_100 = 1; +lean_ctor_set(x_43, 3, x_96); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_100); +lean_ctor_set(x_41, 0, x_99); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_100); +x_101 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_98); +lean_ctor_set(x_1, 1, x_97); +lean_ctor_set(x_1, 0, x_43); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_101); +return x_1; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; uint8_t x_108; +x_102 = lean_ctor_get(x_43, 0); +x_103 = lean_ctor_get(x_43, 1); +x_104 = lean_ctor_get(x_43, 2); +x_105 = lean_ctor_get(x_43, 3); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_43); +x_106 = 1; +x_107 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_107, 0, x_35); +lean_ctor_set(x_107, 1, x_36); +lean_ctor_set(x_107, 2, x_37); +lean_ctor_set(x_107, 3, x_102); +lean_ctor_set_uint8(x_107, sizeof(void*)*4, x_106); +lean_ctor_set(x_41, 0, x_105); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_106); +x_108 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_104); +lean_ctor_set(x_1, 1, x_103); +lean_ctor_set(x_1, 0, x_107); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_108); +return x_1; +} +} +else +{ +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; uint8_t x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_109 = lean_ctor_get(x_41, 1); +x_110 = lean_ctor_get(x_41, 2); +x_111 = lean_ctor_get(x_41, 3); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_41); +x_112 = lean_ctor_get(x_43, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_43, 1); +lean_inc(x_113); +x_114 = lean_ctor_get(x_43, 2); +lean_inc(x_114); +x_115 = lean_ctor_get(x_43, 3); +lean_inc(x_115); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_116 = x_43; +} else { + lean_dec_ref(x_43); + x_116 = lean_box(0); +} +x_117 = 1; +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(1, 4, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_35); +lean_ctor_set(x_118, 1, x_36); +lean_ctor_set(x_118, 2, x_37); +lean_ctor_set(x_118, 3, x_112); +lean_ctor_set_uint8(x_118, sizeof(void*)*4, x_117); +x_119 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_119, 0, x_115); +lean_ctor_set(x_119, 1, x_109); +lean_ctor_set(x_119, 2, x_110); +lean_ctor_set(x_119, 3, x_111); +lean_ctor_set_uint8(x_119, sizeof(void*)*4, x_117); +x_120 = 0; +lean_ctor_set(x_1, 3, x_119); +lean_ctor_set(x_1, 2, x_114); +lean_ctor_set(x_1, 1, x_113); +lean_ctor_set(x_1, 0, x_118); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_120); +return x_1; +} +} +else +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_41, 3); +lean_inc(x_121); +if (lean_obj_tag(x_121) == 0) +{ +uint8_t x_122; +lean_free_object(x_1); +x_122 = !lean_is_exclusive(x_43); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_123 = lean_ctor_get(x_43, 3); +lean_dec(x_123); +x_124 = lean_ctor_get(x_43, 2); +lean_dec(x_124); +x_125 = lean_ctor_get(x_43, 1); +lean_dec(x_125); +x_126 = lean_ctor_get(x_43, 0); +lean_dec(x_126); +x_127 = 1; +lean_ctor_set(x_43, 3, x_41); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_127); +return x_43; +} +else +{ +uint8_t x_128; lean_object* x_129; +lean_dec(x_43); +x_128 = 1; +x_129 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_129, 0, x_35); +lean_ctor_set(x_129, 1, x_36); +lean_ctor_set(x_129, 2, x_37); +lean_ctor_set(x_129, 3, x_41); +lean_ctor_set_uint8(x_129, sizeof(void*)*4, x_128); +return x_129; +} +} +else +{ +uint8_t x_130; +x_130 = lean_ctor_get_uint8(x_121, sizeof(void*)*4); +if (x_130 == 0) +{ +uint8_t x_131; +lean_free_object(x_1); +x_131 = !lean_is_exclusive(x_41); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_132 = lean_ctor_get(x_41, 3); +lean_dec(x_132); +x_133 = lean_ctor_get(x_41, 0); +lean_dec(x_133); +x_134 = !lean_is_exclusive(x_121); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; +x_135 = lean_ctor_get(x_121, 0); +x_136 = lean_ctor_get(x_121, 1); +x_137 = lean_ctor_get(x_121, 2); +x_138 = lean_ctor_get(x_121, 3); +x_139 = 1; +lean_inc(x_43); +lean_ctor_set(x_121, 3, x_43); +lean_ctor_set(x_121, 2, x_37); +lean_ctor_set(x_121, 1, x_36); +lean_ctor_set(x_121, 0, x_35); +x_140 = !lean_is_exclusive(x_43); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_141 = lean_ctor_get(x_43, 3); +lean_dec(x_141); +x_142 = lean_ctor_get(x_43, 2); +lean_dec(x_142); +x_143 = lean_ctor_get(x_43, 1); +lean_dec(x_143); +x_144 = lean_ctor_get(x_43, 0); +lean_dec(x_144); +lean_ctor_set_uint8(x_121, sizeof(void*)*4, x_139); +lean_ctor_set(x_43, 3, x_138); +lean_ctor_set(x_43, 2, x_137); +lean_ctor_set(x_43, 1, x_136); +lean_ctor_set(x_43, 0, x_135); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_139); +x_145 = 0; +lean_ctor_set(x_41, 3, x_43); +lean_ctor_set(x_41, 0, x_121); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_145); +return x_41; +} +else +{ +lean_object* x_146; uint8_t x_147; +lean_dec(x_43); +lean_ctor_set_uint8(x_121, sizeof(void*)*4, x_139); +x_146 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_136); +lean_ctor_set(x_146, 2, x_137); +lean_ctor_set(x_146, 3, x_138); +lean_ctor_set_uint8(x_146, sizeof(void*)*4, x_139); +x_147 = 0; +lean_ctor_set(x_41, 3, x_146); +lean_ctor_set(x_41, 0, x_121); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_147); +return x_41; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_148 = lean_ctor_get(x_121, 0); +x_149 = lean_ctor_get(x_121, 1); +x_150 = lean_ctor_get(x_121, 2); +x_151 = lean_ctor_get(x_121, 3); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_121); +x_152 = 1; +lean_inc(x_43); +x_153 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_153, 0, x_35); +lean_ctor_set(x_153, 1, x_36); +lean_ctor_set(x_153, 2, x_37); +lean_ctor_set(x_153, 3, x_43); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_154 = x_43; +} else { + lean_dec_ref(x_43); + x_154 = lean_box(0); +} +lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_152); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 4, 1); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_148); +lean_ctor_set(x_155, 1, x_149); +lean_ctor_set(x_155, 2, x_150); +lean_ctor_set(x_155, 3, x_151); +lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_152); +x_156 = 0; +lean_ctor_set(x_41, 3, x_155); +lean_ctor_set(x_41, 0, x_153); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_156); +return x_41; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; +x_157 = lean_ctor_get(x_41, 1); +x_158 = lean_ctor_get(x_41, 2); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_41); +x_159 = lean_ctor_get(x_121, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_121, 1); +lean_inc(x_160); +x_161 = lean_ctor_get(x_121, 2); +lean_inc(x_161); +x_162 = lean_ctor_get(x_121, 3); +lean_inc(x_162); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + lean_ctor_release(x_121, 2); + lean_ctor_release(x_121, 3); + x_163 = x_121; +} else { + lean_dec_ref(x_121); + x_163 = lean_box(0); +} +x_164 = 1; +lean_inc(x_43); +if (lean_is_scalar(x_163)) { + x_165 = lean_alloc_ctor(1, 4, 1); +} else { + x_165 = x_163; +} +lean_ctor_set(x_165, 0, x_35); +lean_ctor_set(x_165, 1, x_36); +lean_ctor_set(x_165, 2, x_37); +lean_ctor_set(x_165, 3, x_43); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_166 = x_43; +} else { + lean_dec_ref(x_43); + x_166 = lean_box(0); +} +lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_164); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 4, 1); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_159); +lean_ctor_set(x_167, 1, x_160); +lean_ctor_set(x_167, 2, x_161); +lean_ctor_set(x_167, 3, x_162); +lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_164); +x_168 = 0; +x_169 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_169, 0, x_165); +lean_ctor_set(x_169, 1, x_157); +lean_ctor_set(x_169, 2, x_158); +lean_ctor_set(x_169, 3, x_167); +lean_ctor_set_uint8(x_169, sizeof(void*)*4, x_168); +return x_169; +} +} +else +{ +uint8_t x_170; +x_170 = !lean_is_exclusive(x_41); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_171 = lean_ctor_get(x_41, 3); +lean_dec(x_171); +x_172 = lean_ctor_get(x_41, 0); +lean_dec(x_172); +x_173 = !lean_is_exclusive(x_43); +if (x_173 == 0) +{ +uint8_t x_174; +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_130); +x_174 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_174); +return x_1; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_175 = lean_ctor_get(x_43, 0); +x_176 = lean_ctor_get(x_43, 1); +x_177 = lean_ctor_get(x_43, 2); +x_178 = lean_ctor_get(x_43, 3); +lean_inc(x_178); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_43); +x_179 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_179, 0, x_175); +lean_ctor_set(x_179, 1, x_176); +lean_ctor_set(x_179, 2, x_177); +lean_ctor_set(x_179, 3, x_178); +lean_ctor_set_uint8(x_179, sizeof(void*)*4, x_130); +lean_ctor_set(x_41, 0, x_179); +x_180 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_180); +return x_1; +} +} +else +{ +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; uint8_t x_190; +x_181 = lean_ctor_get(x_41, 1); +x_182 = lean_ctor_get(x_41, 2); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_41); +x_183 = lean_ctor_get(x_43, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_43, 1); +lean_inc(x_184); +x_185 = lean_ctor_get(x_43, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_43, 3); +lean_inc(x_186); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_187 = x_43; +} else { + lean_dec_ref(x_43); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 4, 1); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_183); +lean_ctor_set(x_188, 1, x_184); +lean_ctor_set(x_188, 2, x_185); +lean_ctor_set(x_188, 3, x_186); +lean_ctor_set_uint8(x_188, sizeof(void*)*4, x_130); +x_189 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_181); +lean_ctor_set(x_189, 2, x_182); +lean_ctor_set(x_189, 3, x_121); +lean_ctor_set_uint8(x_189, sizeof(void*)*4, x_42); +x_190 = 1; +lean_ctor_set(x_1, 3, x_189); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_191; +x_191 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_191); +return x_1; +} +} +else +{ +uint8_t x_192; +lean_dec(x_37); +lean_dec(x_36); +x_192 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_192); +return x_1; +} +} +else +{ +lean_object* x_193; uint8_t x_194; +x_193 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_35, x_2, x_3); +x_194 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +if (lean_obj_tag(x_195) == 0) +{ +lean_object* x_196; +x_196 = lean_ctor_get(x_193, 3); +lean_inc(x_196); +if (lean_obj_tag(x_196) == 0) +{ +uint8_t x_197; +x_197 = !lean_is_exclusive(x_193); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_193, 3); +lean_dec(x_198); +x_199 = lean_ctor_get(x_193, 0); +lean_dec(x_199); +lean_ctor_set(x_193, 0, x_196); +x_200 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_200); +return x_1; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_201 = lean_ctor_get(x_193, 1); +x_202 = lean_ctor_get(x_193, 2); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_193); +x_203 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_203, 0, x_196); +lean_ctor_set(x_203, 1, x_201); +lean_ctor_set(x_203, 2, x_202); +lean_ctor_set(x_203, 3, x_196); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_194); +x_204 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_204); +return x_1; +} +} +else +{ +uint8_t x_205; +x_205 = lean_ctor_get_uint8(x_196, sizeof(void*)*4); +if (x_205 == 0) +{ +uint8_t x_206; +x_206 = !lean_is_exclusive(x_193); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_207 = lean_ctor_get(x_193, 1); +x_208 = lean_ctor_get(x_193, 2); +x_209 = lean_ctor_get(x_193, 3); +lean_dec(x_209); +x_210 = lean_ctor_get(x_193, 0); +lean_dec(x_210); +x_211 = !lean_is_exclusive(x_196); +if (x_211 == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; uint8_t x_217; +x_212 = lean_ctor_get(x_196, 0); +x_213 = lean_ctor_get(x_196, 1); +x_214 = lean_ctor_get(x_196, 2); +x_215 = lean_ctor_get(x_196, 3); +x_216 = 1; +lean_ctor_set(x_196, 3, x_212); +lean_ctor_set(x_196, 2, x_208); +lean_ctor_set(x_196, 1, x_207); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set_uint8(x_196, sizeof(void*)*4, x_216); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_215); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_216); +x_217 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_214); +lean_ctor_set(x_1, 1, x_213); +lean_ctor_set(x_1, 0, x_196); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_217); +return x_1; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_object* x_223; uint8_t x_224; +x_218 = lean_ctor_get(x_196, 0); +x_219 = lean_ctor_get(x_196, 1); +x_220 = lean_ctor_get(x_196, 2); +x_221 = lean_ctor_get(x_196, 3); +lean_inc(x_221); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_196); +x_222 = 1; +x_223 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_223, 0, x_195); +lean_ctor_set(x_223, 1, x_207); +lean_ctor_set(x_223, 2, x_208); +lean_ctor_set(x_223, 3, x_218); +lean_ctor_set_uint8(x_223, sizeof(void*)*4, x_222); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_221); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_222); +x_224 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_220); +lean_ctor_set(x_1, 1, x_219); +lean_ctor_set(x_1, 0, x_223); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_224); +return x_1; +} +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_225 = lean_ctor_get(x_193, 1); +x_226 = lean_ctor_get(x_193, 2); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_193); +x_227 = lean_ctor_get(x_196, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_196, 1); +lean_inc(x_228); +x_229 = lean_ctor_get(x_196, 2); +lean_inc(x_229); +x_230 = lean_ctor_get(x_196, 3); +lean_inc(x_230); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + lean_ctor_release(x_196, 2); + lean_ctor_release(x_196, 3); + x_231 = x_196; +} else { + lean_dec_ref(x_196); + x_231 = lean_box(0); +} +x_232 = 1; +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(1, 4, 1); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_195); +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_uint8(x_233, sizeof(void*)*4, x_232); +x_234 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_234, 0, x_230); +lean_ctor_set(x_234, 1, x_36); +lean_ctor_set(x_234, 2, x_37); +lean_ctor_set(x_234, 3, x_38); +lean_ctor_set_uint8(x_234, sizeof(void*)*4, x_232); +x_235 = 0; +lean_ctor_set(x_1, 3, x_234); +lean_ctor_set(x_1, 2, x_229); +lean_ctor_set(x_1, 1, x_228); +lean_ctor_set(x_1, 0, x_233); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_235); +return x_1; +} +} +else +{ +uint8_t x_236; +lean_free_object(x_1); +x_236 = !lean_is_exclusive(x_196); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; +x_237 = lean_ctor_get(x_196, 3); +lean_dec(x_237); +x_238 = lean_ctor_get(x_196, 2); +lean_dec(x_238); +x_239 = lean_ctor_get(x_196, 1); +lean_dec(x_239); +x_240 = lean_ctor_get(x_196, 0); +lean_dec(x_240); +x_241 = 1; +lean_ctor_set(x_196, 3, x_38); +lean_ctor_set(x_196, 2, x_37); +lean_ctor_set(x_196, 1, x_36); +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set_uint8(x_196, sizeof(void*)*4, x_241); +return x_196; +} +else +{ +uint8_t x_242; lean_object* x_243; +lean_dec(x_196); +x_242 = 1; +x_243 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_243, 0, x_193); +lean_ctor_set(x_243, 1, x_36); +lean_ctor_set(x_243, 2, x_37); +lean_ctor_set(x_243, 3, x_38); +lean_ctor_set_uint8(x_243, sizeof(void*)*4, x_242); +return x_243; +} +} +} +} +else +{ +uint8_t x_244; +x_244 = lean_ctor_get_uint8(x_195, sizeof(void*)*4); +if (x_244 == 0) +{ +uint8_t x_245; +x_245 = !lean_is_exclusive(x_193); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; +x_246 = lean_ctor_get(x_193, 1); +x_247 = lean_ctor_get(x_193, 2); +x_248 = lean_ctor_get(x_193, 3); +x_249 = lean_ctor_get(x_193, 0); +lean_dec(x_249); +x_250 = !lean_is_exclusive(x_195); +if (x_250 == 0) +{ +uint8_t x_251; uint8_t x_252; +x_251 = 1; +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_251); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_248); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_251); +x_252 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_247); +lean_ctor_set(x_1, 1, x_246); +lean_ctor_set(x_1, 0, x_195); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_252); +return x_1; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; +x_253 = lean_ctor_get(x_195, 0); +x_254 = lean_ctor_get(x_195, 1); +x_255 = lean_ctor_get(x_195, 2); +x_256 = lean_ctor_get(x_195, 3); +lean_inc(x_256); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_195); +x_257 = 1; +x_258 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_258, 0, x_253); +lean_ctor_set(x_258, 1, x_254); +lean_ctor_set(x_258, 2, x_255); +lean_ctor_set(x_258, 3, x_256); +lean_ctor_set_uint8(x_258, sizeof(void*)*4, x_257); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_248); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_257); +x_259 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_247); +lean_ctor_set(x_1, 1, x_246); +lean_ctor_set(x_1, 0, x_258); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_259); +return x_1; +} +} +else +{ +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; uint8_t x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; +x_260 = lean_ctor_get(x_193, 1); +x_261 = lean_ctor_get(x_193, 2); +x_262 = lean_ctor_get(x_193, 3); +lean_inc(x_262); +lean_inc(x_261); +lean_inc(x_260); +lean_dec(x_193); +x_263 = lean_ctor_get(x_195, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_195, 1); +lean_inc(x_264); +x_265 = lean_ctor_get(x_195, 2); +lean_inc(x_265); +x_266 = lean_ctor_get(x_195, 3); +lean_inc(x_266); +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); + x_267 = x_195; +} else { + lean_dec_ref(x_195); + x_267 = lean_box(0); +} +x_268 = 1; +if (lean_is_scalar(x_267)) { + x_269 = lean_alloc_ctor(1, 4, 1); +} else { + x_269 = x_267; +} +lean_ctor_set(x_269, 0, x_263); +lean_ctor_set(x_269, 1, x_264); +lean_ctor_set(x_269, 2, x_265); +lean_ctor_set(x_269, 3, x_266); +lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_268); +x_270 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_270, 0, x_262); +lean_ctor_set(x_270, 1, x_36); +lean_ctor_set(x_270, 2, x_37); +lean_ctor_set(x_270, 3, x_38); +lean_ctor_set_uint8(x_270, sizeof(void*)*4, x_268); +x_271 = 0; +lean_ctor_set(x_1, 3, x_270); +lean_ctor_set(x_1, 2, x_261); +lean_ctor_set(x_1, 1, x_260); +lean_ctor_set(x_1, 0, x_269); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_271); +return x_1; +} +} +else +{ +lean_object* x_272; +x_272 = lean_ctor_get(x_193, 3); +lean_inc(x_272); +if (lean_obj_tag(x_272) == 0) +{ +uint8_t x_273; +lean_free_object(x_1); +x_273 = !lean_is_exclusive(x_195); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_274 = lean_ctor_get(x_195, 3); +lean_dec(x_274); +x_275 = lean_ctor_get(x_195, 2); +lean_dec(x_275); +x_276 = lean_ctor_get(x_195, 1); +lean_dec(x_276); +x_277 = lean_ctor_get(x_195, 0); +lean_dec(x_277); +x_278 = 1; +lean_ctor_set(x_195, 3, x_38); +lean_ctor_set(x_195, 2, x_37); +lean_ctor_set(x_195, 1, x_36); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_278); +return x_195; +} +else +{ +uint8_t x_279; lean_object* x_280; +lean_dec(x_195); +x_279 = 1; +x_280 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_280, 0, x_193); +lean_ctor_set(x_280, 1, x_36); +lean_ctor_set(x_280, 2, x_37); +lean_ctor_set(x_280, 3, x_38); +lean_ctor_set_uint8(x_280, sizeof(void*)*4, x_279); +return x_280; +} +} +else +{ +uint8_t x_281; +x_281 = lean_ctor_get_uint8(x_272, sizeof(void*)*4); +if (x_281 == 0) +{ +uint8_t x_282; +lean_free_object(x_1); +x_282 = !lean_is_exclusive(x_193); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_283 = lean_ctor_get(x_193, 1); +x_284 = lean_ctor_get(x_193, 2); +x_285 = lean_ctor_get(x_193, 3); +lean_dec(x_285); +x_286 = lean_ctor_get(x_193, 0); +lean_dec(x_286); +x_287 = !lean_is_exclusive(x_272); +if (x_287 == 0) +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; uint8_t x_293; +x_288 = lean_ctor_get(x_272, 0); +x_289 = lean_ctor_get(x_272, 1); +x_290 = lean_ctor_get(x_272, 2); +x_291 = lean_ctor_get(x_272, 3); +x_292 = 1; +lean_inc(x_195); +lean_ctor_set(x_272, 3, x_288); +lean_ctor_set(x_272, 2, x_284); +lean_ctor_set(x_272, 1, x_283); +lean_ctor_set(x_272, 0, x_195); +x_293 = !lean_is_exclusive(x_195); +if (x_293 == 0) +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_294 = lean_ctor_get(x_195, 3); +lean_dec(x_294); +x_295 = lean_ctor_get(x_195, 2); +lean_dec(x_295); +x_296 = lean_ctor_get(x_195, 1); +lean_dec(x_296); +x_297 = lean_ctor_get(x_195, 0); +lean_dec(x_297); +lean_ctor_set_uint8(x_272, sizeof(void*)*4, x_292); +lean_ctor_set(x_195, 3, x_38); +lean_ctor_set(x_195, 2, x_37); +lean_ctor_set(x_195, 1, x_36); +lean_ctor_set(x_195, 0, x_291); +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_292); +x_298 = 0; +lean_ctor_set(x_193, 3, x_195); +lean_ctor_set(x_193, 2, x_290); +lean_ctor_set(x_193, 1, x_289); +lean_ctor_set(x_193, 0, x_272); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_298); +return x_193; +} +else +{ +lean_object* x_299; uint8_t x_300; +lean_dec(x_195); +lean_ctor_set_uint8(x_272, sizeof(void*)*4, x_292); +x_299 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_299, 0, x_291); +lean_ctor_set(x_299, 1, x_36); +lean_ctor_set(x_299, 2, x_37); +lean_ctor_set(x_299, 3, x_38); +lean_ctor_set_uint8(x_299, sizeof(void*)*4, x_292); +x_300 = 0; +lean_ctor_set(x_193, 3, x_299); +lean_ctor_set(x_193, 2, x_290); +lean_ctor_set(x_193, 1, x_289); +lean_ctor_set(x_193, 0, x_272); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_300); +return x_193; +} +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_301 = lean_ctor_get(x_272, 0); +x_302 = lean_ctor_get(x_272, 1); +x_303 = lean_ctor_get(x_272, 2); +x_304 = lean_ctor_get(x_272, 3); +lean_inc(x_304); +lean_inc(x_303); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_272); +x_305 = 1; +lean_inc(x_195); +x_306 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_306, 0, x_195); +lean_ctor_set(x_306, 1, x_283); +lean_ctor_set(x_306, 2, x_284); +lean_ctor_set(x_306, 3, x_301); +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); + x_307 = x_195; +} else { + lean_dec_ref(x_195); + x_307 = lean_box(0); +} +lean_ctor_set_uint8(x_306, sizeof(void*)*4, x_305); +if (lean_is_scalar(x_307)) { + x_308 = lean_alloc_ctor(1, 4, 1); +} else { + x_308 = x_307; +} +lean_ctor_set(x_308, 0, x_304); +lean_ctor_set(x_308, 1, x_36); +lean_ctor_set(x_308, 2, x_37); +lean_ctor_set(x_308, 3, x_38); +lean_ctor_set_uint8(x_308, sizeof(void*)*4, x_305); +x_309 = 0; +lean_ctor_set(x_193, 3, x_308); +lean_ctor_set(x_193, 2, x_303); +lean_ctor_set(x_193, 1, x_302); +lean_ctor_set(x_193, 0, x_306); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_309); +return x_193; +} +} +else +{ +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; uint8_t x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_322; +x_310 = lean_ctor_get(x_193, 1); +x_311 = lean_ctor_get(x_193, 2); +lean_inc(x_311); +lean_inc(x_310); +lean_dec(x_193); +x_312 = lean_ctor_get(x_272, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_272, 1); +lean_inc(x_313); +x_314 = lean_ctor_get(x_272, 2); +lean_inc(x_314); +x_315 = lean_ctor_get(x_272, 3); +lean_inc(x_315); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + lean_ctor_release(x_272, 2); + lean_ctor_release(x_272, 3); + x_316 = x_272; +} else { + lean_dec_ref(x_272); + x_316 = lean_box(0); +} +x_317 = 1; +lean_inc(x_195); +if (lean_is_scalar(x_316)) { + x_318 = lean_alloc_ctor(1, 4, 1); +} else { + x_318 = x_316; +} +lean_ctor_set(x_318, 0, x_195); +lean_ctor_set(x_318, 1, x_310); +lean_ctor_set(x_318, 2, x_311); +lean_ctor_set(x_318, 3, x_312); +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); + x_319 = x_195; +} else { + lean_dec_ref(x_195); + x_319 = lean_box(0); +} +lean_ctor_set_uint8(x_318, sizeof(void*)*4, x_317); +if (lean_is_scalar(x_319)) { + x_320 = lean_alloc_ctor(1, 4, 1); +} else { + x_320 = x_319; +} +lean_ctor_set(x_320, 0, x_315); +lean_ctor_set(x_320, 1, x_36); +lean_ctor_set(x_320, 2, x_37); +lean_ctor_set(x_320, 3, x_38); +lean_ctor_set_uint8(x_320, sizeof(void*)*4, x_317); +x_321 = 0; +x_322 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_322, 0, x_318); +lean_ctor_set(x_322, 1, x_313); +lean_ctor_set(x_322, 2, x_314); +lean_ctor_set(x_322, 3, x_320); +lean_ctor_set_uint8(x_322, sizeof(void*)*4, x_321); +return x_322; +} +} +else +{ +uint8_t x_323; +x_323 = !lean_is_exclusive(x_193); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_324 = lean_ctor_get(x_193, 3); +lean_dec(x_324); +x_325 = lean_ctor_get(x_193, 0); +lean_dec(x_325); +x_326 = !lean_is_exclusive(x_195); +if (x_326 == 0) +{ +uint8_t x_327; +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_281); +x_327 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_327); +return x_1; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; uint8_t x_333; +x_328 = lean_ctor_get(x_195, 0); +x_329 = lean_ctor_get(x_195, 1); +x_330 = lean_ctor_get(x_195, 2); +x_331 = lean_ctor_get(x_195, 3); +lean_inc(x_331); +lean_inc(x_330); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_195); +x_332 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_332, 0, x_328); +lean_ctor_set(x_332, 1, x_329); +lean_ctor_set(x_332, 2, x_330); +lean_ctor_set(x_332, 3, x_331); +lean_ctor_set_uint8(x_332, sizeof(void*)*4, x_281); +lean_ctor_set(x_193, 0, x_332); +x_333 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_333); +return x_1; +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +x_334 = lean_ctor_get(x_193, 1); +x_335 = lean_ctor_get(x_193, 2); +lean_inc(x_335); +lean_inc(x_334); +lean_dec(x_193); +x_336 = lean_ctor_get(x_195, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_195, 1); +lean_inc(x_337); +x_338 = lean_ctor_get(x_195, 2); +lean_inc(x_338); +x_339 = lean_ctor_get(x_195, 3); +lean_inc(x_339); +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); + x_340 = x_195; +} else { + lean_dec_ref(x_195); + x_340 = lean_box(0); +} +if (lean_is_scalar(x_340)) { + x_341 = lean_alloc_ctor(1, 4, 1); +} else { + x_341 = x_340; +} +lean_ctor_set(x_341, 0, x_336); +lean_ctor_set(x_341, 1, x_337); +lean_ctor_set(x_341, 2, x_338); +lean_ctor_set(x_341, 3, x_339); +lean_ctor_set_uint8(x_341, sizeof(void*)*4, x_281); +x_342 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_334); +lean_ctor_set(x_342, 2, x_335); +lean_ctor_set(x_342, 3, x_272); +lean_ctor_set_uint8(x_342, sizeof(void*)*4, x_194); +x_343 = 1; +lean_ctor_set(x_1, 0, x_342); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_343); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_344; +x_344 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_344); +return x_1; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; +x_345 = lean_ctor_get(x_1, 0); +x_346 = lean_ctor_get(x_1, 1); +x_347 = lean_ctor_get(x_1, 2); +x_348 = lean_ctor_get(x_1, 3); +lean_inc(x_348); +lean_inc(x_347); +lean_inc(x_346); +lean_inc(x_345); +lean_dec(x_1); +x_349 = lean_nat_dec_lt(x_2, x_346); +if (x_349 == 0) +{ +uint8_t x_350; +x_350 = lean_nat_dec_eq(x_2, x_346); +if (x_350 == 0) +{ +lean_object* x_351; uint8_t x_352; +x_351 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_348, x_2, x_3); +x_352 = lean_ctor_get_uint8(x_351, sizeof(void*)*4); +if (x_352 == 0) +{ +lean_object* x_353; +x_353 = lean_ctor_get(x_351, 0); +lean_inc(x_353); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; +x_354 = lean_ctor_get(x_351, 3); +lean_inc(x_354); +if (lean_obj_tag(x_354) == 0) +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; lean_object* x_360; +x_355 = lean_ctor_get(x_351, 1); +lean_inc(x_355); +x_356 = lean_ctor_get(x_351, 2); +lean_inc(x_356); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_357 = x_351; +} else { + lean_dec_ref(x_351); + x_357 = lean_box(0); +} +if (lean_is_scalar(x_357)) { + x_358 = lean_alloc_ctor(1, 4, 1); +} else { + x_358 = x_357; +} +lean_ctor_set(x_358, 0, x_354); +lean_ctor_set(x_358, 1, x_355); +lean_ctor_set(x_358, 2, x_356); +lean_ctor_set(x_358, 3, x_354); +lean_ctor_set_uint8(x_358, sizeof(void*)*4, x_352); +x_359 = 1; +x_360 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_360, 0, x_345); +lean_ctor_set(x_360, 1, x_346); +lean_ctor_set(x_360, 2, x_347); +lean_ctor_set(x_360, 3, x_358); +lean_ctor_set_uint8(x_360, sizeof(void*)*4, x_359); +return x_360; +} +else +{ +uint8_t x_361; +x_361 = lean_ctor_get_uint8(x_354, sizeof(void*)*4); +if (x_361 == 0) +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; +x_362 = lean_ctor_get(x_351, 1); +lean_inc(x_362); +x_363 = lean_ctor_get(x_351, 2); +lean_inc(x_363); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_364 = x_351; +} else { + lean_dec_ref(x_351); + x_364 = lean_box(0); +} +x_365 = lean_ctor_get(x_354, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_354, 1); +lean_inc(x_366); +x_367 = lean_ctor_get(x_354, 2); +lean_inc(x_367); +x_368 = lean_ctor_get(x_354, 3); +lean_inc(x_368); +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + lean_ctor_release(x_354, 2); + lean_ctor_release(x_354, 3); + x_369 = x_354; +} else { + lean_dec_ref(x_354); + x_369 = lean_box(0); +} +x_370 = 1; +if (lean_is_scalar(x_369)) { + x_371 = lean_alloc_ctor(1, 4, 1); +} else { + x_371 = x_369; +} +lean_ctor_set(x_371, 0, x_345); +lean_ctor_set(x_371, 1, x_346); +lean_ctor_set(x_371, 2, x_347); +lean_ctor_set(x_371, 3, x_353); +lean_ctor_set_uint8(x_371, sizeof(void*)*4, x_370); +if (lean_is_scalar(x_364)) { + x_372 = lean_alloc_ctor(1, 4, 1); +} else { + x_372 = x_364; +} +lean_ctor_set(x_372, 0, x_365); +lean_ctor_set(x_372, 1, x_366); +lean_ctor_set(x_372, 2, x_367); +lean_ctor_set(x_372, 3, x_368); +lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_370); +x_373 = 0; +x_374 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_374, 0, x_371); +lean_ctor_set(x_374, 1, x_362); +lean_ctor_set(x_374, 2, x_363); +lean_ctor_set(x_374, 3, x_372); +lean_ctor_set_uint8(x_374, sizeof(void*)*4, x_373); +return x_374; +} +else +{ +lean_object* x_375; uint8_t x_376; lean_object* x_377; +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + lean_ctor_release(x_354, 2); + lean_ctor_release(x_354, 3); + x_375 = x_354; +} else { + lean_dec_ref(x_354); + x_375 = lean_box(0); +} +x_376 = 1; +if (lean_is_scalar(x_375)) { + x_377 = lean_alloc_ctor(1, 4, 1); +} else { + x_377 = x_375; +} +lean_ctor_set(x_377, 0, x_345); +lean_ctor_set(x_377, 1, x_346); +lean_ctor_set(x_377, 2, x_347); +lean_ctor_set(x_377, 3, x_351); +lean_ctor_set_uint8(x_377, sizeof(void*)*4, x_376); +return x_377; +} +} +} +else +{ +uint8_t x_378; +x_378 = lean_ctor_get_uint8(x_353, sizeof(void*)*4); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; +x_379 = lean_ctor_get(x_351, 1); +lean_inc(x_379); +x_380 = lean_ctor_get(x_351, 2); +lean_inc(x_380); +x_381 = lean_ctor_get(x_351, 3); +lean_inc(x_381); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_382 = x_351; +} else { + lean_dec_ref(x_351); + x_382 = lean_box(0); +} +x_383 = lean_ctor_get(x_353, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_353, 1); +lean_inc(x_384); +x_385 = lean_ctor_get(x_353, 2); +lean_inc(x_385); +x_386 = lean_ctor_get(x_353, 3); +lean_inc(x_386); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_387 = x_353; +} else { + lean_dec_ref(x_353); + x_387 = lean_box(0); +} +x_388 = 1; +if (lean_is_scalar(x_387)) { + x_389 = lean_alloc_ctor(1, 4, 1); +} else { + x_389 = x_387; +} +lean_ctor_set(x_389, 0, x_345); +lean_ctor_set(x_389, 1, x_346); +lean_ctor_set(x_389, 2, x_347); +lean_ctor_set(x_389, 3, x_383); +lean_ctor_set_uint8(x_389, sizeof(void*)*4, x_388); +if (lean_is_scalar(x_382)) { + x_390 = lean_alloc_ctor(1, 4, 1); +} else { + x_390 = x_382; +} +lean_ctor_set(x_390, 0, x_386); +lean_ctor_set(x_390, 1, x_379); +lean_ctor_set(x_390, 2, x_380); +lean_ctor_set(x_390, 3, x_381); +lean_ctor_set_uint8(x_390, sizeof(void*)*4, x_388); +x_391 = 0; +x_392 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_392, 0, x_389); +lean_ctor_set(x_392, 1, x_384); +lean_ctor_set(x_392, 2, x_385); +lean_ctor_set(x_392, 3, x_390); +lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); +return x_392; +} +else +{ +lean_object* x_393; +x_393 = lean_ctor_get(x_351, 3); +lean_inc(x_393); +if (lean_obj_tag(x_393) == 0) +{ +lean_object* x_394; uint8_t x_395; lean_object* x_396; +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_394 = x_353; +} else { + lean_dec_ref(x_353); + x_394 = lean_box(0); +} +x_395 = 1; +if (lean_is_scalar(x_394)) { + x_396 = lean_alloc_ctor(1, 4, 1); +} else { + x_396 = x_394; +} +lean_ctor_set(x_396, 0, x_345); +lean_ctor_set(x_396, 1, x_346); +lean_ctor_set(x_396, 2, x_347); +lean_ctor_set(x_396, 3, x_351); +lean_ctor_set_uint8(x_396, sizeof(void*)*4, x_395); +return x_396; +} +else +{ +uint8_t x_397; +x_397 = lean_ctor_get_uint8(x_393, sizeof(void*)*4); +if (x_397 == 0) +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; lean_object* x_411; +x_398 = lean_ctor_get(x_351, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_351, 2); +lean_inc(x_399); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_400 = x_351; +} else { + lean_dec_ref(x_351); + x_400 = lean_box(0); +} +x_401 = lean_ctor_get(x_393, 0); +lean_inc(x_401); +x_402 = lean_ctor_get(x_393, 1); +lean_inc(x_402); +x_403 = lean_ctor_get(x_393, 2); +lean_inc(x_403); +x_404 = lean_ctor_get(x_393, 3); +lean_inc(x_404); +if (lean_is_exclusive(x_393)) { + lean_ctor_release(x_393, 0); + lean_ctor_release(x_393, 1); + lean_ctor_release(x_393, 2); + lean_ctor_release(x_393, 3); + x_405 = x_393; +} else { + lean_dec_ref(x_393); + x_405 = lean_box(0); +} +x_406 = 1; +lean_inc(x_353); +if (lean_is_scalar(x_405)) { + x_407 = lean_alloc_ctor(1, 4, 1); +} else { + x_407 = x_405; +} +lean_ctor_set(x_407, 0, x_345); +lean_ctor_set(x_407, 1, x_346); +lean_ctor_set(x_407, 2, x_347); +lean_ctor_set(x_407, 3, x_353); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_408 = x_353; +} else { + lean_dec_ref(x_353); + x_408 = lean_box(0); +} +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +if (lean_is_scalar(x_408)) { + x_409 = lean_alloc_ctor(1, 4, 1); +} else { + x_409 = x_408; +} +lean_ctor_set(x_409, 0, x_401); +lean_ctor_set(x_409, 1, x_402); +lean_ctor_set(x_409, 2, x_403); +lean_ctor_set(x_409, 3, x_404); +lean_ctor_set_uint8(x_409, sizeof(void*)*4, x_406); +x_410 = 0; +if (lean_is_scalar(x_400)) { + x_411 = lean_alloc_ctor(1, 4, 1); +} else { + x_411 = x_400; +} +lean_ctor_set(x_411, 0, x_407); +lean_ctor_set(x_411, 1, x_398); +lean_ctor_set(x_411, 2, x_399); +lean_ctor_set(x_411, 3, x_409); +lean_ctor_set_uint8(x_411, sizeof(void*)*4, x_410); +return x_411; +} +else +{ +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; lean_object* x_423; +x_412 = lean_ctor_get(x_351, 1); +lean_inc(x_412); +x_413 = lean_ctor_get(x_351, 2); +lean_inc(x_413); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_414 = x_351; +} else { + lean_dec_ref(x_351); + x_414 = lean_box(0); +} +x_415 = lean_ctor_get(x_353, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_353, 1); +lean_inc(x_416); +x_417 = lean_ctor_get(x_353, 2); +lean_inc(x_417); +x_418 = lean_ctor_get(x_353, 3); +lean_inc(x_418); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_419 = x_353; +} else { + lean_dec_ref(x_353); + x_419 = lean_box(0); +} +if (lean_is_scalar(x_419)) { + x_420 = lean_alloc_ctor(1, 4, 1); +} else { + x_420 = x_419; +} +lean_ctor_set(x_420, 0, x_415); +lean_ctor_set(x_420, 1, x_416); +lean_ctor_set(x_420, 2, x_417); +lean_ctor_set(x_420, 3, x_418); +lean_ctor_set_uint8(x_420, sizeof(void*)*4, x_397); +if (lean_is_scalar(x_414)) { + x_421 = lean_alloc_ctor(1, 4, 1); +} else { + x_421 = x_414; +} +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_412); +lean_ctor_set(x_421, 2, x_413); +lean_ctor_set(x_421, 3, x_393); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_352); +x_422 = 1; +x_423 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_423, 0, x_345); +lean_ctor_set(x_423, 1, x_346); +lean_ctor_set(x_423, 2, x_347); +lean_ctor_set(x_423, 3, x_421); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; +} +} +} +} +} +else +{ +uint8_t x_424; lean_object* x_425; +x_424 = 1; +x_425 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_425, 0, x_345); +lean_ctor_set(x_425, 1, x_346); +lean_ctor_set(x_425, 2, x_347); +lean_ctor_set(x_425, 3, x_351); +lean_ctor_set_uint8(x_425, sizeof(void*)*4, x_424); +return x_425; +} +} +else +{ +uint8_t x_426; lean_object* x_427; +lean_dec(x_347); +lean_dec(x_346); +x_426 = 1; +x_427 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_427, 0, x_345); +lean_ctor_set(x_427, 1, x_2); +lean_ctor_set(x_427, 2, x_3); +lean_ctor_set(x_427, 3, x_348); +lean_ctor_set_uint8(x_427, sizeof(void*)*4, x_426); +return x_427; +} +} +else +{ +lean_object* x_428; uint8_t x_429; +x_428 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_345, x_2, x_3); +x_429 = lean_ctor_get_uint8(x_428, sizeof(void*)*4); +if (x_429 == 0) +{ +lean_object* x_430; +x_430 = lean_ctor_get(x_428, 0); +lean_inc(x_430); +if (lean_obj_tag(x_430) == 0) +{ +lean_object* x_431; +x_431 = lean_ctor_get(x_428, 3); +lean_inc(x_431); +if (lean_obj_tag(x_431) == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; lean_object* x_437; +x_432 = lean_ctor_get(x_428, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_428, 2); +lean_inc(x_433); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_434 = x_428; +} else { + lean_dec_ref(x_428); + x_434 = lean_box(0); +} +if (lean_is_scalar(x_434)) { + x_435 = lean_alloc_ctor(1, 4, 1); +} else { + x_435 = x_434; +} +lean_ctor_set(x_435, 0, x_431); +lean_ctor_set(x_435, 1, x_432); +lean_ctor_set(x_435, 2, x_433); +lean_ctor_set(x_435, 3, x_431); +lean_ctor_set_uint8(x_435, sizeof(void*)*4, x_429); +x_436 = 1; +x_437 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_346); +lean_ctor_set(x_437, 2, x_347); +lean_ctor_set(x_437, 3, x_348); +lean_ctor_set_uint8(x_437, sizeof(void*)*4, x_436); +return x_437; +} +else +{ +uint8_t x_438; +x_438 = lean_ctor_get_uint8(x_431, sizeof(void*)*4); +if (x_438 == 0) +{ +lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; uint8_t x_447; lean_object* x_448; lean_object* x_449; uint8_t x_450; lean_object* x_451; +x_439 = lean_ctor_get(x_428, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_428, 2); +lean_inc(x_440); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_441 = x_428; +} else { + lean_dec_ref(x_428); + x_441 = lean_box(0); +} +x_442 = lean_ctor_get(x_431, 0); +lean_inc(x_442); +x_443 = lean_ctor_get(x_431, 1); +lean_inc(x_443); +x_444 = lean_ctor_get(x_431, 2); +lean_inc(x_444); +x_445 = lean_ctor_get(x_431, 3); +lean_inc(x_445); +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + lean_ctor_release(x_431, 2); + lean_ctor_release(x_431, 3); + x_446 = x_431; +} else { + lean_dec_ref(x_431); + x_446 = lean_box(0); +} +x_447 = 1; +if (lean_is_scalar(x_446)) { + x_448 = lean_alloc_ctor(1, 4, 1); +} else { + x_448 = x_446; +} +lean_ctor_set(x_448, 0, x_430); +lean_ctor_set(x_448, 1, x_439); +lean_ctor_set(x_448, 2, x_440); +lean_ctor_set(x_448, 3, x_442); +lean_ctor_set_uint8(x_448, sizeof(void*)*4, x_447); +if (lean_is_scalar(x_441)) { + x_449 = lean_alloc_ctor(1, 4, 1); +} else { + x_449 = x_441; +} +lean_ctor_set(x_449, 0, x_445); +lean_ctor_set(x_449, 1, x_346); +lean_ctor_set(x_449, 2, x_347); +lean_ctor_set(x_449, 3, x_348); +lean_ctor_set_uint8(x_449, sizeof(void*)*4, x_447); +x_450 = 0; +x_451 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_451, 0, x_448); +lean_ctor_set(x_451, 1, x_443); +lean_ctor_set(x_451, 2, x_444); +lean_ctor_set(x_451, 3, x_449); +lean_ctor_set_uint8(x_451, sizeof(void*)*4, x_450); +return x_451; +} +else +{ +lean_object* x_452; uint8_t x_453; lean_object* x_454; +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + lean_ctor_release(x_431, 2); + lean_ctor_release(x_431, 3); + x_452 = x_431; +} else { + lean_dec_ref(x_431); + x_452 = lean_box(0); +} +x_453 = 1; +if (lean_is_scalar(x_452)) { + x_454 = lean_alloc_ctor(1, 4, 1); +} else { + x_454 = x_452; +} +lean_ctor_set(x_454, 0, x_428); +lean_ctor_set(x_454, 1, x_346); +lean_ctor_set(x_454, 2, x_347); +lean_ctor_set(x_454, 3, x_348); +lean_ctor_set_uint8(x_454, sizeof(void*)*4, x_453); +return x_454; +} +} +} +else +{ +uint8_t x_455; +x_455 = lean_ctor_get_uint8(x_430, sizeof(void*)*4); +if (x_455 == 0) +{ +lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; uint8_t x_465; lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_object* x_469; +x_456 = lean_ctor_get(x_428, 1); +lean_inc(x_456); +x_457 = lean_ctor_get(x_428, 2); +lean_inc(x_457); +x_458 = lean_ctor_get(x_428, 3); +lean_inc(x_458); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_459 = x_428; +} else { + lean_dec_ref(x_428); + x_459 = lean_box(0); +} +x_460 = lean_ctor_get(x_430, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_430, 1); +lean_inc(x_461); +x_462 = lean_ctor_get(x_430, 2); +lean_inc(x_462); +x_463 = lean_ctor_get(x_430, 3); +lean_inc(x_463); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_464 = x_430; +} else { + lean_dec_ref(x_430); + x_464 = lean_box(0); +} +x_465 = 1; +if (lean_is_scalar(x_464)) { + x_466 = lean_alloc_ctor(1, 4, 1); +} else { + x_466 = x_464; +} +lean_ctor_set(x_466, 0, x_460); +lean_ctor_set(x_466, 1, x_461); +lean_ctor_set(x_466, 2, x_462); +lean_ctor_set(x_466, 3, x_463); +lean_ctor_set_uint8(x_466, sizeof(void*)*4, x_465); +if (lean_is_scalar(x_459)) { + x_467 = lean_alloc_ctor(1, 4, 1); +} else { + x_467 = x_459; +} +lean_ctor_set(x_467, 0, x_458); +lean_ctor_set(x_467, 1, x_346); +lean_ctor_set(x_467, 2, x_347); +lean_ctor_set(x_467, 3, x_348); +lean_ctor_set_uint8(x_467, sizeof(void*)*4, x_465); +x_468 = 0; +x_469 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_469, 0, x_466); +lean_ctor_set(x_469, 1, x_456); +lean_ctor_set(x_469, 2, x_457); +lean_ctor_set(x_469, 3, x_467); +lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); +return x_469; +} +else +{ +lean_object* x_470; +x_470 = lean_ctor_get(x_428, 3); +lean_inc(x_470); +if (lean_obj_tag(x_470) == 0) +{ +lean_object* x_471; uint8_t x_472; lean_object* x_473; +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_471 = x_430; +} else { + lean_dec_ref(x_430); + x_471 = lean_box(0); +} +x_472 = 1; +if (lean_is_scalar(x_471)) { + x_473 = lean_alloc_ctor(1, 4, 1); +} else { + x_473 = x_471; +} +lean_ctor_set(x_473, 0, x_428); +lean_ctor_set(x_473, 1, x_346); +lean_ctor_set(x_473, 2, x_347); +lean_ctor_set(x_473, 3, x_348); +lean_ctor_set_uint8(x_473, sizeof(void*)*4, x_472); +return x_473; +} +else +{ +uint8_t x_474; +x_474 = lean_ctor_get_uint8(x_470, sizeof(void*)*4); +if (x_474 == 0) +{ +lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; lean_object* x_488; +x_475 = lean_ctor_get(x_428, 1); +lean_inc(x_475); +x_476 = lean_ctor_get(x_428, 2); +lean_inc(x_476); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_477 = x_428; +} else { + lean_dec_ref(x_428); + x_477 = lean_box(0); +} +x_478 = lean_ctor_get(x_470, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_470, 1); +lean_inc(x_479); +x_480 = lean_ctor_get(x_470, 2); +lean_inc(x_480); +x_481 = lean_ctor_get(x_470, 3); +lean_inc(x_481); +if (lean_is_exclusive(x_470)) { + lean_ctor_release(x_470, 0); + lean_ctor_release(x_470, 1); + lean_ctor_release(x_470, 2); + lean_ctor_release(x_470, 3); + x_482 = x_470; +} else { + lean_dec_ref(x_470); + x_482 = lean_box(0); +} +x_483 = 1; +lean_inc(x_430); +if (lean_is_scalar(x_482)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_482; +} +lean_ctor_set(x_484, 0, x_430); +lean_ctor_set(x_484, 1, x_475); +lean_ctor_set(x_484, 2, x_476); +lean_ctor_set(x_484, 3, x_478); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_485 = x_430; +} else { + lean_dec_ref(x_430); + x_485 = lean_box(0); +} +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); +if (lean_is_scalar(x_485)) { + x_486 = lean_alloc_ctor(1, 4, 1); +} else { + x_486 = x_485; +} +lean_ctor_set(x_486, 0, x_481); +lean_ctor_set(x_486, 1, x_346); +lean_ctor_set(x_486, 2, x_347); +lean_ctor_set(x_486, 3, x_348); +lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_483); +x_487 = 0; +if (lean_is_scalar(x_477)) { + x_488 = lean_alloc_ctor(1, 4, 1); +} else { + x_488 = x_477; +} +lean_ctor_set(x_488, 0, x_484); +lean_ctor_set(x_488, 1, x_479); +lean_ctor_set(x_488, 2, x_480); +lean_ctor_set(x_488, 3, x_486); +lean_ctor_set_uint8(x_488, sizeof(void*)*4, x_487); +return x_488; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; lean_object* x_500; +x_489 = lean_ctor_get(x_428, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_428, 2); +lean_inc(x_490); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_491 = x_428; +} else { + lean_dec_ref(x_428); + x_491 = lean_box(0); +} +x_492 = lean_ctor_get(x_430, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_430, 1); +lean_inc(x_493); +x_494 = lean_ctor_get(x_430, 2); +lean_inc(x_494); +x_495 = lean_ctor_get(x_430, 3); +lean_inc(x_495); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_496 = x_430; +} else { + lean_dec_ref(x_430); + x_496 = lean_box(0); +} +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 4, 1); +} else { + x_497 = x_496; +} +lean_ctor_set(x_497, 0, x_492); +lean_ctor_set(x_497, 1, x_493); +lean_ctor_set(x_497, 2, x_494); +lean_ctor_set(x_497, 3, x_495); +lean_ctor_set_uint8(x_497, sizeof(void*)*4, x_474); +if (lean_is_scalar(x_491)) { + x_498 = lean_alloc_ctor(1, 4, 1); +} else { + x_498 = x_491; +} +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_489); +lean_ctor_set(x_498, 2, x_490); +lean_ctor_set(x_498, 3, x_470); +lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_429); +x_499 = 1; +x_500 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_500, 0, x_498); +lean_ctor_set(x_500, 1, x_346); +lean_ctor_set(x_500, 2, x_347); +lean_ctor_set(x_500, 3, x_348); +lean_ctor_set_uint8(x_500, sizeof(void*)*4, x_499); +return x_500; +} +} +} +} +} +else +{ +uint8_t x_501; lean_object* x_502; +x_501 = 1; +x_502 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_502, 0, x_428); +lean_ctor_set(x_502, 1, x_346); +lean_ctor_set(x_502, 2, x_347); +lean_ctor_set(x_502, 3, x_348); +lean_ctor_set_uint8(x_502, sizeof(void*)*4, x_501); +return x_502; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__2(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; +x_6 = lean_ctor_get(x_4, 1); +x_7 = lean_ctor_get(x_4, 0); +lean_dec(x_7); +x_8 = lean_array_get_size(x_6); +x_9 = lean_uint64_of_nat(x_1); +x_10 = 32; +x_11 = lean_uint64_shift_right(x_9, x_10); +x_12 = lean_uint64_xor(x_9, x_11); +x_13 = 16; +x_14 = lean_uint64_shift_right(x_12, x_13); +x_15 = lean_uint64_xor(x_12, x_14); +x_16 = lean_uint64_to_usize(x_15); +x_17 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_18 = 1; +x_19 = lean_usize_sub(x_17, x_18); +x_20 = lean_usize_land(x_16, x_19); +x_21 = lean_array_uget(x_6, x_20); +lean_dec(x_6); +x_22 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_1, x_21); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +lean_dec(x_1); +x_23 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 0, x_23); +return x_4; +} +else +{ +uint8_t x_24; +lean_dec(x_22); +x_24 = !lean_is_exclusive(x_3); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_3, 0); +x_26 = lean_box(0); +x_27 = l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(x_25, x_1, x_26); +lean_ctor_set(x_3, 0, x_27); +x_28 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 0, x_28); +return x_4; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_3, 0); +x_30 = lean_ctor_get(x_3, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_3); +x_31 = lean_box(0); +x_32 = l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(x_29, x_1, x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +x_34 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +lean_ctor_set(x_4, 1, x_33); +lean_ctor_set(x_4, 0, x_34); +return x_4; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; uint64_t x_37; uint64_t x_38; uint64_t x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; size_t x_44; size_t x_45; size_t x_46; size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; +x_35 = lean_ctor_get(x_4, 1); +lean_inc(x_35); +lean_dec(x_4); +x_36 = lean_array_get_size(x_35); +x_37 = lean_uint64_of_nat(x_1); +x_38 = 32; +x_39 = lean_uint64_shift_right(x_37, x_38); +x_40 = lean_uint64_xor(x_37, x_39); +x_41 = 16; +x_42 = lean_uint64_shift_right(x_40, x_41); +x_43 = lean_uint64_xor(x_40, x_42); +x_44 = lean_uint64_to_usize(x_43); +x_45 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_46 = 1; +x_47 = lean_usize_sub(x_45, x_46); +x_48 = lean_usize_land(x_44, x_47); +x_49 = lean_array_uget(x_35, x_48); +lean_dec(x_35); +x_50 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_1, x_49); +lean_dec(x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_1); +x_51 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_3); +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_dec(x_50); +x_53 = lean_ctor_get(x_3, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_3, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_55 = x_3; +} else { + lean_dec_ref(x_3); + x_55 = lean_box(0); +} +x_56 = lean_box(0); +x_57 = l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(x_53, x_1, x_56); +if (lean_is_scalar(x_55)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_55; +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_54); +x_59 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet___rarg), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getUsedSet(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_nat_dec_eq(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 2); +x_7 = lean_array_get_size(x_2); +lean_inc(x_1); +lean_inc(x_5); +x_8 = lean_apply_1(x_1, x_5); +x_9 = lean_unbox_uint64(x_8); +lean_dec(x_8); +x_10 = 32; +x_11 = lean_uint64_shift_right(x_9, x_10); +x_12 = lean_uint64_xor(x_9, x_11); +x_13 = 16; +x_14 = lean_uint64_shift_right(x_12, x_13); +x_15 = lean_uint64_xor(x_12, x_14); +x_16 = lean_uint64_to_usize(x_15); +x_17 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_18 = 1; +x_19 = lean_usize_sub(x_17, x_18); +x_20 = lean_usize_land(x_16, x_19); +x_21 = lean_array_uget(x_2, x_20); +lean_ctor_set(x_3, 2, x_21); +x_22 = lean_array_uset(x_2, x_20, x_3); +x_2 = x_22; +x_3 = x_6; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; size_t x_36; size_t x_37; size_t x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_24 = lean_ctor_get(x_3, 0); +x_25 = lean_ctor_get(x_3, 1); +x_26 = lean_ctor_get(x_3, 2); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_3); +x_27 = lean_array_get_size(x_2); +lean_inc(x_1); +lean_inc(x_24); +x_28 = lean_apply_1(x_1, x_24); +x_29 = lean_unbox_uint64(x_28); +lean_dec(x_28); +x_30 = 32; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = 16; +x_34 = lean_uint64_shift_right(x_32, x_33); +x_35 = lean_uint64_xor(x_32, x_34); +x_36 = lean_uint64_to_usize(x_35); +x_37 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_38 = 1; +x_39 = lean_usize_sub(x_37, x_38); +x_40 = lean_usize_land(x_36, x_39); +x_41 = lean_array_uget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_24); +lean_ctor_set(x_42, 1, x_25); +lean_ctor_set(x_42, 2, x_41); +x_43 = lean_array_uset(x_2, x_40, x_42); +x_2 = x_43; +x_3 = x_26; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__4___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = lean_uint64_of_nat(x_4); +x_8 = 32; +x_9 = lean_uint64_shift_right(x_7, x_8); +x_10 = lean_uint64_xor(x_7, x_9); +x_11 = 16; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = lean_uint64_to_usize(x_13); +x_15 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_16 = 1; +x_17 = lean_usize_sub(x_15, x_16); +x_18 = lean_usize_land(x_14, x_17); +x_19 = lean_array_uget(x_1, x_18); +lean_ctor_set(x_2, 2, x_19); +x_20 = lean_array_uset(x_1, x_18, x_2); +x_1 = x_20; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_22 = lean_ctor_get(x_2, 0); +x_23 = lean_ctor_get(x_2, 1); +x_24 = lean_ctor_get(x_2, 2); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_2); +x_25 = lean_array_get_size(x_1); +x_26 = lean_uint64_of_nat(x_22); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_1, x_37); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_23); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_array_uset(x_1, x_37, x_39); +x_1 = x_40; +x_2 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__4___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__5(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_mul(x_2, x_3); +lean_dec(x_2); +x_5 = lean_box(0); +x_6 = lean_mk_array(x_4, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__3(x_7, x_1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_nat_dec_eq(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_10); +return x_3; +} +else +{ +lean_dec(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_14 = lean_nat_dec_eq(x_11, x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(x_1, x_2, x_13); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_13); +return x_17; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_4, 1); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; size_t x_18; size_t x_19; size_t x_20; size_t x_21; size_t x_22; lean_object* x_23; uint8_t x_24; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = lean_array_get_size(x_9); +x_11 = lean_uint64_of_nat(x_1); +x_12 = 32; +x_13 = lean_uint64_shift_right(x_11, x_12); +x_14 = lean_uint64_xor(x_11, x_13); +x_15 = 16; +x_16 = lean_uint64_shift_right(x_14, x_15); +x_17 = lean_uint64_xor(x_14, x_16); +x_18 = lean_uint64_to_usize(x_17); +x_19 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_20 = 1; +x_21 = lean_usize_sub(x_19, x_20); +x_22 = lean_usize_land(x_18, x_21); +x_23 = lean_array_uget(x_9, x_22); +x_24 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1(x_1, 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; lean_object* x_33; uint8_t x_34; +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_8, x_25); +lean_dec(x_8); +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_1); +lean_ctor_set(x_27, 1, x_2); +lean_ctor_set(x_27, 2, x_23); +x_28 = lean_array_uset(x_9, x_22, x_27); +x_29 = lean_unsigned_to_nat(4u); +x_30 = lean_nat_mul(x_26, x_29); +x_31 = lean_unsigned_to_nat(3u); +x_32 = lean_nat_div(x_30, x_31); +lean_dec(x_30); +x_33 = lean_array_get_size(x_28); +x_34 = lean_nat_dec_le(x_32, x_33); +lean_dec(x_33); +lean_dec(x_32); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__2(x_28); +lean_ctor_set(x_6, 1, x_35); +lean_ctor_set(x_6, 0, x_26); +x_36 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_4); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_ctor_set(x_6, 1, x_28); +lean_ctor_set(x_6, 0, x_26); +x_38 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_4); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_box(0); +x_41 = lean_array_uset(x_9, x_22, x_40); +x_42 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(x_1, x_2, x_23); +x_43 = lean_array_uset(x_41, x_22, x_42); +lean_ctor_set(x_6, 1, x_43); +x_44 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_4); +return x_45; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; uint64_t x_50; uint64_t x_51; uint64_t x_52; uint64_t x_53; uint64_t x_54; uint64_t x_55; size_t x_56; size_t x_57; size_t x_58; size_t x_59; size_t x_60; lean_object* x_61; uint8_t x_62; +x_46 = lean_ctor_get(x_6, 0); +x_47 = lean_ctor_get(x_6, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_6); +x_48 = lean_array_get_size(x_47); +x_49 = lean_uint64_of_nat(x_1); +x_50 = 32; +x_51 = lean_uint64_shift_right(x_49, x_50); +x_52 = lean_uint64_xor(x_49, x_51); +x_53 = 16; +x_54 = lean_uint64_shift_right(x_52, x_53); +x_55 = lean_uint64_xor(x_52, x_54); +x_56 = lean_uint64_to_usize(x_55); +x_57 = lean_usize_of_nat(x_48); +lean_dec(x_48); +x_58 = 1; +x_59 = lean_usize_sub(x_57, x_58); +x_60 = lean_usize_land(x_56, x_59); +x_61 = lean_array_uget(x_47, x_60); +x_62 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1(x_1, x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_63 = lean_unsigned_to_nat(1u); +x_64 = lean_nat_add(x_46, x_63); +lean_dec(x_46); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_1); +lean_ctor_set(x_65, 1, x_2); +lean_ctor_set(x_65, 2, x_61); +x_66 = lean_array_uset(x_47, x_60, x_65); +x_67 = lean_unsigned_to_nat(4u); +x_68 = lean_nat_mul(x_64, x_67); +x_69 = lean_unsigned_to_nat(3u); +x_70 = lean_nat_div(x_68, x_69); +lean_dec(x_68); +x_71 = lean_array_get_size(x_66); +x_72 = lean_nat_dec_le(x_70, x_71); +lean_dec(x_71); +lean_dec(x_70); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_73 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__2(x_66); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_64); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_4, 1, x_74); +x_75 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_4); +return x_76; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_64); +lean_ctor_set(x_77, 1, x_66); +lean_ctor_set(x_4, 1, x_77); +x_78 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_4); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_80 = lean_box(0); +x_81 = lean_array_uset(x_47, x_60, x_80); +x_82 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(x_1, x_2, x_61); +x_83 = lean_array_uset(x_81, x_60, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_46); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_4, 1, x_84); +x_85 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_4); +return x_86; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint64_t x_93; uint64_t x_94; uint64_t x_95; uint64_t x_96; uint64_t x_97; uint64_t x_98; uint64_t x_99; size_t x_100; size_t x_101; size_t x_102; size_t x_103; size_t x_104; lean_object* x_105; uint8_t x_106; +x_87 = lean_ctor_get(x_4, 1); +x_88 = lean_ctor_get(x_4, 0); +lean_inc(x_87); +lean_inc(x_88); +lean_dec(x_4); +x_89 = lean_ctor_get(x_87, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_91 = x_87; +} else { + lean_dec_ref(x_87); + x_91 = lean_box(0); +} +x_92 = lean_array_get_size(x_90); +x_93 = lean_uint64_of_nat(x_1); +x_94 = 32; +x_95 = lean_uint64_shift_right(x_93, x_94); +x_96 = lean_uint64_xor(x_93, x_95); +x_97 = 16; +x_98 = lean_uint64_shift_right(x_96, x_97); +x_99 = lean_uint64_xor(x_96, x_98); +x_100 = lean_uint64_to_usize(x_99); +x_101 = lean_usize_of_nat(x_92); +lean_dec(x_92); +x_102 = 1; +x_103 = lean_usize_sub(x_101, x_102); +x_104 = lean_usize_land(x_100, x_103); +x_105 = lean_array_uget(x_90, x_104); +x_106 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1(x_1, x_105); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_107 = lean_unsigned_to_nat(1u); +x_108 = lean_nat_add(x_89, x_107); +lean_dec(x_89); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_1); +lean_ctor_set(x_109, 1, x_2); +lean_ctor_set(x_109, 2, x_105); +x_110 = lean_array_uset(x_90, x_104, x_109); +x_111 = lean_unsigned_to_nat(4u); +x_112 = lean_nat_mul(x_108, x_111); +x_113 = lean_unsigned_to_nat(3u); +x_114 = lean_nat_div(x_112, x_113); +lean_dec(x_112); +x_115 = lean_array_get_size(x_110); +x_116 = lean_nat_dec_le(x_114, x_115); +lean_dec(x_115); +lean_dec(x_114); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_117 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__2(x_110); +if (lean_is_scalar(x_91)) { + x_118 = lean_alloc_ctor(0, 2, 0); +} else { + x_118 = x_91; +} +lean_ctor_set(x_118, 0, x_108); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_88); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +return x_121; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +if (lean_is_scalar(x_91)) { + x_122 = lean_alloc_ctor(0, 2, 0); +} else { + x_122 = x_91; +} +lean_ctor_set(x_122, 0, x_108); +lean_ctor_set(x_122, 1, x_110); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_88); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +return x_125; +} +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_126 = lean_box(0); +x_127 = lean_array_uset(x_90, x_104, x_126); +x_128 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__6(x_1, x_2, x_105); +x_129 = lean_array_uset(x_127, x_104, x_128); +if (lean_is_scalar(x_91)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_91; +} +lean_ctor_set(x_130, 0, x_89); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_88); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +return x_133; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap___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_Tactic_BVDecide_LRAT_trim_M_registerIdMap(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_nat_dec_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; +x_6 = lean_ctor_get(x_4, 1); +x_7 = lean_ctor_get(x_4, 0); +lean_dec(x_7); +x_8 = lean_array_get_size(x_6); +x_9 = lean_uint64_of_nat(x_1); +x_10 = 32; +x_11 = lean_uint64_shift_right(x_9, x_10); +x_12 = lean_uint64_xor(x_9, x_11); +x_13 = 16; +x_14 = lean_uint64_shift_right(x_12, x_13); +x_15 = lean_uint64_xor(x_12, x_14); +x_16 = lean_uint64_to_usize(x_15); +x_17 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_18 = 1; +x_19 = lean_usize_sub(x_17, x_18); +x_20 = lean_usize_land(x_16, x_19); +x_21 = lean_array_uget(x_6, x_20); +lean_dec(x_6); +x_22 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_1, x_21); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 0, x_23); +return x_4; +} +else +{ +uint8_t x_24; +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 0, x_22); +return x_4; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 0, x_26); +return x_4; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; size_t x_36; size_t x_37; size_t x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; +x_27 = lean_ctor_get(x_4, 1); +lean_inc(x_27); +lean_dec(x_4); +x_28 = lean_array_get_size(x_27); +x_29 = lean_uint64_of_nat(x_1); +x_30 = 32; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = 16; +x_34 = lean_uint64_shift_right(x_32, x_33); +x_35 = lean_uint64_xor(x_32, x_34); +x_36 = lean_uint64_to_usize(x_35); +x_37 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_38 = 1; +x_39 = lean_usize_sub(x_37, x_38); +x_40 = lean_usize_land(x_36, x_39); +x_41 = lean_array_uget(x_27, x_40); +lean_dec(x_27); +x_42 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_1, x_41); +lean_dec(x_41); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_1); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_3); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_1); +x_45 = lean_ctor_get(x_42, 0); +lean_inc(x_45); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + x_46 = x_42; +} else { + lean_dec_ref(x_42); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_45); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_3); +return x_48; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_2, x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_3); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; uint64_t x_20; uint64_t x_21; size_t x_22; size_t x_23; size_t x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_array_get_size(x_13); +x_15 = lean_uint64_of_nat(x_9); +x_16 = 32; +x_17 = lean_uint64_shift_right(x_15, x_16); +x_18 = lean_uint64_xor(x_15, x_17); +x_19 = 16; +x_20 = lean_uint64_shift_right(x_18, x_19); +x_21 = lean_uint64_xor(x_18, x_20); +x_22 = lean_uint64_to_usize(x_21); +x_23 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_24 = 1; +x_25 = lean_usize_sub(x_23, x_24); +x_26 = lean_usize_land(x_22, x_25); +x_27 = lean_array_uget(x_13, x_26); +lean_dec(x_13); +x_28 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_9, x_27); +lean_dec(x_27); +if (lean_obj_tag(x_28) == 0) +{ +size_t x_29; lean_object* x_30; +x_29 = lean_usize_add(x_2, x_24); +x_30 = lean_array_uset(x_11, x_2, x_9); +x_2 = x_29; +x_3 = x_30; +goto _start; +} +else +{ +lean_object* x_32; size_t x_33; lean_object* x_34; +lean_dec(x_9); +x_32 = lean_ctor_get(x_28, 0); +lean_inc(x_32); +lean_dec(x_28); +x_33 = lean_usize_add(x_2, x_24); +x_34 = lean_array_uset(x_11, x_2, x_32); +x_2 = x_33; +x_3 = x_34; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__2(size_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_3, x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_4); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_10 = lean_array_uget(x_4, x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_4, x_3, x_11); +x_21 = lean_ctor_get(x_6, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_array_get_size(x_24); +x_26 = lean_uint64_of_nat(x_22); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_24, x_37); +lean_dec(x_24); +x_39 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_22, x_38); +lean_dec(x_38); +if (lean_obj_tag(x_39) == 0) +{ +size_t x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_array_size(x_23); +x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_40, x_1, x_23, x_5, x_6); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_41, 0); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_41, 1); +x_46 = lean_ctor_get(x_43, 0); +lean_ctor_set(x_41, 1, x_46); +lean_ctor_set(x_41, 0, x_22); +lean_ctor_set(x_43, 0, x_41); +x_13 = x_43; +x_14 = x_45; +goto block_20; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_41, 1); +x_48 = lean_ctor_get(x_43, 0); +lean_inc(x_48); +lean_dec(x_43); +lean_ctor_set(x_41, 1, x_48); +lean_ctor_set(x_41, 0, x_22); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_41); +x_13 = x_49; +x_14 = x_47; +goto block_20; +} +} +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; +x_50 = lean_ctor_get(x_41, 0); +x_51 = lean_ctor_get(x_41, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_41); +x_52 = lean_ctor_get(x_50, 0); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_22); +lean_ctor_set(x_54, 1, x_52); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(1, 1, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +x_13 = x_55; +x_14 = x_51; +goto block_20; +} +} +else +{ +lean_object* x_56; size_t x_57; lean_object* x_58; uint8_t x_59; +lean_dec(x_22); +x_56 = lean_ctor_get(x_39, 0); +lean_inc(x_56); +lean_dec(x_39); +x_57 = lean_array_size(x_23); +x_58 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_57, x_1, x_23, x_5, x_6); +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; +x_62 = lean_ctor_get(x_58, 1); +x_63 = lean_ctor_get(x_60, 0); +lean_ctor_set(x_58, 1, x_63); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_60, 0, x_58); +x_13 = x_60; +x_14 = x_62; +goto block_20; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_58, 1); +x_65 = lean_ctor_get(x_60, 0); +lean_inc(x_65); +lean_dec(x_60); +lean_ctor_set(x_58, 1, x_65); +lean_ctor_set(x_58, 0, x_56); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_58); +x_13 = x_66; +x_14 = x_64; +goto block_20; +} +} +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; +x_67 = lean_ctor_get(x_58, 0); +x_68 = lean_ctor_get(x_58, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_58); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + x_70 = x_67; +} else { + lean_dec_ref(x_67); + x_70 = lean_box(0); +} +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_56); +lean_ctor_set(x_71, 1, x_69); +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(1, 1, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +x_13 = x_72; +x_14 = x_68; +goto block_20; +} +} +block_20: +{ +lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_18 = lean_array_uset(x_12, x_3, x_15); +x_3 = x_17; +x_4 = x_18; +x_6 = x_14; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_array_get_size(x_8); +x_10 = lean_uint64_of_nat(x_6); +x_11 = 32; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = 16; +x_15 = lean_uint64_shift_right(x_13, x_14); +x_16 = lean_uint64_xor(x_13, x_15); +x_17 = lean_uint64_to_usize(x_16); +x_18 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_19 = 1; +x_20 = lean_usize_sub(x_18, x_19); +x_21 = lean_usize_land(x_17, x_20); +x_22 = lean_array_uget(x_8, x_21); +lean_dec(x_8); +x_23 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_6, x_22); +lean_dec(x_22); +if (lean_obj_tag(x_23) == 0) +{ +size_t x_24; size_t x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_array_size(x_7); +x_25 = 0; +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_24, x_25, x_7, x_2, x_3); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_26, 0); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_28, 0); +lean_ctor_set(x_1, 1, x_30); +lean_ctor_set(x_28, 0, x_1); +return x_26; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 0); +lean_inc(x_31); +lean_dec(x_28); +lean_ctor_set(x_1, 1, x_31); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_1); +lean_ctor_set(x_26, 0, x_32); +return x_26; +} +} +else +{ +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_33 = lean_ctor_get(x_26, 0); +x_34 = lean_ctor_get(x_26, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_26); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + x_36 = x_33; +} else { + lean_dec_ref(x_33); + x_36 = lean_box(0); +} +lean_ctor_set(x_1, 1, x_35); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(1, 1, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_1); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +else +{ +lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +lean_dec(x_6); +x_39 = lean_ctor_get(x_23, 0); +lean_inc(x_39); +lean_dec(x_23); +x_40 = lean_array_size(x_7); +x_41 = 0; +x_42 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_40, x_41, x_7, x_2, x_3); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_42, 0); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_ctor_set(x_1, 1, x_46); +lean_ctor_set(x_1, 0, x_39); +lean_ctor_set(x_44, 0, x_1); +return x_42; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 0); +lean_inc(x_47); +lean_dec(x_44); +lean_ctor_set(x_1, 1, x_47); +lean_ctor_set(x_1, 0, x_39); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_42, 0, x_48); +return x_42; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_49 = lean_ctor_get(x_42, 0); +x_50 = lean_ctor_get(x_42, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_42); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + x_52 = x_49; +} else { + lean_dec_ref(x_49); + x_52 = lean_box(0); +} +lean_ctor_set(x_1, 1, x_51); +lean_ctor_set(x_1, 0, x_39); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 1, 0); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_1); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_50); +return x_54; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint64_t x_59; uint64_t x_60; uint64_t x_61; uint64_t x_62; uint64_t x_63; uint64_t x_64; uint64_t x_65; size_t x_66; size_t x_67; size_t x_68; size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; +x_55 = lean_ctor_get(x_1, 0); +x_56 = lean_ctor_get(x_1, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_1); +x_57 = lean_ctor_get(x_4, 1); +lean_inc(x_57); +lean_dec(x_4); +x_58 = lean_array_get_size(x_57); +x_59 = lean_uint64_of_nat(x_55); +x_60 = 32; +x_61 = lean_uint64_shift_right(x_59, x_60); +x_62 = lean_uint64_xor(x_59, x_61); +x_63 = 16; +x_64 = lean_uint64_shift_right(x_62, x_63); +x_65 = lean_uint64_xor(x_62, x_64); +x_66 = lean_uint64_to_usize(x_65); +x_67 = lean_usize_of_nat(x_58); +lean_dec(x_58); +x_68 = 1; +x_69 = lean_usize_sub(x_67, x_68); +x_70 = lean_usize_land(x_66, x_69); +x_71 = lean_array_uget(x_57, x_70); +lean_dec(x_57); +x_72 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_55, x_71); +lean_dec(x_71); +if (lean_obj_tag(x_72) == 0) +{ +size_t x_73; size_t 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; +x_73 = lean_array_size(x_56); +x_74 = 0; +x_75 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_73, x_74, x_56, x_2, x_3); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_79 = lean_ctor_get(x_76, 0); +lean_inc(x_79); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + x_80 = x_76; +} else { + lean_dec_ref(x_76); + x_80 = lean_box(0); +} +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_55); +lean_ctor_set(x_81, 1, x_79); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(1, 1, 0); +} else { + x_82 = x_80; +} +lean_ctor_set(x_82, 0, x_81); +if (lean_is_scalar(x_78)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_78; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_77); +return x_83; +} +else +{ +lean_object* x_84; size_t x_85; size_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_55); +x_84 = lean_ctor_get(x_72, 0); +lean_inc(x_84); +lean_dec(x_72); +x_85 = lean_array_size(x_56); +x_86 = 0; +x_87 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_85, x_86, x_56, x_2, x_3); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; +} else { + lean_dec_ref(x_87); + x_90 = lean_box(0); +} +x_91 = lean_ctor_get(x_88, 0); +lean_inc(x_91); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + x_92 = x_88; +} else { + lean_dec_ref(x_88); + x_92 = lean_box(0); +} +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_84); +lean_ctor_set(x_93, 1, x_91); +if (lean_is_scalar(x_92)) { + x_94 = lean_alloc_ctor(1, 1, 0); +} else { + x_94 = x_92; +} +lean_ctor_set(x_94, 0, x_93); +if (lean_is_scalar(x_90)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_90; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_89); +return x_95; +} +} +} +case 1: +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_3, 1); +lean_inc(x_96); +x_97 = !lean_is_exclusive(x_1); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint64_t x_102; uint64_t x_103; uint64_t x_104; uint64_t x_105; uint64_t x_106; uint64_t x_107; uint64_t x_108; size_t x_109; size_t x_110; size_t x_111; size_t x_112; size_t x_113; lean_object* x_114; lean_object* x_115; +x_98 = lean_ctor_get(x_1, 0); +x_99 = lean_ctor_get(x_1, 2); +x_100 = lean_ctor_get(x_96, 1); +lean_inc(x_100); +lean_dec(x_96); +x_101 = lean_array_get_size(x_100); +x_102 = lean_uint64_of_nat(x_98); +x_103 = 32; +x_104 = lean_uint64_shift_right(x_102, x_103); +x_105 = lean_uint64_xor(x_102, x_104); +x_106 = 16; +x_107 = lean_uint64_shift_right(x_105, x_106); +x_108 = lean_uint64_xor(x_105, x_107); +x_109 = lean_uint64_to_usize(x_108); +x_110 = lean_usize_of_nat(x_101); +lean_dec(x_101); +x_111 = 1; +x_112 = lean_usize_sub(x_110, x_111); +x_113 = lean_usize_land(x_109, x_112); +x_114 = lean_array_uget(x_100, x_113); +lean_dec(x_100); +x_115 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_98, x_114); +lean_dec(x_114); +if (lean_obj_tag(x_115) == 0) +{ +size_t x_116; size_t x_117; lean_object* x_118; uint8_t x_119; +x_116 = lean_array_size(x_99); +x_117 = 0; +x_118 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_116, x_117, x_99, x_2, x_3); +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) +{ +lean_object* x_120; uint8_t x_121; +x_120 = lean_ctor_get(x_118, 0); +x_121 = !lean_is_exclusive(x_120); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_120, 0); +lean_ctor_set(x_1, 2, x_122); +lean_ctor_set(x_120, 0, x_1); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_120, 0); +lean_inc(x_123); +lean_dec(x_120); +lean_ctor_set(x_1, 2, x_123); +x_124 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_124, 0, x_1); +lean_ctor_set(x_118, 0, x_124); +return x_118; +} +} +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; +x_125 = lean_ctor_get(x_118, 0); +x_126 = lean_ctor_get(x_118, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_118); +x_127 = lean_ctor_get(x_125, 0); +lean_inc(x_127); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + x_128 = x_125; +} else { + lean_dec_ref(x_125); + x_128 = lean_box(0); +} +lean_ctor_set(x_1, 2, x_127); +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 1, 0); +} else { + x_129 = x_128; +} +lean_ctor_set(x_129, 0, x_1); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; size_t x_132; size_t x_133; lean_object* x_134; uint8_t x_135; +lean_dec(x_98); +x_131 = lean_ctor_get(x_115, 0); +lean_inc(x_131); +lean_dec(x_115); +x_132 = lean_array_size(x_99); +x_133 = 0; +x_134 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_132, x_133, x_99, x_2, x_3); +x_135 = !lean_is_exclusive(x_134); +if (x_135 == 0) +{ +lean_object* x_136; uint8_t x_137; +x_136 = lean_ctor_get(x_134, 0); +x_137 = !lean_is_exclusive(x_136); +if (x_137 == 0) +{ +lean_object* x_138; +x_138 = lean_ctor_get(x_136, 0); +lean_ctor_set(x_1, 2, x_138); +lean_ctor_set(x_1, 0, x_131); +lean_ctor_set(x_136, 0, x_1); +return x_134; +} +else +{ +lean_object* x_139; lean_object* x_140; +x_139 = lean_ctor_get(x_136, 0); +lean_inc(x_139); +lean_dec(x_136); +lean_ctor_set(x_1, 2, x_139); +lean_ctor_set(x_1, 0, x_131); +x_140 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_140, 0, x_1); +lean_ctor_set(x_134, 0, x_140); +return x_134; +} +} +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; +x_141 = lean_ctor_get(x_134, 0); +x_142 = lean_ctor_get(x_134, 1); +lean_inc(x_142); +lean_inc(x_141); +lean_dec(x_134); +x_143 = lean_ctor_get(x_141, 0); +lean_inc(x_143); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + x_144 = x_141; +} else { + lean_dec_ref(x_141); + x_144 = lean_box(0); +} +lean_ctor_set(x_1, 2, x_143); +lean_ctor_set(x_1, 0, x_131); +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 1, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_1); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_142); +return x_146; +} +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint64_t x_152; uint64_t x_153; uint64_t x_154; uint64_t x_155; uint64_t x_156; uint64_t x_157; uint64_t x_158; size_t x_159; size_t x_160; size_t x_161; size_t x_162; size_t x_163; lean_object* x_164; lean_object* x_165; +x_147 = lean_ctor_get(x_1, 0); +x_148 = lean_ctor_get(x_1, 1); +x_149 = lean_ctor_get(x_1, 2); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_1); +x_150 = lean_ctor_get(x_96, 1); +lean_inc(x_150); +lean_dec(x_96); +x_151 = lean_array_get_size(x_150); +x_152 = lean_uint64_of_nat(x_147); +x_153 = 32; +x_154 = lean_uint64_shift_right(x_152, x_153); +x_155 = lean_uint64_xor(x_152, x_154); +x_156 = 16; +x_157 = lean_uint64_shift_right(x_155, x_156); +x_158 = lean_uint64_xor(x_155, x_157); +x_159 = lean_uint64_to_usize(x_158); +x_160 = lean_usize_of_nat(x_151); +lean_dec(x_151); +x_161 = 1; +x_162 = lean_usize_sub(x_160, x_161); +x_163 = lean_usize_land(x_159, x_162); +x_164 = lean_array_uget(x_150, x_163); +lean_dec(x_150); +x_165 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_147, x_164); +lean_dec(x_164); +if (lean_obj_tag(x_165) == 0) +{ +size_t x_166; size_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; +x_166 = lean_array_size(x_149); +x_167 = 0; +x_168 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_166, x_167, x_149, x_2, x_3); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_171 = x_168; +} else { + lean_dec_ref(x_168); + x_171 = lean_box(0); +} +x_172 = lean_ctor_get(x_169, 0); +lean_inc(x_172); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + x_173 = x_169; +} else { + lean_dec_ref(x_169); + x_173 = lean_box(0); +} +x_174 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_174, 0, x_147); +lean_ctor_set(x_174, 1, x_148); +lean_ctor_set(x_174, 2, x_172); +if (lean_is_scalar(x_173)) { + x_175 = lean_alloc_ctor(1, 1, 0); +} else { + x_175 = x_173; +} +lean_ctor_set(x_175, 0, x_174); +if (lean_is_scalar(x_171)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_171; +} +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_170); +return x_176; +} +else +{ +lean_object* x_177; size_t x_178; size_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_dec(x_147); +x_177 = lean_ctor_get(x_165, 0); +lean_inc(x_177); +lean_dec(x_165); +x_178 = lean_array_size(x_149); +x_179 = 0; +x_180 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_178, x_179, x_149, x_2, x_3); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_183 = x_180; +} else { + lean_dec_ref(x_180); + x_183 = lean_box(0); +} +x_184 = lean_ctor_get(x_181, 0); +lean_inc(x_184); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + x_185 = x_181; +} else { + lean_dec_ref(x_181); + x_185 = lean_box(0); +} +x_186 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_186, 0, x_177); +lean_ctor_set(x_186, 1, x_148); +lean_ctor_set(x_186, 2, x_184); +if (lean_is_scalar(x_185)) { + x_187 = lean_alloc_ctor(1, 1, 0); +} else { + x_187 = x_185; +} +lean_ctor_set(x_187, 0, x_186); +if (lean_is_scalar(x_183)) { + x_188 = lean_alloc_ctor(0, 2, 0); +} else { + x_188 = x_183; +} +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_182); +return x_188; +} +} +} +case 2: +{ +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_222; lean_object* x_223; lean_object* x_224; uint64_t x_225; uint64_t x_226; uint64_t x_227; uint64_t x_228; uint64_t x_229; uint64_t x_230; uint64_t x_231; size_t x_232; size_t x_233; size_t x_234; size_t x_235; size_t x_236; lean_object* x_237; lean_object* x_238; +x_189 = lean_ctor_get(x_1, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_1, 1); +lean_inc(x_190); +x_191 = lean_ctor_get(x_1, 2); +lean_inc(x_191); +x_192 = lean_ctor_get(x_1, 3); +lean_inc(x_192); +x_193 = lean_ctor_get(x_1, 4); +lean_inc(x_193); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + lean_ctor_release(x_1, 2); + lean_ctor_release(x_1, 3); + lean_ctor_release(x_1, 4); + x_194 = x_1; +} else { + lean_dec_ref(x_1); + x_194 = lean_box(0); +} +x_222 = lean_ctor_get(x_3, 1); +lean_inc(x_222); +x_223 = lean_ctor_get(x_222, 1); +lean_inc(x_223); +lean_dec(x_222); +x_224 = lean_array_get_size(x_223); +x_225 = lean_uint64_of_nat(x_189); +x_226 = 32; +x_227 = lean_uint64_shift_right(x_225, x_226); +x_228 = lean_uint64_xor(x_225, x_227); +x_229 = 16; +x_230 = lean_uint64_shift_right(x_228, x_229); +x_231 = lean_uint64_xor(x_228, x_230); +x_232 = lean_uint64_to_usize(x_231); +x_233 = lean_usize_of_nat(x_224); +lean_dec(x_224); +x_234 = 1; +x_235 = lean_usize_sub(x_233, x_234); +x_236 = lean_usize_land(x_232, x_235); +x_237 = lean_array_uget(x_223, x_236); +lean_dec(x_223); +x_238 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep_mapIdent___spec__1(x_189, x_237); +lean_dec(x_237); +if (lean_obj_tag(x_238) == 0) +{ +lean_object* x_239; +x_239 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_239, 0, x_189); +x_195 = x_239; +x_196 = x_3; +goto block_221; +} +else +{ +uint8_t x_240; +lean_dec(x_189); +x_240 = !lean_is_exclusive(x_238); +if (x_240 == 0) +{ +x_195 = x_238; +x_196 = x_3; +goto block_221; +} +else +{ +lean_object* x_241; lean_object* x_242; +x_241 = lean_ctor_get(x_238, 0); +lean_inc(x_241); +lean_dec(x_238); +x_242 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_242, 0, x_241); +x_195 = x_242; +x_196 = x_3; +goto block_221; +} +} +block_221: +{ +lean_object* x_197; size_t x_198; size_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; size_t x_204; lean_object* x_205; uint8_t x_206; +x_197 = lean_ctor_get(x_195, 0); +lean_inc(x_197); +lean_dec(x_195); +x_198 = lean_array_size(x_192); +x_199 = 0; +x_200 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_198, x_199, x_192, x_2, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_ctor_get(x_201, 0); +lean_inc(x_203); +lean_dec(x_201); +x_204 = lean_array_size(x_193); +x_205 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__2(x_199, x_204, x_199, x_193, x_2, x_202); +x_206 = !lean_is_exclusive(x_205); +if (x_206 == 0) +{ +lean_object* x_207; uint8_t x_208; +x_207 = lean_ctor_get(x_205, 0); +x_208 = !lean_is_exclusive(x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; +x_209 = lean_ctor_get(x_207, 0); +if (lean_is_scalar(x_194)) { + x_210 = lean_alloc_ctor(2, 5, 0); +} else { + x_210 = x_194; +} +lean_ctor_set(x_210, 0, x_197); +lean_ctor_set(x_210, 1, x_190); +lean_ctor_set(x_210, 2, x_191); +lean_ctor_set(x_210, 3, x_203); +lean_ctor_set(x_210, 4, x_209); +lean_ctor_set(x_207, 0, x_210); +return x_205; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_207, 0); +lean_inc(x_211); +lean_dec(x_207); +if (lean_is_scalar(x_194)) { + x_212 = lean_alloc_ctor(2, 5, 0); +} else { + x_212 = x_194; +} +lean_ctor_set(x_212, 0, x_197); +lean_ctor_set(x_212, 1, x_190); +lean_ctor_set(x_212, 2, x_191); +lean_ctor_set(x_212, 3, x_203); +lean_ctor_set(x_212, 4, x_211); +x_213 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_205, 0, x_213); +return x_205; +} +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_214 = lean_ctor_get(x_205, 0); +x_215 = lean_ctor_get(x_205, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_205); +x_216 = lean_ctor_get(x_214, 0); +lean_inc(x_216); +if (lean_is_exclusive(x_214)) { + lean_ctor_release(x_214, 0); + x_217 = x_214; +} else { + lean_dec_ref(x_214); + x_217 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_218 = lean_alloc_ctor(2, 5, 0); +} else { + x_218 = x_194; +} +lean_ctor_set(x_218, 0, x_197); +lean_ctor_set(x_218, 1, x_190); +lean_ctor_set(x_218, 2, x_191); +lean_ctor_set(x_218, 3, x_203); +lean_ctor_set(x_218, 4, x_216); +if (lean_is_scalar(x_217)) { + x_219 = lean_alloc_ctor(1, 1, 0); +} else { + x_219 = x_217; +} +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_215); +return x_220; +} +} +} +default: +{ +uint8_t x_243; +x_243 = !lean_is_exclusive(x_1); +if (x_243 == 0) +{ +lean_object* x_244; size_t x_245; size_t x_246; lean_object* x_247; uint8_t x_248; +x_244 = lean_ctor_get(x_1, 0); +x_245 = lean_array_size(x_244); +x_246 = 0; +x_247 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_245, x_246, x_244, x_2, x_3); +x_248 = !lean_is_exclusive(x_247); +if (x_248 == 0) +{ +lean_object* x_249; uint8_t x_250; +x_249 = lean_ctor_get(x_247, 0); +x_250 = !lean_is_exclusive(x_249); +if (x_250 == 0) +{ +lean_object* x_251; +x_251 = lean_ctor_get(x_249, 0); +lean_ctor_set(x_1, 0, x_251); +lean_ctor_set(x_249, 0, x_1); +return x_247; +} +else +{ +lean_object* x_252; lean_object* x_253; +x_252 = lean_ctor_get(x_249, 0); +lean_inc(x_252); +lean_dec(x_249); +lean_ctor_set(x_1, 0, x_252); +x_253 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_253, 0, x_1); +lean_ctor_set(x_247, 0, x_253); +return x_247; +} +} +else +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_254 = lean_ctor_get(x_247, 0); +x_255 = lean_ctor_get(x_247, 1); +lean_inc(x_255); +lean_inc(x_254); +lean_dec(x_247); +x_256 = lean_ctor_get(x_254, 0); +lean_inc(x_256); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + x_257 = x_254; +} else { + lean_dec_ref(x_254); + x_257 = lean_box(0); +} +lean_ctor_set(x_1, 0, x_256); +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(1, 1, 0); +} else { + x_258 = x_257; +} +lean_ctor_set(x_258, 0, x_1); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_255); +return x_259; +} +} +else +{ +lean_object* x_260; size_t x_261; size_t 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; +x_260 = lean_ctor_get(x_1, 0); +lean_inc(x_260); +lean_dec(x_1); +x_261 = lean_array_size(x_260); +x_262 = 0; +x_263 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_261, x_262, x_260, x_2, x_3); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + x_266 = x_263; +} else { + lean_dec_ref(x_263); + x_266 = lean_box(0); +} +x_267 = lean_ctor_get(x_264, 0); +lean_inc(x_267); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + x_268 = x_264; +} else { + lean_dec_ref(x_264); + x_268 = lean_box(0); +} +x_269 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_269, 0, x_267); +if (lean_is_scalar(x_268)) { + x_270 = lean_alloc_ctor(1, 1, 0); +} else { + x_270 = x_268; +} +lean_ctor_set(x_270, 0, x_269); +if (lean_is_scalar(x_266)) { + x_271 = lean_alloc_ctor(0, 2, 0); +} else { + x_271 = x_266; +} +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_265); +return x_271; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__1(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___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) { +_start: +{ +size_t x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___spec__2(x_7, x_8, x_9, x_4, x_5, x_6); +lean_dec(x_5); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___spec__1(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; uint8_t x_7; +x_6 = lean_array_uget(x_1, x_2); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; +x_8 = lean_ctor_get(x_6, 1); +x_9 = lean_array_to_list(lean_box(0), x_8); +lean_ctor_set_tag(x_6, 1); +lean_ctor_set(x_6, 1, x_9); +x_10 = l_List_appendTR___rarg(x_6, x_4); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_2 = x_12; +x_4 = x_10; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; +x_14 = lean_ctor_get(x_6, 0); +x_15 = lean_ctor_get(x_6, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_6); +x_16 = lean_array_to_list(lean_box(0), x_15); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_List_appendTR___rarg(x_17, x_4); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_2 = x_20; +x_4 = x_18; +goto _start; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_94; lean_object* x_95; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_94 = lean_ctor_get(x_3, 0); +lean_inc(x_94); +x_95 = l_Lean_RBNode_find___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___spec__1(x_94, x_6); +lean_dec(x_94); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1; +x_8 = x_96; +x_9 = x_3; +goto block_93; +} +else +{ +lean_object* x_97; +lean_dec(x_95); +x_97 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2; +x_8 = x_97; +x_9 = x_3; +goto block_93; +} +block_93: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_62; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_62 = lean_unbox(x_10); +lean_dec(x_10); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint64_t x_66; uint64_t x_67; uint64_t x_68; uint64_t x_69; uint64_t x_70; uint64_t x_71; uint64_t x_72; size_t x_73; size_t x_74; size_t x_75; size_t x_76; size_t x_77; lean_object* x_78; lean_object* x_79; +x_63 = lean_ctor_get(x_2, 0); +x_64 = lean_ctor_get(x_63, 1); +x_65 = lean_array_get_size(x_64); +x_66 = lean_uint64_of_nat(x_6); +x_67 = 32; +x_68 = lean_uint64_shift_right(x_66, x_67); +x_69 = lean_uint64_xor(x_66, x_68); +x_70 = 16; +x_71 = lean_uint64_shift_right(x_69, x_70); +x_72 = lean_uint64_xor(x_69, x_71); +x_73 = lean_uint64_to_usize(x_72); +x_74 = lean_usize_of_nat(x_65); +lean_dec(x_65); +x_75 = 1; +x_76 = lean_usize_sub(x_74, x_75); +x_77 = lean_usize_land(x_73, x_76); +x_78 = lean_array_uget(x_64, x_77); +x_79 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_6, x_78); +lean_dec(x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; +x_80 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_11 = x_80; +x_12 = x_9; +goto block_61; +} +else +{ +uint8_t x_81; +lean_dec(x_79); +x_81 = !lean_is_exclusive(x_9); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_82 = lean_ctor_get(x_9, 0); +x_83 = lean_box(0); +lean_inc(x_6); +x_84 = l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(x_82, x_6, x_83); +lean_ctor_set(x_9, 0, x_84); +x_85 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_11 = x_85; +x_12 = x_9; +goto block_61; +} +else +{ +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_ctor_get(x_9, 0); +x_87 = lean_ctor_get(x_9, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_9); +x_88 = lean_box(0); +lean_inc(x_6); +x_89 = l_Lean_RBNode_insert___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___spec__1(x_86, x_6, x_88); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +x_91 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1; +x_11 = x_91; +x_12 = x_90; +goto block_61; +} +} +} +else +{ +lean_dec(x_6); +x_1 = x_7; +x_3 = x_9; +goto _start; +} +block_61: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; uint64_t x_20; uint64_t x_21; uint64_t x_22; size_t x_23; size_t x_24; size_t x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_11); +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_13, 1); +x_15 = lean_array_get_size(x_14); +x_16 = lean_uint64_of_nat(x_6); +x_17 = 32; +x_18 = lean_uint64_shift_right(x_16, x_17); +x_19 = lean_uint64_xor(x_16, x_18); +x_20 = 16; +x_21 = lean_uint64_shift_right(x_19, x_20); +x_22 = lean_uint64_xor(x_19, x_21); +x_23 = lean_uint64_to_usize(x_22); +x_24 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_25 = 1; +x_26 = lean_usize_sub(x_24, x_25); +x_27 = lean_usize_land(x_23, x_26); +x_28 = lean_array_uget(x_14, x_27); +x_29 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_6, x_28); +lean_dec(x_28); +lean_dec(x_6); +if (lean_obj_tag(x_29) == 0) +{ +x_1 = x_7; +x_3 = x_12; +goto _start; +} +else +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +switch (lean_obj_tag(x_31)) { +case 0: +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_array_to_list(lean_box(0), x_32); +x_34 = l_List_appendTR___rarg(x_33, x_7); +x_1 = x_34; +x_3 = x_12; +goto _start; +} +case 1: +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_31, 2); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_array_to_list(lean_box(0), x_36); +x_38 = l_List_appendTR___rarg(x_37, x_7); +x_1 = x_38; +x_3 = x_12; +goto _start; +} +case 2: +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; +x_40 = lean_ctor_get(x_31, 3); +lean_inc(x_40); +x_41 = lean_ctor_get(x_31, 4); +lean_inc(x_41); +lean_dec(x_31); +x_42 = lean_box(0); +x_43 = lean_array_get_size(x_41); +x_44 = lean_unsigned_to_nat(0u); +x_45 = lean_nat_dec_lt(x_44, x_43); +x_46 = lean_array_to_list(lean_box(0), x_40); +if (x_45 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_43); +lean_dec(x_41); +x_47 = l_List_appendTR___rarg(x_46, x_42); +x_48 = l_List_appendTR___rarg(x_47, x_7); +x_1 = x_48; +x_3 = x_12; +goto _start; +} +else +{ +uint8_t x_50; +x_50 = lean_nat_dec_le(x_43, x_43); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_43); +lean_dec(x_41); +x_51 = l_List_appendTR___rarg(x_46, x_42); +x_52 = l_List_appendTR___rarg(x_51, x_7); +x_1 = x_52; +x_3 = x_12; +goto _start; +} +else +{ +size_t x_54; size_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = 0; +x_55 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_56 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___spec__1(x_41, x_54, x_55, x_42); +lean_dec(x_41); +x_57 = l_List_appendTR___rarg(x_46, x_56); +x_58 = l_List_appendTR___rarg(x_57, x_7); +x_1 = x_58; +x_3 = x_12; +goto _start; +} +} +} +default: +{ +lean_dec(x_31); +x_1 = x_7; +x_3 = x_12; +goto _start; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___spec__1___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_Tactic_BVDecide_LRAT_trim_useAnalysis_go___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 2); +x_4 = lean_box(0); +lean_inc(x_3); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis_go(x_5, x_1, x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_BVDecide_LRAT_instInhabitedAction(lean_box(0), lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Init.Data.Option.BasicAux", 25, 25); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Option.get!", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("value is none", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4() { +_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_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1; +x_2 = l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2; +x_3 = lean_unsigned_to_nat(16u); +x_4 = lean_unsigned_to_nat(14u); +x_5 = l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_2); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_21; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +lean_dec(x_1); +x_11 = l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2(x_8, x_2, x_3, x_4); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; uint64_t x_36; size_t x_37; size_t x_38; size_t x_39; size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; +x_22 = lean_ctor_get(x_14, 0); +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_24); +lean_inc(x_9); +x_25 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap(x_9, x_24, x_3, x_13); +x_26 = lean_ctor_get(x_3, 0); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 1); +x_29 = lean_array_get_size(x_28); +x_30 = lean_uint64_of_nat(x_9); +x_31 = 32; +x_32 = lean_uint64_shift_right(x_30, x_31); +x_33 = lean_uint64_xor(x_30, x_32); +x_34 = 16; +x_35 = lean_uint64_shift_right(x_33, x_34); +x_36 = lean_uint64_xor(x_33, x_35); +x_37 = lean_uint64_to_usize(x_36); +x_38 = lean_usize_of_nat(x_29); +lean_dec(x_29); +x_39 = 1; +x_40 = lean_usize_sub(x_38, x_39); +x_41 = lean_usize_land(x_37, x_40); +x_42 = lean_array_uget(x_28, x_41); +x_43 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_9, x_42); +lean_dec(x_42); +lean_dec(x_9); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4; +x_45 = l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1(x_44); +x_46 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(x_45, x_3, x_27); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_46, 0); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_50 = lean_ctor_get(x_46, 1); +x_51 = lean_ctor_get(x_48, 0); +x_52 = lean_array_push(x_23, x_51); +x_53 = lean_unsigned_to_nat(1u); +x_54 = lean_nat_add(x_24, x_53); +lean_dec(x_24); +lean_ctor_set(x_46, 1, x_54); +lean_ctor_set(x_46, 0, x_52); +lean_ctor_set(x_14, 0, x_46); +lean_ctor_set(x_48, 0, x_14); +x_15 = x_48; +x_16 = x_50; +goto block_20; +} +else +{ +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_55 = lean_ctor_get(x_46, 1); +x_56 = lean_ctor_get(x_48, 0); +lean_inc(x_56); +lean_dec(x_48); +x_57 = lean_array_push(x_23, x_56); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_24, x_58); +lean_dec(x_24); +lean_ctor_set(x_46, 1, x_59); +lean_ctor_set(x_46, 0, x_57); +lean_ctor_set(x_14, 0, x_46); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_14); +x_15 = x_60; +x_16 = x_55; +goto block_20; +} +} +else +{ +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_61 = lean_ctor_get(x_46, 0); +x_62 = lean_ctor_get(x_46, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_46); +x_63 = lean_ctor_get(x_61, 0); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + x_64 = x_61; +} else { + lean_dec_ref(x_61); + x_64 = lean_box(0); +} +x_65 = lean_array_push(x_23, x_63); +x_66 = lean_unsigned_to_nat(1u); +x_67 = lean_nat_add(x_24, x_66); +lean_dec(x_24); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_14, 0, x_68); +if (lean_is_scalar(x_64)) { + x_69 = lean_alloc_ctor(1, 1, 0); +} else { + x_69 = x_64; +} +lean_ctor_set(x_69, 0, x_14); +x_15 = x_69; +x_16 = x_62; +goto block_20; +} +} +else +{ +lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_70 = lean_ctor_get(x_43, 0); +lean_inc(x_70); +lean_dec(x_43); +x_71 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(x_70, x_3, x_27); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_71, 0); +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_75 = lean_ctor_get(x_71, 1); +x_76 = lean_ctor_get(x_73, 0); +x_77 = lean_array_push(x_23, x_76); +x_78 = lean_unsigned_to_nat(1u); +x_79 = lean_nat_add(x_24, x_78); +lean_dec(x_24); +lean_ctor_set(x_71, 1, x_79); +lean_ctor_set(x_71, 0, x_77); +lean_ctor_set(x_14, 0, x_71); +lean_ctor_set(x_73, 0, x_14); +x_15 = x_73; +x_16 = x_75; +goto block_20; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = lean_ctor_get(x_71, 1); +x_81 = lean_ctor_get(x_73, 0); +lean_inc(x_81); +lean_dec(x_73); +x_82 = lean_array_push(x_23, x_81); +x_83 = lean_unsigned_to_nat(1u); +x_84 = lean_nat_add(x_24, x_83); +lean_dec(x_24); +lean_ctor_set(x_71, 1, x_84); +lean_ctor_set(x_71, 0, x_82); +lean_ctor_set(x_14, 0, x_71); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_14); +x_15 = x_85; +x_16 = x_80; +goto block_20; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_86 = lean_ctor_get(x_71, 0); +x_87 = lean_ctor_get(x_71, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_71); +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + x_89 = x_86; +} else { + lean_dec_ref(x_86); + x_89 = lean_box(0); +} +x_90 = lean_array_push(x_23, x_88); +x_91 = lean_unsigned_to_nat(1u); +x_92 = lean_nat_add(x_24, x_91); +lean_dec(x_24); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_14, 0, x_93); +if (lean_is_scalar(x_89)) { + x_94 = lean_alloc_ctor(1, 1, 0); +} else { + x_94 = x_89; +} +lean_ctor_set(x_94, 0, x_14); +x_15 = x_94; +x_16 = x_87; +goto block_20; +} +} +} +else +{ +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; uint64_t x_103; uint64_t x_104; uint64_t x_105; uint64_t x_106; uint64_t x_107; uint64_t x_108; uint64_t x_109; size_t x_110; size_t x_111; size_t x_112; size_t x_113; size_t x_114; lean_object* x_115; lean_object* x_116; +x_95 = lean_ctor_get(x_14, 0); +lean_inc(x_95); +lean_dec(x_14); +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); +lean_inc(x_97); +lean_inc(x_9); +x_98 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_registerIdMap(x_9, x_97, x_3, x_13); +x_99 = lean_ctor_get(x_3, 0); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_ctor_get(x_99, 1); +x_102 = lean_array_get_size(x_101); +x_103 = lean_uint64_of_nat(x_9); +x_104 = 32; +x_105 = lean_uint64_shift_right(x_103, x_104); +x_106 = lean_uint64_xor(x_103, x_105); +x_107 = 16; +x_108 = lean_uint64_shift_right(x_106, x_107); +x_109 = lean_uint64_xor(x_106, x_108); +x_110 = lean_uint64_to_usize(x_109); +x_111 = lean_usize_of_nat(x_102); +lean_dec(x_102); +x_112 = 1; +x_113 = lean_usize_sub(x_111, x_112); +x_114 = lean_usize_land(x_110, x_113); +x_115 = lean_array_uget(x_101, x_114); +x_116 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_getProofStep___spec__1(x_9, x_115); +lean_dec(x_115); +lean_dec(x_9); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; 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_117 = l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4; +x_118 = l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1(x_117); +x_119 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(x_118, x_3, x_100); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_122 = x_119; +} else { + lean_dec_ref(x_119); + x_122 = lean_box(0); +} +x_123 = lean_ctor_get(x_120, 0); +lean_inc(x_123); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + x_124 = x_120; +} else { + lean_dec_ref(x_120); + x_124 = lean_box(0); +} +x_125 = lean_array_push(x_96, x_123); +x_126 = lean_unsigned_to_nat(1u); +x_127 = lean_nat_add(x_97, x_126); +lean_dec(x_97); +if (lean_is_scalar(x_122)) { + x_128 = lean_alloc_ctor(0, 2, 0); +} else { + x_128 = x_122; +} +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_128); +if (lean_is_scalar(x_124)) { + x_130 = lean_alloc_ctor(1, 1, 0); +} else { + x_130 = x_124; +} +lean_ctor_set(x_130, 0, x_129); +x_15 = x_130; +x_16 = x_121; +goto block_20; +} +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; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_131 = lean_ctor_get(x_116, 0); +lean_inc(x_131); +lean_dec(x_116); +x_132 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_mapStep(x_131, x_3, x_100); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + x_135 = x_132; +} else { + lean_dec_ref(x_132); + x_135 = lean_box(0); +} +x_136 = lean_ctor_get(x_133, 0); +lean_inc(x_136); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + x_137 = x_133; +} else { + lean_dec_ref(x_133); + x_137 = lean_box(0); +} +x_138 = lean_array_push(x_96, x_136); +x_139 = lean_unsigned_to_nat(1u); +x_140 = lean_nat_add(x_97, x_139); +lean_dec(x_97); +if (lean_is_scalar(x_135)) { + x_141 = lean_alloc_ctor(0, 2, 0); +} else { + x_141 = x_135; +} +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_140); +x_142 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_142, 0, x_141); +if (lean_is_scalar(x_137)) { + x_143 = lean_alloc_ctor(1, 1, 0); +} else { + x_143 = x_137; +} +lean_ctor_set(x_143, 0, x_142); +x_15 = x_143; +x_16 = x_134; +goto block_20; +} +} +block_20: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +x_1 = x_10; +x_2 = x_18; +x_4 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_RBNode_fold___at_Lean_RBMap_size___spec__1___rarg(x_5, x_3); +x_7 = lean_mk_empty_array_with_capacity(x_6); +lean_dec(x_6); +lean_inc(x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +x_9 = l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2(x_3, x_8, x_1, x_2); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_9, 0); +lean_dec(x_15); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_16); +return x_9; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_ctor_get(x_13, 0); +lean_inc(x_18); +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_18); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_10, 0); +lean_inc(x_20); +lean_dec(x_10); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + x_23 = x_9; +} else { + lean_dec_ref(x_9); + x_23 = lean_box(0); +} +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +if (lean_is_scalar(x_23)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_23; +} +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_22); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___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_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_useAnalysis(x_1, x_2); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping(x_1, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim_go___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_go(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_go___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim___closed__1; +x_3 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_LRAT_trim___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_BVDecide_LRAT_trim(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_RBMap(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Data_HashMap(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_LRAT_Trim(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Elab_Tactic_BVDecide_LRAT_Actions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_RBMap(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Data_HashMap(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_used___default = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_used___default(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_used___default); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_State_mapped___default); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findInitialId___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__3); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_findEmptyId___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_run___rarg___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__1); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_isUsed___closed__2); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim_M_markUsed___closed__1); +l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__1___closed__1); +l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1 = _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1(); +lean_mark_persistent(l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1); +l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2 = _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2(); +lean_mark_persistent(l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2); +l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3 = _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3(); +lean_mark_persistent(l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3); +l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4 = _init_l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4(); +lean_mark_persistent(l_Lean_RBNode_forIn_visit___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__4); +l_Lean_Elab_Tactic_BVDecide_LRAT_trim___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_LRAT_trim___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_LRAT_trim___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 1a26c67487da..2a11f828e571 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -305,6 +305,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange__1___closed__6; static lean_object* l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSetOption___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_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSepTactics_goEven___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -906,6 +907,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalOpen(lean_object*, lean_object*, extern lean_object* l_Lean_Language_Snapshot_Diagnostics_empty; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange__1___closed__6; +lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__3(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___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange__1___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__44___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*); @@ -926,6 +928,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRang LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase_x27___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSepTactics(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_Language_withAlwaysResolvedPromise___at_Lean_Elab_Tactic_evalSepTactics_goEven___spec__18(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_Tactic_evalCase___lambda__2(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*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState__1___closed__9; LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__38___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange__1___closed__1; @@ -1184,6 +1187,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAllGoals___boxed(lean_object*, l LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at_Lean_Elab_Tactic_evalSepTactics_goEven___spec__10___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_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase___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*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase(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_Tactic_renameInaccessibles___spec__14(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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange__1(lean_object*); @@ -42210,6 +42214,61 @@ return x_11; } } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase___spec__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); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +x_20 = lean_box(0); +lean_ctor_set(x_17, 0, x_20); +return x_17; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_box(0); +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; +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) +{ +return x_17; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__1() { _start: { @@ -42238,6 +42297,15 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase___lambda__1), 1, 0) return x_1; } } +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase(lean_object* x_1, 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: { @@ -42272,43 +42340,43 @@ x_18 = lean_unsigned_to_nat(0u); x_19 = lean_nat_dec_lt(x_18, x_17); if (x_19 == 0) { -lean_object* x_55; +lean_object* x_50; lean_dec(x_17); lean_dec(x_16); -x_55 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__1; -x_20 = x_55; -goto block_54; +x_50 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__1; +x_20 = x_50; +goto block_49; } else { -uint8_t x_56; -x_56 = lean_nat_dec_le(x_17, x_17); -if (x_56 == 0) +uint8_t x_51; +x_51 = lean_nat_dec_le(x_17, x_17); +if (x_51 == 0) { -lean_object* x_57; +lean_object* x_52; lean_dec(x_17); lean_dec(x_16); -x_57 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__1; -x_20 = x_57; -goto block_54; +x_52 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__1; +x_20 = x_52; +goto block_49; } else { -size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_58 = 0; -x_59 = lean_usize_of_nat(x_17); +size_t x_53; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_53 = 0; +x_54 = lean_usize_of_nat(x_17); lean_dec(x_17); -x_60 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__12; -x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(x_16, x_58, x_59, x_60); +x_55 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__12; +x_56 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(x_16, x_53, x_54, x_55); lean_dec(x_16); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_20 = x_62; -goto block_54; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_20 = x_57; +goto block_49; } } -block_54: +block_49: { lean_object* x_21; lean_object* x_22; x_21 = l_Lean_Elab_Tactic_evalCase___closed__3; @@ -42395,60 +42463,25 @@ return x_39; } else { -lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; -x_40 = lean_array_get_size(x_27); -x_41 = l_Array_toSubarray___rarg(x_27, x_18, x_40); -x_42 = lean_array_size(x_28); -x_43 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase___spec__6(x_1, x_30, x_36, x_28, x_42, x_26, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_28); -if (lean_obj_tag(x_43) == 0) -{ -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = lean_box(0); -lean_ctor_set(x_43, 0, x_46); -return x_43; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(0); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} -} -else -{ -uint8_t x_50; -x_50 = !lean_is_exclusive(x_43); -if (x_50 == 0) -{ -return x_43; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_43, 0); -x_52 = lean_ctor_get(x_43, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_43); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} +lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_array_get_size(x_28); +x_41 = lean_nat_dec_lt(x_14, x_40); +lean_dec(x_40); +x_42 = lean_array_get_size(x_27); +x_43 = l_Array_toSubarray___rarg(x_27, x_18, x_42); +x_44 = lean_array_size(x_28); +x_45 = lean_box_usize(x_44); +x_46 = l_Lean_Elab_Tactic_evalCase___boxed__const__1; +x_47 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase___lambda__2___boxed), 16, 7); +lean_closure_set(x_47, 0, x_1); +lean_closure_set(x_47, 1, x_30); +lean_closure_set(x_47, 2, x_36); +lean_closure_set(x_47, 3, x_28); +lean_closure_set(x_47, 4, x_45); +lean_closure_set(x_47, 5, x_46); +lean_closure_set(x_47, 6, x_43); +x_48 = l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__3(x_41, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_48; } } } @@ -42511,6 +42544,19 @@ lean_dec(x_4); return x_19; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_18 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_19 = l_Lean_Elab_Tactic_evalCase___lambda__2(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_4); +return x_19; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase__1___closed__1() { _start: { @@ -49771,6 +49817,8 @@ l_Lean_Elab_Tactic_evalCase___closed__2 = _init_l_Lean_Elab_Tactic_evalCase___cl lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__2); l_Lean_Elab_Tactic_evalCase___closed__3 = _init_l_Lean_Elab_Tactic_evalCase___closed__3(); lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__3); +l_Lean_Elab_Tactic_evalCase___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalCase___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___boxed__const__1); l___regBuiltin_Lean_Elab_Tactic_evalCase__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase__1___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalCase__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 307bd45ce378..dda6e9d63c26 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -32,6 +32,7 @@ lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spe lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__3; +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__3; 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*); static lean_object* l_Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___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*); @@ -72,7 +73,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation___lambda__2(lean_object static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll(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_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__8; lean_object* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_194____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,7 +93,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpArgs___lambda__1(lean_object LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation_go(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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_elabSimpArgs___spec__6___closed__3; uint8_t l_Lean_Meta_Match_isMatchEqnTheorem(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__5; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__6; static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__9; @@ -162,6 +161,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_ static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_elabSimpArgs___spec__3___closed__4; lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimp__1___closed__3; extern lean_object* l_Lean_PersistentHashMap_empty___at_Lean_Meta_SimpTheorems_lemmaNames___default___spec__1; @@ -177,7 +177,6 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesi LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___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*); uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8(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_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at_Lean_Elab_Tactic_mkSimpOnly___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_UsedSimps_toArray(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -204,7 +203,6 @@ static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__4___closed__2; static lean_object* l_Lean_Elab_Tactic_mkSimpContext___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge(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_Tactic_simpOnlyBuiltins___closed__2; -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__7___closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Tactic_mkSimpOnly___closed__6; @@ -252,6 +250,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___boxed(lean_obje lean_object* l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_elabSimpArgs___spec__6___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withSimpDiagnostics(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_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933_(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpTheorems_addDeclToUnfoldCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -304,6 +303,7 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_mkSimpOnly___sp LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_elabSimpArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation_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*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2; lean_object* l_Lean_Name_componentsRev(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___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*); static lean_object* l_Lean_logWarning___at_Lean_Elab_Tactic_elabSimpArgs___spec__5___closed__1; @@ -321,6 +321,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation___lambda__1(lean_object static lean_object* l_Lean_Elab_Tactic_elabDSimpConfigCore___closed__2; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal_unresolveNameCore___at_Lean_Elab_Tactic_mkSimpOnly___spec__3___lambda__1___boxed(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_Tactic_elabSimpConfigCore___spec__5(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_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_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___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -409,11 +410,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext(lean_object*, uint8_t, LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCtxCore___closed__3; static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__2; +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__8; static lean_object* l_Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpArgs___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_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_reportDiag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932_(lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Tactic_mkSimpContext___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* l_Lean_Meta_getSimpExtension_x3f(lean_object*, lean_object*); lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); @@ -426,18 +427,17 @@ lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at_Lean_Elab_Tactic_mkSimpOnly___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__5; static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__10; -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_SimpTheorems_isDeclToUnfold(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_382____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabDSimpConfigCore___closed__1; -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimp_declRange__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_tacticToDischarge___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal_unresolveNameCore___at_Lean_Elab_Tactic_mkSimpOnly___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SimpKind_noConfusion___rarg___lambda__1(lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_simpOnlyBuiltins___closed__1; @@ -452,7 +452,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpCo static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp_declRange__1___closed__6; lean_object* l_Lean_Meta_Simp_SimprocsArray_add(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___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*); static lean_object* l_Lean_Elab_Tactic_simpOnlyBuiltins___closed__5; lean_object* lean_erase_macro_scopes(lean_object*); @@ -469,6 +468,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_e LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpArgs___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__4(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_Tactic_instBEqSimpKind; +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4; static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___closed__8; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_elabSimpArgs___spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -523,6 +523,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__3___boxed extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__7___lambda__2___closed__4; static lean_object* l_Lean_Elab_Tactic_mkSimpContext___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpArgs(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_object*, lean_object*); @@ -534,7 +535,6 @@ lean_object* l_Lean_Meta_Simp_getSimprocExtension_x3f(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimp__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__1; @@ -3567,7 +3567,7 @@ uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; x_1 = 1; x_2 = 0; x_3 = 0; -x_4 = lean_alloc_ctor(0, 0, 11); +x_4 = lean_alloc_ctor(0, 0, 12); lean_ctor_set_uint8(x_4, 0, x_1); lean_ctor_set_uint8(x_4, 1, x_1); lean_ctor_set_uint8(x_4, 2, x_1); @@ -3579,6 +3579,7 @@ lean_ctor_set_uint8(x_4, 7, x_3); lean_ctor_set_uint8(x_4, 8, x_1); lean_ctor_set_uint8(x_4, 9, x_3); lean_ctor_set_uint8(x_4, 10, x_3); +lean_ctor_set_uint8(x_4, 11, x_1); return x_4; } } @@ -4877,7 +4878,7 @@ uint8_t x_21; x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { -lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; +lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; x_22 = lean_ctor_get(x_20, 0); x_23 = lean_ctor_get_uint8(x_22, 0); x_24 = lean_ctor_get_uint8(x_22, 1); @@ -4890,108 +4891,110 @@ x_30 = lean_ctor_get_uint8(x_22, 7); x_31 = lean_ctor_get_uint8(x_22, 8); x_32 = lean_ctor_get_uint8(x_22, 9); x_33 = lean_ctor_get_uint8(x_22, 10); +x_34 = lean_ctor_get_uint8(x_22, 11); lean_dec(x_22); -x_34 = l_Lean_Meta_Simp_defaultMaxSteps; -x_35 = lean_unsigned_to_nat(2u); -x_36 = 0; -x_37 = 1; -x_38 = lean_alloc_ctor(0, 2, 19); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*2, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 1, x_37); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 2, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 3, x_23); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 4, x_24); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 5, x_25); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 6, x_26); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 7, x_27); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 8, x_28); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 9, x_29); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 10, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 11, x_30); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 12, x_37); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 13, x_31); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 14, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 15, x_32); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 16, x_33); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 17, x_37); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 18, x_37); -lean_ctor_set(x_20, 0, x_38); +x_35 = l_Lean_Meta_Simp_defaultMaxSteps; +x_36 = lean_unsigned_to_nat(2u); +x_37 = 0; +x_38 = 1; +x_39 = lean_alloc_ctor(0, 2, 19); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set_uint8(x_39, sizeof(void*)*2, x_37); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 1, x_38); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 2, x_37); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 3, x_23); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 4, x_24); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 5, x_25); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 6, x_26); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 7, x_27); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 8, x_28); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 9, x_29); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 10, x_37); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 11, x_30); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 12, x_38); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 13, x_31); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 14, x_37); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 15, x_32); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 16, x_33); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 17, x_34); +lean_ctor_set_uint8(x_39, sizeof(void*)*2 + 18, x_38); +lean_ctor_set(x_20, 0, x_39); return x_20; } else { -lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; -x_39 = lean_ctor_get(x_20, 0); -x_40 = lean_ctor_get(x_20, 1); +lean_object* x_40; lean_object* x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; +x_40 = lean_ctor_get(x_20, 0); +x_41 = lean_ctor_get(x_20, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); lean_dec(x_20); -x_41 = lean_ctor_get_uint8(x_39, 0); -x_42 = lean_ctor_get_uint8(x_39, 1); -x_43 = lean_ctor_get_uint8(x_39, 2); -x_44 = lean_ctor_get_uint8(x_39, 3); -x_45 = lean_ctor_get_uint8(x_39, 4); -x_46 = lean_ctor_get_uint8(x_39, 5); -x_47 = lean_ctor_get_uint8(x_39, 6); -x_48 = lean_ctor_get_uint8(x_39, 7); -x_49 = lean_ctor_get_uint8(x_39, 8); -x_50 = lean_ctor_get_uint8(x_39, 9); -x_51 = lean_ctor_get_uint8(x_39, 10); -lean_dec(x_39); -x_52 = l_Lean_Meta_Simp_defaultMaxSteps; -x_53 = lean_unsigned_to_nat(2u); -x_54 = 0; -x_55 = 1; -x_56 = lean_alloc_ctor(0, 2, 19); -lean_ctor_set(x_56, 0, x_52); -lean_ctor_set(x_56, 1, x_53); -lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_54); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 1, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 2, x_54); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 3, x_41); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 4, x_42); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 5, x_43); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 6, x_44); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 7, x_45); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 8, x_46); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 9, x_47); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 10, x_54); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 11, x_48); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 12, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 13, x_49); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 14, x_54); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 15, x_50); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 16, x_51); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 17, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 18, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_40); -return x_57; +x_42 = lean_ctor_get_uint8(x_40, 0); +x_43 = lean_ctor_get_uint8(x_40, 1); +x_44 = lean_ctor_get_uint8(x_40, 2); +x_45 = lean_ctor_get_uint8(x_40, 3); +x_46 = lean_ctor_get_uint8(x_40, 4); +x_47 = lean_ctor_get_uint8(x_40, 5); +x_48 = lean_ctor_get_uint8(x_40, 6); +x_49 = lean_ctor_get_uint8(x_40, 7); +x_50 = lean_ctor_get_uint8(x_40, 8); +x_51 = lean_ctor_get_uint8(x_40, 9); +x_52 = lean_ctor_get_uint8(x_40, 10); +x_53 = lean_ctor_get_uint8(x_40, 11); +lean_dec(x_40); +x_54 = l_Lean_Meta_Simp_defaultMaxSteps; +x_55 = lean_unsigned_to_nat(2u); +x_56 = 0; +x_57 = 1; +x_58 = lean_alloc_ctor(0, 2, 19); +lean_ctor_set(x_58, 0, x_54); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_56); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 1, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 2, x_56); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 3, x_42); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 4, x_43); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 5, x_44); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 6, x_45); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 7, x_46); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 8, x_47); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 9, x_48); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 10, x_56); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 11, x_49); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 12, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 13, x_50); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 14, x_56); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 15, x_51); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 16, x_52); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 17, x_53); +lean_ctor_set_uint8(x_58, sizeof(void*)*2 + 18, x_57); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_41); +return x_59; } } else { -uint8_t x_58; -x_58 = !lean_is_exclusive(x_20); -if (x_58 == 0) +uint8_t x_60; +x_60 = !lean_is_exclusive(x_20); +if (x_60 == 0) { return x_20; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_20, 0); -x_60 = lean_ctor_get(x_20, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_20, 0); +x_62 = lean_ctor_get(x_20, 1); +lean_inc(x_62); +lean_inc(x_61); lean_dec(x_20); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +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; } } } @@ -12261,7 +12264,7 @@ x_18 = l_Lean_Elab_Tactic_mkSimpContext(x_1, x_15, x_16, x_17, x_5, x_6, x_7, x_ return x_18; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1() { _start: { lean_object* x_1; @@ -12269,7 +12272,7 @@ x_1 = lean_mk_string_unchecked("tactic", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2() { _start: { lean_object* x_1; @@ -12277,18 +12280,18 @@ x_1 = lean_mk_string_unchecked("trace", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__3() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1; +x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1; x_2 = l_Lean_Elab_Tactic_tacticToDischarge___lambda__3___closed__1; -x_3 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2; +x_3 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4() { _start: { lean_object* x_1; @@ -12296,7 +12299,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__5() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__5() { _start: { lean_object* x_1; @@ -12304,13 +12307,13 @@ x_1 = lean_mk_string_unchecked("When tracing is enabled, calls to `simp` or `dsi return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__6() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__6() { _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_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4; -x_3 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__5; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4; +x_3 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -12319,7 +12322,7 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7() { _start: { lean_object* x_1; @@ -12327,27 +12330,27 @@ x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__8() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__8() { _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; lean_object* x_7; x_1 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__1; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7; x_3 = l_Lean_Elab_Tactic_tacticToDischarge___closed__2; -x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1; +x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1; x_5 = l_Lean_Elab_Tactic_tacticToDischarge___lambda__3___closed__1; -x_6 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2; +x_6 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2; x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933_(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_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__3; -x_3 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__6; -x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__8; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__3; +x_3 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__6; +x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__8; x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_4, x_1); return x_5; } @@ -15823,7 +15826,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_traceSimpCall___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4; +x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -16800,7 +16803,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimp__1___closed__ { 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_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__1; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7; x_3 = l_Lean_Elab_Tactic_tacticToDischarge___closed__2; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSimp__1___closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -17374,7 +17377,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAll__1___close { 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_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__1; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7; x_3 = l_Lean_Elab_Tactic_tacticToDischarge___closed__2; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAll__1___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -18256,7 +18259,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimp__1___closed_ { 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_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_6____closed__1; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7; x_3 = l_Lean_Elab_Tactic_tacticToDischarge___closed__2; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalDSimp__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -18704,23 +18707,23 @@ l_Lean_Elab_Tactic_mkSimpContext___closed__1 = _init_l_Lean_Elab_Tactic_mkSimpCo lean_mark_persistent(l_Lean_Elab_Tactic_mkSimpContext___closed__1); l_Lean_Elab_Tactic_mkSimpContext___closed__2 = _init_l_Lean_Elab_Tactic_mkSimpContext___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_mkSimpContext___closed__2); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__1); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__2); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__3 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__3); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__4); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__5 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__5); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__6 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__6(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__6); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__7); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__8 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__8(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932____closed__8); -if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4932_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__1); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__2); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__3 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__3); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__4); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__5 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__5); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__6 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__6); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__7); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__8 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933____closed__8); +if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Simp___hyg_4933_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Tactic_tactic_simp_trace = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Tactic_tactic_simp_trace); diff --git a/stage0/stdlib/Lean/Language/Lean.c b/stage0/stdlib/Lean/Language/Lean.c index 527ca0a966ed..9c805850e0ec 100644 --- a/stage0/stdlib/Lean/Language/Lean.c +++ b/stage0/stdlib/Lean/Language/Lean.c @@ -3118,91 +3118,90 @@ x_21 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__6; x_22 = lean_io_promise_resolve(x_21, x_20, x_11); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_object* x_23; lean_object* x_24; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); lean_dec(x_22); -x_40 = lean_ctor_get(x_17, 1); -lean_inc(x_40); +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); lean_dec(x_17); -x_41 = lean_ctor_get(x_40, 2); -lean_inc(x_41); -x_42 = lean_unsigned_to_nat(0u); -x_43 = lean_nat_dec_lt(x_42, x_41); -lean_dec(x_41); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_39, 2); +lean_inc(x_40); +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_nat_dec_lt(x_41, x_40); lean_dec(x_40); -x_44 = l_Lean_Elab_instInhabitedInfoTree; -x_45 = l_outOfBounds___rarg(x_44); -x_24 = x_45; -goto block_39; +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_39); +x_43 = l_Lean_Elab_instInhabitedInfoTree; +x_44 = l_outOfBounds___rarg(x_43); +x_24 = x_44; +goto block_38; } else { -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_Elab_instInhabitedInfoTree; -x_47 = l_Lean_PersistentArray_get_x21___rarg(x_46, x_40, x_42); -x_24 = x_47; -goto block_39; +lean_object* x_45; lean_object* x_46; +x_45 = l_Lean_Elab_instInhabitedInfoTree; +x_46 = l_Lean_PersistentArray_get_x21___rarg(x_45, x_39, x_41); +x_24 = x_46; +goto block_38; } -block_39: +block_38: { -lean_object* x_25; uint8_t x_26; -x_25 = lean_runtime_mark_persistent(x_24); +uint8_t x_25; if (x_6 == 0) { -uint8_t x_35; +uint8_t x_34; lean_dec(x_7); -x_35 = 0; -x_26 = x_35; -goto block_34; +x_34 = 0; +x_25 = x_34; +goto block_33; } else { -uint8_t x_36; -x_36 = l_Lean_Parser_isTerminalCommand(x_7); -if (x_36 == 0) +uint8_t x_35; +x_35 = l_Lean_Parser_isTerminalCommand(x_7); +if (x_35 == 0) { -uint8_t x_37; -x_37 = 1; -x_26 = x_37; -goto block_34; +uint8_t x_36; +x_36 = 1; +x_25 = x_36; +goto block_33; } else { -uint8_t x_38; -x_38 = 0; -x_26 = x_38; -goto block_34; +uint8_t x_37; +x_37 = 0; +x_25 = x_37; +goto block_33; } } -block_34: +block_33: { -if (x_26 == 0) +if (x_25 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__4; -x_28 = lean_box(0); -x_29 = l_Lean_Language_Lean_process_doElab___lambda__3(x_8, x_27, x_26, x_19, x_3, x_12, x_4, x_5, x_25, x_28, x_10, x_23); -return x_29; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__4; +x_27 = lean_box(0); +x_28 = l_Lean_Language_Lean_process_doElab___lambda__3(x_8, x_26, x_25, x_19, x_3, x_12, x_4, x_5, x_24, x_27, x_10, x_23); +return x_28; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_runtime_mark_persistent(x_25); -x_31 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__4; -x_32 = lean_box(0); -x_33 = l_Lean_Language_Lean_process_doElab___lambda__3(x_8, x_31, x_26, x_19, x_3, x_12, x_4, x_5, x_30, x_32, x_10, x_23); -return x_33; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_runtime_mark_persistent(x_24); +x_30 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__4; +x_31 = lean_box(0); +x_32 = l_Lean_Language_Lean_process_doElab___lambda__3(x_8, x_30, x_25, x_19, x_3, x_12, x_4, x_5, x_29, x_31, x_10, x_23); +return x_32; } } } } else { -uint8_t x_48; +uint8_t x_47; lean_dec(x_19); lean_dec(x_17); lean_dec(x_12); @@ -3210,23 +3209,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -x_48 = !lean_is_exclusive(x_22); -if (x_48 == 0) +x_47 = !lean_is_exclusive(x_22); +if (x_47 == 0) { return x_22; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_22, 0); -x_50 = lean_ctor_get(x_22, 1); -lean_inc(x_50); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_22, 0); +x_49 = lean_ctor_get(x_22, 1); lean_inc(x_49); +lean_inc(x_48); lean_dec(x_22); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } diff --git a/stage0/stdlib/Lean/Meta/KAbstract.c b/stage0/stdlib/Lean/Meta/KAbstract.c index 7975344653a1..2d21a42b28ed 100644 --- a/stage0/stdlib/Lean/Meta/KAbstract.c +++ b/stage0/stdlib/Lean/Meta/KAbstract.c @@ -26,6 +26,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_kabstract_visit(lean_object*, lean_object*, lean_object* lean_expr_abstract(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_kabstract_visit___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_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); @@ -34,7 +35,6 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_Expr_toHeadIndex(lean_object*); lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132_(lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(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*); uint8_t l___private_Lean_HeadIndex_0__Lean_beqHeadIndex____x40_Lean_HeadIndex___hyg_68_(lean_object*, lean_object*); @@ -7046,7 +7046,7 @@ else { lean_object* x_33; uint8_t x_34; x_33 = lean_box(0); -x_34 = l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132_(x_3, x_33); +x_34 = l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158_(x_3, x_33); if (x_34 == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; @@ -7222,7 +7222,7 @@ else { lean_object* x_78; uint8_t x_79; x_78 = lean_box(0); -x_79 = l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1132_(x_3, x_78); +x_79 = l___private_Init_MetaTypes_0__Lean_Meta_beqOccurrences____x40_Init_MetaTypes___hyg_1158_(x_3, x_78); if (x_79 == 0) { lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index e5a602fde606..f1c062d66775 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -111,7 +111,6 @@ LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocal uint8_t l_Lean_Exception_isInterrupt(lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2; lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__2; @@ -170,6 +169,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_co LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType___lambda__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_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__17___boxed(lean_object**); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___spec__1(lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__9___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Match_withMkMatcherInput___spec__3___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Match_withMkMatcherInput___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -256,6 +256,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ge static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___closed__3; lean_object* l_Lean_Meta_Match_examplesToMessageData(lean_object*); uint8_t l_List_any___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1; lean_object* l_Lean_RBNode_findCore___at_Lean_Meta_removeUnused___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__9___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput(lean_object*); @@ -307,7 +308,6 @@ extern lean_object* l_instInhabitedPUnit; LEAN_EXPORT lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10681____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectDependencies(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandFinValuePattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6___closed__1; static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__8; @@ -528,7 +528,6 @@ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCa LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__18___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorOrInaccessible___lambda__1___boxed(lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4; static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__13; @@ -552,6 +551,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ex LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorOrInaccessible___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -582,6 +582,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_withClea static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14335____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern___lambda__1(lean_object*); uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__17(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -704,6 +705,7 @@ lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mk lean_object* l_Lean_Meta_isConstructorApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10681____closed__4; LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Meta_Match_mkMatcher___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_addMatcherInfo(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__3(lean_object*); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__2___closed__1; @@ -806,7 +808,6 @@ lean_object* l_Int_toNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Id_instMonad; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lambda__2___closed__4; -lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___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_Match_processInaccessibleAsCtor___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*); @@ -869,6 +870,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_is size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___boxed(lean_object**); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedAlt; static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__1; static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__16___closed__1; @@ -32747,23 +32749,7 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__4(x_3, x_1, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_Match_matcherExt; -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -32774,7 +32760,7 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -32787,12 +32773,12 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10721____closed__2; -x_2 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__3; +x_2 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__2; x_3 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -32804,6 +32790,215 @@ lean_ctor_set(x_3, 6, x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_take(x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_12 = lean_ctor_get(x_9, 0); +x_13 = lean_ctor_get(x_9, 4); +lean_dec(x_13); +x_14 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_12, x_1, x_2); +x_15 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1; +lean_ctor_set(x_9, 4, x_15); +lean_ctor_set(x_9, 0, x_14); +x_16 = lean_st_ref_set(x_6, x_9, x_10); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_take(x_4, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_19, 1); +lean_dec(x_22); +x_23 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; +lean_ctor_set(x_19, 1, x_23); +x_24 = lean_st_ref_set(x_4, x_19, x_20); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +x_27 = lean_box(0); +lean_ctor_set(x_24, 0, x_27); +return x_24; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_dec(x_24); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_19, 0); +x_32 = lean_ctor_get(x_19, 2); +x_33 = lean_ctor_get(x_19, 3); +x_34 = lean_ctor_get(x_19, 4); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_19); +x_35 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; +x_36 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_32); +lean_ctor_set(x_36, 3, x_33); +lean_ctor_set(x_36, 4, x_34); +x_37 = lean_st_ref_set(x_4, x_36, x_20); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); +} +x_40 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +else +{ +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; 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; +x_42 = lean_ctor_get(x_9, 0); +x_43 = lean_ctor_get(x_9, 1); +x_44 = lean_ctor_get(x_9, 2); +x_45 = lean_ctor_get(x_9, 3); +x_46 = lean_ctor_get(x_9, 5); +x_47 = lean_ctor_get(x_9, 6); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_9); +x_48 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_42, x_1, x_2); +x_49 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1; +x_50 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_43); +lean_ctor_set(x_50, 2, x_44); +lean_ctor_set(x_50, 3, x_45); +lean_ctor_set(x_50, 4, x_49); +lean_ctor_set(x_50, 5, x_46); +lean_ctor_set(x_50, 6, x_47); +x_51 = lean_st_ref_set(x_6, x_50, x_10); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_4, 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_ctor_get(x_54, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_54, 2); +lean_inc(x_57); +x_58 = lean_ctor_get(x_54, 3); +lean_inc(x_58); +x_59 = lean_ctor_get(x_54, 4); +lean_inc(x_59); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + lean_ctor_release(x_54, 2); + lean_ctor_release(x_54, 3); + lean_ctor_release(x_54, 4); + x_60 = x_54; +} else { + lean_dec_ref(x_54); + x_60 = lean_box(0); +} +x_61 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 5, 0); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_56); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_57); +lean_ctor_set(x_62, 3, x_58); +lean_ctor_set(x_62, 4, x_59); +x_63 = lean_st_ref_set(x_4, x_62, x_55); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +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); +} +x_66 = lean_box(0); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_64); +return x_67; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PersistentHashMap_insert___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__4(x_3, x_1, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Match_matcherExt; +return x_1; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -32837,7 +33032,7 @@ lean_closure_set(x_19, 0, x_2); lean_closure_set(x_19, 1, x_3); x_20 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1; x_21 = l_Lean_EnvExtension_modifyState___rarg(x_20, x_17, x_19); -x_22 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2; +x_22 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1; lean_ctor_set(x_14, 4, x_22); lean_ctor_set(x_14, 0, x_21); x_23 = lean_st_ref_set(x_9, x_14, x_15); @@ -32856,14 +33051,14 @@ 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; uint8_t x_35; lean_object* x_36; x_29 = lean_ctor_get(x_26, 1); lean_dec(x_29); -x_30 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4; +x_30 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; lean_ctor_set(x_26, 1, x_30); x_31 = lean_st_ref_set(x_7, x_26, x_27); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); lean_inc(x_3); -x_33 = l_Lean_Meta_Match_addMatcherInfo(x_3, x_5, x_6, x_7, x_8, x_9, x_32); +x_33 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8(x_3, x_5, x_6, x_7, x_8, x_9, x_32); x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); @@ -32948,7 +33143,7 @@ lean_inc(x_51); lean_inc(x_50); lean_inc(x_49); lean_dec(x_26); -x_53 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4; +x_53 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; x_54 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_54, 0, x_49); lean_ctor_set(x_54, 1, x_53); @@ -32960,7 +33155,7 @@ x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); lean_inc(x_3); -x_57 = l_Lean_Meta_Match_addMatcherInfo(x_3, x_5, x_6, x_7, x_8, x_9, x_56); +x_57 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8(x_3, x_5, x_6, x_7, x_8, x_9, x_56); x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); @@ -33055,7 +33250,7 @@ lean_closure_set(x_77, 0, x_2); lean_closure_set(x_77, 1, x_3); x_78 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1; x_79 = l_Lean_EnvExtension_modifyState___rarg(x_78, x_71, x_77); -x_80 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2; +x_80 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1; x_81 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_72); @@ -33093,7 +33288,7 @@ if (lean_is_exclusive(x_85)) { lean_dec_ref(x_85); x_91 = lean_box(0); } -x_92 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4; +x_92 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3; if (lean_is_scalar(x_91)) { x_93 = lean_alloc_ctor(0, 5, 0); } else { @@ -33109,7 +33304,7 @@ x_95 = lean_ctor_get(x_94, 1); lean_inc(x_95); lean_dec(x_94); lean_inc(x_3); -x_96 = l_Lean_Meta_Match_addMatcherInfo(x_3, x_5, x_6, x_7, x_8, x_9, x_95); +x_96 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8(x_3, x_5, x_6, x_7, x_8, x_9, x_95); x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); lean_dec(x_96); @@ -34007,6 +34202,18 @@ x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefini return x_8; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -47428,14 +47635,14 @@ lean_dec_ref(res); l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2___closed__2(); l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1(); lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1); +l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1 = _init_l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__1); +l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__2 = _init_l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__2); +l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3 = _init_l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_addMatcherInfo___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__8___closed__3); l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__1); -l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__2); -l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__3 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__3); -l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4); l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__1 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__1); l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__2 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c index 5f5ac88b6872..e6103f50ef18 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c +++ b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c @@ -14,16 +14,16 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(lean_object*); -static lean_object* l_Lean_Meta_Match_addMatcherInfo___closed__1; LEAN_EXPORT uint8_t lean_is_matcher(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstAltPos(lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfoCore_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___rarg(lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -58,7 +58,6 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__2; static lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__4; static lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_377____closed__2; -lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstAltPos___boxed(lean_object*); @@ -73,6 +72,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_instInhabitedDiscrInfo; static lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_Extension_State_map___default; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -104,7 +104,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___rarg___lambda__1(lean_ static lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_377____closed__10; static lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Match_Extension_addMatcherInfo(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_addMatcherInfo___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___rarg___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -122,7 +121,7 @@ static lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_getDiscrRange(lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); -LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_377____spec__3(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -141,9 +140,7 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher(lean_object*); size_t lean_array_size(lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3___closed__3; -lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcherAppCore___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_addMatcherInfo___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatcherInfo_getAltRange(lean_object*); size_t lean_usize_shift_left(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_377____spec__1___boxed(lean_object*, lean_object*); @@ -2342,250 +2339,43 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_addMatcherInfo___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_Extension_State_map___default___closed__5; -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_object* x_4; +x_4 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_3, x_1, x_2); +return x_4; } } -static lean_object* _init_l_Lean_Meta_Match_addMatcherInfo___closed__2() { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_Extension_State_map___default___closed__5; -x_2 = lean_alloc_ctor(0, 4, 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); -return x_2; +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_alloc_closure((void*)(l_Lean_Meta_Match_addMatcherInfo___rarg___lambda__1), 3, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_3); +x_6 = lean_apply_1(x_4, x_5); +return x_6; } } -static lean_object* _init_l_Lean_Meta_Match_addMatcherInfo___closed__3() { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_Extension_State_map___default___closed__5; -x_2 = l_Lean_Meta_Match_addMatcherInfo___closed__2; -x_3 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_1); -lean_ctor_set(x_3, 3, x_1); -lean_ctor_set(x_3, 4, x_1); -lean_ctor_set(x_3, 5, x_2); -lean_ctor_set(x_3, 6, x_2); +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_Match_addMatcherInfo___rarg), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_st_ref_take(x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_12 = lean_ctor_get(x_9, 0); -x_13 = lean_ctor_get(x_9, 4); -lean_dec(x_13); -x_14 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_12, x_1, x_2); -x_15 = l_Lean_Meta_Match_addMatcherInfo___closed__1; -lean_ctor_set(x_9, 4, x_15); -lean_ctor_set(x_9, 0, x_14); -x_16 = lean_st_ref_set(x_6, x_9, x_10); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_st_ref_take(x_4, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_19, 1); -lean_dec(x_22); -x_23 = l_Lean_Meta_Match_addMatcherInfo___closed__3; -lean_ctor_set(x_19, 1, x_23); -x_24 = lean_st_ref_set(x_4, x_19, x_20); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_24, 0, x_27); -return x_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 2); -x_33 = lean_ctor_get(x_19, 3); -x_34 = lean_ctor_get(x_19, 4); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_19); -x_35 = l_Lean_Meta_Match_addMatcherInfo___closed__3; -x_36 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_32); -lean_ctor_set(x_36, 3, x_33); -lean_ctor_set(x_36, 4, x_34); -x_37 = lean_st_ref_set(x_4, x_36, x_20); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_39 = x_37; -} else { - lean_dec_ref(x_37); - x_39 = lean_box(0); -} -x_40 = lean_box(0); -if (lean_is_scalar(x_39)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_39; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -return x_41; -} -} -else -{ -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; 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; -x_42 = lean_ctor_get(x_9, 0); -x_43 = lean_ctor_get(x_9, 1); -x_44 = lean_ctor_get(x_9, 2); -x_45 = lean_ctor_get(x_9, 3); -x_46 = lean_ctor_get(x_9, 5); -x_47 = lean_ctor_get(x_9, 6); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_9); -x_48 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_42, x_1, x_2); -x_49 = l_Lean_Meta_Match_addMatcherInfo___closed__1; -x_50 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_43); -lean_ctor_set(x_50, 2, x_44); -lean_ctor_set(x_50, 3, x_45); -lean_ctor_set(x_50, 4, x_49); -lean_ctor_set(x_50, 5, x_46); -lean_ctor_set(x_50, 6, x_47); -x_51 = lean_st_ref_set(x_6, x_50, x_10); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_st_ref_take(x_4, 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_ctor_get(x_54, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_54, 2); -lean_inc(x_57); -x_58 = lean_ctor_get(x_54, 3); -lean_inc(x_58); -x_59 = lean_ctor_get(x_54, 4); -lean_inc(x_59); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - lean_ctor_release(x_54, 2); - lean_ctor_release(x_54, 3); - lean_ctor_release(x_54, 4); - x_60 = x_54; -} else { - lean_dec_ref(x_54); - x_60 = lean_box(0); -} -x_61 = l_Lean_Meta_Match_addMatcherInfo___closed__3; -if (lean_is_scalar(x_60)) { - x_62 = lean_alloc_ctor(0, 5, 0); -} else { - x_62 = x_60; -} -lean_ctor_set(x_62, 0, x_56); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_57); -lean_ctor_set(x_62, 3, x_58); -lean_ctor_set(x_62, 4, x_59); -x_63 = lean_st_ref_set(x_4, x_62, x_55); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -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); -} -x_66 = lean_box(0); -if (lean_is_scalar(x_65)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_65; -} -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_64); -return x_67; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_8; -x_8 = l_Lean_Meta_Match_addMatcherInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_8; +lean_object* x_3; +x_3 = l_Lean_Meta_Match_addMatcherInfo(x_1, x_2); +lean_dec(x_2); +return x_3; } } LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfoCore_x3f(lean_object* x_1, lean_object* x_2) { @@ -2961,12 +2751,6 @@ lean_mark_persistent(l_Lean_Meta_Match_Extension_extension); lean_dec_ref(res); }l_Lean_Meta_Match_Extension_addMatcherInfo___closed__1 = _init_l_Lean_Meta_Match_Extension_addMatcherInfo___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_Extension_addMatcherInfo___closed__1); -l_Lean_Meta_Match_addMatcherInfo___closed__1 = _init_l_Lean_Meta_Match_addMatcherInfo___closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_addMatcherInfo___closed__1); -l_Lean_Meta_Match_addMatcherInfo___closed__2 = _init_l_Lean_Meta_Match_addMatcherInfo___closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_addMatcherInfo___closed__2); -l_Lean_Meta_Match_addMatcherInfo___closed__3 = _init_l_Lean_Meta_Match_addMatcherInfo___closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_addMatcherInfo___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/FunInd.c b/stage0/stdlib/Lean/Meta/Tactic/FunInd.c index 1e39cc6a871c..b4f1a78a3abd 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/FunInd.c +++ b/stage0/stdlib/Lean/Meta/Tactic/FunInd.c @@ -53,7 +53,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__22(le static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__2___closed__4; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9; static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5___closed__5; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__1; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,14 +64,14 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_derive lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4___closed__4; +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__3; static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__3; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__14___closed__2; extern lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__8; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___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* l_Lean_Meta_mkPProdFst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__10; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__3; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); @@ -83,10 +82,10 @@ static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_F LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___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_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__11(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_Tactic_FunInd_substVarAfter___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__12; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__26___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___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_Array_qsort_sort___at_Lean_Elab_Structural_Positions_groupAndSort___spec__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___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*); static lean_object* l_List_forIn_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -102,6 +101,7 @@ static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12_ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__21(lean_object*); lean_object* l_Lean_Meta_mkPProdSnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_substVarAfter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__6___lambda__3(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* l_Lean_ConstantInfo_type(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2___closed__2; @@ -120,7 +120,6 @@ lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___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_Tactic_FunInd_deduplicateIHs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___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*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__11; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__36___boxed(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_Exception_isInterrupt(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_tell(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,7 +139,6 @@ LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Tactic_FunInd_deriveInductionStru LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___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*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__25___closed__4; LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__10; lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__39___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*); @@ -178,7 +176,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9(lean_ob lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__3___closed__2; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__12; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__39(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_Lean_Tactic_FunInd_M_localMapM(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); @@ -194,10 +191,12 @@ static lean_object* l_Lean_Tactic_FunInd_deriveInduction___lambda__2___closed__1 LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__10___boxed(lean_object**); lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__4___closed__3; +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__19___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Tactic_FunInd_buildInductionBody___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_getRecArgInfo(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_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__4___boxed(lean_object**); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__9; static lean_object* l_Lean_Tactic_FunInd_M_run___rarg___closed__1; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -235,6 +234,8 @@ static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__3; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12(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_Tactic_FunInd_buildInductionBody___lambda__26___closed__1; +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__12; +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21___lambda__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__3___closed__2; lean_object* lean_environment_find(lean_object*, lean_object*); @@ -246,6 +247,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__3___boxe static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4___closed__1; static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__6___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649_(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -272,6 +274,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_derive static lean_object* l_Lean_getConstInfoDefn___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_assertIHs___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__6; lean_object* l_Lean_Meta_elimOptParam___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); lean_object* l_List_get___rarg(lean_object*, lean_object*); @@ -280,9 +283,9 @@ lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__8___closed__3; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__18(lean_object*); lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4(lean_object*, uint8_t, 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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__6___boxed(lean_object**); @@ -298,7 +301,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__12___boxe LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___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_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__26___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_substVarAfter___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_buildInductionBody___spec__12___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*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__4; @@ -359,6 +361,7 @@ static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5___closed__3 LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__1___boxed(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_Tactic_FunInd_buildInductionBody___spec__13___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__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* l_Lean_throwError___at_Lean_Elab_Structural_getRecArgInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -387,7 +390,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg( LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Tactic_FunInd_buildInductionBody___spec__43___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_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__20(lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__4; +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__7; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___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_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___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_Tactic_FunInd_cleanPackedArgs___lambda__5___closed__1; @@ -405,6 +408,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__3__ uint8_t l_Array_contains___at_Lean_Meta_setMVarUserNamesAt___spec__1(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls_go___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_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___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___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*); @@ -418,6 +422,7 @@ static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7__ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__17(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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__2; lean_object* l_Array_contains___at_Lean_findField_x3f___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__2___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); @@ -429,6 +434,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Tactic_FunInd_foldA lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__2___closed__3; lean_object* l_ReaderT_instMonadFunctor(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1; static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___closed__2; lean_object* l_List_filter___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_eval(lean_object*); @@ -498,7 +504,6 @@ static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__14___clo static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__6; lean_object* l_outOfBounds___rarg(lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___closed__2; -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__3; LEAN_EXPORT uint8_t l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__42___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__26(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__8___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -521,6 +526,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMu static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__2___closed__1; lean_object* lean_array_pop(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Tactic_FunInd_buildInductionBody___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Tactic_FunInd_buildInductionBody___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__18___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_Tactic_FunInd_foldAndCollect___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -536,13 +542,13 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_getConstInfoDefn___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__6___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*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__13; lean_object* lean_array_to_list(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_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__11; static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__2; lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Tactic_FunInd_buildInductionBody___spec__43___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,7 +598,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deduplicateIHs(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___at_Lean_Tactic_FunInd_foldAndCollect___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__8; static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_getConstInfoDefn___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg___lambda__1(lean_object*, lean_object*, lean_object*); @@ -602,7 +607,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__24___boxe LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__22(lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__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_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_foldAndCollect___spec__10___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* l_Array_zipWithAux___at_Lean_Meta_MatcherApp_transform___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -611,6 +615,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInduc static lean_object* l_Array_mapIdxM_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__9___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__29___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__23(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__11; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___at_Lean_Meta_getElimExprInfo___spec__1(lean_object*, lean_object*, lean_object*); @@ -621,6 +626,7 @@ static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__12___closed__2 uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___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_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_foldAndCollect___spec__8(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoRec___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__19(lean_object*); lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_TerminationArgument_delab___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -651,7 +657,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__3(lea uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_maskArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___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_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_substVarAfter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___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_Tactic_FunInd_buildInductionBody___lambda__9___closed__1; @@ -681,7 +686,6 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Tactic_FunInd_abstractInd LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5___closed__4; LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_buildInductionBody___spec__3(lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__2; static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__1; extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__25(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -708,11 +712,11 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_localMapM___rarg(lean_object*, l lean_object* l_Lean_registerReservedNamePredicate(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___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_Tactic_FunInd_deriveInductionStructural___lambda__9___closed__2; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___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_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__39___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__3(lean_object*, lean_object*, lean_object*); @@ -738,7 +742,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__16(lean_o lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__28___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__24___boxed(lean_object**); lean_object* l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(lean_object*); static lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1; @@ -776,9 +779,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunIn LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Tactic_FunInd_buildInductionBody___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5; uint8_t l_Lean_Expr_isFVarOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_foldAndCollect___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5; static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4___closed__1; static lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -799,7 +802,7 @@ static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___clo lean_object* l_StateT_instMonad___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__14___closed__5; @@ -821,7 +824,6 @@ lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___closed__1; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__6___closed__1; static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___closed__2; -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__11; static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__10; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__19___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*); @@ -846,6 +848,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollec LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_mkLambdaFVarsMasked(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__8; lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__6___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___closed__1; @@ -861,6 +864,7 @@ static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__3___ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__15(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__40(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Tactic_FunInd_buildInductionBody___spec__43(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_projectMutualInduct___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_brecOnSuffix; @@ -879,7 +883,6 @@ lean_object* l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(l lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__8___closed__2; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__10___closed__2; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__6; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___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*); static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__1; @@ -892,7 +895,6 @@ lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_foldAndCollect___spec__10(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__25___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -903,6 +905,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstract LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8___closed__2; +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__2; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__42(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -912,7 +915,6 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_maskArray___rarg(lean_object*, lean_object*); @@ -943,7 +945,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunIn static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21___lambda__3___closed__6; static lean_object* l_Lean_Tactic_FunInd_M_branch___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__2; static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3___closed__4; lean_object* l_Lean_Meta_PProdN_mk(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___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*); @@ -969,7 +971,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_buildI lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe___at_Lean_Tactic_FunInd_M_localMapM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___closed__2; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -983,7 +984,6 @@ static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__18(lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15___closed__2; lean_object* l_Array_flatten___rarg(lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__12; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_projectMutualInduct___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_Tactic_FunInd_deriveInductionStructural___lambda__10___closed__2; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__15___closed__3; @@ -1007,7 +1007,6 @@ lean_object* l_Lean_Meta_elimOptParam___lambda__1___boxed(lean_object*, lean_obj size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5___closed__1; -static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__13; static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__31___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_Tactic_FunInd_deriveUnaryInduction___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1018,7 +1017,6 @@ extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__5(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_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__7; lean_object* l_Lean_Expr_fvar___override(lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__2___closed__1; size_t lean_array_size(lean_object*); @@ -1041,19 +1039,19 @@ lean_object* l_List_redLength___rarg(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_projectMutualInduct___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796_(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__22(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__10; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18(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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8___closed__1; static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4___closed__4; static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__9___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__18___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* l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(lean_object*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1068,7 +1066,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8__ lean_object* l_List_map___at_Lean_MessageData_instCoeListExpr___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__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_object*); uint8_t l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__9(lean_object*, lean_object*, lean_object*, 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_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1093,10 +1090,13 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___boxe lean_object* l_Lean_Meta_Match_forallAltTelescope___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_Meta_forallBoundedTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__15___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__6; +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instAddMessageContextMetaM; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__10; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_projectMutualInduct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__8___closed__1; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1162,7 +1162,6 @@ LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Tactic_FunInd_buildInductionBody__ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__3(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Elab_Structural_IndGroupInst_nestedTypeFormers___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__25(lean_object*); -LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -1191,6 +1190,7 @@ lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__1; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___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*); +static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__3; lean_object* l_Lean_mkFreshFVarId___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__10___closed__1; static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___closed__2; @@ -61945,7 +61945,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__1(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; lean_object* x_7; @@ -61957,15 +61957,15 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__1___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__2() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; @@ -61990,7 +61990,7 @@ lean_ctor_set_uint8(x_5, 12, x_2); return x_5; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__3() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__3() { _start: { lean_object* x_1; @@ -61998,17 +61998,17 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__3; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__3; 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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -62017,23 +62017,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__6() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5; 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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7() { _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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__6; -x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__6; +x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5; 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); @@ -62044,25 +62044,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__8() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4; -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; x_1 = lean_box(0); -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__2; -x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__8; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__2; +x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__8; x_4 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1; x_5 = lean_unsigned_to_nat(0u); x_6 = 0; @@ -62078,12 +62078,12 @@ lean_ctor_set_uint8(x_7, sizeof(void*)*6 + 1, x_6); return x_7; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__10() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4; x_3 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -62097,11 +62097,11 @@ lean_ctor_set(x_3, 8, x_2); return x_3; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__11() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4; x_2 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -62110,12 +62110,12 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__12() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4; -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__11; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__11; x_3 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -62127,11 +62127,11 @@ lean_ctor_set(x_3, 6, x_2); return x_3; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__13() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4; +x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4; x_2 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -62140,15 +62140,15 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = lean_box(0); -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__10; -x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__12; -x_4 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7; -x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__13; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__10; +x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__12; +x_4 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7; +x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__13; x_6 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_6, 0, x_2); lean_ctor_set(x_6, 1, x_3); @@ -62158,7 +62158,7 @@ lean_ctor_set(x_6, 4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -62172,7 +62172,7 @@ x_8 = lean_ctor_get(x_5, 1); x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1; +x_10 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1; lean_inc(x_1); x_11 = l_Lean_Tactic_FunInd_isFunInductName(x_9, x_1); lean_dec(x_9); @@ -62196,14 +62196,14 @@ lean_free_object(x_5); x_15 = lean_ctor_get(x_1, 0); lean_inc(x_15); lean_dec(x_1); -x_16 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14; +x_16 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14; x_17 = lean_st_mk_ref(x_16, x_8); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9; +x_20 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9; lean_inc(x_18); x_21 = l_Lean_Tactic_FunInd_deriveInduction(x_15, x_20, x_18, x_2, x_3, x_19); if (lean_obj_tag(x_21) == 0) @@ -62287,7 +62287,7 @@ lean_dec(x_5); x_40 = lean_ctor_get(x_38, 0); lean_inc(x_40); lean_dec(x_38); -x_41 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1; +x_41 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1; lean_inc(x_1); x_42 = l_Lean_Tactic_FunInd_isFunInductName(x_40, x_1); lean_dec(x_40); @@ -62309,14 +62309,14 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean x_46 = lean_ctor_get(x_1, 0); lean_inc(x_46); lean_dec(x_1); -x_47 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14; +x_47 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14; x_48 = lean_st_mk_ref(x_47, x_39); 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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9; +x_51 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9; lean_inc(x_49); x_52 = l_Lean_Tactic_FunInd_deriveInduction(x_46, x_51, x_49, x_2, x_3, x_50); if (lean_obj_tag(x_52) == 0) @@ -62391,7 +62391,7 @@ return x_66; } } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__1() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__1() { _start: { lean_object* x_1; @@ -62399,19 +62399,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_isFunInductName___boxed), return x_1; } } -static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__2() { +static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__1; +x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__1; x_3 = l_Lean_registerReservedNamePredicate(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -62419,7 +62419,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__2; +x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__2; x_6 = l_Lean_registerReservedNameAction(x_5, x_4); return x_6; } @@ -62447,18 +62447,18 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_5; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__1() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__1() { _start: { lean_object* x_1; @@ -62466,17 +62466,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__2() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__1; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__3() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__3() { _start: { lean_object* x_1; @@ -62484,17 +62484,17 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__4() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__2; -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__3; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__2; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__5() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__5() { _start: { lean_object* x_1; @@ -62502,47 +62502,47 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__6() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__4; -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__5; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__4; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__7() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__6; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__6; x_2 = l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__8() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__7; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__7; x_2 = l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__42___lambda__2___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__9() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__8; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__8; x_2 = l_Lean_Tactic_FunInd_abstractIndependentMVars___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__10() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__10() { _start: { lean_object* x_1; @@ -62550,33 +62550,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__11() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__9; -x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__10; +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__9; +x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__12() { +static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__11; -x_2 = lean_unsigned_to_nat(15778u); +x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__11; +x_2 = lean_unsigned_to_nat(15796u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796_(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_Tactic_FunInd_abstractIndependentMVars___closed__3; x_3 = 0; -x_4 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__12; +x_4 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__12; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -63177,66 +63177,66 @@ l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__1 = _init_l_Lean_Tact lean_mark_persistent(l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__1); l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__1); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__2); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__3); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__4); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__5); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__6 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__6); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__7); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__8 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__8); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__9); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__10 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__10); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__11 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__11); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__12 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__12); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__13 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__13); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____lambda__2___closed__14); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__1(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__1); -l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__2(); -lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631____closed__2); -if (builtin) {res = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15631_(lean_io_mk_world()); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__1); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__2); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__3); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__4); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__5); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__6 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__6); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__7); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__8 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__8); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__9); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__10 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__10); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__11 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__11); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__12 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__12(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__12); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__13 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__13(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__13); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____lambda__2___closed__14); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__1(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__1); +l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__2(); +lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649____closed__2); +if (builtin) {res = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15649_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__1 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__1(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__1); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__2 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__2(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__2); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__3 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__3(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__3); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__4 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__4(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__4); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__5 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__5(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__5); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__6 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__6(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__6); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__7 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__7(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__7); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__8 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__8(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__8); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__9 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__9(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__9); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__10 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__10(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__10); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__11 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__11(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__11); -l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__12 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__12(); -lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778____closed__12); -if (builtin) {res = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15778_(lean_io_mk_world()); +}l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__1 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__1(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__1); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__2 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__2(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__2); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__3 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__3(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__3); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__4 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__4(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__4); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__5 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__5(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__5); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__6 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__6(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__6); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__7 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__7(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__7); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__8 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__8(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__8); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__9 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__9(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__9); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__10 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__10(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__10); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__11 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__11(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__11); +l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__12 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__12(); +lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796____closed__12); +if (builtin) {res = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_15796_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c index 93587bdc6181..603acbea07d7 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c +++ b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c @@ -13,67 +13,66 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_get_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_Linear_Cnstr_getBound___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqCnstrKind___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__3; static lean_object* l_Lean_Meta_Linear_instReprVar___closed__1; uint8_t l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_assignment___default; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__24; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprCnstr; static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_resolve(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_size___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Int_instInhabited; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprAssumptionId; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__17; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__4; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__8; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Linear_getBestBound_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqJustification(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__8; static lean_object* l_Lean_Meta_Linear_instInhabitedJustification___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_currVar___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__18; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqCnstrKind; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedState; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_currVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_size___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655____boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_Cnstr_isStrict(lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqPoly___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__6; uint8_t lean_usize_dec_eq(size_t, size_t); extern uint8_t l_instInhabitedBool; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3870____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instInhabitedCnstrKind; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_420____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613_(uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__3; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_CnstrKind_ofNat(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____boxed(lean_object*, lean_object*); uint8_t l_Lean_Rat_instDecidableLe(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__8; static lean_object* l_Lean_Meta_Linear_instReprPoly___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqJustification; @@ -81,73 +80,66 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(l static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstrKind(uint8_t, uint8_t); static lean_object* l_Lean_Meta_Linear_instOrdVar___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__19; static lean_object* l_Lean_Meta_Linear_Assignment_val___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqCnstr; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_getBestBound_x3f(lean_object*, lean_object*, uint8_t, uint8_t); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__21; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedJustification; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__15; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__7; lean_object* l_Lean_Rat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___lambda__1___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__15; static lean_object* l_Lean_Meta_Linear_instInhabitedState___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__6; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8; static lean_object* l_Lean_Meta_Linear_instBEqCnstrKind___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__19; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getNumVars___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_AssumptionId_id___default; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__17; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__6; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__11; static lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4131____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_420_(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794____boxed(lean_object*, lean_object*); static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__3; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__13; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__4; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__2; static lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___closed__2; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_getBound___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__10; lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Linear_getBestBound_x3f___spec__1(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_420____boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Rat_inv(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableLtVar(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instOrdVar; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instInhabitedCnstr___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__12; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__6; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__6; lean_object* l_outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_pickAssignment_x3f(lean_object*, uint8_t, lean_object*, uint8_t); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3870_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprCnstrKind___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__19; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__12; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__22; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3810____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__13; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprAssumptionId___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqCnstr___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__2; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__9; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__20; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestUpperBound_x3f___boxed(lean_object*); static lean_object* l_Lean_Meta_Linear_instReprJustification___closed__1; @@ -160,53 +152,61 @@ lean_object* l_Int_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprJustification; LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedAssumptionId; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__23; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2672____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqJustification___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedVar; static lean_object* l_Lean_Meta_Linear_instBEqJustification___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__1; LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_76_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__9; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__4; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__7; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqPoly(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestUpperBound_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedAssignment; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_size(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__24; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprPoly; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__5; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__18; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2612_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__3; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_get___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__7; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__22; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_76____boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4071_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_ordVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_25____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2; static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_420____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getNumVars(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprCnstrKind; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_shrink___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237_(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_ordVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_25_(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__8; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__16; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_scale___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVar(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__12; lean_object* lean_int_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Linear_Poly_scale___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_toCtorIdx___boxed(lean_object*); @@ -221,17 +221,18 @@ static lean_object* l_Lean_Meta_Linear_instBEqCnstr___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestLowerBound_x3f(lean_object*); static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__9; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2672_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_getBound(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__3; lean_object* l_instDecidableEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instLTVar; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestLowerBound_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isStrict___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(lean_object*, lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprCnstr___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__21; uint8_t l_Lean_Rat_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4131_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedCnstr; lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); @@ -241,32 +242,31 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___lambd lean_object* l_Repr_addAppParen(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_getBestBound_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__1; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854_(lean_object*, lean_object*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); uint8_t l_Array_instDecidableEq___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqAssumptionId___boxed(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3810_(lean_object*, lean_object*); static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Linear_Poly_scale___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_420____closed__3; static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4071____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_resolve___closed__1; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__18; lean_object* l_Lean_Rat_floor(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_size(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__11; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__6; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add(lean_object*, lean_object*); lean_object* l_Array_back___rarg(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__7; lean_object* l_Lean_Rat_ceil(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__23; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_resolve___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedPoly; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2612____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__9; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____boxed(lean_object*, lean_object*); @@ -276,14 +276,13 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eva lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_get_x3f___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655_(uint8_t, uint8_t); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__5; lean_object* lean_int_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__11; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; uint8_t lean_int_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____boxed(lean_object*, lean_object*); uint8_t l_Lean_Rat_isInt(lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269_(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Rat_sub(lean_object*, lean_object*); @@ -293,11 +292,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableLtVar___boxed(lean_obje LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_ofNat___boxed(lean_object*); lean_object* lean_int_neg(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398_(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_val___default; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprVar; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__6; @@ -305,23 +306,22 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_get(lean_object*, lean_object*) static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_assignCurr(lean_object*, lean_object*); static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__4; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__9; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__15; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__7; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqVar___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVar___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__13; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__10; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__7; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_toCtorIdx(uint8_t); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__1; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__3(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__2; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__13; static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____closed__17; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8; static lean_object* _init_l_Lean_Meta_Linear_instInhabitedVar() { _start: { @@ -2688,7 +2688,7 @@ x_1 = lean_unsigned_to_nat(0u); return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2612_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2672_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -2696,11 +2696,11 @@ x_3 = lean_nat_dec_eq(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2612____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2672____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2612_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2672_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2726,7 +2726,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -2763,11 +2763,11 @@ lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_7); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -2776,7 +2776,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprAssumptionId___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762____boxed), 2, 0); return x_1; } } @@ -2806,7 +2806,7 @@ x_1 = l_Lean_Meta_Linear_instInhabitedJustification___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2832,7 +2832,7 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794_(x_4, x_8); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854_(x_4, x_8); if (x_13 == 0) { uint8_t x_14; @@ -2884,11 +2884,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2899,7 +2899,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqJustification(lean_object* _start: { uint8_t x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854_(x_1, x_2); return x_3; } } @@ -2914,7 +2914,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2940,7 +2940,7 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209_(x_4, x_8); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269_(x_4, x_8); if (x_13 == 0) { uint8_t x_14; @@ -2992,11 +2992,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3007,7 +3007,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqJustification___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269____boxed), 2, 0); return x_1; } } @@ -3019,7 +3019,7 @@ x_1 = l_Lean_Meta_Linear_instBEqJustification___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__1() { _start: { lean_object* x_1; @@ -3027,21 +3027,21 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Linear.Justification.combine", 38, 38) return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__2; x_2 = lean_box(1); x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3049,7 +3049,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -3058,7 +3058,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -3067,7 +3067,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__6() { _start: { lean_object* x_1; @@ -3075,21 +3075,21 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Linear.Justification.assumption", 41, return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__7; x_2 = lean_box(1); x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3097,7 +3097,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3116,20 +3116,20 @@ x_7 = lean_unsigned_to_nat(1024u); x_8 = lean_nat_dec_le(x_7, x_2); x_9 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_382____spec__2___closed__1; x_10 = lean_int_dec_lt(x_3, x_9); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338_(x_4, x_7); +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398_(x_4, x_7); x_12 = lean_int_dec_lt(x_5, x_9); -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338_(x_6, x_7); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398_(x_6, x_7); if (x_8 == 0) { lean_object* x_48; -x_48 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; +x_48 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; x_14 = x_48; goto block_47; } else { lean_object* x_49; -x_49 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; +x_49 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; x_14 = x_49; goto block_47; } @@ -3160,7 +3160,7 @@ goto block_41; block_41: { 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_16 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__3; +x_16 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__3; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); @@ -3238,15 +3238,15 @@ lean_inc(x_50); lean_dec(x_1); x_51 = lean_unsigned_to_nat(1024u); x_52 = lean_nat_dec_le(x_51, x_2); -x_53 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2702_(x_50, x_51); -x_54 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__8; +x_53 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2762_(x_50, x_51); +x_54 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__8; x_55 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); if (x_52 == 0) { lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; -x_56 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; +x_56 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; x_57 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); @@ -3260,7 +3260,7 @@ return x_60; else { lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; -x_61 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; +x_61 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; x_62 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_55); @@ -3274,11 +3274,11 @@ return x_65; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -3287,7 +3287,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprJustification___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____boxed), 2, 0); return x_1; } } @@ -3478,7 +3478,7 @@ x_6 = lean_box(x_5); return x_6; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -3490,7 +3490,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -3498,7 +3498,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595_(x_3, x_4); +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -3507,7 +3507,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqCnstrKind___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655____boxed), 2, 0); return x_1; } } @@ -3519,7 +3519,7 @@ x_1 = l_Lean_Meta_Linear_instBEqCnstrKind___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__1() { _start: { lean_object* x_1; @@ -3527,33 +3527,33 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Linear.CnstrKind.eq", 29, 29); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__3; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3561,23 +3561,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3585,7 +3585,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__7() { _start: { lean_object* x_1; @@ -3593,33 +3593,33 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Linear.CnstrKind.div", 30, 30); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__10() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__9; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3627,23 +3627,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__12() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__11; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3651,7 +3651,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__13() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__13() { _start: { lean_object* x_1; @@ -3659,33 +3659,33 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Linear.CnstrKind.lt", 29, 29); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__13; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__13; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__15() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__16() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__15; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3693,23 +3693,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__17() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__18() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__17; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3717,7 +3717,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__19() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__19() { _start: { lean_object* x_1; @@ -3725,33 +3725,33 @@ x_1 = lean_mk_string_unchecked("Lean.Meta.Linear.CnstrKind.le", 29, 29); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__19; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__19; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__21() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__22() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__22() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__21; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3759,23 +3759,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__23() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20; x_3 = lean_alloc_ctor(4, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__24() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__23; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3783,7 +3783,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -3795,14 +3795,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__4; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__6; +x_7 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -3815,14 +3815,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__10; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__12; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -3835,14 +3835,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__16; +x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__18; +x_19 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -3855,14 +3855,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__22; +x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__22; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__24; +x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__24; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -3870,13 +3870,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613_(x_3, x_2); +x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -3885,7 +3885,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprCnstrKind___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____boxed), 2, 0); return x_1; } } @@ -3921,7 +3921,7 @@ x_1 = l_Lean_Meta_Linear_instInhabitedCnstr___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3810_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3870_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -3963,18 +3963,18 @@ return x_16; else { uint8_t x_17; -x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2794_(x_6, x_10); +x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_2854_(x_6, x_10); return x_17; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3810____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3870____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3810_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3870_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3985,7 +3985,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstr(lean_object* x_1, le _start: { uint8_t x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3810_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3870_(x_1, x_2); return x_3; } } @@ -4000,7 +4000,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4071_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4131_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -4012,7 +4012,7 @@ x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_8 = lean_ctor_get(x_2, 0); x_9 = lean_ctor_get(x_2, 1); x_10 = lean_ctor_get(x_2, 2); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3595_(x_3, x_7); +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3655_(x_3, x_7); if (x_11 == 0) { uint8_t x_12; @@ -4042,18 +4042,18 @@ return x_16; else { uint8_t x_17; -x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3209_(x_6, x_10); +x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3269_(x_6, x_10); return x_17; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4071____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4131____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4071_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4131_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -4064,7 +4064,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqCnstr___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4071____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4131____boxed), 2, 0); return x_1; } } @@ -4076,7 +4076,7 @@ x_1 = l_Lean_Meta_Linear_instBEqCnstr___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__1() { _start: { lean_object* x_1; @@ -4084,33 +4084,33 @@ x_1 = lean_mk_string_unchecked("kind", 4, 4); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__2; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__2; x_3 = lean_alloc_ctor(5, 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___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__3; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__3; x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_166____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4118,7 +4118,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -4127,7 +4127,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__6() { _start: { lean_object* x_1; @@ -4135,17 +4135,17 @@ x_1 = lean_mk_string_unchecked("lhs", 3, 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__8() { _start: { lean_object* x_1; @@ -4153,17 +4153,17 @@ x_1 = lean_mk_string_unchecked("rhs", 3, 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__10() { _start: { lean_object* x_1; @@ -4171,24 +4171,24 @@ x_1 = lean_mk_string_unchecked("jst", 3, 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__10; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__10; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613_(x_3, x_4); -x_6 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__5; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673_(x_3, x_4); +x_6 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__5; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -4196,7 +4196,7 @@ x_8 = 0; x_9 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__4; +x_10 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__4; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -4208,7 +4208,7 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__7; +x_16 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__7; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -4235,7 +4235,7 @@ lean_ctor_set(x_26, 1, x_12); x_27 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_14); -x_28 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__9; +x_28 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__9; x_29 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -4249,7 +4249,7 @@ x_33 = lean_int_dec_lt(x_31, x_32); x_34 = lean_ctor_get(x_1, 2); lean_inc(x_34); lean_dec(x_1); -x_35 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338_(x_34, x_4); +x_35 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398_(x_34, x_4); x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_22); lean_ctor_set(x_36, 1, x_35); @@ -4278,7 +4278,7 @@ lean_ctor_set(x_43, 1, x_12); x_44 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_14); -x_45 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11; +x_45 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11; x_46 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); @@ -4328,7 +4328,7 @@ lean_ctor_set(x_62, 1, x_12); x_63 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_14); -x_64 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11; +x_64 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11; x_65 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); @@ -4357,11 +4357,11 @@ return x_74; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -4370,7 +4370,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprCnstr___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____boxed), 2, 0); return x_1; } } @@ -5320,7 +5320,7 @@ static lean_object* _init_l_Lean_Meta_Linear_pickAssignment_x3f___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5341,7 +5341,7 @@ static lean_object* _init_l_Lean_Meta_Linear_pickAssignment_x3f___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6654,22 +6654,22 @@ l_Lean_Meta_Linear_instBEqJustification___closed__1 = _init_l_Lean_Meta_Linear_i lean_mark_persistent(l_Lean_Meta_Linear_instBEqJustification___closed__1); l_Lean_Meta_Linear_instBEqJustification = _init_l_Lean_Meta_Linear_instBEqJustification(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqJustification); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3338____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3398____closed__8); l_Lean_Meta_Linear_instReprJustification___closed__1 = _init_l_Lean_Meta_Linear_instReprJustification___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprJustification___closed__1); l_Lean_Meta_Linear_instReprJustification = _init_l_Lean_Meta_Linear_instReprJustification(); @@ -6681,54 +6681,54 @@ l_Lean_Meta_Linear_instBEqCnstrKind___closed__1 = _init_l_Lean_Meta_Linear_instB lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstrKind___closed__1); l_Lean_Meta_Linear_instBEqCnstrKind = _init_l_Lean_Meta_Linear_instBEqCnstrKind(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstrKind); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__11); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__12(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__12); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__13(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__13); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__14); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__15(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__15); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__16(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__16); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__17(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__17); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__18(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__18); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__19(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__19); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__20); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__21 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__21(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__21); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__22 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__22(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__22); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__23 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__23(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__23); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__24 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__24(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3613____closed__24); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__12(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__12); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__13); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__14); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__15(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__15); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__16(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__16); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__17(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__17); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__18(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__18); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__19(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__19); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__20); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__21 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__21(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__21); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__22 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__22(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__22); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__23 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__23(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__23); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__24 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__24(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3673____closed__24); l_Lean_Meta_Linear_instReprCnstrKind___closed__1 = _init_l_Lean_Meta_Linear_instReprCnstrKind___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprCnstrKind___closed__1); l_Lean_Meta_Linear_instReprCnstrKind = _init_l_Lean_Meta_Linear_instReprCnstrKind(); @@ -6741,28 +6741,28 @@ l_Lean_Meta_Linear_instBEqCnstr___closed__1 = _init_l_Lean_Meta_Linear_instBEqCn lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstr___closed__1); l_Lean_Meta_Linear_instBEqCnstr = _init_l_Lean_Meta_Linear_instBEqCnstr(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstr); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4177____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4237____closed__11); l_Lean_Meta_Linear_instReprCnstr___closed__1 = _init_l_Lean_Meta_Linear_instReprCnstr___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprCnstr___closed__1); l_Lean_Meta_Linear_instReprCnstr = _init_l_Lean_Meta_Linear_instReprCnstr(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index 722cae6e1309..6fc3f7251843 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -131,6 +131,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simpProj___spec__ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Simp_cacheResult___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimpImpl___spec__7___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_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLet___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*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_dsimpMain_go(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_Simp_getSimpLetCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -205,6 +206,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_simpTargetStar___lambda__1(lean_object*, le LEAN_EXPORT lean_object* l_Lean_Meta_Simp_visitFn(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_Simp_SimpLetCase_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Meta_Simp_trySimpCongrTheorem_x3f___lambda__2___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simpProj___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpImpl_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -221,7 +223,6 @@ lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simpProj___lambda__1___closed__3; static lean_object* l_Lean_Meta_Simp_simpArrow___lambda__5___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simpArrow___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* lean_dsimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simpArrow___lambda__5___closed__10; @@ -393,13 +394,13 @@ lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLambda___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simpForall___lambda__5___closed__1; -static lean_object* l_Lean_Meta_Simp_simpArrow___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simpForall___lambda__5___closed__8; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimpImpl___spec__16___rarg(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*); +static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___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_Simp_SimpLetCase_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPostContinue___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*); @@ -409,6 +410,7 @@ lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1( LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simpProj___spec__10___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; +static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Simp_simpLoop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLet___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_Simp_simpForall___closed__1; @@ -459,6 +461,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_dsimpGoal___spec__1_ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPostContinue(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_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimpImpl___spec__8___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_object*); lean_object* lean_dsimp(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_Main_0__Lean_Meta_Simp_reduce___closed__5; static lean_object* l_Lean_Meta_Simp_trySimpCongrTheorem_x3f___lambda__4___closed__2; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simpArrow___lambda__4___closed__3; @@ -471,6 +474,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_Simp LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___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*); static lean_object* l_Lean_Meta_Simp_simpArrow___lambda__5___closed__15; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); +static lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_trySimpCongrTheorem_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_processCongrHypothesis___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -510,6 +514,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_congr(lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___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*); static lean_object* l_Lean_Meta_Simp_simpArrow___lambda__4___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_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_Simp_simpLoop_visitPreContinue___closed__2; uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_visitFn___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_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -558,6 +563,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Sim LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpArrow(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_Simp_isCharLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_lambdaTelescopeDSimp_go(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_dsimpGoal___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_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___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* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,9 +665,12 @@ static lean_object* l_Lean_Meta_Simp_simpArrow___lambda__1___closed__1; static lean_object* l_Lean_Meta_Simp_simpProj___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simpProj___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_withNewLemmas___rarg(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_Main_0__Lean_Meta_Simp_reduce___closed__3; static lean_object* l_Lean_Meta_simpTargetCore___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue___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_expr_instantiate_rev(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_trySimpCongrTheorem_x3f___lambda__9___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___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_Lean_Expr_letFunAppArgs_x3f(lean_object*); lean_object* l_Lean_Meta_Simp_mkMethods(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__10; @@ -672,6 +681,7 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Meta_Simp_simpProj_ static lean_object* l_Lean_Meta_Simp_SimpLetCase_noConfusion___rarg___closed__1; lean_object* l_Lean_Meta_mkCongrFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isTrue(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue___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_Lean_MVarId_tryClearMany(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_isOfScientificLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_trySimpCongrTheorem_x3f___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7175,6 +7185,68 @@ lean_ctor_set(x_12, 1, x_9); return x_12; } } +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___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___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__1; +x_3 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__2; +x_4 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("reduce ", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" => ", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -7260,16 +7332,99 @@ lean_object* x_42; lean_object* x_43; uint8_t x_44; x_42 = lean_ctor_get(x_40, 0); x_43 = lean_ctor_get(x_40, 1); x_44 = lean_expr_eqv(x_42, x_1); -lean_dec(x_1); if (x_44 == 0) { +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_free_object(x_40); +x_45 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; +x_46 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_1); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); x_1 = x_42; -x_9 = x_43; +x_9 = x_49; goto _start; } else { +uint8_t x_51; +x_51 = !lean_is_exclusive(x_46); +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; lean_object* x_62; lean_object* x_63; +x_52 = lean_ctor_get(x_46, 1); +x_53 = lean_ctor_get(x_46, 0); +lean_dec(x_53); +x_54 = l_Lean_MessageData_ofExpr(x_1); +x_55 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4; +lean_ctor_set_tag(x_46, 7); +lean_ctor_set(x_46, 1, x_54); +lean_ctor_set(x_46, 0, x_55); +x_56 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_46); +lean_ctor_set(x_57, 1, x_56); +lean_inc(x_42); +x_58 = l_Lean_MessageData_ofExpr(x_42); +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__13; +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_45, x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_52); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_1 = x_42; +x_9 = x_63; +goto _start; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_65 = lean_ctor_get(x_46, 1); +lean_inc(x_65); +lean_dec(x_46); +x_66 = l_Lean_MessageData_ofExpr(x_1); +x_67 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4; +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 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; +x_70 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +lean_inc(x_42); +x_71 = l_Lean_MessageData_ofExpr(x_42); +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__13; +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_Simp_congrArgs___spec__2(x_45, x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_65); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_1 = x_42; +x_9 = x_76; +goto _start; +} +} +} +else +{ lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); @@ -7277,28 +7432,87 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_40; } } else { -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = lean_ctor_get(x_40, 0); -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -lean_inc(x_46); +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_40, 0); +x_79 = lean_ctor_get(x_40, 1); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_40); -x_48 = lean_expr_eqv(x_46, x_1); +x_80 = lean_expr_eqv(x_78, x_1); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_81 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; +x_82 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_79); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_unbox(x_83); +lean_dec(x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_dec(x_1); -if (x_48 == 0) +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_1 = x_78; +x_9 = x_85; +goto _start; +} +else { -x_1 = x_46; -x_9 = x_47; +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; +x_87 = lean_ctor_get(x_82, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_88 = x_82; +} else { + lean_dec_ref(x_82); + x_88 = lean_box(0); +} +x_89 = l_Lean_MessageData_ofExpr(x_1); +x_90 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4; +if (lean_is_scalar(x_88)) { + x_91 = lean_alloc_ctor(7, 2, 0); +} else { + x_91 = x_88; + lean_ctor_set_tag(x_91, 7); +} +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +x_92 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; +x_93 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +lean_inc(x_78); +x_94 = l_Lean_MessageData_ofExpr(x_78); +x_95 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__13; +x_97 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_81, x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_87); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_1 = x_78; +x_9 = x_99; goto _start; } +} else { -lean_object* x_50; +lean_object* x_101; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); @@ -7306,16 +7520,17 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_46); -lean_ctor_set(x_50, 1, x_47); -return x_50; +lean_dec(x_1); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_78); +lean_ctor_set(x_101, 1, x_79); +return x_101; } } } else { -uint8_t x_51; +uint8_t x_102; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); @@ -7324,106 +7539,166 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_40); -if (x_51 == 0) +x_102 = !lean_is_exclusive(x_40); +if (x_102 == 0) { return x_40; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_40, 0); -x_53 = lean_ctor_get(x_40, 1); -lean_inc(x_53); -lean_inc(x_52); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_40, 0); +x_104 = lean_ctor_get(x_40, 1); +lean_inc(x_104); +lean_inc(x_103); lean_dec(x_40); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_dec(x_7); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_add(x_13, x_55); +x_106 = lean_unsigned_to_nat(1u); +x_107 = lean_nat_add(x_13, x_106); lean_dec(x_13); -x_57 = lean_alloc_ctor(0, 12, 2); -lean_ctor_set(x_57, 0, x_10); -lean_ctor_set(x_57, 1, x_11); -lean_ctor_set(x_57, 2, x_12); -lean_ctor_set(x_57, 3, x_56); -lean_ctor_set(x_57, 4, x_14); -lean_ctor_set(x_57, 5, x_15); -lean_ctor_set(x_57, 6, x_16); -lean_ctor_set(x_57, 7, x_17); -lean_ctor_set(x_57, 8, x_18); -lean_ctor_set(x_57, 9, x_19); -lean_ctor_set(x_57, 10, x_20); -lean_ctor_set(x_57, 11, x_22); -lean_ctor_set_uint8(x_57, sizeof(void*)*12, x_21); -lean_ctor_set_uint8(x_57, sizeof(void*)*12 + 1, x_23); +x_108 = lean_alloc_ctor(0, 12, 2); +lean_ctor_set(x_108, 0, x_10); +lean_ctor_set(x_108, 1, x_11); +lean_ctor_set(x_108, 2, x_12); +lean_ctor_set(x_108, 3, x_107); +lean_ctor_set(x_108, 4, x_14); +lean_ctor_set(x_108, 5, x_15); +lean_ctor_set(x_108, 6, x_16); +lean_ctor_set(x_108, 7, x_17); +lean_ctor_set(x_108, 8, x_18); +lean_ctor_set(x_108, 9, x_19); +lean_ctor_set(x_108, 10, x_20); +lean_ctor_set(x_108, 11, x_22); +lean_ctor_set_uint8(x_108, sizeof(void*)*12, x_21); +lean_ctor_set_uint8(x_108, sizeof(void*)*12 + 1, x_23); lean_inc(x_8); -lean_inc(x_57); +lean_inc(x_108); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_58 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep(x_1, x_2, x_3, x_4, x_5, x_6, x_57, x_8, x_9); -if (lean_obj_tag(x_58) == 0) +x_109 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep(x_1, x_2, x_3, x_4, x_5, x_6, x_108, x_8, x_9); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_61 = x_58; +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_112 = x_109; } else { - lean_dec_ref(x_58); - x_61 = lean_box(0); + lean_dec_ref(x_109); + x_112 = lean_box(0); } -x_62 = lean_expr_eqv(x_59, x_1); +x_113 = lean_expr_eqv(x_110, x_1); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +lean_dec(x_112); +x_114 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; +x_115 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_114, x_2, x_3, x_4, x_5, x_6, x_108, x_8, x_111); +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_unbox(x_116); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_dec(x_1); -if (x_62 == 0) +x_118 = lean_ctor_get(x_115, 1); +lean_inc(x_118); +lean_dec(x_115); +x_1 = x_110; +x_7 = x_108; +x_9 = x_118; +goto _start; +} +else { -lean_dec(x_61); -x_1 = x_59; -x_7 = x_57; -x_9 = x_60; +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_120 = lean_ctor_get(x_115, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_121 = x_115; +} else { + lean_dec_ref(x_115); + x_121 = lean_box(0); +} +x_122 = l_Lean_MessageData_ofExpr(x_1); +x_123 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4; +if (lean_is_scalar(x_121)) { + x_124 = lean_alloc_ctor(7, 2, 0); +} else { + x_124 = x_121; + lean_ctor_set_tag(x_124, 7); +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; +x_126 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +lean_inc(x_110); +x_127 = l_Lean_MessageData_ofExpr(x_110); +x_128 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +x_129 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__13; +x_130 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_114, x_130, x_2, x_3, x_4, x_5, x_6, x_108, x_8, x_120); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_1 = x_110; +x_7 = x_108; +x_9 = x_132; goto _start; } +} else { -lean_object* x_64; -lean_dec(x_57); +lean_object* x_134; +lean_dec(x_108); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_61)) { - x_64 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_1); +if (lean_is_scalar(x_112)) { + x_134 = lean_alloc_ctor(0, 2, 0); } else { - x_64 = x_61; + x_134 = x_112; } -lean_ctor_set(x_64, 0, x_59); -lean_ctor_set(x_64, 1, x_60); -return x_64; +lean_ctor_set(x_134, 0, x_110); +lean_ctor_set(x_134, 1, x_111); +return x_134; } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_57); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -7431,32 +7706,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_65 = lean_ctor_get(x_58, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_58, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_67 = x_58; +x_135 = lean_ctor_get(x_109, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_109, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_137 = x_109; } else { - lean_dec_ref(x_58); - x_67 = lean_box(0); + lean_dec_ref(x_109); + x_137 = lean_box(0); } -if (lean_is_scalar(x_67)) { - x_68 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); } else { - x_68 = x_67; + x_138 = x_137; } -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_66); -return x_68; +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; } } } else { -lean_object* x_69; +lean_object* x_139; lean_dec(x_22); lean_dec(x_20); lean_dec(x_19); @@ -7469,7 +7744,7 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_1); -x_69 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_139 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -7477,7 +7752,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_69; +return x_139; } } } @@ -7496,6 +7771,15 @@ lean_dec(x_2); return x_10; } } +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___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) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} static lean_object* _init_l_Lean_Meta_Simp_instInhabitedSimpM___rarg___closed__1() { _start: { @@ -15974,35 +16258,15 @@ static lean_object* _init_l_Lean_Meta_Simp_simpArrow___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Debug", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simpArrow___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_Simp_simpArrow___closed__1; -x_2 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__1; -x_3 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__2; -x_4 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__3; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simpArrow___closed__3() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_unchecked("arrow ", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_simpArrow___closed__4() { +static lean_object* _init_l_Lean_Meta_Simp_simpArrow___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simpArrow___closed__3; +x_1 = l_Lean_Meta_Simp_simpArrow___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -16011,7 +16275,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpArrow(lean_object* x_1, lean_objec _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Lean_Meta_Simp_simpArrow___closed__2; +x_10 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; x_11 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -16039,7 +16303,7 @@ x_19 = lean_ctor_get(x_11, 0); lean_dec(x_19); lean_inc(x_1); x_20 = l_Lean_MessageData_ofExpr(x_1); -x_21 = l_Lean_Meta_Simp_simpArrow___closed__4; +x_21 = l_Lean_Meta_Simp_simpArrow___closed__2; lean_ctor_set_tag(x_11, 7); lean_ctor_set(x_11, 1, x_20); lean_ctor_set(x_11, 0, x_21); @@ -16065,7 +16329,7 @@ lean_inc(x_28); lean_dec(x_11); lean_inc(x_1); x_29 = l_Lean_MessageData_ofExpr(x_1); -x_30 = l_Lean_Meta_Simp_simpArrow___closed__4; +x_30 = l_Lean_Meta_Simp_simpArrow___closed__2; x_31 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -17235,7 +17499,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpForall(lean_object* x_1, lean_obje _start: { lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_Meta_Simp_simpArrow___closed__2; +x_10 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; x_11 = !lean_is_exclusive(x_3); if (x_11 == 0) { @@ -19291,7 +19555,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simpLet___closed__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; x_1 = l_Lean_Meta_Simp_simpLet___closed__1; x_2 = l_Lean_Meta_Simp_simpLet___closed__2; -x_3 = lean_unsigned_to_nat(390u); +x_3 = lean_unsigned_to_nat(391u); x_4 = lean_unsigned_to_nat(29u); x_5 = l_Lean_Meta_Simp_simpLet___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -27561,7 +27825,7 @@ static lean_object* _init_l_Lean_Meta_Simp_trySimpCongrTheorem_x3f___lambda__9__ _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_Meta_Simp_simpArrow___closed__1; +x_1 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1; x_2 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__1; x_3 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__2; x_4 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__3; @@ -28469,7 +28733,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simpStep___closed__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; x_1 = l_Lean_Meta_Simp_simpLet___closed__1; x_2 = l_Lean_Meta_Simp_simpStep___closed__1; -x_3 = lean_unsigned_to_nat(600u); +x_3 = lean_unsigned_to_nat(601u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_Simp_simpLet___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29987,158 +30251,144 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue(lean_object* x_1, 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_Simp_simpLoop_visitPreContinue___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) { _start: { -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_3, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 1); +lean_object* x_15; lean_object* x_16; +lean_inc(x_1); +x_15 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_2); +lean_ctor_set_uint8(x_15, sizeof(void*)*2, x_3); lean_inc(x_13); -x_14 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); -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_12); -x_15 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_expr_eqv(x_16, x_12); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_12); -x_19 = !lean_is_exclusive(x_3); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_3, 1); -lean_dec(x_20); -x_21 = lean_ctor_get(x_3, 0); -lean_dec(x_21); -lean_inc(x_16); -lean_ctor_set(x_3, 0, x_16); +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); -x_22 = l_Lean_Meta_Simp_simpLoop(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_22) == 0) +x_16 = l_Lean_Meta_Simp_simpLoop(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_16) == 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_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_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); -x_25 = l_Lean_Meta_Simp_Result_mkEqTrans(x_3, x_23, x_7, x_8, x_9, x_10, x_24); -if (lean_obj_tag(x_25) == 0) +x_19 = l_Lean_Meta_Simp_Result_mkEqTrans(x_15, x_17, x_10, x_11, x_12, x_13, x_18); +if (lean_obj_tag(x_19) == 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); -x_28 = l_Lean_Meta_Simp_cacheResult(x_1, x_2, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Meta_Simp_cacheResult(x_4, x_5, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +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); -return x_28; +return x_22; } else { -uint8_t x_29; +uint8_t x_23; +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_1); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) { -return x_25; +return x_19; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_25, 0); -x_31 = lean_ctor_get(x_25, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_25); -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_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 0); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } else { -uint8_t x_33; -lean_dec(x_3); +uint8_t x_27; +lean_dec(x_15); +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_1); -x_33 = !lean_is_exclusive(x_22); -if (x_33 == 0) +x_27 = !lean_is_exclusive(x_16); +if (x_27 == 0) { -return x_22; +return x_16; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_22, 0); -x_35 = lean_ctor_get(x_22, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_22); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_16, 0); +x_29 = lean_ctor_get(x_16, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_16); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } -else +} +static lean_object* _init_l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__1() { +_start: { -lean_object* x_37; lean_object* x_38; -lean_dec(x_3); -lean_inc(x_16); -x_37 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_37, 0, x_16); -lean_ctor_set(x_37, 1, x_13); -lean_ctor_set_uint8(x_37, sizeof(void*)*2, x_14); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("reduceStep (pre) ", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue(lean_object* x_1, 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; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +x_14 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -30146,109 +30396,117 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_Simp_simpLoop(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_38) == 0) +lean_inc(x_12); +x_15 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_41 = l_Lean_Meta_Simp_Result_mkEqTrans(x_37, x_39, x_7, x_8, x_9, x_10, x_40); -if (lean_obj_tag(x_41) == 0) +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_expr_eqv(x_16, x_12); +if (x_18 == 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); -x_44 = l_Lean_Meta_Simp_cacheResult(x_1, x_2, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_44; -} -else +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_12); +lean_dec(x_3); +x_19 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2; +x_20 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_45 = lean_ctor_get(x_41, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_47 = x_41; -} else { - lean_dec_ref(x_41); - x_47 = lean_box(0); -} -if (lean_is_scalar(x_47)) { - x_48 = lean_alloc_ctor(1, 2, 0); -} else { - x_48 = x_47; -} -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_box(0); +x_25 = l_Lean_Meta_Simp_simpLoop_visitPreContinue___lambda__1(x_16, x_13, x_14, x_1, x_2, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +return x_25; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +uint8_t x_26; +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_27 = lean_ctor_get(x_20, 1); +x_28 = lean_ctor_get(x_20, 0); +lean_dec(x_28); +lean_inc(x_1); +x_29 = l_Lean_MessageData_ofExpr(x_1); +x_30 = l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__2; +lean_ctor_set_tag(x_20, 7); +lean_ctor_set(x_20, 1, x_29); +lean_ctor_set(x_20, 0, x_30); +x_31 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_20); +lean_ctor_set(x_32, 1, x_31); +lean_inc(x_16); +x_33 = l_Lean_MessageData_ofExpr(x_16); +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__13; +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_19, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +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); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_49 = lean_ctor_get(x_38, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_38, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_51 = x_38; -} else { - lean_dec_ref(x_38); - x_51 = lean_box(0); -} -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(1, 2, 0); -} else { - x_52 = x_51; +x_40 = l_Lean_Meta_Simp_simpLoop_visitPreContinue___lambda__1(x_16, x_13, x_14, x_1, x_2, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); +lean_dec(x_38); +return x_40; } -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -return x_52; +else +{ +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; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_41 = lean_ctor_get(x_20, 1); +lean_inc(x_41); +lean_dec(x_20); +lean_inc(x_1); +x_42 = l_Lean_MessageData_ofExpr(x_1); +x_43 = l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__2; +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +lean_inc(x_16); +x_47 = l_Lean_MessageData_ofExpr(x_16); +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceStep___lambda__2___closed__13; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_19, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +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_Meta_Simp_simpLoop_visitPreContinue___lambda__1(x_16, x_13, x_14, x_1, x_2, x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_53); +lean_dec(x_52); +return x_54; } } } else { -lean_object* x_53; +lean_object* x_55; lean_dec(x_16); lean_dec(x_13); lean_inc(x_10); @@ -30258,34 +30516,34 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_53 = l_Lean_Meta_Simp_simpStep(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_53) == 0) +x_55 = l_Lean_Meta_Simp_simpStep(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -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); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_56 = l_Lean_Meta_Simp_Result_mkEqTrans(x_3, x_54, x_7, x_8, x_9, x_10, x_55); -if (lean_obj_tag(x_56) == 0) +x_58 = l_Lean_Meta_Simp_Result_mkEqTrans(x_3, x_56, x_7, x_8, x_9, x_10, x_57); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_56, 0); -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_Simp_simpLoop_visitPost(x_1, x_2, x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); -return x_59; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Meta_Simp_simpLoop_visitPost(x_1, x_2, x_59, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +return x_61; } else { -uint8_t x_60; +uint8_t x_62; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -30294,29 +30552,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_60 = !lean_is_exclusive(x_56); -if (x_60 == 0) +x_62 = !lean_is_exclusive(x_58); +if (x_62 == 0) { -return x_56; +return x_58; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_56, 0); -x_62 = lean_ctor_get(x_56, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_56); -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_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_58, 0); +x_64 = lean_ctor_get(x_58, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_58); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } else { -uint8_t x_64; +uint8_t x_66; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -30326,30 +30584,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_64 = !lean_is_exclusive(x_53); -if (x_64 == 0) +x_66 = !lean_is_exclusive(x_55); +if (x_66 == 0) { -return x_53; +return x_55; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_53, 0); -x_66 = lean_ctor_get(x_53, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_53); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_55, 0); +x_68 = lean_ctor_get(x_55, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_55); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } } else { -uint8_t x_68; +uint8_t x_70; lean_dec(x_13); lean_dec(x_12); lean_dec(x_10); @@ -30361,23 +30619,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_15); -if (x_68 == 0) +x_70 = !lean_is_exclusive(x_15); +if (x_70 == 0) { return x_15; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_15, 0); -x_70 = lean_ctor_get(x_15, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_15, 0); +x_72 = lean_ctor_get(x_15, 1); +lean_inc(x_72); +lean_inc(x_71); lean_dec(x_15); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +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; } } } @@ -31895,6 +32153,18 @@ return x_217; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue___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: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_3); +lean_dec(x_3); +x_16 = l_Lean_Meta_Simp_simpLoop_visitPreContinue___lambda__1(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_6); +lean_dec(x_5); +return x_16; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpLoop_visitPreContinue___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: { @@ -45990,6 +46260,18 @@ l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1___closed__1); l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1___closed__2(); lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1___closed__2); +l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1); +l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__2); +l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__3 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__3); +l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__4); +l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__5 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__5); +l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__6); l_Lean_Meta_Simp_instInhabitedSimpM___rarg___closed__1 = _init_l_Lean_Meta_Simp_instInhabitedSimpM___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_instInhabitedSimpM___rarg___closed__1); l_Lean_Meta_Simp_instInhabitedSimpM___rarg___closed__2 = _init_l_Lean_Meta_Simp_instInhabitedSimpM___rarg___closed__2(); @@ -46076,10 +46358,6 @@ l_Lean_Meta_Simp_simpArrow___closed__1 = _init_l_Lean_Meta_Simp_simpArrow___clos lean_mark_persistent(l_Lean_Meta_Simp_simpArrow___closed__1); l_Lean_Meta_Simp_simpArrow___closed__2 = _init_l_Lean_Meta_Simp_simpArrow___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_simpArrow___closed__2); -l_Lean_Meta_Simp_simpArrow___closed__3 = _init_l_Lean_Meta_Simp_simpArrow___closed__3(); -lean_mark_persistent(l_Lean_Meta_Simp_simpArrow___closed__3); -l_Lean_Meta_Simp_simpArrow___closed__4 = _init_l_Lean_Meta_Simp_simpArrow___closed__4(); -lean_mark_persistent(l_Lean_Meta_Simp_simpArrow___closed__4); l_Lean_Meta_Simp_simpForall___lambda__4___closed__1 = _init_l_Lean_Meta_Simp_simpForall___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simpForall___lambda__4___closed__1); l_Lean_Meta_Simp_simpForall___lambda__4___closed__2 = _init_l_Lean_Meta_Simp_simpForall___lambda__4___closed__2(); @@ -46184,6 +46462,10 @@ l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Simp_cacheResult___spec__3___c l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Simp_cacheResult___spec__3___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Simp_cacheResult___spec__3___closed__2(); l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Simp_cacheResult___spec__3___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Simp_cacheResult___spec__3___closed__3(); lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Simp_cacheResult___spec__3___closed__3); +l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__1 = _init_l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__1); +l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__2 = _init_l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simpLoop_visitPreContinue___closed__2); l_Lean_Meta_Simp_simpLoop___closed__1 = _init_l_Lean_Meta_Simp_simpLoop___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simpLoop___closed__1); l_Lean_Meta_Simp_simpLoop___closed__2 = _init_l_Lean_Meta_Simp_simpLoop___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c index f8a96d51dec7..139807343f26 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c @@ -288,6 +288,7 @@ static lean_object* l_Lean_Meta_Simp_discharge_x3f_x27___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_DischargeResult_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs___closed__1; lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1___closed__1; lean_object* l_outOfBounds___rarg(lean_object*); static lean_object* l_Lean_Meta_Simp_discharge_x3f_x27___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_seval___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -440,6 +441,7 @@ static lean_object* l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27__ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpMatchDiscrs_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_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_drewritePre___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1___closed__1; static lean_object* l_Lean_Meta_Simp_simpUsingDecide___lambda__1___closed__15; lean_object* l_Lean_Meta_mkOfEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_Meta_Simp_mkSEvalContext___closed__3; @@ -25019,6 +25021,14 @@ x_12 = l_Lean_Meta_Simp_rewritePost(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9 return x_12; } } +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dpre", 4, 4); +return x_1; +} +} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { @@ -25051,7 +25061,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 4); lean_inc(x_19); lean_dec(x_17); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePre___spec__1___closed__1; +x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1___closed__1; x_21 = 1; lean_inc(x_13); lean_inc(x_12); @@ -25371,6 +25381,14 @@ lean_dec(x_2); return x_11; } } +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dpost", 5, 5); +return x_1; +} +} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { @@ -25403,7 +25421,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 4); lean_inc(x_19); lean_dec(x_17); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePost___spec__1___closed__1; +x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1___closed__1; x_21 = 1; lean_inc(x_13); lean_inc(x_12); @@ -33656,6 +33674,10 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePre___spec__1___closed__1 = lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePre___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePost___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePost___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePost___spec__1___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePre___spec__1___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_drewritePost___spec__1___closed__1); l_Lean_Meta_Simp_dpreDefault___closed__1 = _init_l_Lean_Meta_Simp_dpreDefault___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_dpreDefault___closed__1); l_Lean_Meta_Simp_dpostDefault___closed__1 = _init_l_Lean_Meta_Simp_dpostDefault___closed__1(); diff --git a/stage0/stdlib/Lean/Util/Diff.c b/stage0/stdlib/Lean/Util/Diff.c index 76af46ccf78f..bd1058e04578 100644 --- a/stage0/stdlib/Lean/Util/Diff.c +++ b/stage0/stdlib/Lean/Util/Diff.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Util.Diff -// Imports: Init.Data Lean.Data.HashMap Std.Data.HashMap.Basic Init.Omega +// Imports: Init.Data.Array.Subarray.Split Init.Data.Range Lean.Data.HashMap Std.Data.HashMap.Basic Init.Omega #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -4357,7 +4357,8 @@ lean_dec(x_2); return x_3; } } -lean_object* initialize_Init_Data(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Array_Subarray_Split(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Range(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_HashMap(uint8_t builtin, lean_object*); lean_object* initialize_Std_Data_HashMap_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Omega(uint8_t builtin, lean_object*); @@ -4366,7 +4367,10 @@ LEAN_EXPORT lean_object* initialize_Lean_Util_Diff(uint8_t builtin, lean_object* lean_object * res; if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_initialized = true; -res = initialize_Init_Data(builtin, lean_io_mk_world()); +res = initialize_Init_Data_Array_Subarray_Split(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_Range(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_Data_HashMap(builtin, lean_io_mk_world()); diff --git a/stage0/stdlib/Std/Data/DHashMap/Internal/List/Pairwise.c b/stage0/stdlib/Std/Data/DHashMap/Internal/List/Pairwise.c index 3e057cffcbe5..8b07e5940e28 100644 --- a/stage0/stdlib/Std/Data/DHashMap/Internal/List/Pairwise.c +++ b/stage0/stdlib/Std/Data/DHashMap/Internal/List/Pairwise.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Std.Data.DHashMap.Internal.List.Pairwise -// Imports: Std.Data.DHashMap.Internal.List.Defs Std.Data.DHashMap.Internal.List.Perm Std.Data.DHashMap.Internal.List.Sublist +// Imports: Init.Data.List.Perm Std.Data.DHashMap.Internal.List.Defs Std.Data.DHashMap.Internal.List.Sublist #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,18 +13,18 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* initialize_Init_Data_List_Perm(uint8_t builtin, lean_object*); lean_object* initialize_Std_Data_DHashMap_Internal_List_Defs(uint8_t builtin, lean_object*); -lean_object* initialize_Std_Data_DHashMap_Internal_List_Perm(uint8_t builtin, lean_object*); lean_object* initialize_Std_Data_DHashMap_Internal_List_Sublist(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Std_Data_DHashMap_Internal_List_Pairwise(uint8_t builtin, lean_object* w) { lean_object * res; if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_initialized = true; -res = initialize_Std_Data_DHashMap_Internal_List_Defs(builtin, lean_io_mk_world()); +res = initialize_Init_Data_List_Perm(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Std_Data_DHashMap_Internal_List_Perm(builtin, lean_io_mk_world()); +res = initialize_Std_Data_DHashMap_Internal_List_Defs(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Std_Data_DHashMap_Internal_List_Sublist(builtin, lean_io_mk_world()); diff --git a/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c b/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c index 433eb48dad23..97be2ce346b7 100644 --- a/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c +++ b/stage0/stdlib/Std/Data/DHashMap/Internal/RawLemmas.c @@ -98,6 +98,7 @@ static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap static lean_object* l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__34; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__13; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__9; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__39; @@ -282,6 +283,7 @@ static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHas static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__19; lean_object* l_Lean_Syntax_node8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__38; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__35; @@ -342,6 +344,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DHashMap_Internal_Raw_u static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__modelUsing____1___lambda__1___closed__19; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55; static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_modifyNames___closed__7; +static lean_object* l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__74; static lean_object* l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__21; static lean_object* _init_l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1() { _start: @@ -2336,7 +2339,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DHashMap.Internal.List.Perm.isEmpty_eq", 42, 42); +x_1 = lean_mk_string_unchecked("_root_.List.Perm.isEmpty_eq", 27, 27); return x_1; } } @@ -2353,7 +2356,7 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Perm", 4, 4); +x_1 = lean_mk_string_unchecked("_root_", 6, 6); return x_1; } } @@ -2361,49 +2364,66 @@ static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__St _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("isEmpty_eq", 10, 10); +x_1 = lean_mk_string_unchecked("Perm", 4, 4); return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; -x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; -x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isEmpty_eq", 10, 10); +return x_1; } } static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10() { _start: { lean_object* x_1; @@ -2411,26 +2431,26 @@ x_1 = lean_mk_string_unchecked("containsKey_of_perm", 19, 19); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13() { _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; @@ -2438,53 +2458,53 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__8; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DHashMap.Internal.List.Perm.length_eq", 41, 41); +x_1 = lean_mk_string_unchecked("_root_.List.Perm.length_eq", 26, 26); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__14; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18() { _start: { lean_object* x_1; @@ -2492,45 +2512,54 @@ x_1 = lean_mk_string_unchecked("length_eq", 9, 9); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19() { _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; lean_object* x_7; -x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; -x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; -x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; -x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3; -x_6 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__16; -x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__3; +x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__4; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__18; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23() { _start: { lean_object* x_1; @@ -2538,7 +2567,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24() { _start: { lean_object* x_1; @@ -2546,19 +2575,19 @@ x_1 = lean_mk_string_unchecked("app", 3, 3); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__2; -x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__21; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26() { _start: { lean_object* x_1; @@ -2566,26 +2595,26 @@ x_1 = lean_mk_string_unchecked("getValueCast\?_of_perm", 21, 21); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29() { _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; @@ -2593,36 +2622,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__26; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32() { _start: { lean_object* x_1; @@ -2630,19 +2659,19 @@ x_1 = lean_mk_string_unchecked("hole", 4, 4); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__2; -x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20; -x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__29; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; +x_4 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34() { _start: { lean_object* x_1; @@ -2650,7 +2679,7 @@ x_1 = lean_mk_string_unchecked("_", 1, 1); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35() { _start: { lean_object* x_1; @@ -2658,26 +2687,26 @@ x_1 = lean_mk_string_unchecked("getValue\?_of_perm", 17, 17); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38() { _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; @@ -2685,36 +2714,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__32; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__35; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41() { _start: { lean_object* x_1; @@ -2722,26 +2751,26 @@ x_1 = lean_mk_string_unchecked("getValue_of_perm", 16, 16); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44() { _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; @@ -2749,36 +2778,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__38; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__41; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47() { _start: { lean_object* x_1; @@ -2786,26 +2815,26 @@ x_1 = lean_mk_string_unchecked("getValueCast_of_perm", 20, 20); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50() { _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; @@ -2813,36 +2842,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__44; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__47; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53() { _start: { lean_object* x_1; @@ -2850,26 +2879,26 @@ x_1 = lean_mk_string_unchecked("getValueCast!_of_perm", 21, 21); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56() { _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; @@ -2877,36 +2906,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__50; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__53; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59() { _start: { lean_object* x_1; @@ -2914,26 +2943,26 @@ x_1 = lean_mk_string_unchecked("getValueCastD_of_perm", 21, 21); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62() { _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; @@ -2941,36 +2970,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__56; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__59; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65() { _start: { lean_object* x_1; @@ -2978,26 +3007,26 @@ x_1 = lean_mk_string_unchecked("getValue!_of_perm", 17, 17); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68() { _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; @@ -3005,36 +3034,36 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__62; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__65; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71() { _start: { lean_object* x_1; @@ -3042,26 +3071,26 @@ x_1 = lean_mk_string_unchecked("getValueD_of_perm", 17, 17); return x_1; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68; +x_1 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__74() { _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; @@ -3069,29 +3098,29 @@ x_1 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__2; x_3 = l_Std_DHashMap_Internal_Raw_u2080_tacticWf__trivial___closed__3; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticEmpty__1___closed__16; -x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__68; +x_5 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__71; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__74; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73() { +static lean_object* _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72; +x_2 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3112,75 +3141,75 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_1, 1); lean_inc(x_7); lean_dec(x_1); -x_8 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__5; +x_8 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__6; lean_inc(x_6); lean_inc(x_7); x_9 = l_Lean_addMacroScope(x_7, x_8, x_6); x_10 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__2; -x_11 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__7; +x_11 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9; lean_inc(x_5); x_12 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_12, 0, x_5); lean_ctor_set(x_12, 1, x_10); lean_ctor_set(x_12, 2, x_9); lean_ctor_set(x_12, 3, x_11); -x_13 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__10; +x_13 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__12; lean_inc(x_6); lean_inc(x_7); x_14 = l_Lean_addMacroScope(x_7, x_13, x_6); -x_15 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__9; -x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__13; +x_15 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__11; +x_16 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15; lean_inc(x_5); x_17 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_17, 0, x_5); lean_ctor_set(x_17, 1, x_15); lean_ctor_set(x_17, 2, x_14); lean_ctor_set(x_17, 3, x_16); -x_18 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17; +x_18 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19; lean_inc(x_6); lean_inc(x_7); x_19 = l_Lean_addMacroScope(x_7, x_18, x_6); -x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__15; -x_21 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__19; +x_20 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__17; +x_21 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22; lean_inc(x_5); x_22 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_22, 0, x_5); lean_ctor_set(x_22, 1, x_20); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_21); -x_23 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25; +x_23 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28; lean_inc(x_6); lean_inc(x_7); x_24 = l_Lean_addMacroScope(x_7, x_23, x_6); -x_25 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__24; -x_26 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__28; +x_25 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__27; +x_26 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31; lean_inc(x_5); x_27 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_27, 0, x_5); lean_ctor_set(x_27, 1, x_25); lean_ctor_set(x_27, 2, x_24); lean_ctor_set(x_27, 3, x_26); -x_28 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__31; +x_28 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34; lean_inc(x_5); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_5); lean_ctor_set(x_29, 1, x_28); -x_30 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__30; +x_30 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33; lean_inc(x_5); x_31 = l_Lean_Syntax_node1(x_5, x_30, x_29); x_32 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12; lean_inc(x_5); x_33 = l_Lean_Syntax_node1(x_5, x_32, x_31); -x_34 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22; +x_34 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25; lean_inc(x_33); lean_inc(x_5); x_35 = l_Lean_Syntax_node2(x_5, x_34, x_27, x_33); -x_36 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__34; +x_36 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37; lean_inc(x_6); lean_inc(x_7); x_37 = l_Lean_addMacroScope(x_7, x_36, x_6); -x_38 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__33; -x_39 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__37; +x_38 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__36; +x_39 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40; lean_inc(x_5); x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_5); @@ -3190,12 +3219,12 @@ lean_ctor_set(x_40, 3, x_39); lean_inc(x_33); lean_inc(x_5); x_41 = l_Lean_Syntax_node2(x_5, x_34, x_40, x_33); -x_42 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__40; +x_42 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43; lean_inc(x_6); lean_inc(x_7); x_43 = l_Lean_addMacroScope(x_7, x_42, x_6); -x_44 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__39; -x_45 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__43; +x_44 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__42; +x_45 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46; lean_inc(x_5); x_46 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_46, 0, x_5); @@ -3205,12 +3234,12 @@ lean_ctor_set(x_46, 3, x_45); lean_inc(x_33); lean_inc(x_5); x_47 = l_Lean_Syntax_node2(x_5, x_34, x_46, x_33); -x_48 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__46; +x_48 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49; lean_inc(x_6); lean_inc(x_7); x_49 = l_Lean_addMacroScope(x_7, x_48, x_6); -x_50 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__45; -x_51 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__49; +x_50 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__48; +x_51 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52; lean_inc(x_5); x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_5); @@ -3220,12 +3249,12 @@ lean_ctor_set(x_52, 3, x_51); lean_inc(x_33); lean_inc(x_5); x_53 = l_Lean_Syntax_node2(x_5, x_34, x_52, x_33); -x_54 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__52; +x_54 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55; lean_inc(x_6); lean_inc(x_7); x_55 = l_Lean_addMacroScope(x_7, x_54, x_6); -x_56 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__51; -x_57 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__55; +x_56 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__54; +x_57 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58; lean_inc(x_5); x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_5); @@ -3235,12 +3264,12 @@ lean_ctor_set(x_58, 3, x_57); lean_inc(x_33); lean_inc(x_5); x_59 = l_Lean_Syntax_node2(x_5, x_34, x_58, x_33); -x_60 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__58; +x_60 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61; lean_inc(x_6); lean_inc(x_7); x_61 = l_Lean_addMacroScope(x_7, x_60, x_6); -x_62 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__57; -x_63 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__61; +x_62 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__60; +x_63 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64; lean_inc(x_5); x_64 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_64, 0, x_5); @@ -3250,12 +3279,12 @@ lean_ctor_set(x_64, 3, x_63); lean_inc(x_33); lean_inc(x_5); x_65 = l_Lean_Syntax_node2(x_5, x_34, x_64, x_33); -x_66 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__64; +x_66 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67; lean_inc(x_6); lean_inc(x_7); x_67 = l_Lean_addMacroScope(x_7, x_66, x_6); -x_68 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__63; -x_69 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__67; +x_68 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__66; +x_69 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70; lean_inc(x_5); x_70 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_70, 0, x_5); @@ -3265,10 +3294,10 @@ lean_ctor_set(x_70, 3, x_69); lean_inc(x_33); lean_inc(x_5); x_71 = l_Lean_Syntax_node2(x_5, x_34, x_70, x_33); -x_72 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__70; +x_72 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73; x_73 = l_Lean_addMacroScope(x_7, x_72, x_6); -x_74 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__69; -x_75 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73; +x_74 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72; +x_75 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76; lean_inc(x_5); x_76 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_76, 0, x_5); @@ -3487,7 +3516,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Std_DHashMap_Internal_Ra lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__2; -x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; x_4 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__13; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -3507,7 +3536,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Std_DHashMap_Internal_Ra lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__1; x_2 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__2; -x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__20; +x_3 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__23; x_4 = l_Array_forInUnsafe_loop___at_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticSimp__to__modelUsing____1___spec__1___closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -3559,7 +3588,7 @@ x_20 = l_Lean_Syntax_node1(x_13, x_19, x_18); x_21 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__12; lean_inc(x_13); x_22 = l_Lean_Syntax_node1(x_13, x_21, x_20); -x_23 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__22; +x_23 = l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__25; lean_inc(x_13); x_24 = l_Lean_Syntax_node2(x_13, x_23, x_16, x_22); x_25 = l_Std_DHashMap_Internal_Raw_u2080___aux__Std__Data__DHashMap__Internal__RawLemmas______macroRules__Std__DHashMap__Internal__Raw_u2080__tacticWf__trivial__1___closed__77; @@ -5295,6 +5324,12 @@ l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2 lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__72); l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73(); lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__73); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__74 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__74(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__74); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__75); +l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76 = _init_l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76(); +lean_mark_persistent(l___private_Std_Data_DHashMap_Internal_RawLemmas_0__Std_DHashMap_Internal_Raw_u2080_congrNames___closed__76); l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__modelUsing_____closed__1 = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__modelUsing_____closed__1(); lean_mark_persistent(l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__modelUsing_____closed__1); l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__modelUsing_____closed__2 = _init_l_Std_DHashMap_Internal_Raw_u2080_tacticSimp__to__modelUsing_____closed__2();